]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
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 8542552131a91ceae6d965c66bc16a2690ae06c3..493514bb99bd763e94ab4a36d7ffc466ac24d12b 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 e9c919b8cdbd68c7a71a38dc61ece0ac40986f41..26b6502c4fec6c137dc44bb710a2757a9e6e67b5 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