Skip to content

Fanotify tests for FAN_MARK_IGNORE

Amir Goldstein ltp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9syscalls/fanotify09: Add test cases for FAN_MARK_IGNOREtestcases/kernel/syscalls/fanotify/fanotify.h testcases/kernel/syscalls/fanotify/fanotify09.c+95 -133 replies
2/9syscalls/fanotify14: Require FAN_REPORT_FID support for entire testtestcases/kernel/syscalls/fanotify/fanotify14.c+2 -51 reply
3/9syscalls/fanotify14: Add test cases for FAN_MARK_IGNOREtestcases/kernel/syscalls/fanotify/fanotify14.c+35 -01 reply
4/9syscalls/fanotify10: Avoid undesired event in testtestcases/kernel/syscalls/fanotify/fanotify10.c+9 -62 replies
5/9syscalls/fanotify10: Add more verifications and debug infotestcases/kernel/syscalls/fanotify/fanotify.h testcases/kernel/syscalls/fanotify/fanotify10.c+31 -141 reply
6/9syscalls/fanotify10: Use dedicated mark type for inode mark on parenttestcases/kernel/syscalls/fanotify/fanotify.h testcases/kernel/syscalls/fanotify/fanotify10.c+14 -91 reply
7/9syscalls/fanotify10: Run tests with two ignore mask variantstestcases/kernel/syscalls/fanotify/fanotify.h testcases/kernel/syscalls/fanotify/fanotify10.c+28 -91 reply
8/9syscalls/fanotify10: Test FAN_MARK_IGNORE with FAN_EVENT_ON_CHILDtestcases/kernel/syscalls/fanotify/fanotify10.c+28 -00 replies
9/9syscalls/fanotify10: Test FAN_MARK_IGNORE with FAN_ONDIRtestcases/kernel/syscalls/fanotify/fanotify.h testcases/kernel/syscalls/fanotify/fanotify10.c+52 -70 replies

Reviews trailers per patch

7 of 9 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPetr VorelJan Kara
SeriesR-b
1/9R-b
2/9R-b
3/9R-b
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [LTP] [PATCH 0/9] Fanotify tests for FAN_MARK_IGNORE

Hi Petr,

FAN_MARK_IGNORE feature was merge in v6.0-rc1.
A man page draft was posted here [1].

Following are the tests for the new feature.

All new test cases are skipped on old kernels.

Note that fanotify10 will run ALL of its existing test cases in two variants:
1. Legacy FAN_MARK_IGNORED_MASK
2. New FAN_MARK_IGNORE

On old kernels, only the first variant of the test will run.

In addition to the new test variant it also has some new test cases that only run with new FAN_MARK_IGNORE variant.

Thanks,
Amir.

[1] https://lore.kernel.org/linux-man/[email protected]/

Amir Goldstein (9):
syscalls/fanotify09: Add test cases for FAN_MARK_IGNORE syscalls/fanotify14: Require FAN_REPORT_FID support for entire test syscalls/fanotify14: Add test cases for FAN_MARK_IGNORE syscalls/fanotify10: Avoid undesired event in test syscalls/fanotify10: Add more verifications and debug info syscalls/fanotify10: Use dedicated mark type for inode mark on parent syscalls/fanotify10: Run tests with two ignore mask variants syscalls/fanotify10: Test FAN_MARK_IGNORE with FAN_EVENT_ON_CHILD syscalls/fanotify10: Test FAN_MARK_IGNORE with FAN_ONDIR

 testcases/kernel/syscalls/fanotify/fanotify.h |  19 ++
 .../kernel/syscalls/fanotify/fanotify09.c     | 102 ++++++++--
 .../kernel/syscalls/fanotify/fanotify10.c     | 186 ++++++++++++++----
 .../kernel/syscalls/fanotify/fanotify14.c     |  42 +++-
 4 files changed, 290 insertions(+), 59 deletions(-)
Signature · 5 lines
2.25.1


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