diff options
author | Kees Cook | 2022-02-08 00:57:17 -0800 |
---|---|---|
committer | Kees Cook | 2022-02-10 19:08:54 -0800 |
commit | 5c72263ef2fbe99596848f03758ae2dc593adf2c (patch) | |
tree | 60249a1e125168780858cad5f5cebb87338f49ed /lib/locking-selftest-rlock-softirq.h | |
parent | 26291c54e111ff6ba87a164d85d4a4e134b7315c (diff) |
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 'lib/locking-selftest-rlock-softirq.h')
0 files changed, 0 insertions, 0 deletions