Update kernel version to 6.5 in header constant tests
Checks
Context |
Check |
Description |
redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
redhat-pt-bot/TryBot-32bit |
success
|
Build for i686
|
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_glibc_build--master-arm |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_glibc_check--master-arm |
success
|
Testing passed
|
Commit Message
This patch updates the kernel version in the tests tst-mman-consts.py
and tst-pidfd-consts.py to 6.5. (There are no new constants covered
by these tests in 6.5 that need any other header changes;
tst-mount-consts.py was updated separately along with a header
constant addition.)
Tested with build-many-glibcs.py.
Comments
Ping. This patch
<https://sourceware.org/pipermail/libc-alpha/2023-September/151577.html>
is pending review.
On 14/09/23 15:13, Joseph Myers wrote:
> This patch updates the kernel version in the tests tst-mman-consts.py
> and tst-pidfd-consts.py to 6.5. (There are no new constants covered
> by these tests in 6.5 that need any other header changes;
> tst-mount-consts.py was updated separately along with a header
> constant addition.)
>
> 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 dfb48b62b0..e85ea41ee4 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 = (6, 4)
> + linux_version_glibc = (6, 5)
> sys.exit(glibcextract.compare_macro_consts(
> '#define _GNU_SOURCE 1\n'
> '#include <sys/mman.h>\n',
> diff --git a/sysdeps/unix/sysv/linux/tst-pidfd-consts.py b/sysdeps/unix/sysv/linux/tst-pidfd-consts.py
> index ee6ddc8d60..1ef14889a8 100644
> --- a/sysdeps/unix/sysv/linux/tst-pidfd-consts.py
> +++ b/sysdeps/unix/sysv/linux/tst-pidfd-consts.py
> @@ -39,7 +39,7 @@ def main():
> sys.exit (77)
>
> linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc)
> - linux_version_glibc = (6, 4)
> + linux_version_glibc = (6, 5)
> sys.exit(glibcextract.compare_macro_consts(
> '#include <sys/pidfd.h>\n',
> '#include <asm/fcntl.h>\n'
>
On Sep 14 2023, Joseph Myers wrote:
> This patch updates the kernel version in the tests tst-mman-consts.py
> and tst-pidfd-consts.py to 6.5. (There are no new constants covered
> by these tests in 6.5 that need any other header changes;
> tst-mount-consts.py was updated separately along with a header
> constant addition.)
Ok.
@@ -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 = (6, 4)
+ linux_version_glibc = (6, 5)
sys.exit(glibcextract.compare_macro_consts(
'#define _GNU_SOURCE 1\n'
'#include <sys/mman.h>\n',
@@ -39,7 +39,7 @@ def main():
sys.exit (77)
linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc)
- linux_version_glibc = (6, 4)
+ linux_version_glibc = (6, 5)
sys.exit(glibcextract.compare_macro_consts(
'#include <sys/pidfd.h>\n',
'#include <asm/fcntl.h>\n'