]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update MAP_TYPE value for hppa from Linux 4.17.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 18 Jun 2018 13:33:52 +0000 (13:33 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 18 Jun 2018 13:33:52 +0000 (13:33 +0000)
This patch updates the hppa definition of MAP_TYPE to reflect a
corresponding change in the Linux kernel in 4.17 (so the value now has
four bits set, as it does on other architectures, although they are
different from other architectures because of hppa differences in
other MAP_* bits).

Tested with build-many-glibcs.py for hppa.

* sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
(MAP_TYPE): Change value to 0x2b.

ChangeLog
sysdeps/unix/sysv/linux/hppa/bits/mman.h

index 2f71706759095a17e724b3badb9b5be136f54e7b..343f421a2552c7f9846e45ab6cacdcdaaa3aec54 100644 (file)
--- 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]
index 1d2a175239ae27f25dd61332b856593a758b9840..1c7d3708e65706f1bc707c2f0c15fc4df4b51b51 100644 (file)
@@ -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.  */