aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2022-05-26 13:51:17 +0000
committerJoseph Myers <joseph@codesourcery.com>2022-05-26 13:51:17 +0000
commit8d6c44ee7d74ceafcce7cd1d694a1f86cd61dc0a (patch)
tree30bd0f52090f78845c326bbb4d4e421af4d45c78 /sysdeps/unix/sysv
parent7597b251d451fa099686344bbd9915bd481ba55b (diff)
downloadglibc-8d6c44ee7d74ceafcce7cd1d694a1f86cd61dc0a.zip
glibc-8d6c44ee7d74ceafcce7cd1d694a1f86cd61dc0a.tar.gz
glibc-8d6c44ee7d74ceafcce7cd1d694a1f86cd61dc0a.tar.bz2
Update kernel version to 5.18 in header constant tests
This patch updates the kernel version in the tests tst-mman-consts.py and tst-pidfd-consts.py to 5.18. (There are no new constants covered by these tests in 5.18, or in 5.17 in the case of tst-pidfd-consts.py that previously used version 5.16, that need any other header changes.) Tested with build-many-glibcs.py.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r--sysdeps/unix/sysv/linux/tst-mman-consts.py2
-rw-r--r--sysdeps/unix/sysv/linux/tst-pidfd-consts.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py
index fdc5b2b..ddcdf12 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 = (5, 17)
+ linux_version_glibc = (5, 18)
sys.exit(glibcextract.compare_macro_consts(
'#define _GNU_SOURCE 1\n'
'#include <sys/mman.h>\n',
diff --git a/sysdeps/unix/sysv/linux/tst-pidfd-consts.py b/sysdeps/unix/sysv/linux/tst-pidfd-consts.py
index 795621b..75df0eb 100644
--- a/sysdeps/unix/sysv/linux/tst-pidfd-consts.py
+++ b/sysdeps/unix/sysv/linux/tst-pidfd-consts.py
@@ -34,7 +34,7 @@ def main():
args = parser.parse_args()
linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc)
- linux_version_glibc = (5, 16)
+ linux_version_glibc = (5, 18)
sys.exit(glibcextract.compare_macro_consts(
'#include <sys/pidfd.h>\n',
'#include <asm/fcntl.h>\n'