1
linux/arch/h8300/kernel
Matt Fleming 97c47bb707 h8300: 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>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
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:32 -04:00
..
timer h8300: Switch do_timer() to xtime_update() 2011-01-31 14:55:45 +01:00
asm-offsets.c
entry.S
gpio.c
h8300_ksyms.c
irq.c Disintegrate asm/system.h for H8300 2012-03-28 18:30:02 +01:00
Makefile h8300-use-generic-init_task 2012-05-05 13:00:23 +02:00
module.c modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
process.c Disintegrate asm/system.h for H8300 2012-03-28 18:30:02 +01:00
ptrace.c Disintegrate asm/system.h for H8300 2012-03-28 18:30:02 +01:00
setup.c treewide: fix potentially dangerous trailing ';' in #defined values/expressions 2011-07-21 14:10:00 +02:00
signal.c h8300: use set_current_blocked() and block_sigmask() 2012-05-21 23:52:32 -04:00
sys_h8300.c h8300: Fix missing consts in kernel_execve() 2010-09-07 13:52:28 -07:00
syscalls.S All Arch: remove linkage for sys_nfsservctl system call 2011-08-26 15:09:58 -07:00
time.c h8300: Switch do_timer() to xtime_update() 2011-01-31 14:55:45 +01:00
traps.c Disintegrate asm/system.h for H8300 2012-03-28 18:30:02 +01:00
vmlinux.lds.S module: make MODULE_SYMBOL_PREFIX into a CONFIG option 2009-12-15 16:28:26 +10:30