Update bits/mman.h constants and tst-mman-consts.py for Linux 5.3.
commit71bdf29ac1de04efcce96bc5ce50af3263851ac7
authorJoseph Myers <joseph@codesourcery.com>
Mon, 30 Sep 2019 15:49:25 +0000 (30 15:49 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 30 Sep 2019 15:49:25 +0000 (30 15:49 +0000)
tree0cd4face221f285e5af9898b5c55eb0e3b0fec48
parent79ced5a893677abf303b3a97290454c1b991b1ae
Update bits/mman.h constants and tst-mman-consts.py for Linux 5.3.

The Linux 5.3 uapi headers have some rearrangement relating to MAP_*
constants, which includes the effect of adding definitions of MAP_SYNC
on powerpc and sparc.  This patch updates the corresponding glibc
bits/mman.h headers accordingly, and updates the Linux kernel version
number in tst-mman-consts.py to reflect that these constants are now
current with that kernel version.

Tested with build-many-glibcs.py.

* sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
(MAP_SYNC): New macro.
* sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
(MAP_SYNC): Likewise.
* sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
kernel version number to 5.3.
ChangeLog
sysdeps/unix/sysv/linux/powerpc/bits/mman.h
sysdeps/unix/sysv/linux/sparc/bits/mman.h
sysdeps/unix/sysv/linux/tst-mman-consts.py