Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
sys_ni.c
Go to the documentation of this file.
1 
2 #include <linux/linkage.h>
3 #include <linux/errno.h>
4 
5 #include <asm/unistd.h>
6 
7 /* we can't #include <linux/syscalls.h> here,
8  but tell gcc to not warn with -Wmissing-prototypes */
9 asmlinkage long sys_ni_syscall(void);
10 
11 /*
12  * Non-implemented system calls get redirected here.
13  */
15 {
16  return -ENOSYS;
17 }
18 
26 cond_syscall(compat_sys_kexec_load);
69 cond_syscall(compat_sys_epoll_pwait);
103 cond_syscall(compat_sys_mbind);
104 cond_syscall(compat_sys_get_mempolicy);
105 cond_syscall(compat_sys_set_mempolicy);
117 cond_syscall(sys_chown16);
118 cond_syscall(sys_fchown16);
119 cond_syscall(sys_getegid16);
120 cond_syscall(sys_geteuid16);
121 cond_syscall(sys_getgid16);
122 cond_syscall(sys_getgroups16);
123 cond_syscall(sys_getresgid16);
124 cond_syscall(sys_getresuid16);
125 cond_syscall(sys_getuid16);
126 cond_syscall(sys_lchown16);
127 cond_syscall(sys_setfsgid16);
128 cond_syscall(sys_setfsuid16);
129 cond_syscall(sys_setgid16);
130 cond_syscall(sys_setgroups16);
131 cond_syscall(sys_setregid16);
132 cond_syscall(sys_setresgid16);
133 cond_syscall(sys_setresuid16);
134 cond_syscall(sys_setreuid16);
135 cond_syscall(sys_setuid16);
139 cond_syscall(compat_sys_ipc);
140 cond_syscall(compat_sys_sysctl);
150 cond_syscall(compat_sys_process_vm_readv);
151 cond_syscall(compat_sys_process_vm_writev);
152 
153 /* arch-specific weak syscall entries */
162 
163 /* mmu depending weak syscall entries */
170 cond_syscall(sys_mincore);
171 cond_syscall(sys_madvise);
174 cond_syscall(compat_sys_move_pages);
175 cond_syscall(compat_sys_migrate_pages);
176 
177 /* block-layer dependent */
181 
182 /* New file descriptors */
185 cond_syscall(compat_sys_signalfd);
186 cond_syscall(compat_sys_signalfd4);
190 cond_syscall(compat_sys_timerfd_settime);
191 cond_syscall(compat_sys_timerfd_gettime);
194 
195 /* performance counters: */
197 
198 /* fanotify! */
201 
202 /* open by handle */
205 cond_syscall(compat_sys_open_by_handle_at);
206 
207 /* compare kernel pointers */