]> 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>
Wed, 4 Apr 2012 00:08:10 +0000 (10:08 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 4 Apr 2012 03:22:03 +0000 (13:22 +1000)
commitdce307c1c30bdd4fcdbd003cd3682a5f211a603b
treedfedc92d8b5cebff68ca55f333e5a42e473b70a7
parent17c024987f0139733b453c96cdb8d8ebb2fbe646
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