]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
tile: Define MADV_DONTDUMP and MADV_DODUMP
authorChris Metcalf <cmetcalf@tilera.com>
Wed, 23 May 2012 12:20:12 +0000 (08:20 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Wed, 23 May 2012 12:20:12 +0000 (08:20 -0400)
ChangeLog.tile
sysdeps/unix/sysv/linux/tile/bits/mman.h

index 12030be2310c1dcc31c499c8c0ee5df86a36dd38..141d6273c76e8c99499131df92d85897ce8c6f52 100644 (file)
@@ -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.
index 87c938d36760e515387bc579fc17d9360372bfc5..8287823d0a9d27ce67863ff78a467ec64a1e2381 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