* [PATCH] prctl.2: EINAL when no CONFIG_SECCOMP_FILTER, also excess "TP" typo
@ 2013-02-06 19:16 Shawn Landden
[not found] ` <1360178170-9381-1-git-send-email-shawnlandden-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Shawn Landden @ 2013-02-06 19:16 UTC (permalink / raw)
To: linux-man-u79uwXL29TY76Z2rM5mHXA
Cc: Michael Kerrisk (man-pages), Shawn Landden
---
man2/prctl.2 | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/man2/prctl.2 b/man2/prctl.2
index fd78f48..e9ad0a5 100644
--- a/man2/prctl.2
+++ b/man2/prctl.2
@@ -803,6 +803,16 @@ and the kernel was not configured with
.B EINVAL
.I option
is
+.BR PR_SET_SECCOMP ,
+.I arg2
+is
+.BR SECCOMP_MODE_FILTER ,
+and the kernel was not configured with
+.BR CONFIG_SECCOMP_FILTER .
+.TP
+.B EINVAL
+.I option
+is
.BR PR_SET_MM ,
and one of the following is true
.RS
@@ -850,7 +860,6 @@ is not 0,
.BR PR_SET_PTRACER_ANY ,
or the PID of an existing process.
.TP
-TP
.B EPERM
.I option
is
--
1.7.9.5
--
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] prctl.2: EINAL when no CONFIG_SECCOMP_FILTER, also excess "TP" typo
[not found] ` <1360178170-9381-1-git-send-email-shawnlandden-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2013-02-08 0:29 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2013-02-08 0:29 UTC (permalink / raw)
To: Shawn Landden; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
Hi Shawn
Thanks for the patch. A few comments.
* When you send a patch like this please provide an explanation. In
particular, explain how you obtained the info. This helps me verify
it.
* Write separate patches for separate pieces. The typo patch should be
separate. That said, someone else sent in a patch to fix this a couple
of days ago (but only just pushed to kernel.org) so that this piece is
fixed.
* The patch for the SECCOMP stuff is not quite correct, AFAICS. But
more to the point, this seems to be documented by similar text that
is already in the page; am I missing something?
EINVAL option is PR_SET_SECCOMP or PR_GET_SECCOMP, and the ker‐
nel was not configured with CONFIG_SECCOMP.
Thanks,
Michael
On Wed, Feb 6, 2013 at 8:16 PM, Shawn Landden <shawnlandden-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> ---
> man2/prctl.2 | 11 ++++++++++-
> 1 file changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/man2/prctl.2 b/man2/prctl.2
> index fd78f48..e9ad0a5 100644
> --- a/man2/prctl.2
> +++ b/man2/prctl.2
> @@ -803,6 +803,16 @@ and the kernel was not configured with
> .B EINVAL
> .I option
> is
> +.BR PR_SET_SECCOMP ,
> +.I arg2
> +is
> +.BR SECCOMP_MODE_FILTER ,
> +and the kernel was not configured with
> +.BR CONFIG_SECCOMP_FILTER .
> +.TP
> +.B EINVAL
> +.I option
> +is
> .BR PR_SET_MM ,
> and one of the following is true
> .RS
> @@ -850,7 +860,6 @@ is not 0,
> .BR PR_SET_PTRACER_ANY ,
> or the PID of an existing process.
> .TP
> -TP
> .B EPERM
> .I option
> is
> --
> 1.7.9.5
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
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:[~2013-02-08 0:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-06 19:16 [PATCH] prctl.2: EINAL when no CONFIG_SECCOMP_FILTER, also excess "TP" typo Shawn Landden
[not found] ` <1360178170-9381-1-git-send-email-shawnlandden-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-02-08 0:29 ` Michael Kerrisk (man-pages)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.