mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-29 13:01:52 -06:00
linux-user: sig is target signal.
Signed-off-by: Riku Voipio <riku.voipio@iki.fi> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5801 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
777553406d
commit
2a913eb118
1 changed files with 1 additions and 1 deletions
|
@ -502,7 +502,7 @@ int do_sigaction(int sig, const struct target_sigaction *act,
|
||||||
int host_sig;
|
int host_sig;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
if (sig < 1 || sig > TARGET_NSIG || sig == SIGKILL || sig == SIGSTOP)
|
if (sig < 1 || sig > TARGET_NSIG || sig == TARGET_SIGKILL || sig == TARGET_SIGSTOP)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
k = &sigact_table[sig - 1];
|
k = &sigact_table[sig - 1];
|
||||||
#if defined(DEBUG_SIGNAL)
|
#if defined(DEBUG_SIGNAL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue