From: Adhemerval Zanella Date: Fri, 3 Jul 2026 14:46:38 +0000 (-0300) Subject: Update kernel version to 7.1 in header constant tests X-Git-Tag: glibc-2.44~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6ce3bed6da30d2dd9b314457d2e63de275f993f;p=thirdparty%2Fglibc.git 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 --- 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 \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'