Mappings marked with madvise(MADV_DONTFORK) are not inherited by child.

This commit is contained in:
Michael Kerrisk 2006-09-05 11:35:35 +00:00
parent 7e9aa05594
commit 78cb591178
1 changed files with 6 additions and 0 deletions

View File

@ -105,6 +105,12 @@ The
setting is reset so that the child does not receive a signal
when its parent terminates.
.IP * 4
Memory mappings that have been marked with the
.BR madvise (2)
.B MADV_DONTFORK
flag are not inherited across a
.BR fork (2).
.IP * 4
The termination signal of the child is always SIGCHLD
(see
.BR clone (2)).