[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aPILdh2XzsYgEg66@yuki.lan>
Date: Fri, 17 Oct 2025 11:25:10 +0200
From: Cyril Hrubis <chrubis@...e.cz>
To: Naresh Kamboju <naresh.kamboju@...aro.org>
Cc: open list <linux-kernel@...r.kernel.org>, linux-fsdevel@...r.kernel.org,
lkft-triage@...ts.linaro.org,
Linux Regressions <regressions@...ts.linux.dev>,
LTP List <ltp@...ts.linux.it>,
Andrey Albershteyn <aalbersh@...nel.org>, Jan Kara <jack@...e.cz>,
Arnd Bergmann <arnd@...db.de>,
Christian Brauner <brauner@...nel.org>,
Alexander Viro <viro@...iv.linux.org.uk>,
Dan Carpenter <dan.carpenter@...aro.org>,
Anders Roxell <anders.roxell@...aro.org>,
Ben Copeland <benjamin.copeland@...aro.org>,
Petr Vorel <pvorel@...e.cz>,
Andrea Cervesato <andrea.cervesato@...e.com>
Subject: Re: 6.18.0-rc1: LTP syscalls ioctl_pidfd05: TFAIL: ioctl(pidfd,
PIDFD_GET_INFO_SHORT, info_invalid) expected EINVAL: ENOTTY (25)
Hi!
> > The LTP syscalls ioctl_pidfd05 test failed due to following error on
> > the Linux mainline
> > kernel v6.18-rc1-104-g7ea30958b305 on the arm64, arm and x86_64.
> >
> > The Test case is expecting to fail with EINVAL but found ENOTTY.
>
> [Not a kernel regression]
>
> From the recent LTP upgrade we have newly added test cases,
> ioctl_pidfd()
>
> The test case is meant to test,
>
> Add ioctl_pidfd05 test
> Verify that ioctl() raises an EINVAL error when PIDFD_GET_INFO
> is used.
> This happens when:
> - info parameter is NULL
> - info parameter is providing the wrong size
>
> However, we need to investigate the reason for failure.
>
> Test case: https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/syscalls/ioctl/ioctl_pidfd05.c
Already fixed in:
commit 00c3e947cece63ce81cdaf12b5a2071984aa7815
Author: Avinesh Kumar <akumar@...e.de>
Date: Thu Sep 25 10:19:11 2025 +0200
Introduce ioctl_pidfd_get_info_supported() function
Check if ioctl(PIDFD_GET_INFO) is implemented or not
before proceeding in ioctl_pidfd05 test.
--
Cyril Hrubis
chrubis@...e.cz
Powered by blists - more mailing lists