Update kernel version to 5.17 in tst-mman-consts.py

This patch updates the kernel version in the test tst-mman-consts.py
to 5.17.  (There are no new MAP_* constants covered by this test in
5.17 that need any other header changes.)

Tested with build-many-glibcs.py.
This commit is contained in:
Joseph Myers 2022-03-24 15:35:27 +00:00
parent 11ba44f3a7
commit 23808a422e

View File

@ -33,7 +33,7 @@ def main():
help='C compiler (including options) to use') help='C compiler (including options) to use')
args = parser.parse_args() args = parser.parse_args()
linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc) linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc)
linux_version_glibc = (5, 16) linux_version_glibc = (5, 17)
sys.exit(glibcextract.compare_macro_consts( sys.exit(glibcextract.compare_macro_consts(
'#define _GNU_SOURCE 1\n' '#define _GNU_SOURCE 1\n'
'#include <sys/mman.h>\n', '#include <sys/mman.h>\n',