diff options
author | Kees Cook <keescook@chromium.org> | 2022-02-08 07:21:13 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2022-02-11 06:09:12 +0300 |
commit | 495ac3069a6235bfdf516812a2a9b256671bbdf9 (patch) | |
tree | 5af379028a8b12efb8193fee1737ea4ebe968969 /samples/seccomp | |
parent | 5c72263ef2fbe99596848f03758ae2dc593adf2c (diff) | |
download | linux-495ac3069a6235bfdf516812a2a9b256671bbdf9.tar.xz |
seccomp: Invalidate seccomp mode to catch death failures
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>
Diffstat (limited to 'samples/seccomp')
0 files changed, 0 insertions, 0 deletions