diff options
Diffstat (limited to 'kernel/sys_ni.c')
-rw-r--r-- | kernel/sys_ni.c | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c new file mode 100644 index 000000000000..1802a311dd3f --- /dev/null +++ b/kernel/sys_ni.c | |||
@@ -0,0 +1,86 @@ | |||
1 | |||
2 | #include <linux/linkage.h> | ||
3 | #include <linux/errno.h> | ||
4 | |||
5 | #include <asm/unistd.h> | ||
6 | |||
7 | /* | ||
8 | * Non-implemented system calls get redirected here. | ||
9 | */ | ||
10 | asmlinkage long sys_ni_syscall(void) | ||
11 | { | ||
12 | return -ENOSYS; | ||
13 | } | ||
14 | |||
15 | cond_syscall(sys_nfsservctl); | ||
16 | cond_syscall(sys_quotactl); | ||
17 | cond_syscall(sys_acct); | ||
18 | cond_syscall(sys_lookup_dcookie); | ||
19 | cond_syscall(sys_swapon); | ||
20 | cond_syscall(sys_swapoff); | ||
21 | cond_syscall(sys_init_module); | ||
22 | cond_syscall(sys_delete_module); | ||
23 | cond_syscall(sys_socketpair); | ||
24 | cond_syscall(sys_bind); | ||
25 | cond_syscall(sys_listen); | ||
26 | cond_syscall(sys_accept); | ||
27 | cond_syscall(sys_connect); | ||
28 | cond_syscall(sys_getsockname); | ||
29 | cond_syscall(sys_getpeername); | ||
30 | cond_syscall(sys_sendto); | ||
31 | cond_syscall(sys_send); | ||
32 | cond_syscall(sys_recvfrom); | ||
33 | cond_syscall(sys_recv); | ||
34 | cond_syscall(sys_socket); | ||
35 | cond_syscall(sys_setsockopt); | ||
36 | cond_syscall(sys_getsockopt); | ||
37 | cond_syscall(sys_shutdown); | ||
38 | cond_syscall(sys_sendmsg); | ||
39 | cond_syscall(sys_recvmsg); | ||
40 | cond_syscall(sys_socketcall); | ||
41 | cond_syscall(sys_futex); | ||
42 | cond_syscall(compat_sys_futex); | ||
43 | cond_syscall(sys_epoll_create); | ||
44 | cond_syscall(sys_epoll_ctl); | ||
45 | cond_syscall(sys_epoll_wait); | ||
46 | cond_syscall(sys_semget); | ||
47 | cond_syscall(sys_semop); | ||
48 | cond_syscall(sys_semtimedop); | ||
49 | cond_syscall(sys_semctl); | ||
50 | cond_syscall(sys_msgget); | ||
51 | cond_syscall(sys_msgsnd); | ||
52 | cond_syscall(sys_msgrcv); | ||
53 | cond_syscall(sys_msgctl); | ||
54 | cond_syscall(sys_shmget); | ||
55 | cond_syscall(sys_shmdt); | ||
56 | cond_syscall(sys_shmctl); | ||
57 | cond_syscall(sys_mq_open); | ||
58 | cond_syscall(sys_mq_unlink); | ||
59 | cond_syscall(sys_mq_timedsend); | ||
60 | cond_syscall(sys_mq_timedreceive); | ||
61 | cond_syscall(sys_mq_notify); | ||
62 | cond_syscall(sys_mq_getsetattr); | ||
63 | cond_syscall(compat_sys_mq_open); | ||
64 | cond_syscall(compat_sys_mq_timedsend); | ||
65 | cond_syscall(compat_sys_mq_timedreceive); | ||
66 | cond_syscall(compat_sys_mq_notify); | ||
67 | cond_syscall(compat_sys_mq_getsetattr); | ||
68 | cond_syscall(sys_mbind); | ||
69 | cond_syscall(sys_get_mempolicy); | ||
70 | cond_syscall(sys_set_mempolicy); | ||
71 | cond_syscall(compat_sys_mbind); | ||
72 | cond_syscall(compat_sys_get_mempolicy); | ||
73 | cond_syscall(compat_sys_set_mempolicy); | ||
74 | cond_syscall(sys_add_key); | ||
75 | cond_syscall(sys_request_key); | ||
76 | cond_syscall(sys_keyctl); | ||
77 | cond_syscall(compat_sys_keyctl); | ||
78 | cond_syscall(compat_sys_socketcall); | ||
79 | |||
80 | /* arch-specific weak syscall entries */ | ||
81 | cond_syscall(sys_pciconfig_read); | ||
82 | cond_syscall(sys_pciconfig_write); | ||
83 | cond_syscall(sys_pciconfig_iobase); | ||
84 | cond_syscall(sys32_ipc); | ||
85 | cond_syscall(sys32_sysctl); | ||
86 | cond_syscall(ppc_rtas); | ||