[PATCH 12/15] Update kernel version to 7.1 in header constant tests

Adhemerval Zanella adhemerval.zanella@linaro.org
Thu Jul 2 18:38:43 GMT 2026


There are no new constants covered by tst-mman-consts.py or
tst-openat2-consts.py in Linux 6.18, 6.19, 7.0, or 7.1.
---
 sysdeps/unix/sysv/linux/tst-mman-consts.py    | 2 +-
 sysdeps/unix/sysv/linux/tst-openat2-consts.py | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py
index 8a3e64d7f3e..aad9bdaa03e 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 = (6, 17)
+    linux_version_glibc = (7, 1)
     sys.exit(glibcextract.compare_macro_consts(
         '#define _GNU_SOURCE 1\n'
         '#include <sys/mman.h>\n',
diff --git a/sysdeps/unix/sysv/linux/tst-openat2-consts.py b/sysdeps/unix/sysv/linux/tst-openat2-consts.py
index 078e6599db0..0b917d17255 100755
--- a/sysdeps/unix/sysv/linux/tst-openat2-consts.py
+++ b/sysdeps/unix/sysv/linux/tst-openat2-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 v6.17.  When glibc
+    # Constants in glibc were updated to match Linux v7.1.  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, 17)
+    linux_version_glibc = (7, 1)
     def check(cte, exclude=None):
         return glibcextract.compare_macro_consts(
                 '#define _FCNTL_H\n'
-- 
2.43.0



More information about the Libc-alpha mailing list