Update kernel version to 6.6 in header constant tests

There are no new constants covered, the tst-mman-consts.py is
updated separately along with a header constant addition.
This commit is contained in:
Adhemerval Zanella 2023-10-31 13:32:34 -03:00
parent 582383b37d
commit f680063f30
2 changed files with 3 additions and 3 deletions

View File

@ -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.5. When glibc
# Constants in glibc were updated to match Linux v6.6. 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, 5)
linux_version_glibc = (6, 6)
def check(cte, exclude=None):
return glibcextract.compare_macro_consts(
'#include <sys/mount.h>\n',

View File

@ -39,7 +39,7 @@ def main():
sys.exit (77)
linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc)
linux_version_glibc = (6, 5)
linux_version_glibc = (6, 6)
sys.exit(glibcextract.compare_macro_consts(
'#include <sys/pidfd.h>\n',
'#include <asm/fcntl.h>\n'