From a2e5630af426f85fdd8721b2820786d9bd2aa695 Mon Sep 17 00:00:00 2001 From: Vladimir Zapolskiy Date: Tue, 1 Jun 2010 20:02:54 +0400 Subject: inotify: add inotify_init1 system call support This patch introduces support for inotify_init1 system call, found since Linux 2.6.27. Signed-off-by: Vladimir Zapolskiy Signed-off-by: Khem Raj --- libc/sysdeps/linux/common/inotify.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libc/sysdeps/linux/common/inotify.c') diff --git a/libc/sysdeps/linux/common/inotify.c b/libc/sysdeps/linux/common/inotify.c index e5a612076..e35f0430c 100644 --- a/libc/sysdeps/linux/common/inotify.c +++ b/libc/sysdeps/linux/common/inotify.c @@ -15,6 +15,10 @@ _syscall0(int, inotify_init) #endif +#ifdef __NR_inotify_init1 +_syscall1(int, inotify_init1, int, flags) +#endif + #ifdef __NR_inotify_add_watch _syscall3(int, inotify_add_watch, int, fd, const char *, path, uint32_t, mask) #endif -- cgit v1.2.3