1
linux/arch/um/kernel
Matt Fleming d982d5955e um: use set_current_blocked() and block_sigmask()
As described in commit e6fa16ab9c ("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: Richard Weinberger <richard@nod.at>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-03-23 16:58:31 -07:00
..
skas Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2012-03-21 13:36:41 -07:00
asm-offsets.c
config.c.in
dyn.lds.S
early_printk.c
exec.c um: distribute exports to where exported stuff is defined 2011-11-02 14:15:36 +01:00
exitcode.c
gmon_syms.c um: fix gcov build breakage 2011-11-02 14:15:26 +01:00
gprof_syms.c
init_task.c
initrd.c um: make load_initrd() static, kill shared/initrd.h 2011-11-02 14:15:06 +01:00
internal.h
irq.c um: distribute exports to where exported stuff is defined 2011-11-02 14:15:36 +01:00
ksyms.c um: distribute exports to where exported stuff is defined 2011-11-02 14:15:36 +01:00
Makefile um: kill dead code around uaccess 2011-11-02 14:14:52 +01:00
mem.c um: distribute exports to where exported stuff is defined 2011-11-02 14:15:36 +01:00
physmem.c um: distribute exports to where exported stuff is defined 2011-11-02 14:15:36 +01:00
process.c nohz: Remove tick_nohz_idle_enter_norcu() / tick_nohz_idle_exit_norcu() 2011-12-11 10:31:57 -08:00
ptrace.c audit: inline audit_syscall_entry to reduce burden on archs 2012-01-17 16:16:56 -05:00
reboot.c um: remove dead code 2011-07-25 20:57:13 -07:00
sigio.c
signal.c um: use set_current_blocked() and block_sigmask() 2012-03-23 16:58:31 -07:00
smp.c
syscall.c
sysrq.c
time.c clocksource: um: Convert to clocksource_register_hz/khz 2011-11-21 19:01:03 -08:00
tlb.c um: distribute exports to where exported stuff is defined 2011-11-02 14:15:36 +01:00
trap.c um: distribute exports to where exported stuff is defined 2011-11-02 14:15:36 +01:00
um_arch.c um: distribute exports to where exported stuff is defined 2011-11-02 14:15:36 +01:00
umid.c
uml.lds.S
vmlinux.lds.S