From: Michal Biesek <michalbiesek@gmail.com>
To: musl@lists.openwall.com
Cc: Michal Biesek <michalbiesek@gmail.com>
Subject: [musl] [PATCH 2/2] sys/fanotify.h: add FAN_MARK_IGNORE from linux v6.0
Date: Tue, 8 Aug 2023 17:54:21 +0200 [thread overview]
Message-ID: <20230808155421.15542-3-michalbiesek@gmail.com> (raw)
In-Reply-To: <20230808155421.15542-1-michalbiesek@gmail.com>
This flag has a similar effect as setting the
FAN_MARK_IGNORED_MASK flag. The events in mask shall be
added to or removed from the ignore mask. Unlike the
FAN_MARK_IGNORED_MASK flag, this flag also has the effect
that the FAN_ONDIR, and FAN_EVENT_ON_CHILD flags take
effect on the ignore mask.
see
linux commit: e252f2ed1c8c6c3884ab5dd34e003ed21f1fe6e0
fanotify: introduce FAN_MARK_IGNORE
---
include/sys/fanotify.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/sys/fanotify.h b/include/sys/fanotify.h
index 975b8742..50ffd046 100644
--- a/include/sys/fanotify.h
+++ b/include/sys/fanotify.h
@@ -83,6 +83,7 @@ struct fanotify_response {
#define FAN_MARK_IGNORED_SURV_MODIFY 0x40
#define FAN_MARK_FLUSH 0x80
#define FAN_MARK_EVICTABLE 0x00000200
+#define FAN_MARK_IGNORE 0x00000400
#define FAN_MARK_INODE 0x00
#define FAN_MARK_MOUNT 0x10
#define FAN_MARK_FILESYSTEM 0x100
--
2.34.1
prev parent reply other threads:[~2023-08-08 15:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-08 15:54 [musl] [PATCH 0/2] sys/fanotify.h: add new FAN_* macros from linux v5.19 Michal Biesek
2023-08-08 15:54 ` [musl] [PATCH 1/2] sys/fanotify.h: add FAN_MARK_EVICTABLE " Michal Biesek
2023-08-08 15:54 ` Michal Biesek [this message]
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=20230808155421.15542-3-michalbiesek@gmail.com \
--to=michalbiesek@gmail.com \
--cc=musl@lists.openwall.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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
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).