summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2009-12-18 05:24:25 +0300
committerEric Paris <eparis@redhat.com>2010-07-28 17:58:55 +0400
commit11637e4b7dc098e9a863f0a619d55ebc60f5949e (patch)
treea32682575f35dfb2bf5dc0012e488b939e56d388 /include
parent9dced01a0939f3e952eca8c21427ceec1f473dcf (diff)
downloadlinux-11637e4b7dc098e9a863f0a619d55ebc60f5949e.tar.xz
fanotify: fanotify_init syscall declaration
This patch defines a new syscall fanotify_init() of the form: int sys_fanotify_init(unsigned int flags, unsigned int event_f_flags, unsigned int priority) This syscall is used to create and fanotify group. This is very similar to the inotify_init() syscall. Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/syscalls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h
index 13ebb5413a79..198dcc9bd025 100644
--- a/include/linux/syscalls.h
+++ b/include/linux/syscalls.h
@@ -813,6 +813,8 @@ asmlinkage long sys_pselect6(int, fd_set __user *, fd_set __user *,
asmlinkage long sys_ppoll(struct pollfd __user *, unsigned int,
struct timespec __user *, const sigset_t __user *,
size_t);
+asmlinkage long sys_fanotify_init(unsigned int flags, unsigned int event_f_flags,
+ unsigned int priority);
int kernel_execve(const char *filename, char *const argv[], char *const envp[]);