Lines 4-16
Link Here
|
4 |
#include <unistd.h> |
4 |
#include <unistd.h> |
5 |
#include <linux/types.h> |
5 |
#include <linux/types.h> |
6 |
|
6 |
|
7 |
#if defined(__x86_64__) |
7 |
#if !defined __NR_fanotify_init || !defined __NR_fanotify_mark |
8 |
# define __NR_fanotify_init 300 |
|
|
9 |
# define __NR_fanotify_mark 301 |
10 |
#elif defined(__i386__) |
11 |
# define __NR_fanotify_init 338 |
12 |
# define __NR_fanotify_mark 339 |
13 |
#else |
14 |
# error "System call numbers not defined for this architecture" |
8 |
# error "System call numbers not defined for this architecture" |
15 |
#endif |
9 |
#endif |
16 |
|
10 |
|
17 |
- |
|
|