GFS2: fix d_splice_alias() misuses
[deliverable/linux.git] / kernel / sys_ni.c
CommitLineData
1da177e4
LT
1
2#include <linux/linkage.h>
3#include <linux/errno.h>
4
5#include <asm/unistd.h>
6
0732a552
AB
7/* we can't #include <linux/syscalls.h> here,
8 but tell gcc to not warn with -Wmissing-prototypes */
9asmlinkage long sys_ni_syscall(void);
10
1da177e4
LT
11/*
12 * Non-implemented system calls get redirected here.
13 */
14asmlinkage long sys_ni_syscall(void)
15{
16 return -ENOSYS;
17}
18
1da177e4 19cond_syscall(sys_quotactl);
b716395e 20cond_syscall(sys32_quotactl);
1da177e4
LT
21cond_syscall(sys_acct);
22cond_syscall(sys_lookup_dcookie);
d5dc77bf 23cond_syscall(compat_sys_lookup_dcookie);
1da177e4
LT
24cond_syscall(sys_swapon);
25cond_syscall(sys_swapoff);
dc009d92
EB
26cond_syscall(sys_kexec_load);
27cond_syscall(compat_sys_kexec_load);
f0895685 28cond_syscall(sys_kexec_file_load);
1da177e4 29cond_syscall(sys_init_module);
34e1169d 30cond_syscall(sys_finit_module);
1da177e4
LT
31cond_syscall(sys_delete_module);
32cond_syscall(sys_socketpair);
33cond_syscall(sys_bind);
34cond_syscall(sys_listen);
35cond_syscall(sys_accept);
de11defe 36cond_syscall(sys_accept4);
1da177e4
LT
37cond_syscall(sys_connect);
38cond_syscall(sys_getsockname);
39cond_syscall(sys_getpeername);
40cond_syscall(sys_sendto);
41cond_syscall(sys_send);
42cond_syscall(sys_recvfrom);
43cond_syscall(sys_recv);
44cond_syscall(sys_socket);
45cond_syscall(sys_setsockopt);
f3baa482 46cond_syscall(compat_sys_setsockopt);
1da177e4 47cond_syscall(sys_getsockopt);
f3baa482 48cond_syscall(compat_sys_getsockopt);
1da177e4
LT
49cond_syscall(sys_shutdown);
50cond_syscall(sys_sendmsg);
228e548e 51cond_syscall(sys_sendmmsg);
f3baa482 52cond_syscall(compat_sys_sendmsg);
228e548e 53cond_syscall(compat_sys_sendmmsg);
1da177e4 54cond_syscall(sys_recvmsg);
a2e27255 55cond_syscall(sys_recvmmsg);
f3baa482 56cond_syscall(compat_sys_recvmsg);
1ef21199 57cond_syscall(compat_sys_recv);
dedcf297 58cond_syscall(compat_sys_recvfrom);
a2e27255 59cond_syscall(compat_sys_recvmmsg);
1da177e4
LT
60cond_syscall(sys_socketcall);
61cond_syscall(sys_futex);
62cond_syscall(compat_sys_futex);
0771dfef
IM
63cond_syscall(sys_set_robust_list);
64cond_syscall(compat_sys_set_robust_list);
65cond_syscall(sys_get_robust_list);
66cond_syscall(compat_sys_get_robust_list);
1da177e4 67cond_syscall(sys_epoll_create);
5df439ef 68cond_syscall(sys_epoll_create1);
1da177e4
LT
69cond_syscall(sys_epoll_ctl);
70cond_syscall(sys_epoll_wait);
39af1143 71cond_syscall(sys_epoll_pwait);
5f17156f 72cond_syscall(compat_sys_epoll_pwait);
1da177e4
LT
73cond_syscall(sys_semget);
74cond_syscall(sys_semop);
75cond_syscall(sys_semtimedop);
be84bfcc 76cond_syscall(compat_sys_semtimedop);
1da177e4 77cond_syscall(sys_semctl);
be84bfcc 78cond_syscall(compat_sys_semctl);
1da177e4
LT
79cond_syscall(sys_msgget);
80cond_syscall(sys_msgsnd);
be84bfcc 81cond_syscall(compat_sys_msgsnd);
1da177e4 82cond_syscall(sys_msgrcv);
be84bfcc 83cond_syscall(compat_sys_msgrcv);
1da177e4 84cond_syscall(sys_msgctl);
be84bfcc 85cond_syscall(compat_sys_msgctl);
1da177e4 86cond_syscall(sys_shmget);
7d87e14c 87cond_syscall(sys_shmat);
be84bfcc 88cond_syscall(compat_sys_shmat);
1da177e4
LT
89cond_syscall(sys_shmdt);
90cond_syscall(sys_shmctl);
be84bfcc 91cond_syscall(compat_sys_shmctl);
1da177e4
LT
92cond_syscall(sys_mq_open);
93cond_syscall(sys_mq_unlink);
94cond_syscall(sys_mq_timedsend);
95cond_syscall(sys_mq_timedreceive);
96cond_syscall(sys_mq_notify);
97cond_syscall(sys_mq_getsetattr);
98cond_syscall(compat_sys_mq_open);
99cond_syscall(compat_sys_mq_timedsend);
100cond_syscall(compat_sys_mq_timedreceive);
101cond_syscall(compat_sys_mq_notify);
102cond_syscall(compat_sys_mq_getsetattr);
103cond_syscall(sys_mbind);
104cond_syscall(sys_get_mempolicy);
105cond_syscall(sys_set_mempolicy);
106cond_syscall(compat_sys_mbind);
107cond_syscall(compat_sys_get_mempolicy);
108cond_syscall(compat_sys_set_mempolicy);
109cond_syscall(sys_add_key);
110cond_syscall(sys_request_key);
111cond_syscall(sys_keyctl);
112cond_syscall(compat_sys_keyctl);
113cond_syscall(compat_sys_socketcall);
0eeca283 114cond_syscall(sys_inotify_init);
4006553b 115cond_syscall(sys_inotify_init1);
0eeca283
RL
116cond_syscall(sys_inotify_add_watch);
117cond_syscall(sys_inotify_rm_watch);
39743889 118cond_syscall(sys_migrate_pages);
742755a1 119cond_syscall(sys_move_pages);
e585e470
MM
120cond_syscall(sys_chown16);
121cond_syscall(sys_fchown16);
122cond_syscall(sys_getegid16);
123cond_syscall(sys_geteuid16);
124cond_syscall(sys_getgid16);
125cond_syscall(sys_getgroups16);
126cond_syscall(sys_getresgid16);
127cond_syscall(sys_getresuid16);
128cond_syscall(sys_getuid16);
129cond_syscall(sys_lchown16);
130cond_syscall(sys_setfsgid16);
131cond_syscall(sys_setfsuid16);
132cond_syscall(sys_setgid16);
133cond_syscall(sys_setgroups16);
134cond_syscall(sys_setregid16);
135cond_syscall(sys_setresgid16);
136cond_syscall(sys_setresuid16);
137cond_syscall(sys_setreuid16);
138cond_syscall(sys_setuid16);
f6187769
FF
139cond_syscall(sys_sgetmask);
140cond_syscall(sys_ssetmask);
64ca9004
MM
141cond_syscall(sys_vm86old);
142cond_syscall(sys_vm86);
baed7fc9 143cond_syscall(sys_ipc);
7fd105e7
SR
144cond_syscall(compat_sys_ipc);
145cond_syscall(compat_sys_sysctl);
bfcd17a6 146cond_syscall(sys_flock);
ebf3f09c
TP
147cond_syscall(sys_io_setup);
148cond_syscall(sys_io_destroy);
149cond_syscall(sys_io_submit);
150cond_syscall(sys_io_cancel);
151cond_syscall(sys_io_getevents);
6af9f7bf 152cond_syscall(sys_sysfs);
f627a741 153cond_syscall(sys_syslog);
fcf63409
CY
154cond_syscall(sys_process_vm_readv);
155cond_syscall(sys_process_vm_writev);
156cond_syscall(compat_sys_process_vm_readv);
157cond_syscall(compat_sys_process_vm_writev);
69369a70 158cond_syscall(sys_uselib);
1da177e4
LT
159
160/* arch-specific weak syscall entries */
161cond_syscall(sys_pciconfig_read);
162cond_syscall(sys_pciconfig_write);
163cond_syscall(sys_pciconfig_iobase);
56e41d3c 164cond_syscall(compat_sys_s390_ipc);
1da177e4 165cond_syscall(ppc_rtas);
67207b96
AB
166cond_syscall(sys_spu_run);
167cond_syscall(sys_spu_create);
fa28237c 168cond_syscall(sys_subpage_prot);
3016b421
HC
169
170/* mmu depending weak syscall entries */
171cond_syscall(sys_mprotect);
172cond_syscall(sys_msync);
173cond_syscall(sys_mlock);
174cond_syscall(sys_munlock);
175cond_syscall(sys_mlockall);
176cond_syscall(sys_munlockall);
177cond_syscall(sys_mincore);
178cond_syscall(sys_madvise);
179cond_syscall(sys_mremap);
180cond_syscall(sys_remap_file_pages);
1b2db9fb 181cond_syscall(compat_sys_move_pages);
3fd59397 182cond_syscall(compat_sys_migrate_pages);
9361401e
DH
183
184/* block-layer dependent */
185cond_syscall(sys_bdflush);
186cond_syscall(sys_ioprio_set);
187cond_syscall(sys_ioprio_get);
fba2afaa
DL
188
189/* New file descriptors */
190cond_syscall(sys_signalfd);
9deb27ba 191cond_syscall(sys_signalfd4);
8df767dd 192cond_syscall(compat_sys_signalfd);
9b813616 193cond_syscall(compat_sys_signalfd4);
4d672e7a
DL
194cond_syscall(sys_timerfd_create);
195cond_syscall(sys_timerfd_settime);
196cond_syscall(sys_timerfd_gettime);
197cond_syscall(compat_sys_timerfd_settime);
198cond_syscall(compat_sys_timerfd_gettime);
e1ad7468 199cond_syscall(sys_eventfd);
b087498e 200cond_syscall(sys_eventfd2);
9183df25 201cond_syscall(sys_memfd_create);
0793a61d
TG
202
203/* performance counters: */
cdd6c482 204cond_syscall(sys_perf_event_open);
11637e4b
EP
205
206/* fanotify! */
207cond_syscall(sys_fanotify_init);
bbaa4168 208cond_syscall(sys_fanotify_mark);
91c2e0bc 209cond_syscall(compat_sys_fanotify_mark);
990d6c2d
AK
210
211/* open by handle */
212cond_syscall(sys_name_to_handle_at);
becfd1f3
AK
213cond_syscall(sys_open_by_handle_at);
214cond_syscall(compat_sys_open_by_handle_at);
d97b46a6
CG
215
216/* compare kernel pointers */
217cond_syscall(sys_kcmp);
48dc92b9
KC
218
219/* operate on Secure Computing state */
220cond_syscall(sys_seccomp);
This page took 0.723508 seconds and 5 git commands to generate.