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