From: Amir Goldstein <amir73il@gmail.com>
To: Jan Kara <jack@suse.cz>
Cc: Marko Rauhamaa <marko.rauhamaa@f-secure.com>,
linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org
Subject: [PATCH v3 0/3] fanotify super block marks
Date: Thu, 30 Aug 2018 18:15:48 +0300 [thread overview]
Message-ID: <20180830151551.27422-1-amir73il@gmail.com> (raw)
Jan,
The following patches implement the new mark type FAN_MARK_FILESYSTEM
to enable monitoring of filesystem events on all filesystem objects
regardless of the mount where event was generated.
These patches are available on my github [1] along with LTP tests [2]
and man-pages update [3].
Thanks,
Amir.
[1] https://github.com/amir73il/linux/commits/fanotify_sb
[2] https://github.com/amir73il/ltp/commits/fanotify_sb
[3] https://github.com/amir73il/man-pages/commits/fanotify_sb
Changes since v2:
- Rebased on top of merged cleanup patches
- Show super block marks in fanotify_fdinfo()
- Add man pages patch [3]
Amir Goldstein (3):
fsnotify: add super block object type
fsnotify: send path type events to group with super block marks
fanotify: add API to attach/detach super block mark
fs/notify/fanotify/fanotify_user.c | 37 ++++++++++++++++++++++++++++++++-----
fs/notify/fdinfo.c | 5 +++++
fs/notify/fsnotify.c | 35 ++++++++++++++++++++++++-----------
fs/notify/fsnotify.h | 11 +++++++++++
fs/notify/mark.c | 4 ++++
fs/super.c | 2 +-
include/linux/fs.h | 5 +++++
include/linux/fsnotify_backend.h | 17 ++++++++++++++---
include/uapi/linux/fanotify.h | 7 ++++++-
9 files changed, 102 insertions(+), 21 deletions(-)
--
2.7.4
next reply other threads:[~2018-08-30 19:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-30 15:15 Amir Goldstein [this message]
2018-08-30 15:15 ` [PATCH v3 1/3] fsnotify: add super block object type Amir Goldstein
2018-08-31 13:52 ` Jan Kara
2018-08-30 15:15 ` [PATCH v3 2/3] fsnotify: send path type events to group with super block marks Amir Goldstein
2018-08-31 13:50 ` Jan Kara
2018-08-31 15:07 ` Amir Goldstein
2018-09-03 8:36 ` Jan Kara
2018-08-30 15:15 ` [PATCH v3 3/3] fanotify: add API to attach/detach super block mark Amir Goldstein
2018-08-31 14:05 ` Jan Kara
2018-08-31 15:30 ` Amir Goldstein
2018-09-03 8:48 ` Jan Kara
2018-09-03 9:58 ` Amir Goldstein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180830151551.27422-1-amir73il@gmail.com \
--to=amir73il@gmail.com \
--cc=jack@suse.cz \
--cc=linux-api@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=marko.rauhamaa@f-secure.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).