mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-13 20:50:08 +00:00
Ignore MAP_VARIABLE in tst-mman-consts.py
Linux 6.2 removed the hppa compatibility MAP_VARIABLE define. That means that, whether or not we remove it in glibc, it needs to be ignored in tst-mman-consts.py (since this macro comparison infrastructure expects that new kernel header versions only add new macros, not remove old ones). Tested with build-many-glibcs.py for hppa-linux-gnu (Linux 6.2 headers).
This commit is contained in:
parent
311a7e0256
commit
01e09ab057
@ -47,9 +47,12 @@ def main():
|
||||
# MAP_ANON alias for MAP_ANONYMOUS. MAP_RENAME, MAP_AUTOGROW,
|
||||
# MAP_LOCAL and MAP_AUTORSRV are in the kernel header for
|
||||
# MIPS, marked as "not used by linux"; SPARC has MAP_INHERIT
|
||||
# in the kernel header, but does not use it.
|
||||
# in the kernel header, but does not use it. The kernel
|
||||
# header for HPPA removed a define of MAP_VARIABLE to 0 in
|
||||
# Linux 6.2.
|
||||
'MAP_HUGE_[0-9].*|MAP_UNINITIALIZED|MAP_FAILED|MAP_ANON'
|
||||
'|MAP_RENAME|MAP_AUTOGROW|MAP_LOCAL|MAP_AUTORSRV|MAP_INHERIT',
|
||||
'|MAP_RENAME|MAP_AUTOGROW|MAP_LOCAL|MAP_AUTORSRV|MAP_INHERIT'
|
||||
'|MAP_VARIABLE',
|
||||
linux_version_glibc > linux_version_headers,
|
||||
linux_version_headers > linux_version_glibc))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user