[LTP] [PATCH 0/2] Add test for fanotify monitoring of tracefs
Andrea Cervesato
andrea.cervesato@suse.com
Thu Feb 26 13:00:10 CET 2026
On Fri, 20 Feb 2026 16:47:07 +0100, Martin Doucha wrote:
> Add test for reading basic fanotify events from a tracefs mount.
> The test will activate monitoring of FAN_MODIFY events from the
> whole mountpoint, create a new kprobe, activate it, deactivate it
> and remove it again. This should generate exactly 4 FAN_MODIFY events.
>
> On some kernels with badly backported tracefs fixes, this may trigger
> NULL pointer dereference. The testcase is intentionally simple but
> sufficient to trigger this kind of bug. More complex tracing subtests
> can be added later.
>
> [...]
Applied, thanks!
[1/2] tst_fs.h: Add TST_TRACEFS_MAGIC constant
commit: a510fbdd2e85eb0d736a1fe498e03340d4af21fe
[2/2] Add test for fanotify monitoring of tracing filesystem
commit: 6d941650ab4b629b3c27423edbda08597106db5f
Best regards,
--
Andrea Cervesato <andrea.cervesato@suse.com>
More information about the ltp
mailing list