Cleanup unused Makefile
[lttng-modules.git] / include / instrumentation / syscalls / headers / arm-32-syscalls_pointers_override.h
CommitLineData
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
d1fea608
JG
16#ifdef CONFIG_ARM64
17#ifdef CONFIG_COMPAT_OLD_SIGACTION
18/*
19 * From the point of view of the 64-bit ABI, old_sigaction
20 * becomes compat_old_sigaction.
21 */
22#define old_sigaction compat_old_sigaction
23#else /* CONFIG_COMPAT_OLD_SIGACTION */
24/*
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
28 * for this syscall.
29 */
30#define OVERRIDE_32_sigaction
31#endif /* CONFIG_COMPAT_OLD_SIGACTION */
32#endif
33
5539ecc8
LP
34#define OVERRIDE_32_pipe
35SC_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))
40 )
41)
42
8f4f80e0
RK
43#else /* CREATE_SYSCALL_TABLE */
44
ca956174
MD
45# ifndef CONFIG_UID16
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
52# endif
53
8ba62b94
NL
54#define OVERRIDE_TABLE_32_execve
55TRACE_SYSCALL_TABLE(execve, execve, 11, 3)
56#define OVERRIDE_TABLE_32_clone
57TRACE_SYSCALL_TABLE(clone, clone, 120, 5)
8f4f80e0
RK
58
59#endif /* CREATE_SYSCALL_TABLE */
60
61
This page took 0.054826 seconds and 4 git commands to generate.