]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
seccomp.2: EXAMPLES: use SECCOMP_RET_KILL_PROCESS rather than SECCOMP_RET_KILL
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 23 Aug 2020 17:13:03 +0000 (19:13 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 23 Aug 2020 17:23:46 +0000 (19:23 +0200)
See previous commit.

Reported-by: Rich Felker <dalias@libc.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/seccomp.2

index e7cdfc8f7a8f969ed20574198bd92ab541abf739..d91dfe9e4b5a8a54c45794d3eca24c3157867b1a 100644 (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 = {