aboutsummaryrefslogtreecommitdiffstats
path: root/man2/fork.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2017-10-09 21:26:53 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2017-10-09 21:26:53 +0200
commit292e6c071cc56b41b224a98c694286f4f18a341c (patch)
tree2bda30ba16f986e08572bdbf2381c4c2ad2cc2bb /man2/fork.2
parent64f89da83fb442979634ce485c22c05c3752a5aa (diff)
downloadman-pages-292e6c071cc56b41b224a98c694286f4f18a341c.tar.gz
fork.2: The MADV_WIPEONFORK setting is preserved in child of fork()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/fork.2')
-rw-r--r--man2/fork.23
1 files changed, 3 insertions, 0 deletions
diff --git a/man2/fork.2 b/man2/fork.2
index 061ec16e7c..931e8f76f3 100644
--- a/man2/fork.2
+++ b/man2/fork.2
@@ -145,6 +145,9 @@ Memory in address ranges that have been marked with the
.B MADV_WIPEONFORK
flag is zeroed in the child after a
.BR fork ().
+(The
+.B MADV_WIPEONFORK
+setting remains in place for those address ranges in the child.)
.IP *
The termination signal of the child is always
.B SIGCHLD