[glibc] Update kernel version to 7.1 in header constant tests

Adhemerval Zanella via Glibc-cvs <[email protected]> Fri, 3 Jul 2026 23:35:16 +0000 (GMT)
Newsgroups gmane.comp.lib.glibc.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c6ce3bed6da30d2dd9b314457d2e63de275f993f

commit c6ce3bed6da30d2dd9b314457d2e63de275f993f
Author: Adhemerval Zanella <[email protected]>
Date:   Fri Jul 3 11:46:38 2026 -0300

    Update kernel version to 7.1 in header constant tests
    
    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.
    
    Reviewed-by: Florian Weimer <[email protected]>

Diff:
---
 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 8a3e64d7f3..aad9bdaa03 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 078e6599db..0b917d1725 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'