mbox series

[v2,0/3] Fix fanotify14

Message ID 20221020130843.15147-1-mdoucha@suse.cz
Headers show
Series Fix fanotify14 | expand

Message

Martin Doucha Oct. 20, 2022, 1:08 p.m. UTC
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 and print more verbose
information about which test case is currently being executed.

Martin Doucha (3):
  fanotify14: Print human-readable test case flags
  Add fanotify_get_supported_init_flags() helper function
  fanotify14: Improve check for unsupported init flags

 testcases/kernel/syscalls/fanotify/fanotify.h |  26 ++
 .../kernel/syscalls/fanotify/fanotify14.c     | 234 ++++++++++--------
 2 files changed, 155 insertions(+), 105 deletions(-)