This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
bits/mman.h updates for Linux 3.4
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: libc-ports at sourceware dot org
- Date: Wed, 23 May 2012 10:25:29 +0000 (UTC)
- Subject: bits/mman.h updates for Linux 3.4
I've applied these bits/mman.h updates for ARM and MIPS in line with a
recent libc and kernel change. Other architecture maintainers will need
to update their versions similarly (in the case of PA, using different
values from the other architectures).
diff --git a/ChangeLog.arm b/ChangeLog.arm
index bb1bab7..f6eac63 100644
--- a/ChangeLog.arm
+++ b/ChangeLog.arm
@@ -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
diff --git a/ChangeLog.mips b/ChangeLog.mips
index 8542552..493514b 100644
--- a/ChangeLog.mips
+++ b/ChangeLog.mips
@@ -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
diff --git a/sysdeps/unix/sysv/linux/arm/bits/mman.h b/sysdeps/unix/sysv/linux/arm/bits/mman.h
index 46c7249..09b9c45 100644
--- a/sysdeps/unix/sysv/linux/arm/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/arm/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
diff --git a/sysdeps/unix/sysv/linux/mips/bits/mman.h b/sysdeps/unix/sysv/linux/mips/bits/mman.h
index e9c919b..26b6502 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/mman.h
@@ -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
--
Joseph S. Myers
joseph@codesourcery.com