Skip to content
Commit faddf598 authored by Matt Fleming's avatar Matt Fleming Committed by David S. Miller
Browse files

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: default avatarMatt Fleming <matt.fleming@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f22ed71c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment