Merge tag 'docs-5.0' of git://git.lwn.net/linux
[sfrench/cifs-2.6.git] / include / linux / fanotify.h
index a5a60691e48b5a65f5f07f8e11baf6f97a594b5e..9e21427953351274892c5190056e250517ffcc20 100644 (file)
 
 /* Events that user can request to be notified on */
 #define FANOTIFY_EVENTS                (FAN_ACCESS | FAN_MODIFY | \
-                                FAN_CLOSE | FAN_OPEN)
+                                FAN_CLOSE | FAN_OPEN | FAN_OPEN_EXEC)
 
 /* Events that require a permission response from user */
-#define FANOTIFY_PERM_EVENTS   (FAN_OPEN_PERM | FAN_ACCESS_PERM)
+#define FANOTIFY_PERM_EVENTS   (FAN_OPEN_PERM | FAN_ACCESS_PERM | \
+                                FAN_OPEN_EXEC_PERM)
 
 /* Extra flags that may be reported with event or control handling of events */
 #define FANOTIFY_EVENT_FLAGS   (FAN_EVENT_ON_CHILD | FAN_ONDIR)