Update kernel version to 5.12 in tst-mman-consts.py.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 29 Apr 2021 10:50:11 +0000 (10:50 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 29 Apr 2021 10:50:11 +0000 (10:50 +0000)
This patch updates the kernel version in the test tst-mman-consts.py
to 5.12.  (There are no new MAP_* constants covered by this test in
5.12 that need any other header changes.)

Tested with build-many-glibcs.py.

sysdeps/unix/sysv/linux/tst-mman-consts.py

index 43c6f98..fec7c9b 100644 (file)
@@ -33,7 +33,7 @@ def main():
                         help='C compiler (including options) to use')
     args = parser.parse_args()
     linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc)
-    linux_version_glibc = (5, 11)
+    linux_version_glibc = (5, 12)
     sys.exit(glibcextract.compare_macro_consts(
         '#define _GNU_SOURCE 1\n'
         '#include <sys/mman.h>\n',