[LTP] [PATCH 0/4] Fix fanotify14
Martin Doucha
mdoucha@suse.cz
Thu Oct 13 17:49:31 CEST 2022
Fanotify14 tests some fanotify_init() flags which are not supported
on older kernels but doesn't properly check for their availability.
Fix the init flag availability checks, print more verbose information
about which test case is currently being executed and move the LTP copy
of fanotify constants to an LAPI header.
Martin Doucha (4):
fanotify14: Print human-readable test case flags
Move fanotify fallback constants and structs to LAPI header
Add fanotify_get_supported_init_flags() helper function
fanotify14: Improve check for unsupported init flags
include/lapi/fanotify.h | 210 +++++++++++++++++
testcases/kernel/syscalls/fanotify/fanotify.h | 219 ++----------------
.../kernel/syscalls/fanotify/fanotify14.c | 208 +++++++++--------
3 files changed, 347 insertions(+), 290 deletions(-)
create mode 100644 include/lapi/fanotify.h
--
2.37.3
More information about the ltp
mailing list