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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fanotify.h b/include/linux/fanotify.h
index bdbf9bb29b54..c73224315aee 100644
--- a/include/linux/fanotify.h
+++ b/include/linux/fanotify.h
@@ -101,6 +101,8 @@ struct fanotify_response {
101/* Legit userspace responses to a _PERM event */ 101/* Legit userspace responses to a _PERM event */
102#define FAN_ALLOW 0x01 102#define FAN_ALLOW 0x01
103#define FAN_DENY 0x02 103#define FAN_DENY 0x02
104/* No fd set in event */
105#define FAN_NOFD -1
104 106
105/* Helper functions to deal with fanotify_event_metadata buffers */ 107/* Helper functions to deal with fanotify_event_metadata buffers */
106#define FAN_EVENT_METADATA_LEN (sizeof(struct fanotify_event_metadata)) 108#define FAN_EVENT_METADATA_LEN (sizeof(struct fanotify_event_metadata))