aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/fanotify.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/fanotify.h b/include/linux/fanotify.h
index b560f86d1401..00bc6d4fbb58 100644
--- a/include/linux/fanotify.h
+++ b/include/linux/fanotify.h
@@ -18,6 +18,10 @@
18/* helper events */ 18/* helper events */
19#define FAN_CLOSE (FAN_CLOSE_WRITE | FAN_CLOSE_NOWRITE) /* close */ 19#define FAN_CLOSE (FAN_CLOSE_WRITE | FAN_CLOSE_NOWRITE) /* close */
20 20
21#define FAN_CLOEXEC 0x00000001
22#define FAN_NONBLOCK 0x00000002
23
24#define FAN_ALL_INIT_FLAGS (FAN_CLOEXEC | FAN_NONBLOCK)
21/* 25/*
22 * All of the events - we build the list by hand so that we can add flags in 26 * All of the events - we build the list by hand so that we can add flags in
23 * the future and not break backward compatibility. Apps will get only the 27 * the future and not break backward compatibility. Apps will get only the