m68k: define MADV_DONTDUMP and MADV_DODUMP
authorAndreas Schwab <schwab@linux-m68k.org>
Wed, 23 May 2012 16:13:29 +0000 (18:13 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Wed, 23 May 2012 16:45:57 +0000 (18:45 +0200)
ChangeLog.m68k
sysdeps/unix/sysv/linux/m68k/bits/mman.h

index a6f1871..80557cb 100644 (file)
@@ -1,3 +1,8 @@
+2012-05-23  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MADV_DONTDUMP)
+       (MADV_DODUMP): Define.
+
 2012-05-21  Andreas Schwab  <schwab@linux-m68k.org>
 
        * sysdeps/m68k/m680x0/fpu/s_logbl.c: New file.
index f361932..2d7769e 100644 (file)
@@ -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