Define MADV_DONTDUMP and MADV_DODUMP for MIPS.

This commit is contained in:
Joseph Myers 2012-05-23 10:23:26 +00:00
parent 2def71058e
commit ec55b2167a
2 changed files with 9 additions and 0 deletions

View 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

View 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