summaryrefslogblamecommitdiff
path: root/src/linux/fanotify.c
blob: 1f4ef93bda61ff2d6d16b57df32ac6b49d413b41 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
                    
                         











                                                                                      
#include "syscall.h"
#include <sys/fanotify.h>

int fanotify_init(unsigned flags, unsigned event_f_flags)
{
	return syscall(SYS_fanotify_init, flags, event_f_flags);
}

int fanotify_mark(int fanotify_fd, unsigned flags, unsigned long long mask,
	          int dfd, const char *pathname)
{
	return syscall(SYS_fanotify_mark, flags, __SYSCALL_LL_O(mask), dfd, pathname);
}