forked from rpms/glibc
28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
|
commit 81181ba5d916fc49bd737f603e28a3c2dc8430b4
|
||
|
Author: Joseph Myers <joseph@codesourcery.com>
|
||
|
Date: Wed Feb 16 14:19:24 2022 +0000
|
||
|
|
||
|
Update kernel version to 5.16 in tst-mman-consts.py
|
||
|
|
||
|
This patch updates the kernel version in the test tst-mman-consts.py
|
||
|
to 5.16. (There are no new MAP_* constants covered by this test in
|
||
|
5.16 that need any other header changes.)
|
||
|
|
||
|
Tested with build-many-glibcs.py.
|
||
|
|
||
|
(cherry picked from commit 790a607e234aa10d4b977a1b80aebe8a2acac970)
|
||
|
|
||
|
diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py
|
||
|
index eeccdfd04dae57ab..8102d80b6660e523 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, 15)
|
||
|
+ linux_version_glibc = (5, 16)
|
||
|
sys.exit(glibcextract.compare_macro_consts(
|
||
|
'#define _GNU_SOURCE 1\n'
|
||
|
'#include <sys/mman.h>\n',
|