Re: [PATCH] clone.2: tfix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> ---
>  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/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux