x86, signals: Convert the X86_32 code to use set_current_blocked()
authorOleg Nesterov <oleg@redhat.com>
Sun, 10 Jul 2011 19:27:27 +0000 (21:27 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 15 Jul 2011 04:21:57 +0000 (21:21 -0700)
sys_sigsuspend() and sys_sigreturn() change ->blocked directly.
This is not correct, see the changelog in e6fa16ab
"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/20110710192727.GA31759@redhat.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>

No differences found