linux/arch
Matt Fleming bcb8c8d0b7 microblaze: fix signal masking
There are a couple of problems with the current signal code,

1. If we failed to setup the signal stack frame then we should not be
   masking any signals.

2. ka->sa.sa_mask is only added to the current blocked signals list if
   SA_NODEFER is set in ka->sa.sa_flags.  If we successfully setup the
   signal frame and are going to run the handler then we must honour
   sa_mask.

Acked-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Michal Simek <monstr@monstr.eu>
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>
2012-05-21 23:52:34 -04:00
..
alpha new helper: sigsuspend() 2012-05-21 23:52:30 -04:00
arm new helper: sigsuspend() 2012-05-21 23:52:30 -04:00
avr32 init_task: Replace CONFIG_HAVE_GENERIC_INIT_TASK 2012-05-05 13:00:46 +02:00
blackfin blackfin: use set_current_blocked() and block_sigmask() 2012-05-21 23:52:31 -04:00
c6x Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-05-21 19:43:57 -07:00
cris new helper: sigsuspend() 2012-05-21 23:52:30 -04:00
frv frv: use set_current_blocked() and block_sigmask() 2012-05-21 23:52:31 -04:00
h8300 h8300: use set_current_blocked() and block_sigmask() 2012-05-21 23:52:32 -04:00
hexagon hexagon: Use common threadinfo allocator 2012-05-08 14:08:45 +02:00
ia64 Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-05-21 19:43:57 -07:00
m32r m32r: Use common threadinfo allocator 2012-05-08 14:08:45 +02:00
m68k new helper: sigsuspend() 2012-05-21 23:52:30 -04:00
microblaze microblaze: fix signal masking 2012-05-21 23:52:34 -04:00
mips new helper: sigsuspend() 2012-05-21 23:52:30 -04:00
mn10300 new helper: sigsuspend() 2012-05-21 23:52:30 -04:00
openrisc Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-05-21 19:43:57 -07:00
parisc parisc: use set_current_blocked() and block_sigmask() 2012-05-21 23:52:31 -04:00
powerpc new helper: sigsuspend() 2012-05-21 23:52:30 -04:00
s390 new helper: sigsuspend() 2012-05-21 23:52:30 -04:00
score score: use set_current_blocked() and block_sigmask() 2012-05-21 23:52:33 -04:00
sh new helper: sigsuspend() 2012-05-21 23:52:30 -04:00
sparc new helper: sigsuspend() 2012-05-21 23:52:30 -04:00
tile Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-05-21 19:43:57 -07:00
um new helper: sigsuspend() 2012-05-21 23:52:30 -04:00
unicore32 unicore32: use block_sigmask() 2012-05-21 23:52:32 -04:00
x86 new helper: sigsuspend() 2012-05-21 23:52:30 -04:00
xtensa Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-05-21 19:43:57 -07:00
.gitignore
Kconfig task_allocator: Use config switches instead of magic defines 2012-05-08 14:08:46 +02:00