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 [PATCH] uml: fix missing KBUILD_BASENAME 2006-01-11 18:42:09 -08:00
config.c.in uml: remove useless comments 2009-04-01 08:59:17 -07:00
dyn.lds.S uml: fix CONFIG_STATIC_LINK=y build failure with newer glibc 2010-10-26 16:52:12 -07:00
early_printk.c um: add earlyprintk support 2011-05-25 08:39:41 -07:00
exec.c um: distribute exports to where exported stuff is defined 2011-11-02 14:15:36 +01:00
exitcode.c uml: convert to seq_file/proc_fops 2009-12-15 08:53:25 -08:00
gmon_syms.c um: fix gcov build breakage 2011-11-02 14:15:26 +01:00
gprof_syms.c uml: style fixes in arch/um/kernel 2008-02-05 09:44:30 -08:00
init_task.c Rename .data.init_irqstack to .data..init_irqstack. 2010-03-03 11:25:59 +01:00
initrd.c um: make load_initrd() static, kill shared/initrd.h 2011-11-02 14:15:06 +01:00
internal.h uml: fix compile warning 2010-09-22 17:22:39 -07:00
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 uml: style fixes in arch/um/kernel 2008-02-05 09:44:30 -08:00
signal.c um: use set_current_blocked() and block_sigmask() 2012-03-23 16:58:31 -07:00
smp.c mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
syscall.c uml: fix compile warning 2010-09-22 17:22:39 -07:00
sysrq.c Remove multiple KERN_ prefixes from printk formats 2009-07-08 10:30:03 -07:00
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: style fixes in arch/um/kernel 2008-02-05 09:44:30 -08:00
uml.lds.S uml: fix CONFIG_STATIC_LINK=y build failure with newer glibc 2010-10-26 16:52:12 -07:00
vmlinux.lds.S arm, cris, mips, sparc, powerpc, um, xtensa: fix build with bash 4.0 2009-09-20 12:28:22 +02:00