diff options
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/signal.c b/linux-user/signal.c index 8ee5c4b2fd..1e29c2c502 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -422,7 +422,7 @@ int do_sigaction(int sig, const struct target_sigaction *act, struct sigaction act1; int host_sig; - if (sig < 1 || sig > TARGET_NSIG) + if (sig < 1 || sig > TARGET_NSIG || sig == SIGKILL || sig == SIGSTOP) return -EINVAL; k = &sigact_table[sig - 1]; #if defined(DEBUG_SIGNAL) |