aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/notify/fanotify/Makefile2
-rw-r--r--fs/notify/fanotify/fanotify_user.c13
2 files changed, 14 insertions, 1 deletions
diff --git a/fs/notify/fanotify/Makefile b/fs/notify/fanotify/Makefile
index e7d39c05b0fe..0999213e7e6e 100644
--- a/fs/notify/fanotify/Makefile
+++ b/fs/notify/fanotify/Makefile
@@ -1 +1 @@
obj-$(CONFIG_FANOTIFY) += fanotify.o obj-$(CONFIG_FANOTIFY) += fanotify.o fanotify_user.o
diff --git a/fs/notify/fanotify/fanotify_user.c b/fs/notify/fanotify/fanotify_user.c
new file mode 100644
index 000000000000..cf176fc7086b
--- /dev/null
+++ b/fs/notify/fanotify/fanotify_user.c
@@ -0,0 +1,13 @@
1#include <linux/fcntl.h>
2#include <linux/fs.h>
3#include <linux/fsnotify_backend.h>
4#include <linux/security.h>
5#include <linux/syscalls.h>
6
7#include "fanotify.h"
8
9SYSCALL_DEFINE3(fanotify_init, unsigned int, flags, unsigned int, event_f_flags,
10 unsigned int, priority)
11{
12 return -ENOSYS;
13}