Skip to contentSkip to conversation

clone.2: tfix

PATCH In review Krzysztof Małysa 2 participants 2 messages Mar 5, 2020 – Mar 12, 2020 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clone.2: tfix

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

---
 man2/clone.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man2/clone.2 +1 -1
index f9920ee66..39cec4c86 100644
@@ -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
Signature · 1 line
2.25.1
#1 lore raw
Quoted 2 lines · Krzysztof Małysa

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

Thanks, Krzysztof, Patch applied.

Cheers,

Michael

Quoted 19 lines
---
 man2/clone.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man2/clone.2 +1 -1
index f9920ee66..39cec4c86 100644
@@ -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
Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/