]> 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, 25 Apr 2012 01:03:21 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:14 +0000 (15:17 +1000)
commitcaf56ced5ec9fa913eee76e2fb57c44afa2cd0bb
tree4914994730adf30405c29e2e8940dd574d304243
parent55d1d0dc34269518578103294b9538baf974b8c4
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