@@ -247,6 +247,22 @@ Ensures that memory in the address range specified by
and
.IR length
will not be collapsed into huge pages.
+.TP
+.BR MADV_DONTDUMP " (since Linux 3.4)"
+Explicitly exclude from a core dump those pages in the range specified by
+.I addr
+and
+.IR length .
+Applications may have large areas of memory which are known not to be useful in
+diagnosing a core dump. This specification takes precedence over the bit mask that
+is set via the
+.I /proc/PID/coredump_filter
+file (see
+.BR core (5)).
+.TP
+.BR MADV_DODUMP " (since Linux 3.4)"
+Undo the effect of an earlier
+.BR MADV_DONTDUMP.
.SH "RETURN VALUE"
On success
.BR madvise ()
@@ -356,4 +372,5 @@ from the system call, as it should).
.BR mmap (2),
.BR mprotect (2),
.BR msync (2),
-.BR munmap (2)
+.BR munmap (2),
+.BR core (5)