Linux-man Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] clone.2: tfix
@ 2020-03-05 21:35 Krzysztof Małysa
  2020-03-12  8:14 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 4+ messages in thread
From: Krzysztof Małysa @ 2020-03-05 21:35 UTC (permalink / raw)
  To: mtk.manpages; +Cc: linux-man, 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.

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] clone.2: tfix
  2020-03-05 21:35 [PATCH] clone.2: tfix Krzysztof Małysa
@ 2020-03-12  8:14 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Kerrisk (man-pages) @ 2020-03-12  8:14 UTC (permalink / raw)
  To: Krzysztof Małysa; +Cc: mtk.manpages, linux-man

On 3/5/20 10:35 PM, Krzysztof Małysa wrote:
> 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

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


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] clone.2: tfix
  2019-11-09  8:50 Jakub Wilk
@ 2019-11-09 11:55 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Kerrisk (man-pages) @ 2019-11-09 11:55 UTC (permalink / raw)
  To: Jakub Wilk; +Cc: mtk.manpages, linux-man

On 11/9/19 9:50 AM, Jakub Wilk wrote:
> Remove duplicated word.

Um -- wow. That was quick! Patch applied.

Thanks,

Michael

> Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
> ---
>  man2/clone.2 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man2/clone.2 b/man2/clone.2
> index 02422b82f..db1ab586a 100644
> --- a/man2/clone.2
> +++ b/man2/clone.2
> @@ -78,7 +78,7 @@ context are shared between the calling process and the child process.
>  For example, using these system calls, the caller can control whether
>  or not the two processes share the virtual address space,
>  the table of file descriptors, and the table of signal handlers.
> -These system system calls also allow the new child process to placed
> +These system calls also allow the new child process to placed
>  in separate
>  .BR namespaces (7).
>  .PP
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] clone.2: tfix
@ 2019-11-09  8:50 Jakub Wilk
  2019-11-09 11:55 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 4+ messages in thread
From: Jakub Wilk @ 2019-11-09  8:50 UTC (permalink / raw)
  To: Michael Kerrisk; +Cc: linux-man

Remove duplicated word.

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
---
 man2/clone.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man2/clone.2 b/man2/clone.2
index 02422b82f..db1ab586a 100644
--- a/man2/clone.2
+++ b/man2/clone.2
@@ -78,7 +78,7 @@ context are shared between the calling process and the child process.
 For example, using these system calls, the caller can control whether
 or not the two processes share the virtual address space,
 the table of file descriptors, and the table of signal handlers.
-These system system calls also allow the new child process to placed
+These system calls also allow the new child process to placed
 in separate
 .BR namespaces (7).
 .PP
-- 
2.24.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-05 21:35 [PATCH] clone.2: tfix Krzysztof Małysa
2020-03-12  8:14 ` Michael Kerrisk (man-pages)
  -- strict thread matches above, loose matches on Subject: below --
2019-11-09  8:50 Jakub Wilk
2019-11-09 11:55 ` Michael Kerrisk (man-pages)

Linux-man Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-man/0 linux-man/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-man linux-man/ https://lore.kernel.org/linux-man \
		linux-man@vger.kernel.org
	public-inbox-index linux-man

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-man


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git