From 8888779c07511717c02cea18c6a153bdf2e4dae6 Mon Sep 17 00:00:00 2001 From: Lino Sanfilippo Date: Wed, 24 Nov 2010 18:22:09 +0100 Subject: [PATCH] --- yaml --- r: 223362 b: refs/heads/master c: e9a3854fd4ff3907e6c200a3980e19365ee695e9 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/fanotify.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index c91f5e39d64c..5097b5ddd8b7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 26379198937fcc9bbe7be76be695d06df8334eaa +refs/heads/master: e9a3854fd4ff3907e6c200a3980e19365ee695e9 diff --git a/trunk/include/linux/fanotify.h b/trunk/include/linux/fanotify.h index bdbf9bb29b54..c73224315aee 100644 --- a/trunk/include/linux/fanotify.h +++ b/trunk/include/linux/fanotify.h @@ -101,6 +101,8 @@ struct fanotify_response { /* Legit userspace responses to a _PERM event */ #define FAN_ALLOW 0x01 #define FAN_DENY 0x02 +/* No fd set in event */ +#define FAN_NOFD -1 /* Helper functions to deal with fanotify_event_metadata buffers */ #define FAN_EVENT_METADATA_LEN (sizeof(struct fanotify_event_metadata))