]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
clone.2: tfix
authorJohannes Wellhöfer <johannes.wellhofer@gmail.com>
Mon, 18 Jan 2021 21:12:09 +0000 (22:12 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 19 Jan 2021 07:54:41 +0000 (08:54 +0100)
For the alternate signal stack to be cleared, CLONE_VM should and
CLONE_VFORK should not be specified.

[mtk: fixes my commit 52e5819c4190c3f248df4b976e0a04cc561289e4]

Signed-off-by: Johannes Wellhöfer <johannes.wellhofer@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/clone.2

index fecec90c814cd9cc87d69babde50a628b6e89083..11eb6c622f94b8c49e47ed426d17db53b9ea70f8 100644 (file)
@@ -1187,7 +1187,7 @@ processes do not affect the other, as with
 If the
 .BR CLONE_VM
 flag is specified and the
-.BR CLONE_VM
+.BR CLONE_VFORK
 flag is not specified,
 then any alternate signal stack that was established by
 .BR sigaltstack (2)