linux/arch/score/kernel
Matt Fleming 4c3181bd3b score: 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: Chen Liqin <liqin.chen@sunplusct.com>
Cc: Lennox Wu <lennox.wu@gmail.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>
2012-05-21 23:52:33 -04:00
..
asm-offsets.c
entry.S score: fix off-by-one index into syscall table 2012-01-23 08:38:49 -08:00
head.S
irq.c score: Use generic show_interrupts() 2011-03-28 12:03:35 +08:00
Makefile score: Use generic init_task 2012-05-05 13:00:25 +02:00
module.c modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
process.c sched/rt: Use schedule_preempt_disabled() 2012-03-01 10:28:03 +01:00
ptrace.c ptrace: cleanup arch_ptrace() on score 2010-10-27 18:03:12 -07:00
setup.c score: Use HAVE_MEMBLOCK_NODE_MAP 2011-12-08 10:22:09 -08:00
signal.c score: use set_current_blocked() and block_sigmask() 2012-05-21 23:52:33 -04:00
sys_call_table.c score: add generic sys_call_table 2009-06-19 14:10:33 +02:00
sys_score.c Make do_execve() take a const filename pointer 2010-08-17 18:07:43 -07:00
time.c score: fix function prototypes 2009-06-27 15:14:58 +02:00
traps.c
vmlinux.lds.S score: Cleanup linker script using new macros. 2009-09-23 13:41:15 +08:00