]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: signal32: Drop pointless call to sigdelsetmask()
authorWill Deacon <will@kernel.org>
Wed, 25 Aug 2021 09:39:11 +0000 (10:39 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 25 Aug 2021 16:44:04 +0000 (17:44 +0100)
commitcf3a4f78bdb6bc5acbd75d915558a99ee37a852c
tree4a4af51714289eacfc909868da201b254455fc8d
parent9fb2296d34578fa93d357d2e71a6a3ab2b51ff4d
arm64: signal32: Drop pointless call to sigdelsetmask()

Commit bb08f0e2649e ("most of set_current_blocked() callers want
SIGKILL/SIGSTOP removed from set") extended set_current_blocked() to
remove SIGKILL and SIGSTOP from the new signal set and updated all
callers accordingly.

Unfortunately, this collided with the merge of the arm64 architecture,
which duly removes these signals when restoring the compat sigframe, as
this was what was previously done by arch/arm/.

Remove the redundant call to sigdelsetmask() from
compat_restore_sigframe().

Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20210825093911.24493-1-will@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/signal32.c