Commit | Line | Data |
---|---|---|
e42e81fd MD |
1 | |
2 | #ifndef CREATE_SYSCALL_TABLE | |
3 | ||
4 | # ifndef CONFIG_UID16 | |
644d6e9c MD |
5 | # define OVERRIDE_32_getgroups16 |
6 | # define OVERRIDE_32_setgroups16 | |
7 | # define OVERRIDE_32_lchown16 | |
8 | # define OVERRIDE_32_getresuid16 | |
9 | # define OVERRIDE_32_getresgid16 | |
10 | # define OVERRIDE_32_chown16 | |
e42e81fd MD |
11 | # endif |
12 | ||
5539ecc8 LP |
13 | #define OVERRIDE_32_pipe |
14 | #define OVERRIDE_64_pipe | |
15 | SC_LTTNG_TRACEPOINT_EVENT(pipe, | |
16 | TP_PROTO(sc_exit(long ret,) int * fildes), | |
17 | TP_ARGS(sc_exit(ret,) fildes), | |
18 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) | |
19 | sc_out(ctf_user_array(int, fildes, fildes, 2)) | |
20 | ) | |
21 | ) | |
22 | ||
e42e81fd MD |
23 | #else /* CREATE_SYSCALL_TABLE */ |
24 | ||
25 | # ifndef CONFIG_UID16 | |
644d6e9c MD |
26 | # define OVERRIDE_TABLE_32_getgroups16 |
27 | # define OVERRIDE_TABLE_32_setgroups16 | |
28 | # define OVERRIDE_TABLE_32_lchown16 | |
29 | # define OVERRIDE_TABLE_32_getresuid16 | |
30 | # define OVERRIDE_TABLE_32_getresgid16 | |
31 | # define OVERRIDE_TABLE_32_chown16 | |
e42e81fd MD |
32 | # endif |
33 | ||
644d6e9c MD |
34 | #define OVERRIDE_TABLE_32_execve |
35 | TRACE_SYSCALL_TABLE(execve, execve, 11, 3) | |
36 | #define OVERRIDE_TABLE_32_clone | |
37 | TRACE_SYSCALL_TABLE(clone, clone, 120, 5) | |
38 | #define OVERRIDE_TABLE_32_getcpu | |
39 | TRACE_SYSCALL_TABLE(getcpu, getcpu, 318, 3) | |
e42e81fd MD |
40 | |
41 | #endif /* CREATE_SYSCALL_TABLE */ | |
42 | ||
43 |