1 /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */
3 #define OVERRIDE_TABLE_32_mmap2
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
14 #ifndef CREATE_SYSCALL_TABLE
17 #ifdef CONFIG_COMPAT_OLD_SIGACTION
19 * From the point of view of the 64-bit ABI, old_sigaction
20 * becomes compat_old_sigaction.
22 #define old_sigaction compat_old_sigaction
23 #else /* CONFIG_COMPAT_OLD_SIGACTION */
25 * The target 64-bit kernel does not enable the support for
26 * the 32-bit compat version of OLD_SIGACTION. Defining
27 * OVERRIDE_32_sigaction ensures we don't build a tracepoint
30 #define OVERRIDE_32_sigaction
31 #endif /* CONFIG_COMPAT_OLD_SIGACTION */
34 #define OVERRIDE_32_pipe
35 SC_LTTNG_TRACEPOINT_EVENT(pipe
,
36 TP_PROTO(sc_exit(long ret
,) int * fildes
),
37 TP_ARGS(sc_exit(ret
,) fildes
),
38 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
))
39 sc_out(ctf_user_array(int, fildes
, fildes
, 2))
43 #else /* CREATE_SYSCALL_TABLE */
46 # define OVERRIDE_TABLE_32_getgroups16
47 # define OVERRIDE_TABLE_32_setgroups16
48 # define OVERRIDE_TABLE_32_lchown16
49 # define OVERRIDE_TABLE_32_getresuid16
50 # define OVERRIDE_TABLE_32_getresgid16
51 # define OVERRIDE_TABLE_32_chown16
54 #define OVERRIDE_TABLE_32_execve
55 TRACE_SYSCALL_TABLE(execve
, execve
, 11, 3)
56 #define OVERRIDE_TABLE_32_clone
57 TRACE_SYSCALL_TABLE(clone
, clone
, 120, 5)
59 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.031927 seconds and 5 git commands to generate.