projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e0e6d8
)
Don't let sigaction handle SIGKILL/SIGSTOP, by Stuart Anderson.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 31 Mar 2007 19:29:06 +0000
(19:29 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 31 Mar 2007 19:29:06 +0000
(19:29 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2561
c046a42c
-6fe2-441c-8c8c-
71466251a162
linux-user/signal.c
patch
|
blob
|
history
diff --git
a/linux-user/signal.c
b/linux-user/signal.c
index
8ee5c4b
..
1e29c2c
100644
(file)
--- 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)