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