From: Mathieu Desnoyers Date: Thu, 29 Sep 2011 16:28:16 +0000 (-0400) Subject: x86 32 syscalls: fix !CONFIG_UID16 X-Git-Tag: v2.0-pre9~1 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8a62ad24fd30b42d03f4bf931a88273054aef013;p=lttng-modules.git x86 32 syscalls: fix !CONFIG_UID16 Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers_override.h b/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers_override.h index e69de29b..8f685a86 100644 --- a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers_override.h +++ b/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers_override.h @@ -0,0 +1,31 @@ +#ifndef CONFIG_UID16 + +#define OVERRIDE_sys_getuid16 +#define OVERRIDE_sys_getgid16 +#define OVERRIDE_sys_geteuid16 +#define OVERRIDE_sys_getegid16 +#define OVERRIDE_sys_setuid16 +#define OVERRIDE_sys_setgid16 +#define OVERRIDE_sys_setfsuid16 +#define OVERRIDE_sys_setfsgid16 +#define OVERRIDE_sys_setreuid16 +#define OVERRIDE_sys_setregid16 +#define OVERRIDE_sys_fchown16 +#define OVERRIDE_sys_setresuid16 +#define OVERRIDE_sys_setresgid16 + +#define OVERRIDE_TABLE_sys_getuid16 +#define OVERRIDE_TABLE_sys_getgid16 +#define OVERRIDE_TABLE_sys_geteuid16 +#define OVERRIDE_TABLE_sys_getegid16 +#define OVERRIDE_TABLE_sys_setuid16 +#define OVERRIDE_TABLE_sys_setgid16 +#define OVERRIDE_TABLE_sys_setreuid16 +#define OVERRIDE_TABLE_sys_setregid16 +#define OVERRIDE_TABLE_sys_fchown16 +#define OVERRIDE_TABLE_sys_setfsuid16 +#define OVERRIDE_TABLE_sys_setfsgid16 +#define OVERRIDE_TABLE_sys_setresuid16 +#define OVERRIDE_TABLE_sys_setresgid16 + +#endif 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 e69de29b..e0235bee 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 @@ -0,0 +1,17 @@ +#ifndef CONFIG_UID16 + +#define OVERRIDE_sys_getgroups16 +#define OVERRIDE_sys_setgroups16 +#define OVERRIDE_sys_lchown16 +#define OVERRIDE_sys_getresuid16 +#define OVERRIDE_sys_getresgid16 +#define OVERRIDE_sys_chown16 + +#define OVERRIDE_TABLE_sys_getgroups16 +#define OVERRIDE_TABLE_sys_setgroups16 +#define OVERRIDE_TABLE_sys_lchown16 +#define OVERRIDE_TABLE_sys_getresuid16 +#define OVERRIDE_TABLE_sys_getresgid16 +#define OVERRIDE_TABLE_sys_chown16 + +#endif