diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/tst-mman-consts.py')
-rw-r--r-- | sysdeps/unix/sysv/linux/tst-mman-consts.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py index 4a8f4e8919..441261c945 100644 --- a/sysdeps/unix/sysv/linux/tst-mman-consts.py +++ b/sysdeps/unix/sysv/linux/tst-mman-consts.py @@ -41,8 +41,7 @@ def main(): '#include <linux/mman.h>\n', args.cc, 'MAP_.*', - # A series of MAP_HUGE_<size> macros are defined by the kernel - # but not by glibc. MAP_UNINITIALIZED is kernel-only. + # MAP_UNINITIALIZED is defined by the kernel but not by glibc. # MAP_FAILED is not a MAP_* flag and is glibc-only, as is the # MAP_ANON alias for MAP_ANONYMOUS. MAP_RENAME, MAP_AUTOGROW, # MAP_LOCAL and MAP_AUTORSRV are in the kernel header for @@ -50,9 +49,8 @@ def main(): # 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_VARIABLE', + 'MAP_UNINITIALIZED|MAP_FAILED|MAP_ANON|MAP_RENAME|MAP_AUTOGROW' + '|MAP_LOCAL|MAP_AUTORSRV|MAP_INHERIT|MAP_VARIABLE', linux_version_glibc > linux_version_headers, linux_version_headers > linux_version_glibc)) |