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

Message ID alpine.DEB.2.21.2008072215250.27296@digraph.polyomino.org.uk
State Committed
Commit b3aa7976d0cb815c8934660a6f8b7bb42bbf4b04
Headers
Series Update kernel version to 5.8 in tst-mman-consts.py |

Commit Message

Joseph Myers Aug. 7, 2020, 10:15 p.m. UTC
  This patch updates the kernel version in the test tst-mman-consts.py
to 5.8.  (There are no new MAP_* constants covered by this test in 5.8
that need any other header changes.)

Tested with build-many-glibcs.py.
  

Comments

Joseph Myers Aug. 13, 2020, 5:51 p.m. UTC | #1
Ping.  This patch 
<https://sourceware.org/pipermail/libc-alpha/2020-August/116903.html> is 
pending review.
  
Florian Weimer Aug. 13, 2020, 6:31 p.m. UTC | #2
* Joseph Myers:

> This patch updates the kernel version in the test tst-mman-consts.py
> to 5.8.  (There are no new MAP_* constants covered by this test in 5.8
> that need any other header changes.)
>
> 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 89f94c5dc2..874992251c 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, 7)
> +    linux_version_glibc = (5, 8)
>      sys.exit(glibcextract.compare_macro_consts(
>          '#define _GNU_SOURCE 1\n'
>          '#include <sys/mman.h>\n',

Looks reasonable to me.  Thanks.
  

Patch

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