[LTP] [PATCH v3 0/2] Fix fanotify14
Martin Doucha
mdoucha@suse.cz
Fri Oct 20 17:06:01 CEST 2023
Fanotify14 tests some fanotify_init() flags which are not supported
on older kernels but doesn't properly check for their availability.
Add a reusable helper function for fanotify_init() feature detection
and fix kernel support checks in fanotify14.
After discussion in the SUSE LTP team, I've decided to fix my previous
patchset and submit it again.
Martin Doucha (2):
Add fanotify_get_supported_init_flags() helper function
fanotify14: Improve check for unsupported init flags
testcases/kernel/syscalls/fanotify/fanotify.h | 43 +++++++++++++++++++
.../kernel/syscalls/fanotify/fanotify14.c | 15 ++++---
2 files changed, 52 insertions(+), 6 deletions(-)
--
2.42.0
More information about the ltp
mailing list