summaryrefslogtreecommitdiff
path: root/lib/list_debug.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2022-02-07 20:21:13 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-16 12:44:52 +0100
commitb39e0213e5bee909cdfec569e071f5bc3060af12 (patch)
treef114d965941357a646a35718ac8d11ec88de8a64 /lib/list_debug.c
parent2a6ae78ca0a24d157617ec8bc4040debf96b6604 (diff)
seccomp: Invalidate seccomp mode to catch death failures
commit 495ac3069a6235bfdf516812a2a9b256671bbdf9 upstream. If seccomp tries to kill a process, it should never see that process again. To enforce this proactively, switch the mode to something impossible. If encountered: WARN, reject all syscalls, and attempt to kill the process again even harder. Cc: Andy Lutomirski <luto@amacapital.net> Cc: Will Drewry <wad@chromium.org> Fixes: 8112c4f140fa ("seccomp: remove 2-phase API") Cc: stable@vger.kernel.org Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/list_debug.c')
0 files changed, 0 insertions, 0 deletions