[LTP] [PATCH v2] inotify: cleanup - limit masks, use SAFE_ wrappers

Cyril Hrubis chrubis@suse.cz
Fri Feb 20 16:05:50 CET 2026


Hi!
> So does this mean IN_ALL_EVENTS is used (and should stay) in all test
> files, not just inotify01.c?

Yes, sorry for not being clear enough.

> If so, do the test files that are currently not using IN_ALL_EVENTS
> need to be updated to use it, or can they stay as-is?

That is completely different question. I would expect that tests that
actually test event filtering would set subset of the bits in the mask
and make sure events are filtered. This needs to be evaluated case by
case.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list