public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Update Linux kernel version number in tst-mman-consts.py to 5.2.
@ 2019-08-02 11:36 Joseph Myers
  0 siblings, 0 replies; only message in thread
From: Joseph Myers @ 2019-08-02 11:36 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c7a26cba2ab949216ac9ef245ca78696815ea4c4

commit c7a26cba2ab949216ac9ef245ca78696815ea4c4
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Aug 2 11:36:07 2019 +0000

    Update Linux kernel version number in tst-mman-consts.py to 5.2.
    
    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.

Diff:
---
 ChangeLog                                  | 5 +++++
 sysdeps/unix/sysv/linux/tst-mman-consts.py | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index d12147e..948e997 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-08-02  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
+	kernel version number to 5.2.
+
 2019-08-01  Raoni Fassina Firmino  <raoni@linux.ibm.com>
 
 	* sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py
index 8e9f9d0..6121bb9 100644
--- a/sysdeps/unix/sysv/linux/tst-mman-consts.py
+++ b/sysdeps/unix/sysv/linux/tst-mman-consts.py
@@ -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',


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-02 11:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-02 11:36 [glibc] Update Linux kernel version number in tst-mman-consts.py to 5.2 Joseph Myers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).