diff options
author | Eric Paris | 2009-12-18 03:24:25 +0100 |
---|---|---|
committer | Eric Paris | 2010-07-28 15:58:55 +0200 |
commit | 11637e4b7dc098e9a863f0a619d55ebc60f5949e (patch) | |
tree | a32682575f35dfb2bf5dc0012e488b939e56d388 /kernel | |
parent | fanotify: do not clone on merge unless needed (diff) | |
download | kernel-qcow2-linux-11637e4b7dc098e9a863f0a619d55ebc60f5949e.tar.gz kernel-qcow2-linux-11637e4b7dc098e9a863f0a619d55ebc60f5949e.tar.xz kernel-qcow2-linux-11637e4b7dc098e9a863f0a619d55ebc60f5949e.zip |
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 'kernel')
-rw-r--r-- | kernel/sys_ni.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c index 70f2ea758ffe..2c4adc2decc3 100644 --- a/kernel/sys_ni.c +++ b/kernel/sys_ni.c @@ -181,3 +181,6 @@ cond_syscall(sys_eventfd2); /* performance counters: */ cond_syscall(sys_perf_event_open); + +/* fanotify! */ +cond_syscall(sys_fanotify_init); |