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 */
35 * Override 'pipe' to set the output field 'fildes' to an array of 2 integers
36 * instead of the default integer pointer.
38 #define OVERRIDE_32_pipe
39 SC_LTTNG_TRACEPOINT_EVENT(pipe
,
40 TP_PROTO(sc_exit(long ret
,) int * fildes
),
41 TP_ARGS(sc_exit(ret
,) fildes
),
42 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
))
43 sc_out(ctf_user_array(int, fildes
, fildes
, 2))
47 #else /* CREATE_SYSCALL_TABLE */
50 # define OVERRIDE_TABLE_32_getgroups16
51 # define OVERRIDE_TABLE_32_setgroups16
52 # define OVERRIDE_TABLE_32_lchown16
53 # define OVERRIDE_TABLE_32_getresuid16
54 # define OVERRIDE_TABLE_32_getresgid16
55 # define OVERRIDE_TABLE_32_chown16
58 #define OVERRIDE_TABLE_32_execve
59 TRACE_SYSCALL_TABLE(execve
, execve
, 11, 3)
60 #define OVERRIDE_TABLE_32_clone
61 TRACE_SYSCALL_TABLE(clone
, clone
, 120, 5)
63 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.031402 seconds and 5 git commands to generate.