linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Krzysztof Małysa" <varqox@gmail.com>
To: mtk.manpages@gmail.com
Cc: linux-man@vger.kernel.org, "Krzysztof Małysa" <varqox@gmail.com>
Subject: [PATCH] clone.2: tfix
Date: Thu,  5 Mar 2020 22:35:37 +0100	[thread overview]
Message-ID: <20200305213537.35763-1-varqox@gmail.com> (raw)

Fix clone3() syscall description for CLONE_PARENT_SETTID: kernel uses
cl_args.parent_tid instead of the specified cl_args.child_tid.

Signed-off-by: Krzysztof Małysa <varqox@gmail.com>
---
 man2/clone.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man2/clone.2 b/man2/clone.2
index f9920ee66..39cec4c86 100644
--- a/man2/clone.2
+++ b/man2/clone.2
@@ -765,7 +765,7 @@ Store the child thread ID at the location pointed to by
 .I parent_tid
 .RB ( clone ())
 or
-.I cl_args.child_tid
+.I cl_args.parent_tid
 .RB ( clone3 ())
 in the parent's memory.
 (In Linux 2.5.32-2.5.48 there was a flag
-- 
2.25.1


             reply	other threads:[~2020-03-05 21:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-05 21:35 Krzysztof Małysa [this message]
2020-03-12  8:14 ` [PATCH] clone.2: tfix Michael Kerrisk (man-pages)
  -- strict thread matches above, loose matches on Subject: below --
2021-05-09 21:38 [PATCH] fflush.3: SEE ALSO: Add fpurge(3) Alejandro Colomar
2021-05-09 21:39 ` [PATCH] clone.2: tfix Alejandro Colomar
2021-05-09 23:17   ` Michael Kerrisk (man-pages)
2021-04-19 20:01 Johannes Berg
2021-04-19 22:17 ` Alejandro Colomar (man-pages)
2021-01-18 21:12 [patch] " Johannes Wellhöfer
2021-01-19  8:02 ` Michael Kerrisk (man-pages)
2019-11-09  8:50 [PATCH] " Jakub Wilk
2019-11-09 11:55 ` Michael Kerrisk (man-pages)

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=20200305213537.35763-1-varqox@gmail.com \
    --to=varqox@gmail.com \
    --cc=linux-man@vger.kernel.org \
    --cc=mtk.manpages@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).