Please sign in to comment.
tile: Use set_current_blocked() and block_sigmask()
As described in e6fa16a ("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. Also, use the new helper function introduced in commit 5e6292c ("signal: add block_sigmask() for adding sigmask to current->blocked") which centralises the code for updating current->blocked after successfully delivering a signal and reduces the amount of duplicate code across architectures. In the past some architectures got this code wrong, so using this helper function should stop that from happening again. Cc: Arnd Bergmann <email@example.com> Acked-by: Oleg Nesterov <firstname.lastname@example.org> Signed-off-by: Matt Fleming <email@example.com> Signed-off-by: Chris Metcalf <firstname.lastname@example.org>
- Loading branch information...
Showing with 3 additions and 15 deletions.