2 #include <linux/linkage.h>
3 #include <linux/errno.h>
5 #include <asm/unistd.h>
8 * Non-implemented system calls get redirected here.
10 asmlinkage long sys_ni_syscall(void)
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_kexec_load);
22 cond_syscall(compat_sys_kexec_load);
23 cond_syscall(sys_init_module);
24 cond_syscall(sys_delete_module);
25 cond_syscall(sys_socketpair);
26 cond_syscall(sys_bind);
27 cond_syscall(sys_listen);
28 cond_syscall(sys_accept);
29 cond_syscall(sys_connect);
30 cond_syscall(sys_getsockname);
31 cond_syscall(sys_getpeername);
32 cond_syscall(sys_sendto);
33 cond_syscall(sys_send);
34 cond_syscall(sys_recvfrom);
35 cond_syscall(sys_recv);
36 cond_syscall(sys_socket);
37 cond_syscall(sys_setsockopt);
38 cond_syscall(sys_getsockopt);
39 cond_syscall(sys_shutdown);
40 cond_syscall(sys_sendmsg);
41 cond_syscall(sys_recvmsg);
42 cond_syscall(sys_socketcall);
43 cond_syscall(sys_futex);
44 cond_syscall(compat_sys_futex);
45 cond_syscall(sys_epoll_create);
46 cond_syscall(sys_epoll_ctl);
47 cond_syscall(sys_epoll_wait);
48 cond_syscall(sys_semget);
49 cond_syscall(sys_semop);
50 cond_syscall(sys_semtimedop);
51 cond_syscall(sys_semctl);
52 cond_syscall(sys_msgget);
53 cond_syscall(sys_msgsnd);
54 cond_syscall(sys_msgrcv);
55 cond_syscall(sys_msgctl);
56 cond_syscall(sys_shmget);
57 cond_syscall(sys_shmat);
58 cond_syscall(sys_shmdt);
59 cond_syscall(sys_shmctl);
60 cond_syscall(sys_mq_open);
61 cond_syscall(sys_mq_unlink);
62 cond_syscall(sys_mq_timedsend);
63 cond_syscall(sys_mq_timedreceive);
64 cond_syscall(sys_mq_notify);
65 cond_syscall(sys_mq_getsetattr);
66 cond_syscall(compat_sys_mq_open);
67 cond_syscall(compat_sys_mq_timedsend);
68 cond_syscall(compat_sys_mq_timedreceive);
69 cond_syscall(compat_sys_mq_notify);
70 cond_syscall(compat_sys_mq_getsetattr);
71 cond_syscall(sys_mbind);
72 cond_syscall(sys_get_mempolicy);
73 cond_syscall(sys_set_mempolicy);
74 cond_syscall(compat_sys_mbind);
75 cond_syscall(compat_sys_get_mempolicy);
76 cond_syscall(compat_sys_set_mempolicy);
77 cond_syscall(sys_add_key);
78 cond_syscall(sys_request_key);
79 cond_syscall(sys_keyctl);
80 cond_syscall(compat_sys_keyctl);
81 cond_syscall(compat_sys_socketcall);
82 cond_syscall(sys_inotify_init);
83 cond_syscall(sys_inotify_add_watch);
84 cond_syscall(sys_inotify_rm_watch);
86 /* arch-specific weak syscall entries */
87 cond_syscall(sys_pciconfig_read);
88 cond_syscall(sys_pciconfig_write);
89 cond_syscall(sys_pciconfig_iobase);
90 cond_syscall(sys32_ipc);
91 cond_syscall(sys32_sysctl);
92 cond_syscall(ppc_rtas);