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