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