[PATCH v2 10/25] Update kernel version to 7.3 in header constant tests

Adhemerval Zanella adhemerval.zanella@linaro.org
Tue Nov 10 15:09:54 GMT 2026


There are no new constants covered by tst-mman-consts.py,
tst-mount-consts.py, tst-pidfd-consts.py, or tst-sched-consts.py in
Linux 7.2 or 7.3.
---
 sysdeps/unix/sysv/linux/tst-mman-consts.py  | 2 +-
 sysdeps/unix/sysv/linux/tst-mount-consts.py | 4 ++--
 sysdeps/unix/sysv/linux/tst-pidfd-consts.py | 2 +-
 sysdeps/unix/sysv/linux/tst-sched-consts.py | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py
index aad9bdaa03e..40fb10ff76f 100644
--- a/sysdeps/unix/sysv/linux/tst-mman-consts.py
+++ b/sysdeps/unix/sysv/linux/tst-mman-consts.py
@@ -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 = (7, 1)
+    linux_version_glibc = (7, 3)
     sys.exit(glibcextract.compare_macro_consts(
         '#define _GNU_SOURCE 1\n'
         '#include <sys/mman.h>\n',
diff --git a/sysdeps/unix/sysv/linux/tst-mount-consts.py b/sysdeps/unix/sysv/linux/tst-mount-consts.py
index 082ad51735f..027fd12dff0 100755
--- a/sysdeps/unix/sysv/linux/tst-mount-consts.py
+++ b/sysdeps/unix/sysv/linux/tst-mount-consts.py
@@ -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 v7.1.  When glibc
+    # Constants in glibc were updated to match Linux v7.3.  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 = (7, 1)
+    linux_version_glibc = (7, 3)
     def check(cte, exclude=None):
         return glibcextract.compare_macro_consts(
                 '#include <sys/mount.h>\n',
diff --git a/sysdeps/unix/sysv/linux/tst-pidfd-consts.py b/sysdeps/unix/sysv/linux/tst-pidfd-consts.py
index 3c92917cb63..27d5ab1eea0 100644
--- a/sysdeps/unix/sysv/linux/tst-pidfd-consts.py
+++ b/sysdeps/unix/sysv/linux/tst-pidfd-consts.py
@@ -39,7 +39,7 @@ def main():
         sys.exit (77)
 
     linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc)
-    linux_version_glibc = (7, 1)
+    linux_version_glibc = (7, 3)
     sys.exit(glibcextract.compare_macro_consts(
                 '#include <sys/pidfd.h>\n',
                 '#include <asm/fcntl.h>\n'
diff --git a/sysdeps/unix/sysv/linux/tst-sched-consts.py b/sysdeps/unix/sysv/linux/tst-sched-consts.py
index 9ca9575dec4..9c01c9a64c4 100644
--- a/sysdeps/unix/sysv/linux/tst-sched-consts.py
+++ b/sysdeps/unix/sysv/linux/tst-sched-consts.py
@@ -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 = (7, 1)
+    linux_version_glibc = (7, 3)
     sys.exit(glibcextract.compare_macro_consts(
         '#define _GNU_SOURCE 1\n'
         '#include <sched.h>\n',
-- 
2.53.0



More information about the Libc-alpha mailing list