Define MADV_DONTDUMP and MADV_DODUMP for ARM.

This commit is contained in:
Joseph Myers 2012-05-23 10:22:42 +00:00
parent 8dd88391bb
commit 2def71058e
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-05-23 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_DONTDUMP): Define.
(MADV_DODUMP): Likewise.
2012-05-21 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/arm/bits/hwcap.h: New file. Macros

View 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