* [LTP] [PATCH] listmount04: require kernel version 6.11
@ 2025-12-03 8:12 Masahiro Yamada via ltp
2025-12-08 11:23 ` Petr Vorel
0 siblings, 1 reply; 3+ messages in thread
From: Masahiro Yamada via ltp @ 2025-12-03 8:12 UTC (permalink / raw)
To: ltp
On Linux kernel 6.8, the listmount04 test fails as follows:
Running tests.......
tst_buffers.c:57: TINFO: Test is using guarded buffers
tst_test.c:2025: TINFO: LTP version: 20250930
tst_test.c:2028: TINFO: Tested kernel: 6.8.0 #71 SMP PREEMPT_DYNAMIC Wed Dec 3 16:00:27 JST 2025 x86_64
tst_kconfig.c:88: TINFO: Parsing kernel config '/proc/config.gz'
tst_kconfig.c:676: TINFO: CONFIG_TRACE_IRQFLAGS kernel option detected which might slow the execution
tst_test.c:1846: TINFO: Overall timeout per run is 0h 02m 00s
listmount04.c:128: TPASS: request points to unaccessible memory : EFAULT (14)
listmount04.c:128: TPASS: mnt_ids points to unaccessible memory : EFAULT (14)
listmount04.c:128: TPASS: invalid flags : EINVAL (22)
listmount04.c:128: TPASS: insufficient mnt_id_req.size : EINVAL (22)
listmount04.c:128: TPASS: invalid mnt_id_req.spare : EINVAL (22)
listmount04.c:128: TFAIL: invalid mnt_id_req.param invalid retval 20: SUCCESS (0)
listmount04.c:128: TFAIL: invalid mnt_id_req.mnt_id expected EINVAL: ENOENT (2)
listmount04.c:128: TPASS: non-existant mnt_id : ENOENT (2)
Summary:
passed 6
failed 2
broken 0
skipped 0
warnings 0
INFO: ltp-pan reported some tests FAIL
LTP Version: 20250930
INFO: Test end time: Wed Dec 3 07:01:33 UTC 2025
This test passes only after kernel commit 4bed843b1000 ("fs: reject
invalid last mount id early"), i.e. kernel version 6.11.
Signed-off-by: Masahiro Yamada <masahiro.yamada@canonical.com>
---
testcases/kernel/syscalls/listmount/listmount04.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testcases/kernel/syscalls/listmount/listmount04.c b/testcases/kernel/syscalls/listmount/listmount04.c
index a52bad064c0e..a6921a24975d 100644
--- a/testcases/kernel/syscalls/listmount/listmount04.c
+++ b/testcases/kernel/syscalls/listmount/listmount04.c
@@ -133,7 +133,7 @@ static void run(unsigned int n)
static struct tst_test test = {
.test = run,
.tcnt = ARRAY_SIZE(tcases),
- .min_kver = "6.8",
+ .min_kver = "6.11",
.bufs = (struct tst_buffers []) {
{ &request, .size = MNT_ID_REQ_SIZE_VER0 },
{},
--
2.43.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [LTP] [PATCH] listmount04: require kernel version 6.11
2025-12-03 8:12 [LTP] [PATCH] listmount04: require kernel version 6.11 Masahiro Yamada via ltp
@ 2025-12-08 11:23 ` Petr Vorel
2025-12-09 10:12 ` Petr Vorel
0 siblings, 1 reply; 3+ messages in thread
From: Petr Vorel @ 2025-12-08 11:23 UTC (permalink / raw)
To: Masahiro Yamada; +Cc: Christian Brauner, ltp
Hi Masahiro,
> On Linux kernel 6.8, the listmount04 test fails as follows:
> Running tests.......
> tst_buffers.c:57: TINFO: Test is using guarded buffers
> tst_test.c:2025: TINFO: LTP version: 20250930
> tst_test.c:2028: TINFO: Tested kernel: 6.8.0 #71 SMP PREEMPT_DYNAMIC Wed Dec 3 16:00:27 JST 2025 x86_64
> tst_kconfig.c:88: TINFO: Parsing kernel config '/proc/config.gz'
> tst_kconfig.c:676: TINFO: CONFIG_TRACE_IRQFLAGS kernel option detected which might slow the execution
> tst_test.c:1846: TINFO: Overall timeout per run is 0h 02m 00s
> listmount04.c:128: TPASS: request points to unaccessible memory : EFAULT (14)
> listmount04.c:128: TPASS: mnt_ids points to unaccessible memory : EFAULT (14)
> listmount04.c:128: TPASS: invalid flags : EINVAL (22)
> listmount04.c:128: TPASS: insufficient mnt_id_req.size : EINVAL (22)
> listmount04.c:128: TPASS: invalid mnt_id_req.spare : EINVAL (22)
> listmount04.c:128: TFAIL: invalid mnt_id_req.param invalid retval 20: SUCCESS (0)
> listmount04.c:128: TFAIL: invalid mnt_id_req.mnt_id expected EINVAL: ENOENT (2)
> listmount04.c:128: TPASS: non-existant mnt_id : ENOENT (2)
> Summary:
> passed 6
> failed 2
> broken 0
> skipped 0
> warnings 0
> INFO: ltp-pan reported some tests FAIL
> LTP Version: 20250930
> INFO: Test end time: Wed Dec 3 07:01:33 UTC 2025
> This test passes only after kernel commit 4bed843b1000 ("fs: reject
> invalid last mount id early"), i.e. kernel version 6.11.
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Good catch.
FYI we have in LTP policy to not hide kernel bugs. But given 4bed843b1000 has
not been merged to stable kernels (checking still supported 6.6 and unsupported
6.11) it's probably considered as a new feature from 6.11-rc1.
@Christian please correct me if I'm wrong.
Kind regards,
Petr
> Signed-off-by: Masahiro Yamada <masahiro.yamada@canonical.com>
> ---
> testcases/kernel/syscalls/listmount/listmount04.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> diff --git a/testcases/kernel/syscalls/listmount/listmount04.c b/testcases/kernel/syscalls/listmount/listmount04.c
> index a52bad064c0e..a6921a24975d 100644
> --- a/testcases/kernel/syscalls/listmount/listmount04.c
> +++ b/testcases/kernel/syscalls/listmount/listmount04.c
> @@ -133,7 +133,7 @@ static void run(unsigned int n)
> static struct tst_test test = {
> .test = run,
> .tcnt = ARRAY_SIZE(tcases),
> - .min_kver = "6.8",
> + .min_kver = "6.11",
> .bufs = (struct tst_buffers []) {
> { &request, .size = MNT_ID_REQ_SIZE_VER0 },
> {},
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LTP] [PATCH] listmount04: require kernel version 6.11
2025-12-08 11:23 ` Petr Vorel
@ 2025-12-09 10:12 ` Petr Vorel
0 siblings, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2025-12-09 10:12 UTC (permalink / raw)
To: Masahiro Yamada, Christian Brauner, ltp
Hi Masahiro,
thanks, merged!
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-12-09 10:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-03 8:12 [LTP] [PATCH] listmount04: require kernel version 6.11 Masahiro Yamada via ltp
2025-12-08 11:23 ` Petr Vorel
2025-12-09 10:12 ` Petr Vorel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox