Fix: system call tracing for arm-64 compat !CONFIG_UID16
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 22 Feb 2016 21:57:37 +0000 (16:57 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 22 Feb 2016 21:57:37 +0000 (16:57 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers_override.h
instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers_override.h

index 79efa547cb17dacfe8aef81a8fc9f3a40745e7ea..f6539e2f09f098f9d08b87dde90f3bb582ed9c6b 100644 (file)
@@ -1,4 +1,34 @@
+#ifndef CONFIG_UID16
 
+#define OVERRIDE_32_getuid16
+#define OVERRIDE_32_getgid16
+#define OVERRIDE_32_geteuid16
+#define OVERRIDE_32_getegid16
+#define OVERRIDE_32_setuid16
+#define OVERRIDE_32_setgid16
+#define OVERRIDE_32_setfsuid16
+#define OVERRIDE_32_setfsgid16
+#define OVERRIDE_32_setreuid16
+#define OVERRIDE_32_setregid16
+#define OVERRIDE_32_fchown16
+#define OVERRIDE_32_setresuid16
+#define OVERRIDE_32_setresgid16
+
+#define OVERRIDE_TABLE_32_getuid16
+#define OVERRIDE_TABLE_32_getgid16
+#define OVERRIDE_TABLE_32_geteuid16
+#define OVERRIDE_TABLE_32_getegid16
+#define OVERRIDE_TABLE_32_setuid16
+#define OVERRIDE_TABLE_32_setgid16
+#define OVERRIDE_TABLE_32_setreuid16
+#define OVERRIDE_TABLE_32_setregid16
+#define OVERRIDE_TABLE_32_fchown16
+#define OVERRIDE_TABLE_32_setfsuid16
+#define OVERRIDE_TABLE_32_setfsgid16
+#define OVERRIDE_TABLE_32_setresuid16
+#define OVERRIDE_TABLE_32_setresgid16
+
+#endif
 
 #define OVERRIDE_TABLE_32_arm_fadvise64_64
 #define OVERRIDE_TABLE_32_sync_file_range2
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.027076 seconds and 4 git commands to generate.