076f82
commit 0499c3a95fb864284fef36d3e9c5a54f6646b2db
076f82
Author: Joseph Myers <joseph@codesourcery.com>
076f82
Date:   Thu Mar 24 15:35:27 2022 +0000
076f82
076f82
    Update kernel version to 5.17 in tst-mman-consts.py
076f82
    
076f82
    This patch updates the kernel version in the test tst-mman-consts.py
076f82
    to 5.17.  (There are no new MAP_* constants covered by this test in
076f82
    5.17 that need any other header changes.)
076f82
    
076f82
    Tested with build-many-glibcs.py.
076f82
    
076f82
    (cherry picked from commit 23808a422e6036accaba7236fd3b9a0d7ab7e8ee)
076f82
076f82
diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py
076f82
index 8102d80b6660e523..724c7375c3a1623b 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, 16)
076f82
+    linux_version_glibc = (5, 17)
076f82
     sys.exit(glibcextract.compare_macro_consts(
076f82
         '#define _GNU_SOURCE 1\n'
076f82
         '#include <sys/mman.h>\n',