]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update kernel version to 5.16 in tst-mman-consts.py
authorJoseph Myers <joseph@codesourcery.com>
Wed, 16 Feb 2022 14:19:24 +0000 (14:19 +0000)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 3 May 2022 08:36:08 +0000 (10:36 +0200)
This patch updates the kernel version in the test tst-mman-consts.py
to 5.16.  (There are no new MAP_* constants covered by this test in
5.16 that need any other header changes.)

Tested with build-many-glibcs.py.

(cherry picked from commit 790a607e234aa10d4b977a1b80aebe8a2acac970)

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

index fc0a8ff4a7d176b9c12c05730187dc545cce674c..af90dcdeac4a10c349a2f12ddfbd51a597bf317a 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, 15)
+    linux_version_glibc = (5, 16)
     sys.exit(glibcextract.compare_macro_consts(
         '#define _GNU_SOURCE 1\n'
         '#include <sys/mman.h>\n',