2 #include <sys/fanotify.h>
4 int fanotify_init(unsigned flags
, unsigned event_f_flags
)
6 return syscall(SYS_fanotify_init
, flags
, event_f_flags
);
9 int fanotify_mark(int fanotify_fd
, unsigned flags
, unsigned long long mask
,
10 int dfd
, const char *pathname
)
12 return syscall(SYS_fanotify_mark
, fanotify_fd
, flags
, __SYSCALL_LL_E(mask
), dfd
, pathname
);