diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2012-05-23 08:20:12 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2012-05-23 08:20:12 -0400 |
commit | bf144a4fae5507bda46ffa1e8a88a531a215fd79 (patch) | |
tree | cc18c0fdb9abe7bc333d8319fc2b48f6a7d8a6d5 | |
parent | ec55b2167a48417126a0ea50840916b9ee49b5bb (diff) | |
download | glibc-bf144a4fae5507bda46ffa1e8a88a531a215fd79.tar.gz glibc-bf144a4fae5507bda46ffa1e8a88a531a215fd79.tar.xz glibc-bf144a4fae5507bda46ffa1e8a88a531a215fd79.zip |
tile: Define MADV_DONTDUMP and MADV_DODUMP
-rw-r--r-- | ChangeLog.tile | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/tile/bits/mman.h | 3 |
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 |