]> git.karo-electronics.de Git - karo-tx-linux.git/commit
score: don't mask signals if we fail to setup signal stack
authorMatt Fleming <matt.fleming@intel.com>
Thu, 12 Apr 2012 22:51:50 +0000 (08:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 17 Apr 2012 03:47:12 +0000 (13:47 +1000)
commit0312c8fa5962375d2f998670f2dcac85f39abce1
treec2390c3c1989840d5128b6b977168219bc2a0487
parent7223e0683cb04cbffc28b2a584f237d1d13b0ad3
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>
arch/score/kernel/signal.c