bsd-user/signal.c: implement force_sig_fault
commit0ef599897345e0a43b3741a9990866c92a33d6e9
authorWarner Losh <imp@bsdimp.com>
Sat, 8 Jan 2022 22:58:34 +0000 (8 15:58 -0700)
committerWarner Losh <imp@bsdimp.com>
Fri, 28 Jan 2022 22:52:38 +0000 (28 15:52 -0700)
tree1f9ab66eb83f67a87959a618e349b02dbade6366
parentc0d2691ccce7828ade341a263df1d51ce1dfe9ff
bsd-user/signal.c: implement force_sig_fault

Start to implement the force_sig_fault code. This currently just calls
queue_signal(). The bsd-user fork version of that will handle this the
synchronous nature of this call. Add signal-common.h to hold signal
helper functions like force_sig_fault.

Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Kyle Evans <kevans@freebsd.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
bsd-user/signal-common.h [new file with mode: 0644]
bsd-user/signal.c