score: don't mask signals if we fail to setup signal stack
authorMatt Fleming <matt.fleming@intel.com>
Fri, 11 May 2012 00:58:05 +0000 (10:58 +1000)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 22 May 2012 03:52:32 +0000 (23:52 -0400)
commit80c1dfa91c44665f2cecc1666050b2e8e04cef68
tree2240aeff22ee14cda624eb6af529ef4ab5cf1fc1
parent97c47bb70728c765d6cbf582759f9170fe152ded
score: don't mask signals if we fail to setup signal stack

If setup_rt_frame() returns -EFAULT then we must not block any signals
in the current process.

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>
arch/score/kernel/signal.c