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

Message ID alpine.DEB.2.22.394.2202082123020.80954@digraph.polyomino.org.uk
State Committed
Commit 790a607e234aa10d4b977a1b80aebe8a2acac970
Headers
Series Update kernel version to 5.16 in tst-mman-consts.py |

Checks

Context Check Description
dj/TryBot-apply_patch success Patch applied to master at the time it was sent
dj/TryBot-32bit success Build for i686

Commit Message

Joseph Myers Feb. 8, 2022, 9:23 p.m. UTC
  This patch updates the kernel version in the test tst-mman-consts.py
to 5.16.  (There are no new MAP_* constants covered by this test in
5.16 that need any other header changes.)

Tested with build-many-glibcs.py.
  

Comments

Joseph Myers Feb. 16, 2022, 12:46 a.m. UTC | #1
Ping.  This patch 
<https://sourceware.org/pipermail/libc-alpha/2022-February/136307.html> is 
pending review.
  
Adhemerval Zanella Feb. 16, 2022, 1:01 p.m. UTC | #2
On 08/02/2022 18:23, Joseph Myers wrote:
> This patch updates the kernel version in the test tst-mman-consts.py
> to 5.16.  (There are no new MAP_* constants covered by this test in
> 5.16 that need any other header changes.)
> 
> Tested with build-many-glibcs.py.
> 

LGTM, thanks.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

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

Patch

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