freebsd-dev/sys/compat/cloudabi
Ed Schouten f9675092b8 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
2015-07-14 12:16:14 +00:00
..
cloudabi_clock.c
cloudabi_fd.c Use FDDUP_NORMAL instead of hardcoding value 0. 2015-07-11 18:53:30 +00:00
cloudabi_file.c
cloudabi_futex.c
cloudabi_mem.c
cloudabi_proc.c Let proc_raise() call into pksignal() directly. 2015-07-14 12:16:14 +00:00
cloudabi_proto.h
cloudabi_random.c
cloudabi_sock.c
cloudabi_syscalldefs.h
cloudabi_thread.c