aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sys_ni.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sys_ni.c')
-rw-r--r--kernel/sys_ni.c86
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 */
10asmlinkage long sys_ni_syscall(void)
11{
12 return -ENOSYS;
13}
14
15cond_syscall(sys_nfsservctl);
16cond_syscall(sys_quotactl);
17cond_syscall(sys_acct);
18cond_syscall(sys_lookup_dcookie);
19cond_syscall(sys_swapon);
20cond_syscall(sys_swapoff);
21cond_syscall(sys_init_module);
22cond_syscall(sys_delete_module);
23cond_syscall(sys_socketpair);
24cond_syscall(sys_bind);
25cond_syscall(sys_listen);
26cond_syscall(sys_accept);
27cond_syscall(sys_connect);
28cond_syscall(sys_getsockname);
29cond_syscall(sys_getpeername);
30cond_syscall(sys_sendto);
31cond_syscall(sys_send);
32cond_syscall(sys_recvfrom);
33cond_syscall(sys_recv);
34cond_syscall(sys_socket);
35cond_syscall(sys_setsockopt);
36cond_syscall(sys_getsockopt);
37cond_syscall(sys_shutdown);
38cond_syscall(sys_sendmsg);
39cond_syscall(sys_recvmsg);
40cond_syscall(sys_socketcall);
41cond_syscall(sys_futex);
42cond_syscall(compat_sys_futex);
43cond_syscall(sys_epoll_create);
44cond_syscall(sys_epoll_ctl);
45cond_syscall(sys_epoll_wait);
46cond_syscall(sys_semget);
47cond_syscall(sys_semop);
48cond_syscall(sys_semtimedop);
49cond_syscall(sys_semctl);
50cond_syscall(sys_msgget);
51cond_syscall(sys_msgsnd);
52cond_syscall(sys_msgrcv);
53cond_syscall(sys_msgctl);
54cond_syscall(sys_shmget);
55cond_syscall(sys_shmdt);
56cond_syscall(sys_shmctl);
57cond_syscall(sys_mq_open);
58cond_syscall(sys_mq_unlink);
59cond_syscall(sys_mq_timedsend);
60cond_syscall(sys_mq_timedreceive);
61cond_syscall(sys_mq_notify);
62cond_syscall(sys_mq_getsetattr);
63cond_syscall(compat_sys_mq_open);
64cond_syscall(compat_sys_mq_timedsend);
65cond_syscall(compat_sys_mq_timedreceive);
66cond_syscall(compat_sys_mq_notify);
67cond_syscall(compat_sys_mq_getsetattr);
68cond_syscall(sys_mbind);
69cond_syscall(sys_get_mempolicy);
70cond_syscall(sys_set_mempolicy);
71cond_syscall(compat_sys_mbind);
72cond_syscall(compat_sys_get_mempolicy);
73cond_syscall(compat_sys_set_mempolicy);
74cond_syscall(sys_add_key);
75cond_syscall(sys_request_key);
76cond_syscall(sys_keyctl);
77cond_syscall(compat_sys_keyctl);
78cond_syscall(compat_sys_socketcall);
79
80/* arch-specific weak syscall entries */
81cond_syscall(sys_pciconfig_read);
82cond_syscall(sys_pciconfig_write);
83cond_syscall(sys_pciconfig_iobase);
84cond_syscall(sys32_ipc);
85cond_syscall(sys32_sysctl);
86cond_syscall(ppc_rtas);