blob: 7a8bc7f60d914e8a2e3bb5581e3667048a85d33e [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001
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);
Eric W. Biedermandc009d92005-06-25 14:57:52 -070021cond_syscall(sys_kexec_load);
22cond_syscall(compat_sys_kexec_load);
Linus Torvalds1da177e2005-04-16 15:20:36 -070023cond_syscall(sys_init_module);
24cond_syscall(sys_delete_module);
25cond_syscall(sys_socketpair);
26cond_syscall(sys_bind);
27cond_syscall(sys_listen);
28cond_syscall(sys_accept);
29cond_syscall(sys_connect);
30cond_syscall(sys_getsockname);
31cond_syscall(sys_getpeername);
32cond_syscall(sys_sendto);
33cond_syscall(sys_send);
34cond_syscall(sys_recvfrom);
35cond_syscall(sys_recv);
36cond_syscall(sys_socket);
37cond_syscall(sys_setsockopt);
38cond_syscall(sys_getsockopt);
39cond_syscall(sys_shutdown);
40cond_syscall(sys_sendmsg);
41cond_syscall(sys_recvmsg);
42cond_syscall(sys_socketcall);
43cond_syscall(sys_futex);
44cond_syscall(compat_sys_futex);
45cond_syscall(sys_epoll_create);
46cond_syscall(sys_epoll_ctl);
47cond_syscall(sys_epoll_wait);
48cond_syscall(sys_semget);
49cond_syscall(sys_semop);
50cond_syscall(sys_semtimedop);
51cond_syscall(sys_semctl);
52cond_syscall(sys_msgget);
53cond_syscall(sys_msgsnd);
54cond_syscall(sys_msgrcv);
55cond_syscall(sys_msgctl);
56cond_syscall(sys_shmget);
Stephen Rothwell7d87e14c2005-05-01 08:59:12 -070057cond_syscall(sys_shmat);
Linus Torvalds1da177e2005-04-16 15:20:36 -070058cond_syscall(sys_shmdt);
59cond_syscall(sys_shmctl);
60cond_syscall(sys_mq_open);
61cond_syscall(sys_mq_unlink);
62cond_syscall(sys_mq_timedsend);
63cond_syscall(sys_mq_timedreceive);
64cond_syscall(sys_mq_notify);
65cond_syscall(sys_mq_getsetattr);
66cond_syscall(compat_sys_mq_open);
67cond_syscall(compat_sys_mq_timedsend);
68cond_syscall(compat_sys_mq_timedreceive);
69cond_syscall(compat_sys_mq_notify);
70cond_syscall(compat_sys_mq_getsetattr);
71cond_syscall(sys_mbind);
72cond_syscall(sys_get_mempolicy);
73cond_syscall(sys_set_mempolicy);
74cond_syscall(compat_sys_mbind);
75cond_syscall(compat_sys_get_mempolicy);
76cond_syscall(compat_sys_set_mempolicy);
77cond_syscall(sys_add_key);
78cond_syscall(sys_request_key);
79cond_syscall(sys_keyctl);
80cond_syscall(compat_sys_keyctl);
81cond_syscall(compat_sys_socketcall);
Robert Love0eeca282005-07-12 17:06:03 -040082cond_syscall(sys_inotify_init);
83cond_syscall(sys_inotify_add_watch);
84cond_syscall(sys_inotify_rm_watch);
Christoph Lameter39743882006-01-08 01:00:51 -080085cond_syscall(sys_migrate_pages);
Linus Torvalds1da177e2005-04-16 15:20:36 -070086
87/* arch-specific weak syscall entries */
88cond_syscall(sys_pciconfig_read);
89cond_syscall(sys_pciconfig_write);
90cond_syscall(sys_pciconfig_iobase);
91cond_syscall(sys32_ipc);
92cond_syscall(sys32_sysctl);
93cond_syscall(ppc_rtas);