mirror of https://github.com/mkerrisk/man-pages
madvise.2: Note fork() and execve() semantics for wipe-on-fork setting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
292e6c071c
commit
dca5d444b3
|
@ -419,6 +419,14 @@ The
|
|||
.B MADV_WIPEONFORK
|
||||
operation can be applied only to private anonymous pages (see
|
||||
.BR mmap (2)).
|
||||
.IP
|
||||
Within the child created by
|
||||
.BR fork (2),
|
||||
the
|
||||
.B MADV_WIPEONFORK
|
||||
setting remains in place on the specified address range.
|
||||
This setting is cleared during
|
||||
.BR execve (2).
|
||||
.TP
|
||||
.BR MADV_KEEPONFORK " (since Linux 4.14)"
|
||||
.\" commit d2cd9ede6e193dd7d88b6d27399e96229a551b19
|
||||
|
|
Loading…
Reference in New Issue