Add test for fanotify monitoring of tracefs
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tst_fs.h: Add TST_TRACEFS_MAGIC constantinclude/ | +1 | 2 replies | |
| 2/2 | Add test for fanotify monitoring of tracing filesystemruntest/ runtest/ testcases/ +1 more | +129 | 7 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Amir Goldstein | Petr Vorel | Andrea Cervesato | Jan Kara |
|---|---|---|---|---|
| 1/2 | R-b | R-b | ||
| 2/2 | R-b | R-b | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [LTP] [PATCH 0/2] Add test for fanotify monitoring of tracefs
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.
Martin Doucha (2):
tst_fs.h: Add TST_TRACEFS_MAGIC constant
Add test for fanotify monitoring of tracing filesystem
include/tst_fs.h | 1 + runtest/syscalls | 1 + runtest/tracing | 1 + testcases/kernel/syscalls/fanotify/.gitignore | 1 + .../kernel/syscalls/fanotify/fanotify25.c | 126 ++++++++++++++++++ 5 files changed, 130 insertions(+) create mode 100644 testcases/kernel/syscalls/fanotify/fanotify25.c
Signature · 5 lines
2.52.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp