master
 1#include "syscall.h"
 2#include <sys/fanotify.h>
 3
 4int fanotify_init(unsigned flags, unsigned event_f_flags)
 5{
 6	return syscall(SYS_fanotify_init, flags, event_f_flags);
 7}
 8
 9int 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