From: Oleg Nesterov Date: Wed, 27 Apr 2011 19:09:39 +0000 (+0200) Subject: x86: signal: sys_rt_sigreturn() should use set_current_blocked() X-Git-Tag: v3.0-rc1~382^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9bd3f0faa90084f188830d77723bafe422e486b;p=pandora-kernel.git x86: signal: sys_rt_sigreturn() should use set_current_blocked() Normally sys_rt_sigreturn() restores the old current->blocked which was changed by handle_signal(), and unblocking is always fine. But the debugger or application itself can change frame->uc_sigmask and thus we need set_current_blocked()->retarget_shared_pending(). Signed-off-by: Oleg Nesterov Reviewed-by: Matt Fleming Acked-by: Tejun Heo --- Reading git-diff-tree failed