Skip to content

Commit

Permalink
Update Linux kernel version number in tst-mman-consts.py to 5.2.
Browse files Browse the repository at this point in the history
The tst-mman-consts.py test includes a kernel version number, to avoid
failures because of newly added constants in the kernel (if kernel
headers are newer than this version of glibc) or missing constants in
the kernel (if kernel headers are older than this version of glibc).
This patch updates it to 5.2 to reflect that the MAP_* constants in
glibc are still current as of that kernel version.

Tested with build-many-glibcs.py.

	* sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
	kernel version number to 5.2.
  • Loading branch information
jsm28 committed Aug 2, 2019
1 parent 066020c commit c7a26cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2019-08-02 Joseph Myers <[email protected]>

* sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
kernel version number to 5.2.

2019-08-01 Raoni Fassina Firmino <[email protected]>

* sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/unix/sysv/linux/tst-mman-consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def main():
help='C compiler (including options) to use')
args = parser.parse_args()
linux_version_headers = linux_kernel_version(args.cc)
linux_version_glibc = (4, 20)
linux_version_glibc = (5, 2)
sys.exit(glibcextract.compare_macro_consts(
'#define _GNU_SOURCE 1\n'
'#include <sys/mman.h>\n',
Expand Down

0 comments on commit c7a26cb

Please sign in to comment.