1 From 0e2095bcc50e7a07d3478f8d3c0ae5ad46575594 Mon Sep 17 00:00:00 2001
2 From: Mikko Rapeli <mikko.rapeli@linaro.org>
3 Date: Mon, 28 Apr 2025 12:07:24 +0000
4 Subject: [PATCH] lttng-modules: fix sigaction build without
5 CONFIG_COMPAT_OLD_SIGACTION
7 Workaround build failure when CONFIG_COMPAT_OLD_SIGACTION is not enabled
10 Upstream-Status: Submitted [https://bugs.lttng.org/issues/1426]
12 Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
14 .../instrumentation/syscalls/headers/arm-32-syscalls_pointers.h | 2 ++
15 1 file changed, 2 insertions(+)
17 diff --git a/include/instrumentation/syscalls/headers/arm-32-syscalls_pointers.h b/include/instrumentation/syscalls/headers/arm-32-syscalls_pointers.h
18 index 5f4ca5b..1514cae 100644
19 --- a/include/instrumentation/syscalls/headers/arm-32-syscalls_pointers.h
20 +++ b/include/instrumentation/syscalls/headers/arm-32-syscalls_pointers.h
21 @@ -1890,9 +1890,11 @@ TRACE_SYSCALL_TABLE(chroot, chroot, 61, 1)
22 #ifndef OVERRIDE_TABLE_32_ustat
23 TRACE_SYSCALL_TABLE(ustat, ustat, 62, 2)
25 +#ifdef CONFIG_COMPAT_OLD_SIGACTION
26 #ifndef OVERRIDE_TABLE_32_sigaction
27 TRACE_SYSCALL_TABLE(sigaction, sigaction, 67, 3)
29 +#endif /* CONFIG_COMPAT_OLD_SIGACTION */
30 #ifndef OVERRIDE_TABLE_32_sigpending
31 TRACE_SYSCALL_TABLE(sigpending, sigpending, 73, 1)