X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=instrumentation%2Fsyscalls%2Fheaders%2Fx86-32-syscalls-3.1.0-rc6_pointers_override.h;h=4ee3ca3d2c2ccdd6c38c76a5aa5d343d348c1b95;hb=b5aa4b6a4efc476e3a9b9fafcafd080d9aaa173e;hp=d35657c8e0ae637843371e0085060ca3d1238955;hpb=daaf627aaa66c434d9274c6616977a6edc07b6ca;p=lttng-modules.git diff --git a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers_override.h b/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers_override.h index d35657c8..4ee3ca3d 100644 --- a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers_override.h +++ b/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers_override.h @@ -1,17 +1,33 @@ -#ifndef CONFIG_UID16 - -#define OVERRIDE_32_sys_getgroups16 -#define OVERRIDE_32_sys_setgroups16 -#define OVERRIDE_32_sys_lchown16 -#define OVERRIDE_32_sys_getresuid16 -#define OVERRIDE_32_sys_getresgid16 -#define OVERRIDE_32_sys_chown16 - -#define OVERRIDE_TABLE_32_sys_getgroups16 -#define OVERRIDE_TABLE_32_sys_setgroups16 -#define OVERRIDE_TABLE_32_sys_lchown16 -#define OVERRIDE_TABLE_32_sys_getresuid16 -#define OVERRIDE_TABLE_32_sys_getresgid16 -#define OVERRIDE_TABLE_32_sys_chown16 - -#endif + +#ifndef CREATE_SYSCALL_TABLE + +# ifndef CONFIG_UID16 +# define OVERRIDE_32_sys_getgroups16 +# define OVERRIDE_32_sys_setgroups16 +# define OVERRIDE_32_sys_lchown16 +# define OVERRIDE_32_sys_getresuid16 +# define OVERRIDE_32_sys_getresgid16 +# define OVERRIDE_32_sys_chown16 +# endif + +#else /* CREATE_SYSCALL_TABLE */ + +# ifndef CONFIG_UID16 +# define OVERRIDE_TABLE_32_sys_getgroups16 +# define OVERRIDE_TABLE_32_sys_setgroups16 +# define OVERRIDE_TABLE_32_sys_lchown16 +# define OVERRIDE_TABLE_32_sys_getresuid16 +# define OVERRIDE_TABLE_32_sys_getresgid16 +# define OVERRIDE_TABLE_32_sys_chown16 +# endif + +#define OVERRIDE_TABLE_32_sys_execve +TRACE_SYSCALL_TABLE(sys_execve, sys_execve, 11, 3) +#define OVERRIDE_TABLE_32_sys_clone +TRACE_SYSCALL_TABLE(sys_clone, sys_clone, 120, 5) +#define OVERRIDE_TABLE_32_sys_getcpu +TRACE_SYSCALL_TABLE(sys_getcpu, sys_getcpu, 318, 3) + +#endif /* CREATE_SYSCALL_TABLE */ + +