diff options
author | Matt Fleming <matt.fleming@intel.com> | 2012-05-11 02:57:57 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-22 05:52:36 +0200 |
commit | e1b1fd79a04396d5ec971e9e4d4711b5a58ad7e3 (patch) | |
tree | 24e80e0321f62439950fb11357f44cf46eafc4e8 /arch/avr32/kernel/vmlinux.lds.S | |
parent | m32r: use set_current_blocked() and block_sigmask() (diff) | |
download | linux-e1b1fd79a04396d5ec971e9e4d4711b5a58ad7e3.tar.xz linux-e1b1fd79a04396d5ec971e9e4d4711b5a58ad7e3.zip |
avr32: don't mask signals in the error path
The current handle_signal() implementation is broken - it will mask
signals if we fail to setup the signal stack frame, which isn't the
desired behaviour, we should only be masking signals if we succeed in
setting up the stack frame. It looks like this code was copied from the
old (broken) arm implementation but wasn't updated when the arm code was
fixed in commit a6c61e9dfdd0 ("[ARM] 3168/1: Update ARM signal delivery
and masking").
Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
Acked-by: Havard Skinnemoen <hskinnemoen@gmail.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/avr32/kernel/vmlinux.lds.S')
0 files changed, 0 insertions, 0 deletions