contradictional sentence in clone(2) man page
In the discussion of CLONE_VM I find this sentence:
Quoted 4 lines
If the
CLONE_VMflag is specified and theCLONE_VMflag is not specified, then any alternate signal stack that was established by sigaltstack(2) is cleared in the child process.
Which simply doesn't make sense. I guess one of them should have been the name of another flag.
Eike
Signature · 7 lines
Rolf Eike Beer, emlix GmbH, http://www.emlix.com Fon +49 551 30664-0, Fax +49 551 30664-11 Gothaer Platz 3, 37083 Göttingen, Germany Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160 Geschäftsführung: Heike Jordan, Dr. Uwe Kracke – Ust-IdNr.: DE 205 198 055 emlix - smart embedded open source
Quoted 1 line
* Rolf Eike Beer <[email protected]>, 2021-01-25, 09:33:
Quoted 5 lines
In the discussion of
CLONE_VMI find this sentence:Quoted 1 line
If the
CLONE_VMflag is specified and theCLONE_VMflag is not specified, then any alternate signal stack that was established by sigaltstack(2) is cleared in the child process.Which simply doesn't make sense. I guess one of them should have been the name of another flag.
Yup, already fixed in git:
https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=2a1b1111ca1a75e3
Signature · 1 line
Jakub Wilk
Hi Rolf,
Quoted 10 lines · Rolf Eike Beer
In the discussion of
CLONE_VMI find this sentence:Quoted 4 lines
If the
CLONE_VMflag is specified and theCLONE_VMflag is not specified, then any alternate signal stack that was established by sigaltstack(2) is cleared in the child process.Which simply doesn't make sense. I guess one of them should have been the name of another flag.
Thanks for taking the time to report this. You are right. And by chance this was reported and fixed just a few days ago:
Cheers,
Michael
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/