summaryrefslogtreecommitdiffstats
path: root/kernel/uid16.c
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-05-11 10:58:04 +1000
committerAl Viro <viro@zeniv.linux.org.uk>2012-05-21 23:52:34 -0400
commitbcb8c8d0b7131df1b5aad011db33e17f8def5d0b (patch)
treeb1c8b02bb4b6afa271565e530be64358fa13db87 /kernel/uid16.c
parenta12c3694aeb0321d5e6a50321c63881bd92a1bf2 (diff)
downloadtalos-op-linux-bcb8c8d0b7131df1b5aad011db33e17f8def5d0b.tar.gz
talos-op-linux-bcb8c8d0b7131df1b5aad011db33e17f8def5d0b.zip
microblaze: fix signal masking
There are a couple of problems with the current signal code, 1. If we failed to setup the signal stack frame then we should not be masking any signals. 2. ka->sa.sa_mask is only added to the current blocked signals list if SA_NODEFER is set in ka->sa.sa_flags. If we successfully setup the signal frame and are going to run the handler then we must honour sa_mask. Acked-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Michal Simek <monstr@monstr.eu> 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>
Diffstat (limited to 'kernel/uid16.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud