Skip to contentSkip to conversation

Subject: [PATCH 66/91] um: sanitize paths in sys_call_table* includes

PATCH Al Viro 1 participant 1 message Aug 18, 2011

Subsystems (2)
lore
Share & tools
lore

Al Viro

author
#0 lore raw
---
 arch/x86/um/sys_call_table_32.S |    2 +-
 arch/x86/um/sys_call_table_64.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/um/sys_call_table_32.S +1 -1
index de27407..c3431cf 100644
@@ -22,7 +22,7 @@
 
 .section .rodata,"a"
 
-#include "../../x86/kernel/syscall_table_32.S"
+#include "../kernel/syscall_table_32.S"
 
 ENTRY(syscall_table_size)
 .long .-sys_call_table
arch/x86/um/sys_call_table_64.c +1 -1
index f46de82..99522f7 100644
@@ -58,7 +58,7 @@ extern void sys_ni_syscall(void);
  */
 
 sys_call_ptr_t sys_call_table[] __cacheline_aligned = {
-#include "../../x86/include/asm/unistd_64.h"
+#include <asm/unistd_64.h>
 };
 
 int syscall_table_size = sizeof(sys_call_table);
Signature · 1 line
1.7.2.5