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

Message ID alpine.DEB.2.21.2006191925480.30302@digraph.polyomino.org.uk
State Superseded
Headers show
Series
  • Update kernel version to 5.7 in tst-mman-consts.py
Related show

Commit Message

Joseph Myers June 19, 2020, 7:25 p.m.
This patch updates the kernel version in the test tst-mman-consts.py
to 5.7.  (There are no new constants covered by this test in 5.7 that
need any other header changes; there's a new MREMAP_DONTUNMAP, but
this test doesn't yet cover MREMAP_*.)

Tested with build-many-glibcs.py.


-- 
Joseph S. Myers
joseph@codesourcery.com

Comments

Joseph Myers June 25, 2020, 6:22 p.m. | #1
Ping.  This patch 
<https://sourceware.org/pipermail/libc-alpha/2020-June/115215.html> is 
pending review.

-- 
Joseph S. Myers
joseph@codesourcery.com
Adhemerval Zanella via Libc-alpha June 29, 2020, 9:10 a.m. | #2
* Joseph Myers:

> This patch updates the kernel version in the test tst-mman-consts.py

> to 5.7.  (There are no new constants covered by this test in 5.7 that

> need any other header changes; there's a new MREMAP_DONTUNMAP, but

> this test doesn't yet cover MREMAP_*.)

>

> Tested with build-many-glibcs.py.

>

> diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py

> index 4dd51b7d4f..89f94c5dc2 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, 6)

> +    linux_version_glibc = (5, 7)

>      sys.exit(glibcextract.compare_macro_consts(

>          '#define _GNU_SOURCE 1\n'

>          '#include <sys/mman.h>\n',


This patch looks okay to me.

Thanks,
Florian

Patch

diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py
index 4dd51b7d4f..89f94c5dc2 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, 6)
+    linux_version_glibc = (5, 7)
     sys.exit(glibcextract.compare_macro_consts(
         '#define _GNU_SOURCE 1\n'
         '#include <sys/mman.h>\n',