[LTP] [PATCH] fanotify27: Test FAN_DELETE_SELF on unlinked hardlinked open file
Petr Vorel
pvorel@suse.cz
Tue Dec 1 16:37:42 CET 2026
> On Tue, Dec 1, 2026 at 3:44 PM Petr Vorel <pvorel@suse.cz> wrote:
> > Hi Amir,
> > thanks for the test. LGTM, I'll have a deeper look next week (we have hackweek
> > in SUSE).
> > ...
> > > +#if defined(HAVE_NAME_TO_HANDLE_AT)
> > very nit: #ifdef HAVE_NAME_TO_HANDLE_AT
> > > +
> > > +#else
> > > + TST_TEST_TCONF("System does not have required name_to_handle_at() support");
> > Can't we use name_to_handle_at() fallback from include/lapi/name_to_handle_at.h
> > to run the syscall directly? It will quit with TCONF on old kernels without that
> > syscall.
> fine by me, but I didn't test this.
+1, I'll send a diff or v2 next week.
Kind regards,
Petr
> Thanks,
> Amir.
More information about the ltp
mailing list