76b6d9
commit acb55dcb892d4321ada6fd9b663b28fada432682
76b6d9
Author: Joseph Myers <joseph@codesourcery.com>
76b6d9
Date:   Wed Jan 2 18:35:50 2019 +0000
76b6d9
76b6d9
    Update Linux kernel version in tst-mman-consts.py.
76b6d9
    
76b6d9
    This patch updates the Linux kernel version in tst-mman-consts.py to
76b6d9
    4.20 (meaning that's the version for which glibc is expected to have
76b6d9
    the same constants as the kernel, up to the exceptions listed in the
76b6d9
    test).  (Once we have more such tests sharing common infrastructure, I
76b6d9
    expect the kernel version will be something set in the infrastructure
76b6d9
    shared by all such tests, rather than something needing updating
76b6d9
    separately for each test for each new kernel version.)
76b6d9
    
76b6d9
    Tested with build-many-glibcs.py.
76b6d9
    
76b6d9
            * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
76b6d9
            constants to match with Linux 4.20.
76b6d9
76b6d9
diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py
76b6d9
index 1a613beec0da16fb..4a2ddd49c4c7282b 100644
76b6d9
--- a/sysdeps/unix/sysv/linux/tst-mman-consts.py
76b6d9
+++ b/sysdeps/unix/sysv/linux/tst-mman-consts.py
76b6d9
@@ -41,7 +41,7 @@ def main():
76b6d9
                         help='C compiler (including options) to use')
76b6d9
     args = parser.parse_args()
76b6d9
     linux_version_headers = linux_kernel_version(args.cc)
76b6d9
-    linux_version_glibc = (4, 19)
76b6d9
+    linux_version_glibc = (4, 20)
76b6d9
     sys.exit(glibcextract.compare_macro_consts(
76b6d9
         '#define _GNU_SOURCE 1\n'
76b6d9
         '#include <sys/mman.h>\n',