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

Message ID alpine.DEB.2.22.394.2010261549240.102486@digraph.polyomino.org.uk
State Committed
Commit 6f21b0c5edcdb36a8b094f2c2a2365d73caeeb72
Headers
Series Update kernel version to 5.9 in tst-mman-consts.py |

Commit Message

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

Tested with build-many-glibcs.py.
  

Comments

Florian Weimer Oct. 26, 2020, 4:22 p.m. UTC | #1
* Joseph Myers:

> This patch updates the kernel version in the test tst-mman-consts.py
> to 5.9.  (There are no new MAP_* constants covered by this test in 5.9
> that need any other header changes.)
>
> Tested with build-many-glibcs.py.

Looks okay.  Thanks.

Florian
  

Patch

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