diff options
author | Tony Luck <tony.luck@intel.com> | 2006-02-09 14:41:41 -0800 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2006-02-09 14:41:41 -0800 |
commit | 1ff0be1534839dabec85f6d16dc36734f4e158bf (patch) | |
tree | 43877a8d27b81716f4b7a2ea2cf638186764b0ce /arch/ia64 | |
parent | b6bb761897d3b0225fa9d61fc4782b02bab9a6e1 (diff) | |
download | kernel-crypto-1ff0be1534839dabec85f6d16dc36734f4e158bf.tar.gz kernel-crypto-1ff0be1534839dabec85f6d16dc36734f4e158bf.tar.xz kernel-crypto-1ff0be1534839dabec85f6d16dc36734f4e158bf.zip |
[IA64] sys32_signal() forgets to initialize ->sa_mask
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>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/ia32/ia32_signal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/ia32/ia32_signal.c b/arch/ia64/ia32/ia32_signal.c index 5856510210f..b3355a9ca2c 100644 --- 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); |