[LTP] [PATCH] name_to_handle_at: Add test cases for AT_HANDLE_FID

Jan Kara jack@suse.cz
Fri Oct 3 18:26:35 CEST 2025


On Thu 02-10-25 11:49:28, Amir Goldstein wrote:
> On Wed, Oct 1, 2025 at 4:56 PM Jan Kara <jack@suse.cz> wrote:
> >
> > Add a few testcases verifying AT_HANDLE_FID flag.
> >
> > Signed-off-by: Jan Kara <jack@suse.cz>
> > ---
> >  include/lapi/fcntl.h                          |  4 +
> >  .../name_to_handle_at/name_to_handle_at03.c   | 88 +++++++++++++++++++
> >  2 files changed, 92 insertions(+)
> >  create mode 100644 testcases/kernel/syscalls/name_to_handle_at/name_to_handle_at03.c
> >
> > This is actually a testcase for a kernel regression, the kernel fix is on the
> > way.
> 
> Best that we wait for fix to land before merging the test so that we can
> add linux-git tag to the test (or can add it later)

Yes, I was intending to do that but wanted to send out the test for review
before that...

> With minor nits below fixed, feel free to add:
> Reviewed-by: Amir Goldstein <amir73il@gmail.com>

Thanks, nits fixed up. I'll send v2 once the kernel fix is merged.

								Honza

-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR


More information about the ltp mailing list