Vineet Gupta | 4adeefe | 2013-01-18 15:12:18 +0530 | [diff] [blame^] | 1 | |
2 | #include <linux/syscalls.h> | ||||
3 | #include <linux/signal.h> | ||||
4 | #include <linux/unistd.h> | ||||
5 | |||||
6 | #include <asm/syscalls.h> | ||||
7 | |||||
8 | #define sys_clone sys_clone_wrapper | ||||
9 | #define sys_fork sys_fork_wrapper | ||||
10 | #define sys_vfork sys_vfork_wrapper | ||||
11 | |||||
12 | #undef __SYSCALL | ||||
13 | #define __SYSCALL(nr, call) [nr] = (call), | ||||
14 | |||||
15 | void *sys_call_table[NR_syscalls] = { | ||||
16 | [0 ... NR_syscalls-1] = sys_ni_syscall, | ||||
17 | #include <asm/unistd.h> | ||||
18 | }; |