HomeFreeBSD

Let proc_raise() call into pksignal() directly.

Description

Let proc_raise() call into pksignal() directly.

Summary:
As discussed with kib@ in response to r285404, don't call into
kern_sigaction() within proc_raise() to reset the signal to the default
action before delivery. We'd better do that during image execution.

Change the code to simply use pksignal(), so we don't waste cycles on
functions like pfind() to look up the currently running process itself.

Test Plan:
This change has also been pushed into the cloudabi branch on GitHub. The
raise() tests still seem to pass.

Reviewers: kib

Reviewed By: kib

Subscribers: imp

Differential Revision: https://reviews.freebsd.org/D3076

Details

Provenance
edAuthored on
Reviewer
kib
Differential Revision
D3076: Let proc_raise() call into pksignal() directly.
Parents
rS285534: Fix secondary PIC initialization order
Branches
Unknown
Tags
Unknown