public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v3 0/2] Fix fanotify14
@ 2023-10-20 15:06 Martin Doucha
  2023-10-20 15:06 ` [LTP] [PATCH v3 1/2] Add fanotify_get_supported_init_flags() helper function Martin Doucha
  2023-10-20 15:06 ` [LTP] [PATCH v3 2/2] fanotify14: Improve check for unsupported init flags Martin Doucha
  0 siblings, 2 replies; 10+ messages in thread
From: Martin Doucha @ 2023-10-20 15:06 UTC (permalink / raw)
  To: Amir Goldstein, Jan Kara, ltp

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


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

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

end of thread, other threads:[~2023-10-24 19:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-20 15:06 [LTP] [PATCH v3 0/2] Fix fanotify14 Martin Doucha
2023-10-20 15:06 ` [LTP] [PATCH v3 1/2] Add fanotify_get_supported_init_flags() helper function Martin Doucha
2023-10-20 15:55   ` Amir Goldstein
2023-10-23 12:50     ` Petr Vorel
2023-10-20 15:06 ` [LTP] [PATCH v3 2/2] fanotify14: Improve check for unsupported init flags Martin Doucha
2023-10-20 16:05   ` Amir Goldstein
2023-10-23 12:51     ` Martin Doucha
2023-10-23 13:35       ` Petr Vorel
2023-10-23 13:52       ` Amir Goldstein
2023-10-24 19:19         ` Petr Vorel

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