New tests for fanotify pre-content events
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | fanotify14: Test invalid init flags with permission and pre-content eventsinclude/ testcases/ | +25 | 2 replies | |
| 2/4 | fanotify03: Add test cases for permission events on childrentestcases/ | +41 | 5 replies | |
| 3/4 | fanotify24: Add test for FAN_PRE_ACCESS and FAN_DENY_ERRNOinclude/ runtest/ testcases/ +2 more | +445 | 8 replies | |
| 4/4 | fanotify24: Test open for write of executable files with pre-content watchtestcases/ | +41 | 1 reply |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Jan Kara |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [LTP] [PATCH 0/4] New tests for fanotify pre-content events
Petr,
These are the tests used for the development of the fanotify pre-content (a.k.a HSM) events feature that was merged to v6.14-rc1.
Because this is a new test for a new feature, which is skipped on old kernels, I am posting it early, so that others could run the tests.
Following the request to split out large fanotify LTP tests, I resisted the temptation to add a pre-content events variant to the existing fanotify03 test and I forked it to a new test.
I did however add one test case to fanotify14, because as I wrote before, I find it useful to keep the test matrix of allowed flag combinations within the same test.
I also added two test cases to fanotify03 before forking it for cases that were regressed during the 6.14 devlopment cycle and did not have proper test converage.
The number of test cases in fanotify is still below 10, so I was hoping this addition is still acceptable.
Thanks,
Amir.
Amir Goldstein (4):
fanotify14: Test invalid init flags with permission and pre-content
events
fanotify03: Add test cases for permission events on children
fanotify24: Add test for FAN_PRE_ACCESS and FAN_DENY_ERRNO
fanotify24: Test open for write of executable files with pre-content
watch
include/lapi/fanotify.h | 12 + runtest/syscalls | 1 + testcases/kernel/syscalls/fanotify/.gitignore | 1 + testcases/kernel/syscalls/fanotify/fanotify.h | 3 + .../kernel/syscalls/fanotify/fanotify03.c | 47 +- .../kernel/syscalls/fanotify/fanotify14.c | 20 + .../kernel/syscalls/fanotify/fanotify24.c | 472 ++++++++++++++++++ 7 files changed, 550 insertions(+), 6 deletions(-) create mode 100644 testcases/kernel/syscalls/fanotify/fanotify24.c
Signature · 5 lines
2.34.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp