From 399f3e392b716ebf975adf806447a4cc1aabff91 Mon Sep 17 00:00:00 2001 From: Rik van Riel Date: Tue, 19 Sep 2017 20:35:09 +0200 Subject: [PATCH] fork.2: Document effect of MADV_WIPEONFORK MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rik van Riel Signed-off-by: Colm MacCárthaigh Signed-off-by: Michael Kerrisk --- man2/fork.2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/man2/fork.2 b/man2/fork.2 index 798eec5d1..94f83198f 100644 --- a/man2/fork.2 +++ b/man2/fork.2 @@ -140,6 +140,12 @@ Memory mappings that have been marked with the flag are not inherited across a .BR fork (). .IP * +Memory in mappings that have been marked with the +.BR madvise (2) +.B MADV_WIPEONFORK +flag is zeroed in the child after a +.BR fork (). +.IP * The termination signal of the child is always .B SIGCHLD (see