[LTP] [PATCH] readahead01: pass on pidfd
Murphy Zhou
jencce.kernel@gmail.com
Wed Apr 24 02:28:28 CEST 2024
Hi,
On Tue, Apr 23, 2024 at 9:54 PM Petr Vorel <pvorel@suse.cz> wrote:
>
> Hi Murphy,
>
> > Linux kernel added pidfs via commit b5683a37c881 in v6.9-rc1
> > release. This patchset ignores readahead request instead of
> > returning EINVAL, so mark the test pass.
>
> I know that Christian Brauner suggested it (he would deserve Suggested-by: ),
> but I would still appreciate kernel maintainer opinion, thus not merging yet.
Got it. Thanks!
>
> > https://lkml.iu.edu/hypermail/linux/kernel/2403.2/00762.html
>
> FYI: lore is more permanent link:
> https://lore.kernel.org/lkml/20240318-fegen-bezaubern-57b0a9c6f78b@brauner/
>
> Kind regards,
> Petr
>
> > Signed-off-by: Murphy Zhou <jencce.kernel@gmail.com>
> > ---
> > testcases/kernel/syscalls/readahead/readahead01.c | 1 +
> > 1 file changed, 1 insertion(+)
>
> > diff --git a/testcases/kernel/syscalls/readahead/readahead01.c b/testcases/kernel/syscalls/readahead/readahead01.c
> > index d4b3f306f..aed8e7f31 100644
> > --- a/testcases/kernel/syscalls/readahead/readahead01.c
> > +++ b/testcases/kernel/syscalls/readahead/readahead01.c
> > @@ -53,6 +53,7 @@ static void test_invalid_fd(struct tst_fd *fd)
> > case TST_FD_MEMFD:
> > case TST_FD_MEMFD_SECRET:
> > case TST_FD_PROC_MAPS:
> > + case TST_FD_PIDFD:
> > return;
> > default:
> > break;
More information about the ltp
mailing list