Re: For review: documentation of clone3() system call
From: Michael Kerrisk (man-pages) <hidden>
Date: 2019-11-07 12:26:18
Also in:
linux-man, lkml
Hey, Christian, Ping! Cheers, Michael On Fri, 25 Oct 2019 at 19:09, Christian Brauner [off-list ref] wrote:
On Fri, Oct 25, 2019 at 06:59:31PM +0200, Michael Kerrisk (man-pages) wrote:quoted
Hello Christian and all, I've made a first shot at adding documentation for clone3(). You can see the diff here: https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=faa0e55ae9e490d71c826546bbdef954a1800969 In the end, I decided that the most straightforward approach was to add the documentation as part of the existing clone(2) page. This has the advantage of avoiding duplication of information across two pages, and perhaps also makes it easier to see the commonality of the two APIs. Because the new text is integrated into the existing page, I think it makes most sense to just show that page text for review purposes. I welcome input on the below. The notable changes are: * In the first part of the page, up to and including the paragraph with the subheading "The flags bit mask" * Minor changes in the description of CLONE_CHILD_CLEARTID, CLONE_CHILD_SETTID, CLONE_PARENT_SETTID, and CLONE_PIDFD, to reflect the argument differences between clone() and clone2() Most of the resy of page is unchanged. I welcome fixes, suggestions for improvements, etc.Thank you Michael, for doing this. I will hopefully get around to reviewing this soon but it might take a few days (latest after next week :( because of OSS/LSS). Christian
-- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/