[LTP] [PATCH 1/1] ioctl_pidfd06: Update kernel version
Petr Vorel
pvorel@suse.cz
Fri Apr 24 08:31:32 CEST 2026
Hi Li,
[ Discussion => Cc Cyril and Jan ]
> Hi Petr, Wei,
> Petr Vorel wrote:
> > Kernel commit ab89060fbc92e ("pidfs: return -EREMOTE when PIDFD_GET_INFO
> > is called on another ns") from v7.0 was backported into stable/LTS
> > kernels v6.18.14 (7446125afb6d9) and v6.19.10 (2920abaf56c09).
> Is this backport just a single stable kernel or a range of version?
It was backported into 6.18 stable (in v6.18.14) and in 6.19 (in v6.19.10).
> > Reported-by: Wei Gao <wegao@suse.com>
> > Signed-off-by: Petr Vorel <pvorel@suse.cz>
> > ---
> > testcases/kernel/syscalls/ioctl/ioctl_pidfd06.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> > diff --git a/testcases/kernel/syscalls/ioctl/ioctl_pidfd06.c b/testcases/kernel/syscalls/ioctl/ioctl_pidfd06.c
> > index 0f24d4741f..cc66d54cf4 100644
> > --- a/testcases/kernel/syscalls/ioctl/ioctl_pidfd06.c
> > +++ b/testcases/kernel/syscalls/ioctl/ioctl_pidfd06.c
> > @@ -54,7 +54,7 @@ static void setup(void)
> > if (!ioctl_pidfd_info_exit_supported())
> > tst_brk(TCONF, "PIDFD_INFO_EXIT is not supported by ioctl()");
> > - if (tst_kvercmp(7, 0, 0) >= 0)
> > + if (tst_kvercmp(6, 18, 14) >= 0)
> What will happen if this test is run on kernel range: v6.19.0 ~ v6.19.9?
FYI I haven't tested that, but it should fail on 6.18.0..v6.18.13 and on
v6.19.0..v6.19.9 due missing backport.
I'd assume that's correct, because on stable/LTS we should IMHO be more strict
to ensure it behaves as expected. WDYT?
Kind regards,
Petr
More information about the ltp
mailing list