|
Message-Id: <20230808155421.15542-3-michalbiesek@gmail.com> Date: Tue, 8 Aug 2023 17:54:21 +0200 From: Michal Biesek <michalbiesek@...il.com> To: musl@...ts.openwall.com Cc: Michal Biesek <michalbiesek@...il.com> Subject: [PATCH 2/2] sys/fanotify.h: add FAN_MARK_IGNORE from linux v6.0 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
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.