linux/arch
Matt Fleming ade7728b4e parisc: use set_current_blocked() and block_sigmask()
As described in e6fa16ab ("signal: sigprocmask() should do
retarget_shared_pending()") the modification of current->blocked is
incorrect as we need to check whether the signal we're about to block is
pending in the shared queue.

Also, use the new helper function introduced in commit 5e6292c0f2
("signal: add block_sigmask() for adding sigmask to current->blocked")
which centralises the code for updating current->blocked after
successfully delivering a signal and reduces the amount of duplicate code
across architectures.  In the past some architectures got this code wrong,
so using this helper function should stop that from happening again.

Acked-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Kyle McMartin <kyle@mcmartin.ca>
Cc: Helge Deller <deller@gmx.de>
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
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:31 -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 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
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 new helper: sigsuspend() 2012-05-21 23:52:30 -04:00
h8300 init_task: Replace CONFIG_HAVE_GENERIC_INIT_TASK 2012-05-05 13:00:46 +02: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 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
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 common threadinfo allocator 2012-05-08 14:08:46 +02: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 init_task: Replace CONFIG_HAVE_GENERIC_INIT_TASK 2012-05-05 13:00:46 +02: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