Define MADV_DONTDUMP and MADV_DODUMP for MIPS.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 23 May 2012 10:23:26 +0000 (10:23 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 23 May 2012 10:23:26 +0000 (10:23 +0000)
ChangeLog.mips
sysdeps/unix/sysv/linux/mips/bits/mman.h

index 8542552..493514b 100644 (file)
@@ -1,3 +1,9 @@
+2012-05-23  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_DONTDUMP):
+       Define.
+       (MADV_DODUMP): Likewise.
+
 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/mips/bits/wordsize.h (__WORDSIZE_COMPAT32): Rename to
index e9c919b..26b6502 100644 (file)
@@ -98,6 +98,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