public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Josh Triplett <josh-iaAMLnmF4UmaiuxdJuQwMA@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH] clone.2: Document that clone silently ignores CLONE_PID and CLONE_STOPPED
Date: Thu, 26 Feb 2015 16:41:20 -0800	[thread overview]
Message-ID: <20150227004118.GA15530@jtriplet-mobl1> (raw)

Normally, system calls return EINVAL for flags they don't support.
Explicitly document that clone does *not* produce an error for these two
obsolete flags.

Signed-off-by: Josh Triplett <josh-iaAMLnmF4UmaiuxdJuQwMA@public.gmane.org>
---
 man2/clone.2 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/man2/clone.2 b/man2/clone.2
index 91c3684..10cef7d 100644
--- a/man2/clone.2
+++ b/man2/clone.2
@@ -534,7 +534,8 @@ This is good for hacking the system, but otherwise
 of not much use.
 Since 2.3.21 this flag can be
 specified only by the system boot process (PID 0).
-It disappeared in Linux 2.5.16.
+It disappeared in Linux 2.5.16.  Since then, the kernel silently ignores it
+without error.
 .TP
 .BR CLONE_PTRACE " (since Linux 2.2)"
 If
@@ -599,7 +600,8 @@ This flag was
 from Linux 2.6.25 onward,
 and was
 .I removed
-altogether in Linux 2.6.38.
+altogether in Linux 2.6.38.  Since then, the kernel silently ignores it without
+error.
 .\" glibc 2.8 removed this defn from bits/sched.h
 .TP
 .BR CLONE_SYSVSEM " (since Linux 2.5.10)"
-- 
2.1.4

--
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

             reply	other threads:[~2015-02-27  0:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-27  0:41 Josh Triplett [this message]
2015-02-27  6:42 ` [PATCH] clone.2: Document that clone silently ignores CLONE_PID and CLONE_STOPPED Michael Kerrisk (man-pages)
     [not found]   ` <54F011E4.1020502-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-02-27 16:31     ` josh-iaAMLnmF4UmaiuxdJuQwMA
2015-03-02 16:27       ` Michael Kerrisk (man-pages)
     [not found]         ` <CAKgNAkjCvzeo+tHUW+mwL+ptdCX7k=j8fmRX6OtLfFM9HVXJjQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-02 16:40           ` josh-iaAMLnmF4UmaiuxdJuQwMA
2015-03-03  7:02             ` Michael Kerrisk (man-pages)
     [not found]               ` <54F55C7F.10909-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-03-03  8:13                 ` Josh Triplett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150227004118.GA15530@jtriplet-mobl1 \
    --to=josh-iaamlnmf4umaiuxdjuqwma@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox