|
@@ -28,12 +28,13 @@
|
|
#define FAN_CLASS_NOTIF 0x00000000
|
|
#define FAN_CLASS_NOTIF 0x00000000
|
|
#define FAN_CLASS_CONTENT 0x00000004
|
|
#define FAN_CLASS_CONTENT 0x00000004
|
|
#define FAN_CLASS_PRE_CONTENT 0x00000008
|
|
#define FAN_CLASS_PRE_CONTENT 0x00000008
|
|
-
|
|
|
|
#define FAN_ALL_CLASS_BITS (FAN_CLASS_NOTIF | FAN_CLASS_CONTENT | \
|
|
#define FAN_ALL_CLASS_BITS (FAN_CLASS_NOTIF | FAN_CLASS_CONTENT | \
|
|
FAN_CLASS_PRE_CONTENT)
|
|
FAN_CLASS_PRE_CONTENT)
|
|
|
|
|
|
|
|
+#define FAN_UNLIMITED_QUEUE 0x00000010
|
|
|
|
+
|
|
#define FAN_ALL_INIT_FLAGS (FAN_CLOEXEC | FAN_NONBLOCK | \
|
|
#define FAN_ALL_INIT_FLAGS (FAN_CLOEXEC | FAN_NONBLOCK | \
|
|
- FAN_ALL_CLASS_BITS)
|
|
|
|
|
|
+ FAN_ALL_CLASS_BITS | FAN_UNLIMITED_QUEUE)
|
|
|
|
|
|
/* flags used for fanotify_modify_mark() */
|
|
/* flags used for fanotify_modify_mark() */
|
|
#define FAN_MARK_ADD 0x00000001
|
|
#define FAN_MARK_ADD 0x00000001
|