mbox series

[0/2] Fixes for fanotify parent dir ignore mask logic

Message ID 20220511092914.731897-1-amir73il@gmail.com (mailing list archive)
Headers show
Series Fixes for fanotify parent dir ignore mask logic | expand

Message

Amir Goldstein May 11, 2022, 9:29 a.m. UTC
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.

[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             | 88 +++++++++++++++++---------------
 include/linux/fsnotify_backend.h | 17 +++---
 3 files changed, 61 insertions(+), 68 deletions(-)