mirror of https://github.com/mkerrisk/man-pages
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:
parent
6b0c25f101
commit
f15ff6fa4e
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue