[LTP] fanotify20: Skip FAN_REPORT_PIDFD | FAN_REPORT_TID test on v7.2+

Petr Vorel pvorel@suse.cz
Wed Jul 29 10:42:36 CEST 2026


> > 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@mail.gmail.com/

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


More information about the ltp mailing list