fork.2: Document effect of MADV_WIPEONFORK

Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Colm MacCárthaigh <colm@allcosts.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Rik van Riel 2017-09-19 20:35:09 +02:00 committed by Michael Kerrisk
parent c0c4f6c29c
commit 399f3e392b
1 changed files with 6 additions and 0 deletions

View File

@ -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