diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2017-10-09 21:43:00 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2017-10-09 21:43:00 +0200 |
| commit | dca5d444b3029dca95e55e0e4d1dac22dfa5366b (patch) | |
| tree | ef1be35c4ea82e3e82f45869342c69a075cce181 | |
| parent | 292e6c071cc56b41b224a98c694286f4f18a341c (diff) | |
| download | man-pages-dca5d444b3029dca95e55e0e4d1dac22dfa5366b.tar.gz | |
madvise.2: Note fork() and execve() semantics for wipe-on-fork setting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
| -rw-r--r-- | man2/madvise.2 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/man2/madvise.2 b/man2/madvise.2 index 5b382e4468..5fc7f81147 100644 --- a/man2/madvise.2 +++ b/man2/madvise.2 @@ -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 |
