Fix: system call tracing for arm-64 compat !CONFIG_UID16
[lttng-modules.git] / instrumentation / syscalls / headers / arm-32-syscalls-3.4.25_pointers_override.h
index b27eedbcbacf8961de025ade1e0b25eb97144176..089853b3123cb2ff76393a2605025448d41a9001 100644 (file)
@@ -1,6 +1,14 @@
 
 #define OVERRIDE_TABLE_32_mmap2
 
+# ifndef CONFIG_UID16
+#  define OVERRIDE_32_getgroups16
+#  define OVERRIDE_32_setgroups16
+#  define OVERRIDE_32_lchown16
+#  define OVERRIDE_32_getresuid16
+#  define OVERRIDE_32_getresgid16
+#  define OVERRIDE_32_chown16
+# endif
 
 #ifndef CREATE_SYSCALL_TABLE
 
@@ -29,6 +37,15 @@ SC_LTTNG_TRACEPOINT_EVENT(pipe,
 
 #else  /* CREATE_SYSCALL_TABLE */
 
+# ifndef CONFIG_UID16
+#  define OVERRIDE_TABLE_32_getgroups16
+#  define OVERRIDE_TABLE_32_setgroups16
+#  define OVERRIDE_TABLE_32_lchown16
+#  define OVERRIDE_TABLE_32_getresuid16
+#  define OVERRIDE_TABLE_32_getresgid16
+#  define OVERRIDE_TABLE_32_chown16
+# endif
+
 #define OVERRIDE_TABLE_32_execve
 TRACE_SYSCALL_TABLE(execve, execve, 11, 3)
 #define OVERRIDE_TABLE_32_clone
This page took 0.023358 seconds and 4 git commands to generate.