Skip to content

Fanotify tests for v5.9

Amir Goldstein ltp 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10syscalls/fanotify14: Test cases for FAN_REPORT_DFID_NAMEtestcases/kernel/syscalls/fanotify/fanotify.h testcases/kernel/syscalls/fanotify/fanotify14.c+19 -10 replies
2/10syscalls/fanotify16: Adjust test to use FAN_REPORT_DFID_NAMEtestcases/kernel/syscalls/fanotify/fanotify.h testcases/kernel/syscalls/fanotify/fanotify16.c+44 -360 replies
3/10syscalls/fanotify16: Test more event types with nametestcases/kernel/syscalls/fanotify/fanotify16.c+77 -250 replies
4/10syscalls/fanotify16: Add test cases more init flag combinationstestcases/kernel/syscalls/fanotify/fanotify.h testcases/kernel/syscalls/fanotify/fanotify16.c+108 -100 replies
5/10syscalls/fanotify16: Verify child fid infotestcases/kernel/syscalls/fanotify/fanotify16.c+61 -120 replies
6/10syscalls/fcntl: New test for F_NOTIFY (dnotify)runtest/syscalls testcases/kernel/syscalls/fcntl/fcntl38.c+98 -00 replies
7/10syscalls/inotify: New test for watches on both parent and childruntest/syscalls testcases/kernel/syscalls/inotify/.gitignore testcases/kernel/syscalls/inotify/inotify10.c+151 -00 replies
8/10syscalls/fanotify09: Add test case with parent and subdir markstestcases/kernel/syscalls/fanotify/fanotify09.c+35 -220 replies
9/10syscalls/fanotify10: Test with group flag FAN_REPORT_NAMEtestcases/kernel/syscalls/fanotify/fanotify10.c+44 -280 replies
10/10syscalls/fanotify10: Add test cases for merge with ignored mask on directorytestcases/kernel/syscalls/fanotify/fanotify10.c+99 -100 replies

Reviews trailers per patch

None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPetr Vorel
SeriesA-b
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

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 00/10] Fanotify tests for v5.9

Hi Petr,

Following are the tests that were used to develop the upcoming fanotify features in v5.9.

The inotify/dnotify tests and fanotify09 test case are regression tests for a mid series bug that has been fixed before the merge.

fanotify10 gets another set of test cases to catch yet another ignored mask logic bug. The fix commit will be too hard to backport IMO, so perhaps these test cases should go into a new test with .min_kver = "5.9".

Thanks,
Amir.

Amir Goldstein (10):
syscalls/fanotify14: Test cases for FAN_REPORT_DFID_NAME syscalls/fanotify16: Adjust test to use FAN_REPORT_DFID_NAME syscalls/fanotify16: Test more event types with name syscalls/fanotify16: Add test cases more init flag combinations syscalls/fanotify16: Verify child fid info syscalls/fcntl: New test for F_NOTIFY (dnotify) syscalls/inotify: New test for watches on both parent and child syscalls/fanotify09: Add test case with parent and subdir marks syscalls/fanotify10: Test with group flag FAN_REPORT_NAME syscalls/fanotify10: Add test cases for merge with ignored mask on
directory

 runtest/syscalls                              |   3 +
 testcases/kernel/syscalls/fanotify/fanotify.h |  29 +-
 .../kernel/syscalls/fanotify/fanotify09.c     |  57 ++--
 .../kernel/syscalls/fanotify/fanotify10.c     | 181 ++++++++---
 .../kernel/syscalls/fanotify/fanotify14.c     |  10 +-
 .../kernel/syscalls/fanotify/fanotify16.c     | 306 ++++++++++++++----
 testcases/kernel/syscalls/fcntl/fcntl38.c     |  96 ++++++
 testcases/kernel/syscalls/inotify/.gitignore  |   1 +
 testcases/kernel/syscalls/inotify/inotify10.c | 149 +++++++++
 9 files changed, 712 insertions(+), 120 deletions(-)
 create mode 100644 testcases/kernel/syscalls/fcntl/fcntl38.c
 create mode 100644 testcases/kernel/syscalls/inotify/inotify10.c
Signature · 1 line
2.17.1