linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fixes for fanotify parent dir ignore mask logic
@ 2022-05-11 19:02 Amir Goldstein
  2022-05-11 19:02 ` [PATCH v2 1/2] fsnotify: introduce mark type iterator Amir Goldstein
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Amir Goldstein @ 2022-05-11 19:02 UTC (permalink / raw)
  To: Jan Kara; +Cc: Matthew Bobrowski, linux-fsdevel

Jan,

The following two patches are a prelude to FAN_MARK_IGNORE patch set [1].
I have written tests [2] and man page draft [3] for FAN_MARK_IGNORE, but
not proposing it for next, because one big UAPI change is enough and it
is too late in the cycle anyway.

However, I though you may want to consider these two patches for next.
The test fanotify09 on [2] has two new test cases for the fixes in these
patches.

Thanks,
Amir.

Changes since v1:
- Change hacky mark iterator macros
- Clarify mark iterator in fsnotify_iter_next()
- Open code parent mark type logic in
  fsnotify_iter_select_report_types()

[1] https://github.com/amir73il/linux/commits/fan_mark_ignore
[2] https://github.com/amir73il/ltp/commits/fan_mark_ignore
[3] https://github.com/amir73il/man-pages/commits/fan_mark_ignore

Amir Goldstein (2):
  fsnotify: introduce mark type iterator
  fsnotify: consistent behavior for parent not watching children

 fs/notify/fanotify/fanotify.c    | 24 ++-------
 fs/notify/fsnotify.c             | 85 +++++++++++++++++---------------
 include/linux/fsnotify_backend.h | 31 +++++++++---
 3 files changed, 73 insertions(+), 67 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2022-06-24  8:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-11 19:02 [PATCH v2 0/2] Fixes for fanotify parent dir ignore mask logic Amir Goldstein
2022-05-11 19:02 ` [PATCH v2 1/2] fsnotify: introduce mark type iterator Amir Goldstein
2022-05-11 19:02 ` [PATCH v2 2/2] fsnotify: consistent behavior for parent not watching children Amir Goldstein
2022-06-20 14:16   ` Amir Goldstein
2022-06-20 20:34     ` Greg KH
2022-06-21  3:04       ` Amir Goldstein
2022-06-23 16:09         ` Greg KH
2022-06-24  8:41           ` Amir Goldstein
2022-05-18 13:23 ` [PATCH v2 0/2] Fixes for fanotify parent dir ignore mask logic Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).