aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorPaul Saab <ps@FreeBSD.org>2000-02-28 06:36:45 +0000
committerPaul Saab <ps@FreeBSD.org>2000-02-28 06:36:45 +0000
commit77ac690c97ab18c1c4882a42ebeff370dbcac072 (patch)
tree94af6b7ad06433e80bfd45b5c8d795cf75983e1b /sys/kern
parent9730a5daab56ddfd4d6d0907665f275aae2b0b45 (diff)
Notes
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/imgact_elf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c
index 872988815252..6a0e0ef20532 100644
--- a/sys/kern/imgact_elf.c
+++ b/sys/kern/imgact_elf.c
@@ -817,8 +817,9 @@ each_writable_segment(p, func, closure)
continue;
/*
- ** Dont include mmapped data in the coredump if MAP_NOCORE
- ** is set in mmap(2).
+ ** Dont include memory segment in the coredump if
+ ** MAP_NOCORE is set in mmap(2) or MADV_NOCORE in
+ ** madvise(2).
*/
if (entry->eflags & MAP_ENTRY_NOCOREDUMP)
continue;