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