projects
/
wrapfs-3.2.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5ab647
)
[PATCH] sys32_signal() forgets to initialize ->sa_mask
author
Tony Luck
<tony.luck@intel.com>
Thu, 9 Feb 2006 22:41:41 +0000
(14:41 -0800)
committer
Chris Wright
<chrisw@sous-sol.org>
Wed, 1 Mar 2006 22:36:34 +0000
(14:36 -0800)
Pointed out by Oleg Nesterov <oleg@tv-sign.ru>, who in turn
got the hint from Linus.
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/ia64/ia32/ia32_signal.c
patch
|
blob
|
history
diff --git
a/arch/ia64/ia32/ia32_signal.c
b/arch/ia64/ia32/ia32_signal.c
index aa891c9bc9b67ac268970391f49122f37af4b22a..22c72265bf59f76813a61ca4a4bbd8dc85b587e6 100644
(file)
--- a/
arch/ia64/ia32/ia32_signal.c
+++ b/
arch/ia64/ia32/ia32_signal.c
@@
-515,6
+515,7
@@
sys32_signal (int sig, unsigned int handler)
sigact_set_handler(&new_sa, handler, 0);
new_sa.sa.sa_flags = SA_ONESHOT | SA_NOMASK;
+ sigemptyset(&new_sa.sa.sa_mask);
ret = do_sigaction(sig, &new_sa, &old_sa);