* [PATCH] seccomp.2: Clarify SECCOMP_RET_KILL kills tasks not processes
@ 2017-07-06 19:23 Kees Cook
2017-08-15 18:49 ` Michael Kerrisk (man-pages)
0 siblings, 1 reply; 2+ messages in thread
From: Kees Cook @ 2017-07-06 19:23 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Zach Reizner,
Jorge Lucangeli Obes
Zach Reizner pointed out a mismatch between kernel behavior and the
man-page documentation of SECCOMP_RET_KILL which kills tasks not
processes.
Signed-off-by: Kees Cook <keescook-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
---
man2/seccomp.2 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/man2/seccomp.2 b/man2/seccomp.2
index 7d0e721..b805154 100644
--- a/man2/seccomp.2
+++ b/man2/seccomp.2
@@ -371,9 +371,9 @@ In decreasing order of precedence,
the values that may be returned by a seccomp filter are:
.TP
.BR SECCOMP_RET_KILL
-This value results in the process exiting immediately
+This value results in the task exiting immediately
without executing the system call.
-The process terminates as though killed by a
+The task terminates as though killed by a
.B SIGSYS
signal
.RI ( not
@@ -769,7 +769,7 @@ 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 process */
+ /* [7] Destination of architecture mismatch: kill task */
BPF_STMT(BPF_RET | BPF_K, SECCOMP_RET_KILL),
};
--
2.7.4
--
Kees Cook
Pixel Security
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] seccomp.2: Clarify SECCOMP_RET_KILL kills tasks not processes
2017-07-06 19:23 [PATCH] seccomp.2: Clarify SECCOMP_RET_KILL kills tasks not processes Kees Cook
@ 2017-08-15 18:49 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2017-08-15 18:49 UTC (permalink / raw)
To: Kees Cook
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
linux-man-u79uwXL29TY76Z2rM5mHXA, Zach Reizner,
Jorge Lucangeli Obes
On 07/06/2017 09:23 PM, Kees Cook wrote:
> Zach Reizner pointed out a mismatch between kernel behavior and the
> man-page documentation of SECCOMP_RET_KILL which kills tasks not
> processes.
Thanks, Kees. Applied.
Cheers,
Michael
> Signed-off-by: Kees Cook <keescook-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
> ---
> man2/seccomp.2 | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/man2/seccomp.2 b/man2/seccomp.2
> index 7d0e721..b805154 100644
> --- a/man2/seccomp.2
> +++ b/man2/seccomp.2
> @@ -371,9 +371,9 @@ In decreasing order of precedence,
> the values that may be returned by a seccomp filter are:
> .TP
> .BR SECCOMP_RET_KILL
> -This value results in the process exiting immediately
> +This value results in the task exiting immediately
> without executing the system call.
> -The process terminates as though killed by a
> +The task terminates as though killed by a
> .B SIGSYS
> signal
> .RI ( not
> @@ -769,7 +769,7 @@ 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 process */
> + /* [7] Destination of architecture mismatch: kill task */
> BPF_STMT(BPF_RET | BPF_K, SECCOMP_RET_KILL),
> };
>
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-15 18:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-06 19:23 [PATCH] seccomp.2: Clarify SECCOMP_RET_KILL kills tasks not processes Kees Cook
2017-08-15 18:49 ` Michael Kerrisk (man-pages)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox