fstests: add two tests for the precontent fanotify work
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | fstests: add a test for the precontent fanotify hooksdoc/ src/ src/ +5 more | +954 | 1 reply | |
| 2/2 | fstests: add a test for executing from a precontent watch directorytests/ tests/ | +66 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] fstests: add two tests for the precontent fanotify work
Hello,
These are for the fanotify pre-content hooks feature which is posted here
https://lore.kernel.org/linux-fsdevel/[email protected]/
It adds a couple of c files to do the work necessary to setup the directories and do the watches, and has two tests, one to validate we get the right values on mmap and reads, and another to validate that executables work properly.
I've tested them to make sure they work properly with xfs, btrfs, ext4, and bcachefs with my patches applied. Thanks,
Josef
Josef Bacik (2):
fstests: add a test for the precontent fanotify hooks
fstests: add a test for executing from a precontent watch directory
doc/group-names.txt | 1 + src/Makefile | 2 +- src/precontent/Makefile | 26 ++ src/precontent/mmap-validate.c | 227 +++++++++++++++++ src/precontent/populate.c | 188 ++++++++++++++ src/precontent/remote-fetch.c | 441 +++++++++++++++++++++++++++++++++ tests/generic/800 | 68 +++++ tests/generic/800.out | 2 + tests/generic/801 | 64 +++++ tests/generic/801.out | 2 + 10 files changed, 1020 insertions(+), 1 deletion(-) create mode 100644 src/precontent/Makefile create mode 100644 src/precontent/mmap-validate.c create mode 100644 src/precontent/populate.c create mode 100644 src/precontent/remote-fetch.c create mode 100644 tests/generic/800 create mode 100644 tests/generic/800.out create mode 100644 tests/generic/801 create mode 100644 tests/generic/801.out
Signature · 1 line
2.43.0