diff options
author | Warner Losh <imp@bsdimp.com> | 2022-01-08 23:48:12 -0700 |
---|---|---|
committer | Warner Losh <imp@bsdimp.com> | 2022-01-30 17:13:30 -0700 |
commit | c885ae0e4ebf207c861bf651dcf9282677281c06 (patch) | |
tree | c096183897788085ae60b3f3c33c5b78e3b6f27e /bsd-user/signal-common.h | |
parent | d7acd31780bea1c192854a8617255ad992b19c4d (diff) |
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>
Diffstat (limited to 'bsd-user/signal-common.h')
-rw-r--r-- | bsd-user/signal-common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-user/signal-common.h b/bsd-user/signal-common.h index ee819266f5..786ec592d1 100644 --- a/bsd-user/signal-common.h +++ b/bsd-user/signal-common.h @@ -11,7 +11,7 @@ long do_rt_sigreturn(CPUArchState *env); abi_long do_sigaltstack(abi_ulong uss_addr, abi_ulong uoss_addr, abi_ulong sp); -long do_sigreturn(CPUArchState *env); +long do_sigreturn(CPUArchState *env, abi_ulong addr); void force_sig_fault(int sig, int code, abi_ulong addr); int host_to_target_signal(int sig); void host_to_target_sigset(target_sigset_t *d, const sigset_t *s); |