mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 14:30:06 +00:00
Add MAP_SHARED_VALIDATE from Linux 4.15.
This patch adds the MAP_SHARED_VALIDATE macro from Linux 4.15 to bits/mman-linux.h and the hppa bits/mman.h. Tested for x86_64. * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC] (MAP_SHARED_VALIDATE): New macro. * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
This commit is contained in:
parent
6a5cac49b6
commit
92669d6ee3
@ -1,3 +1,10 @@
|
||||
2018-02-06 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
|
||||
(MAP_SHARED_VALIDATE): New macro.
|
||||
* sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
|
||||
(MAP_SHARED_VALIDATE): Likewise.
|
||||
|
||||
2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
|
||||
|
@ -42,6 +42,8 @@
|
||||
#define MAP_SHARED 0x01 /* Share changes. */
|
||||
#define MAP_PRIVATE 0x02 /* Changes are private. */
|
||||
#ifdef __USE_MISC
|
||||
# define MAP_SHARED_VALIDATE 0x03 /* Share changes and validate
|
||||
extension flags. */
|
||||
# define MAP_TYPE 0x0f /* Mask for type of mapping. */
|
||||
#endif
|
||||
|
||||
|
@ -34,6 +34,8 @@
|
||||
#define MAP_SHARED 0x01 /* Share changes */
|
||||
#define MAP_PRIVATE 0x02 /* Changes are private */
|
||||
#ifdef __USE_MISC
|
||||
# define MAP_SHARED_VALIDATE 0x03 /* Share changes and validate
|
||||
extension flags. */
|
||||
# define MAP_TYPE 0x03 /* Mask for type of mapping */
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user