public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 0/4] Fix fanotify14
@ 2022-10-13 15:49 Martin Doucha
  2022-10-13 15:49 ` [LTP] [PATCH 1/4] fanotify14: Print human-readable test case flags Martin Doucha
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Martin Doucha @ 2022-10-13 15:49 UTC (permalink / raw)
  To: amir73il, ltp

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


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-10-14 16:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-13 15:49 [LTP] [PATCH 0/4] Fix fanotify14 Martin Doucha
2022-10-13 15:49 ` [LTP] [PATCH 1/4] fanotify14: Print human-readable test case flags Martin Doucha
2022-10-13 21:36   ` Petr Vorel
2022-10-14 15:49     ` Martin Doucha
2022-10-14 16:17       ` Petr Vorel
2022-10-13 15:49 ` [LTP] [PATCH 2/4] Move fanotify fallback constants and structs to LAPI header Martin Doucha
2022-10-13 22:08   ` Petr Vorel
2022-10-14 15:56     ` Martin Doucha
2022-10-14 16:20       ` Petr Vorel
2022-10-13 15:49 ` [LTP] [PATCH 3/4] Add fanotify_get_supported_init_flags() helper function Martin Doucha
2022-10-14  6:15   ` Petr Vorel
2022-10-14  6:50   ` Amir Goldstein
2022-10-13 15:49 ` [LTP] [PATCH 4/4] fanotify14: Improve check for unsupported init flags Martin Doucha
2022-10-14  6:20   ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox