1d4c55
commit c7a26cba2ab949216ac9ef245ca78696815ea4c4
1d4c55
Author: Joseph Myers <joseph@codesourcery.com>
1d4c55
Date:   Fri Aug 2 11:36:07 2019 +0000
1d4c55
1d4c55
    Update Linux kernel version number in tst-mman-consts.py to 5.2.
1d4c55
    
1d4c55
    The tst-mman-consts.py test includes a kernel version number, to avoid
1d4c55
    failures because of newly added constants in the kernel (if kernel
1d4c55
    headers are newer than this version of glibc) or missing constants in
1d4c55
    the kernel (if kernel headers are older than this version of glibc).
1d4c55
    This patch updates it to 5.2 to reflect that the MAP_* constants in
1d4c55
    glibc are still current as of that kernel version.
1d4c55
    
1d4c55
    Tested with build-many-glibcs.py.
1d4c55
    
1d4c55
            * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1d4c55
            kernel version number to 5.2.
1d4c55
1d4c55
diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py
1d4c55
index 4a2ddd49c4c7282b..9e326b1f31799a72 100644
1d4c55
--- a/sysdeps/unix/sysv/linux/tst-mman-consts.py
1d4c55
+++ b/sysdeps/unix/sysv/linux/tst-mman-consts.py
1d4c55
@@ -41,7 +41,7 @@ def main():
1d4c55
                         help='C compiler (including options) to use')
1d4c55
     args = parser.parse_args()
1d4c55
     linux_version_headers = linux_kernel_version(args.cc)
1d4c55
-    linux_version_glibc = (4, 20)
1d4c55
+    linux_version_glibc = (5, 2)
1d4c55
     sys.exit(glibcextract.compare_macro_consts(
1d4c55
         '#define _GNU_SOURCE 1\n'
1d4c55
         '#include <sys/mman.h>\n',