diff options
author | Kees Cook <keescook@chromium.org> | 2022-02-08 09:57:17 +0100 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2022-02-11 04:08:54 +0100 |
commit | 5c72263ef2fbe99596848f03758ae2dc593adf2c (patch) | |
tree | 60249a1e125168780858cad5f5cebb87338f49ed /tools | |
parent | Linux 5.17-rc2 (diff) | |
download | linux-5c72263ef2fbe99596848f03758ae2dc593adf2c.tar.xz linux-5c72263ef2fbe99596848f03758ae2dc593adf2c.zip |
signal: HANDLER_EXIT should clear SIGNAL_UNKILLABLE
Fatal SIGSYS signals (i.e. seccomp RET_KILL_* syscall filter actions)
were not being delivered to ptraced pid namespace init processes. Make
sure the SIGNAL_UNKILLABLE doesn't get set for these cases.
Reported-by: Robert Święcki <robert@swiecki.net>
Suggested-by: "Eric W. Biederman" <ebiederm@xmission.com>
Fixes: 00b06da29cf9 ("signal: Add SA_IMMUTABLE to ensure forced siganls do not get changed")
Cc: stable@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: "Eric W. Biederman" <ebiederm@xmission.com>
Link: https://lore.kernel.org/lkml/878rui8u4a.fsf@email.froward.int.ebiederm.org
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions