[LTP] [PATCH v2 0/2] Fanotify tests for v5.19-rc5
Amir Goldstein
amir73il@gmail.com
Mon Jul 25 17:14:51 CEST 2022
Hi Petr,
This updates the tests to validate the current ENOTDIR behavior of
fanotify that was merged for v5.19-rc5 and v5.18.10.
This is a retroactive change for APIs FAN_REPORT_TARGET_FID
and FAN_RENAME introduced in v5.17.
The current upstream behavior is already documented in man pages [1].
Thanks,
Amir.
Changes since v1:
- Split comment in generic code to per test case comment
- Added RVB and Tested-by
[1] https://lore.kernel.org/linux-man/20220630190610.3043428-1-amir73il@gmail.com/
Amir Goldstein (2):
syscalls/fanotify14: Encode the expected errno in test case
syscalls/fanotify14: Add test cases for events not allowed on non-dir
testcases/kernel/syscalls/fanotify/fanotify.h | 4 +-
.../kernel/syscalls/fanotify/fanotify14.c | 117 +++++++++++++-----
2 files changed, 92 insertions(+), 29 deletions(-)
--
2.25.1
More information about the ltp
mailing list