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

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

Commit Message

Joseph Myers Sept. 8, 2021, 12:43 p.m.
This patch updates the kernel version in the test tst-mman-consts.py
to 5.14.  (There are no new MAP_* constants covered by this test in
5.14 that need any other header changes.)

Tested with build-many-glibcs.py.


-- 
Joseph S. Myers
joseph@codesourcery.com

Comments

H.J. Lu via Libc-alpha Sept. 13, 2021, 10:56 a.m. | #1
* Joseph Myers:

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

> to 5.14.  (There are no new MAP_* constants covered by this test in

> 5.14 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 ee5b13ee12..810433c238 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, 13)

> +    linux_version_glibc = (5, 14)

>      sys.exit(glibcextract.compare_macro_consts(

>          '#define _GNU_SOURCE 1\n'

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


Looks reasonable, thanks.

Florian

Patch

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