diff options
| author | Kees Cook <[email protected]> | 2022-02-08 04:53:34 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2022-02-11 03:09:12 +0000 |
| commit | eed09ad261822a7bdc441ed192c6f444375e5527 (patch) | |
| tree | 2a825afbd7c73595c3679e39dd43ecbaa5d9d8d3 /net/unix/af_unix.c | |
| parent | seccomp: Invalidate seccomp mode to catch death failures (diff) | |
| download | kernel-eed09ad261822a7bdc441ed192c6f444375e5527.tar.gz kernel-eed09ad261822a7bdc441ed192c6f444375e5527.zip | |
samples/seccomp: Adjust sample to also provide kill option
As a quick way to test SECCOMP_RET_KILL, have a negative errno mean to
kill the process.
While we're in here, also swap the arch and syscall arguments so they're
ordered more like how seccomp filters order them.
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
