aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/hppa/bits/mman.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2f71706759..343f421a25 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-06-18 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
+ (MAP_TYPE): Change value to 0x2b.
+
2018-06-18 Florian Weimer <fweimer@redhat.com>
[BZ #15722]
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/mman.h b/sysdeps/unix/sysv/linux/hppa/bits/mman.h
index 1d2a175239..1c7d3708e6 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/mman.h
@@ -36,7 +36,7 @@
#ifdef __USE_MISC
# define MAP_SHARED_VALIDATE 0x03 /* Share changes and validate
extension flags. */
-# define MAP_TYPE 0x03 /* Mask for type of mapping */
+# define MAP_TYPE 0x2b /* Mask for type of mapping */
#endif
/* Other flags. */