diff options
author | Warner Losh | 2022-01-09 07:48:12 +0100 |
---|---|---|
committer | Warner Losh | 2022-01-31 01:13:30 +0100 |
commit | c885ae0e4ebf207c861bf651dcf9282677281c06 (patch) | |
tree | c096183897788085ae60b3f3c33c5b78e3b6f27e /bsd-user/signal-common.h | |
parent | bsd-user/signal.c: process_pending_signals (diff) | |
download | qemu-c885ae0e4ebf207c861bf651dcf9282677281c06.tar.gz qemu-c885ae0e4ebf207c861bf651dcf9282677281c06.tar.xz qemu-c885ae0e4ebf207c861bf651dcf9282677281c06.zip |
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); |