OSDN Git Service

bsd-user/signal.c: implement do_sigreturn
authorWarner Losh <imp@bsdimp.com>
Sun, 9 Jan 2022 06:48:12 +0000 (23:48 -0700)
committerWarner Losh <imp@bsdimp.com>
Mon, 31 Jan 2022 00:13:30 +0000 (17:13 -0700)
commitc885ae0e4ebf207c861bf651dcf9282677281c06
treec096183897788085ae60b3f3c33c5b78e3b6f27e
parentd7acd31780bea1c192854a8617255ad992b19c4d
bsd-user/signal.c: implement do_sigreturn

Implements the meat of a sigreturn(2) system call via do_sigreturn, and
helper reset_signal_mask. Fix the prototype of do_sigreturn in qemu.h
and remove do_rt_sigreturn since it's linux only.

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: Richard Henderson <richard.henderson@linaro.org>
bsd-user/signal-common.h
bsd-user/signal.c