Skip to content

Commit

Permalink
seccomp.2: EXAMPLES: use SECCOMP_RET_KILL_PROCESS rather than SECCOMP…
Browse files Browse the repository at this point in the history
…_RET_KILL

See previous commit.

Reported-by: Rich Felker <[email protected]>
Signed-off-by: Michael Kerrisk <[email protected]>
  • Loading branch information
mkerrisk committed Aug 23, 2020
1 parent 6b0c25f commit f15ff6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions man2/seccomp.2
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit f15ff6f

Please sign in to comment.