diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2011-08-18 15:09:59 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2011-11-02 09:15:18 -0400 |
commit | 8edc4147bec5b7b92b48a6013ec99c41b16c5f93 (patch) | |
tree | 03281e6a58a37dd10eb64d168d63f3a2bec807e0 /arch | |
parent | 1bbd5f21f426d99660ea8120b79595a282e5ff8a (diff) |
um: sanitize paths in sys_call_table* includes
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/um/sys_call_table_32.S | 2 | ||||
-rw-r--r-- | arch/x86/um/sys_call_table_64.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/um/sys_call_table_32.S b/arch/x86/um/sys_call_table_32.S index de274071455d..c3431cf5a141 100644 --- a/arch/x86/um/sys_call_table_32.S +++ b/arch/x86/um/sys_call_table_32.S | |||
@@ -22,7 +22,7 @@ | |||
22 | 22 | ||
23 | .section .rodata,"a" | 23 | .section .rodata,"a" |
24 | 24 | ||
25 | #include "../../x86/kernel/syscall_table_32.S" | 25 | #include "../kernel/syscall_table_32.S" |
26 | 26 | ||
27 | ENTRY(syscall_table_size) | 27 | ENTRY(syscall_table_size) |
28 | .long .-sys_call_table | 28 | .long .-sys_call_table |
diff --git a/arch/x86/um/sys_call_table_64.c b/arch/x86/um/sys_call_table_64.c index f46de82d675c..99522f78b162 100644 --- a/arch/x86/um/sys_call_table_64.c +++ b/arch/x86/um/sys_call_table_64.c | |||
@@ -58,7 +58,7 @@ extern void sys_ni_syscall(void); | |||
58 | */ | 58 | */ |
59 | 59 | ||
60 | sys_call_ptr_t sys_call_table[] __cacheline_aligned = { | 60 | sys_call_ptr_t sys_call_table[] __cacheline_aligned = { |
61 | #include "../../x86/include/asm/unistd_64.h" | 61 | #include <asm/unistd_64.h> |
62 | }; | 62 | }; |
63 | 63 | ||
64 | int syscall_table_size = sizeof(sys_call_table); | 64 | int syscall_table_size = sizeof(sys_call_table); |