about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.tile5
-rw-r--r--sysdeps/unix/sysv/linux/tile/bits/mman.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog.tile b/ChangeLog.tile
index 12030be231..141d6273c7 100644
--- a/ChangeLog.tile
+++ b/ChangeLog.tile
@@ -1,3 +1,8 @@
+2012-05-23  Chris Metcalf  <cmetcalf@tilera.com>
+
+	* sysdeps/unix/sysv/linux/tile/bits/mman.h (MADV_DONTDUMP): Define.
+	(MADV_DODUMP): Likewise.
+
 2012-05-22  Chris Metcalf  <cmetcalf@tilera.com>
 
 	* sysdeps/tile/bits/libm-test-ulps: Update.
diff --git a/sysdeps/unix/sysv/linux/tile/bits/mman.h b/sysdeps/unix/sysv/linux/tile/bits/mman.h
index 87c938d367..8287823d0a 100644
--- a/sysdeps/unix/sysv/linux/tile/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/tile/bits/mman.h
@@ -96,6 +96,9 @@
 # define MADV_UNMERGEABLE 13	/* KSM may not merge identical pages.  */
 # define MADV_HUGEPAGE	  14	/* Worth backing with hugepages.  */
 # define MADV_NOHUGEPAGE  15	/* Not worth backing with hugepages.  */
+# define MADV_DONTDUMP	  16    /* Explicity exclude from the core dump,
+                                   overrides the coredump filter bits.  */
+# define MADV_DODUMP	  17	/* Clear the MADV_DONTDUMP flag.  */
 # define MADV_HWPOISON	  100	/* Poison a page for testing.  */
 #endif