]> 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, 3 May 2012 05:43:22 +0000 (15:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:17 +0000 (15:46 +1000)
commit1fe714fdb84f2ad35f2e32fb0fd1bc0237ebdff9
treec2b080811323f7a3084dd4124d838c82dd9ce045
parentb7053bcf451dd632d78f1a96fcb00b42744f7357
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