seccomp.2: EXAMPLES: use SECCOMP_RET_KILL_PROCESS rather than SECCOMP_RET_KILL

See previous commit.

Reported-by: Rich Felker <dalias@libc.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-08-23 19:13:03 +02:00
parent 6b0c25f101
commit f15ff6fa4e
1 changed files with 2 additions and 2 deletions

View File

@ -1096,8 +1096,8 @@ install_filter(int syscall_nr, int t_arch, int f_errno)
system calls */
BPF_STMT(BPF_RET | BPF_K, SECCOMP_RET_ALLOW),
/* [7] Destination of architecture mismatch: kill task */
BPF_STMT(BPF_RET | BPF_K, SECCOMP_RET_KILL),
/* [7] Destination of architecture mismatch: kill process */
BPF_STMT(BPF_RET | BPF_K, SECCOMP_RET_KILL_PROCESS),
};
struct sock_fprog prog = {