summaryrefslogtreecommitdiffstats
path: root/fs/notify/fanotify
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2009-12-18 03:24:26 +0100
committerEric Paris <eparis@redhat.com>2010-07-28 15:58:55 +0200
commitbbaa4168b2d2d8cc674e6d35806e8426aef464b8 (patch)
treede2a601befc44628fc19766a3081bf2e3b73da7a /fs/notify/fanotify
parentfanotify: fanotify_init syscall implementation (diff)
downloadlinux-bbaa4168b2d2d8cc674e6d35806e8426aef464b8.tar.xz
linux-bbaa4168b2d2d8cc674e6d35806e8426aef464b8.zip
fanotify: sys_fanotify_mark declartion
This patch simply declares the new sys_fanotify_mark syscall int fanotify_mark(int fanotify_fd, unsigned int flags, u64_mask, int dfd const char *pathname) Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'fs/notify/fanotify')
-rw-r--r--fs/notify/fanotify/fanotify_user.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/notify/fanotify/fanotify_user.c b/fs/notify/fanotify/fanotify_user.c
index 67c0b5e4a488..55d6e379f2b6 100644
--- a/fs/notify/fanotify/fanotify_user.c
+++ b/fs/notify/fanotify/fanotify_user.c
@@ -70,3 +70,9 @@ out_put_group:
fsnotify_put_group(group);
return fd;
}
+
+SYSCALL_DEFINE5(fanotify_mark, int, fanotify_fd, unsigned int, flags,
+ __u64, mask, int, dfd, const char __user *, pathname)
+{
+ return -ENOSYS;
+}