aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fanotify.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fanotify.h')
-rw-r--r--include/linux/fanotify.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/linux/fanotify.h b/include/linux/fanotify.h
index 63531a6b4d2a..2c89ce7b644e 100644
--- a/include/linux/fanotify.h
+++ b/include/linux/fanotify.h
@@ -25,7 +25,16 @@
25#define FAN_CLOEXEC 0x00000001 25#define FAN_CLOEXEC 0x00000001
26#define FAN_NONBLOCK 0x00000002 26#define FAN_NONBLOCK 0x00000002
27 27
28#define FAN_ALL_INIT_FLAGS (FAN_CLOEXEC | FAN_NONBLOCK) 28/* These are NOT bitwise flags. Both bits are used togther. */
29#define FAN_CLASS_NOTIF 0x00000000
30#define FAN_CLASS_CONTENT 0x00000004
31#define FAN_CLASS_PRE_CONTENT 0x00000008
32
33#define FAN_ALL_CLASS_BITS (FAN_CLASS_NOTIF | FAN_CLASS_CONTENT | \
34 FAN_CLASS_PRE_CONTENT)
35
36#define FAN_ALL_INIT_FLAGS (FAN_CLOEXEC | FAN_NONBLOCK | \
37 FAN_ALL_CLASS_BITS)
29 38
30/* flags used for fanotify_modify_mark() */ 39/* flags used for fanotify_modify_mark() */
31#define FAN_MARK_ADD 0x00000001 40#define FAN_MARK_ADD 0x00000001