Skip to contentSkip to conversation

contradictional sentence in clone(2) man page

DISCUSSION Rolf Eike Beer 3 participants 3 messages Jan 25, 2021 – Jan 26, 2021 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

In the discussion of CLONE_VM I find this sentence:

Quoted 4 lines

If the CLONE_VM flag is specified and the CLONE_VM flag 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
#1 lore raw
Quoted 1 line

* Rolf Eike Beer <[email protected]>, 2021-01-25, 09:33:

Quoted 5 lines

In the discussion of CLONE_VM I find this sentence:

Quoted 1 line

If the CLONE_VM flag is specified and the CLONE_VM flag 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
#2 lore raw
In reply to Rolf Eike Beer

Hi Rolf,

Quoted 10 lines · Rolf Eike Beer

In the discussion of CLONE_VM I find this sentence:

Quoted 4 lines

If the CLONE_VM flag is specified and the CLONE_VM flag 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:

https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=2a1b1111ca1a75e369afc6aaeb04f17acfcfdb41

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/