]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update kernel version to 6.12 in header constant tests
authorJoseph Myers <josmyers@redhat.com>
Thu, 19 Dec 2024 15:38:59 +0000 (15:38 +0000)
committerJoseph Myers <josmyers@redhat.com>
Thu, 19 Dec 2024 15:38:59 +0000 (15:38 +0000)
There are no new constants covered by tst-mman-consts.py,
tst-mount-consts.py or tst-pidfd-consts.py in Linux 6.12 that need any
header changes, so update the kernel version in those tests.
(tst-sched-consts.py will need updating separately along with adding
SCHED_EXT.)

Tested with build-many-glibcs.py.

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

index 2191bea36f8f69e04d2e45d3ffc6abf5445e9a12..584936efecbf7755c6433296059afa1aa83a3468 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 = (6, 11)
+    linux_version_glibc = (6, 12)
     sys.exit(glibcextract.compare_macro_consts(
         '#define _GNU_SOURCE 1\n'
         '#include <sys/mman.h>\n',
index b71d8a489daf0865dbe3d9d2cbaff3051ff9d9af..e77579033b0fd8ec112ca06221f6998b89b74d88 100755 (executable)
@@ -39,10 +39,10 @@ def main():
         sys.exit (77)
 
     linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc)
-    # Constants in glibc were updated to match Linux v6.10.  When glibc
+    # Constants in glibc were updated to match Linux v6.12.  When glibc
     # constants are updated this value should be updated to match the
     # released kernel version from which the constants were taken.
-    linux_version_glibc = (6, 11)
+    linux_version_glibc = (6, 12)
     def check(cte, exclude=None):
         return glibcextract.compare_macro_consts(
                 '#include <sys/mount.h>\n',
index 9d53102cbd73dc842d3c9bca7014e1906b8342f1..ef896394bdb12a2567b37e5f15e79daa65e44f7a 100644 (file)
@@ -39,7 +39,7 @@ def main():
         sys.exit (77)
 
     linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc)
-    linux_version_glibc = (6, 11)
+    linux_version_glibc = (6, 12)
     sys.exit(glibcextract.compare_macro_consts(
                 '#include <sys/pidfd.h>\n',
                 '#include <asm/fcntl.h>\n'