kernel-ark/arch/mn10300
Matt Fleming 00f35785fa mn10300: 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: David Howells <dhowells@redhat.com>
Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
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:35 -04:00
..
boot
configs cgroup: remove the ns_cgroup 2011-05-26 17:12:34 -07:00
include/asm mn10300: Use common threadinfo allocator 2012-05-08 14:08:45 +02:00
kernel mn10300: use set_current_blocked() and block_sigmask() 2012-05-21 23:52:35 -04:00
lib Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
mm Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
oprofile
proc-mn2ws0050 Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
proc-mn103e010
unit-asb2303
unit-asb2305 mn10300/PCI: get rid of device resource fixups 2012-02-23 20:19:02 -07:00
unit-asb2364
Kconfig init_task: Replace CONFIG_HAVE_GENERIC_INIT_TASK 2012-05-05 13:00:46 +02:00
Kconfig.debug
Makefile mn10300: Use generic init_task 2012-05-05 13:00:24 +02:00