mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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>
This commit is contained in:
parent
d7acd31780
commit
c885ae0e4e
2 changed files with 57 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue