commit | faddf598f0ba98ba329bb83acad51aea40313c2a | [log] [tgz] |
---|---|---|
author | Matt Fleming <matt.fleming@intel.com> | Thu Aug 11 14:57:02 2011 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 12 12:25:28 2011 -0700 |
tree | fad64797c8240759caa11b032b8016947f29715f | |
parent | f22ed71cd60210d2f476986c0266004e4db45f34 [diff] |
sparc: Use set_current_blocked() As described in e6fa16ab ("signal: sigprocmask() should do retarget_shared_pending()") the modification of current->blocked is incorrect as we need to check whether the signal we're about to block is pending in the shared queue. Cc: Oleg Nesterov <oleg@redhat.com> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Matt Fleming <matt.fleming@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>