]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
um: sanitize paths in sys_call_table* includes
authorAl Viro <viro@ftp.linux.org.uk>
Thu, 18 Aug 2011 19:09:59 +0000 (20:09 +0100)
committerRichard Weinberger <richard@nod.at>
Wed, 2 Nov 2011 13:15:18 +0000 (14:15 +0100)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/x86/um/sys_call_table_32.S
arch/x86/um/sys_call_table_64.c

index de274071455d0096ecd7e85589d6ce2fd2689c64..c3431cf5a1410340991463ad8512671b4e3f270e 100644 (file)
@@ -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
index f46de82d675c1652c1f3eb183b7ebfb09f512f1c..99522f78b16251e8cc222fcb96e1b56de153bba1 100644 (file)
@@ -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);