Re: fanotify20: Skip FAN_REPORT_PIDFD | FAN_REPORT_TID test on v7.2+

Petr Vorel <[email protected]> Wed, 29 Jul 2026 10:42:36 +0200
Newsgroups gmane.linux.ltp
Message-ID <20260729084236.GA16391@pevik>
> > This observation is correct. If v7.2+ enabled only pidfd + tid combination
> > for fanotify, we should not skip pidfd + fid. The 1/5 patch needs to be
> > updated to use a per tcase TCONF.

> I think I missed Amir comment in here:
> https://lore.kernel.org/ltp/CAOQ4uxhnrH3=XsCBhuO3oYtS=pZcRjkAchtrVwtnfJzBVmpNfQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org/

Good catch.

> Hence, if it's correct, we should then provide a better TINFO message,
> or to skip test entirely for v7.2+, explaining inside the test
> description why this is needed.

From Amir's comment I understand whole test should be skipped.
I'll send a patch adding .max_kver to tst_test struct (needed already for at
least 2 tests) + reuse it here.

Kind regards,
Petr

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp