]> git.baikalelectronics.ru Git - kernel.git/commit
um: don't restore current->blocked on error
authorMatt Fleming <matt.fleming@intel.com>
Fri, 23 Mar 2012 22:01:49 +0000 (15:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Mar 2012 23:58:31 +0000 (16:58 -0700)
commit09a6d7db2d129d9e2eff3de73ca398faa14100cc
treee0294accaec6c3ba56c19872d4c8ec38b158de8d
parentc987d7d1e9d27c30daa0e00898ab22727d4ee023
um: don't restore current->blocked on error

If we fail to setup the signal stack frame then we don't need to restore
current->blocked because it is not modified by setup_signal_stack_*.

Acked-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Richard Weinberger <richard@nod.at>
Tested-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/kernel/signal.c