linux/arch/um
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
..
drivers UML net: set addr_assign_type if random_ether_addr() used 2012-02-17 16:05:03 -05:00
include um: uml_dup_mmap() relies on ->mmap_sem being held, but activate_mm() doesn't hold it 2012-03-20 21:29:50 -04:00
kernel um: use set_current_blocked() and block_sigmask() 2012-03-23 16:58:31 -07:00
os-Linux um: unify ptrace_user.h 2011-11-02 14:15:27 +01:00
scripts um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
sys-ia64 uml: remove useless comments 2009-04-01 08:59:17 -07:00
sys-ppc um: change to new flag variables 2011-03-17 14:02:57 +01:00
.gitignore um: tell git to ignore generated files 2010-03-06 11:26:28 -08:00
defconfig time: Cleanup old CONFIG_GENERIC_TIME references that snuck in 2011-10-04 13:07:47 -07:00
Kconfig.char um: clean Kconfig up a bit 2011-11-02 14:15:29 +01:00
Kconfig.common cpu: Register a generic CPU device on architectures that currently do not 2012-01-11 15:50:11 -08:00
Kconfig.debug lib: consolidate DEBUG_STACK_USAGE option 2011-05-25 08:39:54 -07:00
Kconfig.net Fix common misspellings 2011-03-31 11:26:23 -03:00
Kconfig.rest um: switch to use of drivers/Kconfig 2011-11-02 14:15:41 +01:00
Kconfig.um um: clean Kconfig up a bit 2011-11-02 14:15:29 +01:00
Makefile um: Use $(srctree) not $(KBUILD_SRC) 2011-12-09 10:59:59 -08:00
Makefile-ia64
Makefile-os-Linux
Makefile-ppc
Makefile-skas