[LTP] [PATCH 0/3] Tests for fanotify and overlayfs
Amir Goldstein
amir73il@gmail.com
Sun Sep 3 13:15:55 CEST 2023
Hi Petr,
Kernel 6.5 and upcoming kernel 6.6 have several improvements
to the integration of fanotify and overlayfs.
Kernel 6.5 includes the fix to generate fanotify events on watched
overlayfs underlying filesystem (tst_variant 1).
Kernel 6.5 also added support for the new AT_HANDLE_FID flag,
which is used in this test.
Kernel 6.6 brings overlayfs support for AT_HANDLE_FID and with it
better support for watching overlayfs with fanotify (tst_variant 2).
tst_variant 2 is duely skipped on kernel 6.5 and tst_variant 1
is skipped on older kernels.
Since the overlayfs changes are not in a release kernel yet, and
since this is not a new test that can go to staging tests, I will
leave it to you to decide how and when you want to merge these new
test variants.
Thanks,
Amir.
Amir Goldstein (3):
fanotify13: Test watching overlayfs upper fs
fanotify13: Test watching overlayfs with FAN_REPORT_FID
fanotify13: Test unique overlayfs fsid
lib/tst_fs_setup.c | 2 +-
testcases/kernel/syscalls/fanotify/fanotify.h | 36 ++++++++-
.../kernel/syscalls/fanotify/fanotify13.c | 77 +++++++++++++++++--
3 files changed, 105 insertions(+), 10 deletions(-)
--
2.34.1
More information about the ltp
mailing list