aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man2/madvise.28
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