]> git.baikalelectronics.ru Git - kernel.git/commit
x86, signals: Convert the IA32_EMULATION code to use set_current_blocked()
authorOleg Nesterov <oleg@redhat.com>
Sun, 10 Jul 2011 19:27:24 +0000 (21:27 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 15 Jul 2011 04:21:31 +0000 (21:21 -0700)
commit6df0de4c83c838d8bd0635eb2637ea26cc14200a
tree4f65e08fb63c8b1afab93443a9c450abbaec4313
parent42630bfbbb3b46e6948836135f09efc9bdeaaf03
x86, signals: Convert the IA32_EMULATION code to use set_current_blocked()

sys32_sigsuspend() and sys32_*sigreturn() change ->blocked directly.
This is not correct, see the changelog in 3f85a0fa
"signal: sigprocmask() should do retarget_shared_pending()"

Change them to use set_current_blocked().

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Link: http://lkml.kernel.org/r/20110710192724.GA31755@redhat.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/ia32/ia32_signal.c