1 #include "syscall.h"
2 #include <sys/fanotify.h>
3
fanotify_init(unsigned flags,unsigned event_f_flags)4 int fanotify_init(unsigned flags, unsigned event_f_flags)
5 {
6 return syscall(SYS_fanotify_init, flags, event_f_flags);
7 }
8
fanotify_mark(int fanotify_fd,unsigned flags,unsigned long long mask,int dfd,const char * pathname)9 int fanotify_mark(int fanotify_fd, unsigned flags, unsigned long long mask,
10 int dfd, const char *pathname)
11 {
12 return syscall(SYS_fanotify_mark, fanotify_fd, flags, __SYSCALL_LL_E(mask), dfd, pathname);
13 }
14
15