076f82
commit fd5dbfd1cd98cb2f12f9e9f7004a4d25ab0c977f
076f82
Author: Joseph Myers <joseph@codesourcery.com>
076f82
Date:   Mon Nov 22 15:30:12 2021 +0000
076f82
076f82
    Update kernel version to 5.15 in tst-mman-consts.py
076f82
    
076f82
    This patch updates the kernel version in the test tst-mman-consts.py
076f82
    to 5.15.  (There are no new MAP_* constants covered by this test in
076f82
    5.15 that need any other header changes.)
076f82
    
076f82
    Tested with build-many-glibcs.py.
076f82
    
076f82
    (cherry picked from commit 5c3ece451d46a7d8721311609bfcb6faafacb39e)
076f82
076f82
diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py
076f82
index 810433c238f31c25..eeccdfd04dae57ab 100644
076f82
--- a/sysdeps/unix/sysv/linux/tst-mman-consts.py
076f82
+++ b/sysdeps/unix/sysv/linux/tst-mman-consts.py
076f82
@@ -33,7 +33,7 @@ def main():
076f82
                         help='C compiler (including options) to use')
076f82
     args = parser.parse_args()
076f82
     linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc)
076f82
-    linux_version_glibc = (5, 14)
076f82
+    linux_version_glibc = (5, 15)
076f82
     sys.exit(glibcextract.compare_macro_consts(
076f82
         '#define _GNU_SOURCE 1\n'
076f82
         '#include <sys/mman.h>\n',