5 #include "syscalls/syscalls.h"
11 /* arch/sh/kernel/syscalls_64.S */
12 struct syscalltable syscalls_sh
[] = {
13 { .entry
= &syscall_restart_syscall
}, /* 0 - old "setup()" system call */
14 { .entry
= &syscall_exit
},
15 { .entry
= &syscall_fork
},
16 { .entry
= &syscall_read
},
17 { .entry
= &syscall_write
},
18 { .entry
= &syscall_open
}, /* 5 */
19 { .entry
= &syscall_close
},
20 { .entry
= &syscall_waitpid
},
21 { .entry
= &syscall_creat
},
22 { .entry
= &syscall_link
},
23 { .entry
= &syscall_unlink
}, /* 10 */
24 { .entry
= &syscall_execve
},
25 { .entry
= &syscall_chdir
},
26 { .entry
= &syscall_time
},
27 { .entry
= &syscall_mknod
},
28 { .entry
= &syscall_chmod
}, /* 15 */
29 { .entry
= &syscall_lchown16
},
30 { .entry
= &syscall_ni_syscall
}, /* old break syscall holder */
31 { .entry
= &syscall_stat
},
32 { .entry
= &syscall_lseek
},
33 { .entry
= &syscall_getpid
}, /* 20 */
34 { .entry
= &syscall_mount
},
35 { .entry
= &syscall_ni_syscall
}, /*{ .entry = &syscall_oldumount },*/
36 { .entry
= &syscall_setuid16
},
37 { .entry
= &syscall_getuid16
},
38 { .entry
= &syscall_stime
}, /* 25 */
39 { .entry
= &syscall_ptrace
},
40 { .entry
= &syscall_alarm
},
41 { .entry
= &syscall_ni_syscall
}, /*{ .entry = &syscall_fstat },*/
42 { .entry
= &syscall_pause
},
43 { .entry
= &syscall_utime
}, /* 30 */
44 { .entry
= &syscall_ni_syscall
}, /* old stty syscall holder */
45 { .entry
= &syscall_ni_syscall
}, /* old gtty syscall holder */
46 { .entry
= &syscall_access
},
47 { .entry
= &syscall_nice
},
48 { .entry
= &syscall_ni_syscall
}, /* 35 */ /* old ftime syscall holder */
49 { .entry
= &syscall_sync
},
50 { .entry
= &syscall_kill
},
51 { .entry
= &syscall_rename
},
52 { .entry
= &syscall_mkdir
},
53 { .entry
= &syscall_rmdir
}, /* 40 */
54 { .entry
= &syscall_dup
},
55 { .entry
= &syscall_pipe
},
56 { .entry
= &syscall_times
},
57 { .entry
= &syscall_ni_syscall
}, /* old prof syscall holder */
58 { .entry
= &syscall_brk
}, /* 45 */
59 { .entry
= &syscall_setgid16
},
60 { .entry
= &syscall_getgid16
},
61 { .entry
= &syscall_signal
},
62 { .entry
= &syscall_geteuid16
},
63 { .entry
= &syscall_getegid16
}, /* 50 */
64 { .entry
= &syscall_acct
},
65 { .entry
= &syscall_umount
}, /* recycled never used phys( */
66 { .entry
= &syscall_ni_syscall
}, /* old lock syscall holder */
67 { .entry
= &syscall_ioctl
},
68 { .entry
= &syscall_fcntl
}, /* 55 */
69 { .entry
= &syscall_ni_syscall
}, /* old mpx syscall holder */
70 { .entry
= &syscall_setpgid
},
71 { .entry
= &syscall_ni_syscall
}, /* old ulimit syscall holder */
72 { .entry
= &syscall_ni_syscall
}, /* sys_olduname */
73 { .entry
= &syscall_umask
}, /* 60 */
74 { .entry
= &syscall_chroot
},
75 { .entry
= &syscall_ustat
},
76 { .entry
= &syscall_dup2
},
77 { .entry
= &syscall_getppid
},
78 { .entry
= &syscall_getpgrp
}, /* 65 */
79 { .entry
= &syscall_setsid
},
80 { .entry
= &syscall_sigaction
},
81 { .entry
= &syscall_sgetmask
},
82 { .entry
= &syscall_ssetmask
},
83 { .entry
= &syscall_setreuid16
}, /* 70 */
84 { .entry
= &syscall_setregid16
},
85 { .entry
= &syscall_sigsuspend
},
86 { .entry
= &syscall_sigpending
},
87 { .entry
= &syscall_sethostname
},
88 { .entry
= &syscall_setrlimit
}, /* 75 */
89 { .entry
= &syscall_getrlimit
}, /* old_getrlimit */
90 { .entry
= &syscall_getrusage
},
91 { .entry
= &syscall_gettimeofday
},
92 { .entry
= &syscall_settimeofday
},
93 { .entry
= &syscall_getgroups16
}, /* 80 */
94 { .entry
= &syscall_setgroups16
},
95 { .entry
= &syscall_ni_syscall
}, /* sys_oldselect */
96 { .entry
= &syscall_symlink
},
97 { .entry
= &syscall_lstat
},
98 { .entry
= &syscall_readlink
}, /* 85 */
99 { .entry
= &syscall_uselib
},
100 { .entry
= &syscall_swapon
},
101 { .entry
= &syscall_reboot
},
102 { .entry
= &syscall_ni_syscall
}, /*{ .entry = &syscall_old_readdir },*/
103 { .entry
= &syscall_ni_syscall
}, /*{ .entry = &syscall_old_mmap },*/ /* 90 */
104 { .entry
= &syscall_munmap
},
105 { .entry
= &syscall_truncate
},
106 { .entry
= &syscall_ftruncate
},
107 { .entry
= &syscall_fchmod
},
108 { .entry
= &syscall_fchown16
}, /* 95 */
109 { .entry
= &syscall_getpriority
},
110 { .entry
= &syscall_setpriority
},
111 { .entry
= &syscall_ni_syscall
}, /* old profil syscall holder */
112 { .entry
= &syscall_statfs
},
113 { .entry
= &syscall_fstatfs
}, /* 100 */
114 { .entry
= &syscall_ni_syscall
}, /* ioperm */
115 { .entry
= &syscall_socketcall
}, /* Obsolete implementation of socket syscall */
116 { .entry
= &syscall_syslog
},
117 { .entry
= &syscall_setitimer
},
118 { .entry
= &syscall_getitimer
}, /* 105 */
119 { .entry
= &syscall_newstat
},
120 { .entry
= &syscall_newlstat
},
121 { .entry
= &syscall_newfstat
},
122 { .entry
= &syscall_uname
},
123 { .entry
= &syscall_ni_syscall
}, /* 110 */ /* iopl */
124 { .entry
= &syscall_vhangup
},
125 { .entry
= &syscall_ni_syscall
}, /* idle */
126 { .entry
= &syscall_ni_syscall
}, /* vm86old */
127 { .entry
= &syscall_wait4
},
128 { .entry
= &syscall_swapoff
}, /* 115 */
129 { .entry
= &syscall_sysinfo
},
130 { .entry
= &syscall_ipc
}, /* Obsolete ipc syscall implementation */
131 { .entry
= &syscall_fsync
},
132 { .entry
= &syscall_sigreturn
},
133 { .entry
= &syscall_clone
}, /* 120 */
134 { .entry
= &syscall_setdomainname
},
135 { .entry
= &syscall_newuname
},
136 { .entry
= &syscall_sh_cacheflush
}, /* x86: sys_modify_ldt */
137 { .entry
= &syscall_adjtimex
},
138 { .entry
= &syscall_mprotect
}, /* 125 */
139 { .entry
= &syscall_sigprocmask
},
140 { .entry
= &syscall_ni_syscall
}, /* old "create_module" */
141 { .entry
= &syscall_init_module
},
142 { .entry
= &syscall_delete_module
},
143 { .entry
= &syscall_ni_syscall
}, /* 130: old "get_kernel_syms" */
144 { .entry
= &syscall_quotactl
},
145 { .entry
= &syscall_getpgid
},
146 { .entry
= &syscall_fchdir
},
147 { .entry
= &syscall_bdflush
},
148 { .entry
= &syscall_sysfs
}, /* 135 */
149 { .entry
= &syscall_personality
},
150 { .entry
= &syscall_ni_syscall
}, /* for afs_syscall */
151 { .entry
= &syscall_setfsuid16
},
152 { .entry
= &syscall_setfsgid16
},
153 { .entry
= &syscall_llseek
}, /* 140 */
154 { .entry
= &syscall_getdents
},
155 { .entry
= &syscall_select
},
156 { .entry
= &syscall_flock
},
157 { .entry
= &syscall_msync
},
158 { .entry
= &syscall_readv
}, /* 145 */
159 { .entry
= &syscall_writev
},
160 { .entry
= &syscall_getsid
},
161 { .entry
= &syscall_fdatasync
},
162 { .entry
= &syscall_sysctl
},
163 { .entry
= &syscall_mlock
}, /* 150 */
164 { .entry
= &syscall_munlock
},
165 { .entry
= &syscall_mlockall
},
166 { .entry
= &syscall_munlockall
},
167 { .entry
= &syscall_sched_setparam
},
168 { .entry
= &syscall_sched_getparam
}, /* 155 */
169 { .entry
= &syscall_sched_setscheduler
},
170 { .entry
= &syscall_sched_getscheduler
},
171 { .entry
= &syscall_sched_yield
},
172 { .entry
= &syscall_sched_get_priority_max
},
173 { .entry
= &syscall_sched_get_priority_min
}, /* 160 */
174 { .entry
= &syscall_sched_rr_get_interval
},
175 { .entry
= &syscall_nanosleep
},
176 { .entry
= &syscall_mremap
},
177 { .entry
= &syscall_setresuid16
},
178 { .entry
= &syscall_getresuid16
}, /* 165 */
179 { .entry
= &syscall_ni_syscall
}, /* vm86 */
180 { .entry
= &syscall_ni_syscall
}, /* old "query_module" */
181 { .entry
= &syscall_poll
},
182 { .entry
= &syscall_ni_syscall
}, /* was nfsservctl */
183 { .entry
= &syscall_setresgid16
}, /* 170 */
184 { .entry
= &syscall_getresgid16
},
185 { .entry
= &syscall_prctl
},
186 { .entry
= &syscall_rt_sigreturn
},
187 { .entry
= &syscall_rt_sigaction
},
188 { .entry
= &syscall_rt_sigprocmask
}, /* 175 */
189 { .entry
= &syscall_rt_sigpending
},
190 { .entry
= &syscall_rt_sigtimedwait
},
191 { .entry
= &syscall_rt_sigqueueinfo
},
192 { .entry
= &syscall_rt_sigsuspend
},
193 { .entry
= &syscall_pread64
}, /* 180 */
194 { .entry
= &syscall_pwrite64
},
195 { .entry
= &syscall_chown16
},
196 { .entry
= &syscall_getcwd
},
197 { .entry
= &syscall_capget
},
198 { .entry
= &syscall_capset
}, /* 185 */
199 { .entry
= &syscall_sigaltstack
},
200 { .entry
= &syscall_sendfile
},
201 { .entry
= &syscall_ni_syscall
}, /* getpmsg */
202 { .entry
= &syscall_ni_syscall
}, /* putpmsg */
203 { .entry
= &syscall_vfork
}, /* 190 */
204 { .entry
= &syscall_getrlimit
},
205 { .entry
= &syscall_mmap2
},
206 { .entry
= &syscall_truncate64
},
207 { .entry
= &syscall_ftruncate64
},
208 { .entry
= &syscall_stat64
}, /* 195 */
209 { .entry
= &syscall_lstat64
},
210 { .entry
= &syscall_fstat64
},
211 { .entry
= &syscall_lchown
},
212 { .entry
= &syscall_getuid
},
213 { .entry
= &syscall_getgid
}, /* 200 */
214 { .entry
= &syscall_geteuid
},
215 { .entry
= &syscall_getegid
},
216 { .entry
= &syscall_setreuid
},
217 { .entry
= &syscall_setregid
},
218 { .entry
= &syscall_getgroups
}, /* 205 */
219 { .entry
= &syscall_setgroups
},
220 { .entry
= &syscall_fchown
},
221 { .entry
= &syscall_setresuid
},
222 { .entry
= &syscall_getresuid
},
223 { .entry
= &syscall_setresgid
}, /* 210 */
224 { .entry
= &syscall_getresgid
},
225 { .entry
= &syscall_chown
},
226 { .entry
= &syscall_setuid
},
227 { .entry
= &syscall_setgid
},
228 { .entry
= &syscall_setfsuid
}, /* 215 */
229 { .entry
= &syscall_setfsgid
},
230 { .entry
= &syscall_pivot_root
},
231 { .entry
= &syscall_mincore
},
232 { .entry
= &syscall_madvise
},
233 /* Broken-out socket family (maintain backwards compatibility in syscall
234 numbering with 2.4) */
235 { .entry
= &syscall_socket
}, /* 220 */
236 { .entry
= &syscall_bind
},
237 { .entry
= &syscall_connect
},
238 { .entry
= &syscall_listen
},
239 { .entry
= &syscall_accept
},
240 { .entry
= &syscall_getsockname
}, /* 225 */
241 { .entry
= &syscall_getpeername
},
242 { .entry
= &syscall_socketpair
},
243 { .entry
= &syscall_send
},
244 { .entry
= &syscall_sendto
},
245 { .entry
= &syscall_recv
}, /* 230*/
246 { .entry
= &syscall_recvfrom
},
247 { .entry
= &syscall_shutdown
},
248 { .entry
= &syscall_setsockopt
},
249 { .entry
= &syscall_getsockopt
},
250 { .entry
= &syscall_sendmsg
}, /* 235 */
251 { .entry
= &syscall_recvmsg
},
252 /* Broken-out IPC family (maintain backwards compatibility in syscall
253 numbering with 2.4) */
254 { .entry
= &syscall_semop
},
255 { .entry
= &syscall_semget
},
256 { .entry
= &syscall_semctl
},
257 { .entry
= &syscall_msgsnd
}, /* 240 */
258 { .entry
= &syscall_msgrcv
},
259 { .entry
= &syscall_msgget
},
260 { .entry
= &syscall_msgctl
},
261 { .entry
= &syscall_shmat
},
262 { .entry
= &syscall_shmdt
}, /* 245 */
263 { .entry
= &syscall_shmget
},
264 { .entry
= &syscall_shmctl
},
265 /* Rest of syscalls listed in 2.4 i386 unistd.h */
266 { .entry
= &syscall_getdents64
},
267 { .entry
= &syscall_fcntl
}, /* fcntl64 */
268 { .entry
= &syscall_ni_syscall
}, /* 250 reserved for TUX */
269 { .entry
= &syscall_ni_syscall
}, /* Reserved for Security */
270 { .entry
= &syscall_gettid
},
271 { .entry
= &syscall_readahead
},
272 { .entry
= &syscall_setxattr
},
273 { .entry
= &syscall_lsetxattr
}, /* 255 */
274 { .entry
= &syscall_fsetxattr
},
275 { .entry
= &syscall_getxattr
},
276 { .entry
= &syscall_lgetxattr
},
277 { .entry
= &syscall_fgetxattr
},
278 { .entry
= &syscall_listxattr
}, /* 260 */
279 { .entry
= &syscall_llistxattr
},
280 { .entry
= &syscall_flistxattr
},
281 { .entry
= &syscall_removexattr
},
282 { .entry
= &syscall_lremovexattr
},
283 { .entry
= &syscall_fremovexattr
}, /* 265 */
284 { .entry
= &syscall_tkill
},
285 { .entry
= &syscall_sendfile64
},
286 { .entry
= &syscall_futex
},
287 { .entry
= &syscall_sched_setaffinity
},
288 { .entry
= &syscall_sched_getaffinity
}, /* 270 */
289 { .entry
= &syscall_ni_syscall
}, /* reserved for set_thread_area */
290 { .entry
= &syscall_ni_syscall
}, /* reserved for get_thread_area */
291 { .entry
= &syscall_io_setup
},
292 { .entry
= &syscall_io_destroy
},
293 { .entry
= &syscall_io_getevents
}, /* 275 */
294 { .entry
= &syscall_io_submit
},
295 { .entry
= &syscall_io_cancel
},
296 { .entry
= &syscall_fadvise64
},
297 { .entry
= &syscall_ni_syscall
},
298 { .entry
= &syscall_exit_group
}, /* 280 */
299 /* Rest of new 2.6 syscalls */
300 { .entry
= &syscall_lookup_dcookie
},
301 { .entry
= &syscall_epoll_create
},
302 { .entry
= &syscall_epoll_ctl
},
303 { .entry
= &syscall_epoll_wait
},
304 { .entry
= &syscall_remap_file_pages
}, /* 285 */
305 { .entry
= &syscall_set_tid_address
},
306 { .entry
= &syscall_timer_create
},
307 { .entry
= &syscall_timer_settime
},
308 { .entry
= &syscall_timer_gettime
},
309 { .entry
= &syscall_timer_getoverrun
}, /* 290 */
310 { .entry
= &syscall_timer_delete
},
311 { .entry
= &syscall_clock_settime
},
312 { .entry
= &syscall_clock_gettime
},
313 { .entry
= &syscall_clock_getres
},
314 { .entry
= &syscall_clock_nanosleep
}, /* 295 */
315 { .entry
= &syscall_statfs64
},
316 { .entry
= &syscall_fstatfs64
},
317 { .entry
= &syscall_tgkill
},
318 { .entry
= &syscall_utimes
},
319 { .entry
= &syscall_fadvise64_64
}, /* 300 */
320 { .entry
= &syscall_ni_syscall
}, /* Reserved for vserver */
321 { .entry
= &syscall_ni_syscall
}, /* Reserved for mbind */
322 { .entry
= &syscall_ni_syscall
}, /* get_mempolicy */
323 { .entry
= &syscall_ni_syscall
}, /* set_mempolicy */
324 { .entry
= &syscall_mq_open
}, /* 305 */
325 { .entry
= &syscall_mq_unlink
},
326 { .entry
= &syscall_mq_timedsend
},
327 { .entry
= &syscall_mq_timedreceive
},
328 { .entry
= &syscall_mq_notify
},
329 { .entry
= &syscall_mq_getsetattr
}, /* 310 */
330 { .entry
= &syscall_ni_syscall
}, /* Reserved for kexec */
331 { .entry
= &syscall_waitid
},
332 { .entry
= &syscall_add_key
},
333 { .entry
= &syscall_request_key
},
334 { .entry
= &syscall_keyctl
}, /* 315 */
335 { .entry
= &syscall_ioprio_set
},
336 { .entry
= &syscall_ioprio_get
},
337 { .entry
= &syscall_inotify_init
},
338 { .entry
= &syscall_inotify_add_watch
},
339 { .entry
= &syscall_inotify_rm_watch
}, /* 320 */
340 { .entry
= &syscall_ni_syscall
},
341 { .entry
= &syscall_migrate_pages
},
342 { .entry
= &syscall_openat
},
343 { .entry
= &syscall_mkdirat
},
344 { .entry
= &syscall_mknodat
}, /* 325 */
345 { .entry
= &syscall_fchownat
},
346 { .entry
= &syscall_futimesat
},
347 { .entry
= &syscall_fstatat64
},
348 { .entry
= &syscall_unlinkat
},
349 { .entry
= &syscall_renameat
}, /* 330 */
350 { .entry
= &syscall_linkat
},
351 { .entry
= &syscall_symlinkat
},
352 { .entry
= &syscall_readlinkat
},
353 { .entry
= &syscall_fchmodat
},
354 { .entry
= &syscall_faccessat
}, /* 335 */
355 { .entry
= &syscall_pselect6
},
356 { .entry
= &syscall_ppoll
},
357 { .entry
= &syscall_unshare
},
358 { .entry
= &syscall_set_robust_list
},
359 { .entry
= &syscall_get_robust_list
}, /* 340 */
360 { .entry
= &syscall_splice
},
361 { .entry
= &syscall_sync_file_range
},
362 { .entry
= &syscall_tee
},
363 { .entry
= &syscall_vmsplice
},
364 { .entry
= &syscall_move_pages
}, /* 345 */
365 { .entry
= &syscall_getcpu
},
366 { .entry
= &syscall_epoll_pwait
},
367 { .entry
= &syscall_utimensat
},
368 { .entry
= &syscall_signalfd
},
369 { .entry
= &syscall_timerfd_create
}, /* 350 */
370 { .entry
= &syscall_eventfd
},
371 { .entry
= &syscall_fallocate
},
372 { .entry
= &syscall_timerfd_settime
},
373 { .entry
= &syscall_timerfd_gettime
},
374 { .entry
= &syscall_signalfd4
}, /* 355 */
375 { .entry
= &syscall_eventfd2
},
376 { .entry
= &syscall_epoll_create1
},
377 { .entry
= &syscall_dup3
},
378 { .entry
= &syscall_pipe2
},
379 { .entry
= &syscall_inotify_init1
}, /* 360 */
380 { .entry
= &syscall_preadv
},
381 { .entry
= &syscall_pwritev
},
382 { .entry
= &syscall_rt_tgsigqueueinfo
},
383 { .entry
= &syscall_perf_event_open
},
384 { .entry
= &syscall_recvmmsg
}, /* 365 */
385 { .entry
= &syscall_accept4
},
386 { .entry
= &syscall_fanotify_init
},
387 { .entry
= &syscall_fanotify_mark
},
388 { .entry
= &syscall_prlimit64
},
389 { .entry
= &syscall_name_to_handle_at
}, /* 370 */
390 { .entry
= &syscall_open_by_handle_at
},
391 { .entry
= &syscall_clock_adjtime
},
392 { .entry
= &syscall_syncfs
},
393 { .entry
= &syscall_sendmmsg
},
394 { .entry
= &syscall_setns
}, /* 375 */
395 { .entry
= &syscall_process_vm_readv
},
396 { .entry
= &syscall_process_vm_writev
},
397 { .entry
= &syscall_kcmp
},
401 /* arch/sh/kernel/syscalls_32.S */
402 struct syscalltable syscalls_sh
[] = {
403 { .entry
= &syscall_restart_syscall
}, /* 0 - old "setup()" system call*/
404 { .entry
= &syscall_exit
},
405 { .entry
= &syscall_fork
},
406 { .entry
= &syscall_read
},
407 { .entry
= &syscall_write
},
408 { .entry
= &syscall_open
}, /* 5 */
409 { .entry
= &syscall_close
},
410 { .entry
= &syscall_waitpid
},
411 { .entry
= &syscall_creat
},
412 { .entry
= &syscall_link
},
413 { .entry
= &syscall_unlink
}, /* 10 */
414 { .entry
= &syscall_execve
},
415 { .entry
= &syscall_chdir
},
416 { .entry
= &syscall_time
},
417 { .entry
= &syscall_mknod
},
418 { .entry
= &syscall_chmod
}, /* 15 */
419 { .entry
= &syscall_lchown16
},
420 { .entry
= &syscall_ni_syscall
}, /* old break syscall holder */
421 { .entry
= &syscall_stat
},
422 { .entry
= &syscall_lseek
},
423 { .entry
= &syscall_getpid
}, /* 20 */
424 { .entry
= &syscall_mount
},
425 { .entry
= &syscall_ni_syscall
}, /*{ .entry = &syscall_oldumount },*/
426 { .entry
= &syscall_setuid16
},
427 { .entry
= &syscall_getuid16
},
428 { .entry
= &syscall_stime
}, /* 25 */
429 { .entry
= &syscall_ptrace
},
430 { .entry
= &syscall_alarm
},
431 /*{ .entry = &syscall_fstat },*/ { .entry
= &syscall_ni_syscall
},
432 { .entry
= &syscall_pause
},
433 { .entry
= &syscall_utime
}, /* 30 */
434 { .entry
= &syscall_ni_syscall
}, /* old stty syscall holder */
435 { .entry
= &syscall_ni_syscall
}, /* old gtty syscall holder */
436 { .entry
= &syscall_access
},
437 { .entry
= &syscall_nice
},
438 { .entry
= &syscall_ni_syscall
}, /* 35 */ /* old ftime syscall holder */
439 { .entry
= &syscall_sync
},
440 { .entry
= &syscall_kill
},
441 { .entry
= &syscall_rename
},
442 { .entry
= &syscall_mkdir
},
443 { .entry
= &syscall_rmdir
}, /* 40 */
444 { .entry
= &syscall_dup
},
445 { .entry
= &syscall_pipe
},
446 { .entry
= &syscall_times
},
447 { .entry
= &syscall_ni_syscall
}, /* old prof syscall holder */
448 { .entry
= &syscall_brk
}, /* 45 */
449 { .entry
= &syscall_setgid16
},
450 { .entry
= &syscall_getgid16
},
451 { .entry
= &syscall_signal
},
452 { .entry
= &syscall_geteuid16
},
453 { .entry
= &syscall_getegid16
}, /* 50 */
454 { .entry
= &syscall_acct
},
455 { .entry
= &syscall_umount
}, /* recycled never used phys() */
456 { .entry
= &syscall_ni_syscall
}, /* old lock syscall holder */
457 { .entry
= &syscall_ioctl
},
458 { .entry
= &syscall_fcntl
}, /* 55 */
459 { .entry
= &syscall_ni_syscall
}, /* old mpx syscall holder */
460 { .entry
= &syscall_setpgid
},
461 { .entry
= &syscall_ni_syscall
}, /* old ulimit syscall holder */
462 { .entry
= &syscall_ni_syscall
}, /* sys_olduname */
463 { .entry
= &syscall_umask
}, /* 60 */
464 { .entry
= &syscall_chroot
},
465 { .entry
= &syscall_ustat
},
466 { .entry
= &syscall_dup2
},
467 { .entry
= &syscall_getppid
},
468 { .entry
= &syscall_getpgrp
}, /* 65 */
469 { .entry
= &syscall_setsid
},
470 { .entry
= &syscall_sigaction
},
471 { .entry
= &syscall_sgetmask
},
472 { .entry
= &syscall_ssetmask
},
473 { .entry
= &syscall_setreuid16
}, /* 70 */
474 { .entry
= &syscall_setregid16
},
475 { .entry
= &syscall_sigsuspend
},
476 { .entry
= &syscall_sigpending
},
477 { .entry
= &syscall_sethostname
},
478 { .entry
= &syscall_setrlimit
}, /* 75 */
479 { .entry
= &syscall_getrlimit
}, /* old_getrlimit */
480 { .entry
= &syscall_getrusage
},
481 { .entry
= &syscall_gettimeofday
},
482 { .entry
= &syscall_settimeofday
},
483 { .entry
= &syscall_getgroups16
}, /* 80 */
484 { .entry
= &syscall_setgroups16
},
485 { .entry
= &syscall_ni_syscall
}, /* sys_oldselect */
486 { .entry
= &syscall_symlink
},
487 { .entry
= &syscall_lstat
},
488 { .entry
= &syscall_readlink
}, /* 85 */
489 { .entry
= &syscall_uselib
},
490 { .entry
= &syscall_swapon
},
491 { .entry
= &syscall_reboot
},
492 { .entry
= &syscall_ni_syscall
}, /*{ .entry = &syscall_old_readdir },*/
493 { .entry
= &syscall_mmap
}, /* 90 */
494 { .entry
= &syscall_munmap
},
495 { .entry
= &syscall_truncate
},
496 { .entry
= &syscall_ftruncate
},
497 { .entry
= &syscall_fchmod
},
498 { .entry
= &syscall_fchown16
}, /* 95 */
499 { .entry
= &syscall_getpriority
},
500 { .entry
= &syscall_setpriority
},
501 { .entry
= &syscall_ni_syscall
}, /* old profil syscall holder */
502 { .entry
= &syscall_statfs
},
503 { .entry
= &syscall_fstatfs
}, /* 100 */
504 { .entry
= &syscall_ni_syscall
}, /* ioperm */
505 { .entry
= &syscall_socketcall
},
506 { .entry
= &syscall_syslog
},
507 { .entry
= &syscall_setitimer
},
508 { .entry
= &syscall_getitimer
}, /* 105 */
509 { .entry
= &syscall_newstat
},
510 { .entry
= &syscall_newlstat
},
511 { .entry
= &syscall_newfstat
},
512 { .entry
= &syscall_uname
},
513 { .entry
= &syscall_ni_syscall
}, /* 110 */ /* iopl */
514 { .entry
= &syscall_vhangup
},
515 { .entry
= &syscall_ni_syscall
}, /* idle */
516 { .entry
= &syscall_ni_syscall
}, /* vm86old */
517 { .entry
= &syscall_wait4
},
518 { .entry
= &syscall_swapoff
}, /* 115 */
519 { .entry
= &syscall_sysinfo
},
520 { .entry
= &syscall_ipc
},
521 { .entry
= &syscall_fsync
},
522 { .entry
= &syscall_sigreturn
},
523 { .entry
= &syscall_clone
}, /* 120 */
524 { .entry
= &syscall_setdomainname
},
525 { .entry
= &syscall_newuname
},
526 { .entry
= &syscall_sh_cacheflush
}, /* x86: sys_modify_ldt */
527 { .entry
= &syscall_adjtimex
},
528 { .entry
= &syscall_mprotect
}, /* 125 */
529 { .entry
= &syscall_sigprocmask
},
530 { .entry
= &syscall_ni_syscall
}, /* old "create_module" */
531 { .entry
= &syscall_init_module
},
532 { .entry
= &syscall_delete_module
},
533 { .entry
= &syscall_ni_syscall
}, /* 130: old "get_kernel_syms" */
534 { .entry
= &syscall_quotactl
},
535 { .entry
= &syscall_getpgid
},
536 { .entry
= &syscall_fchdir
},
537 { .entry
= &syscall_bdflush
},
538 { .entry
= &syscall_sysfs
}, /* 135 */
539 { .entry
= &syscall_personality
},
540 { .entry
= &syscall_ni_syscall
}, /* for afs_syscall */
541 { .entry
= &syscall_setfsuid16
},
542 { .entry
= &syscall_setfsgid16
},
543 { .entry
= &syscall_llseek
}, /* 140 */
544 { .entry
= &syscall_getdents
},
545 { .entry
= &syscall_select
},
546 { .entry
= &syscall_flock
},
547 { .entry
= &syscall_msync
},
548 { .entry
= &syscall_readv
}, /* 145 */
549 { .entry
= &syscall_writev
},
550 { .entry
= &syscall_getsid
},
551 { .entry
= &syscall_fdatasync
},
552 { .entry
= &syscall_sysctl
},
553 { .entry
= &syscall_mlock
}, /* 150 */
554 { .entry
= &syscall_munlock
},
555 { .entry
= &syscall_mlockall
},
556 { .entry
= &syscall_munlockall
},
557 { .entry
= &syscall_sched_setparam
},
558 { .entry
= &syscall_sched_getparam
}, /* 155 */
559 { .entry
= &syscall_sched_setscheduler
},
560 { .entry
= &syscall_sched_getscheduler
},
561 { .entry
= &syscall_sched_yield
},
562 { .entry
= &syscall_sched_get_priority_max
},
563 { .entry
= &syscall_sched_get_priority_min
}, /* 160 */
564 { .entry
= &syscall_sched_rr_get_interval
},
565 { .entry
= &syscall_nanosleep
},
566 { .entry
= &syscall_mremap
},
567 { .entry
= &syscall_setresuid16
},
568 { .entry
= &syscall_getresuid16
}, /* 165 */
569 { .entry
= &syscall_ni_syscall
}, /* vm86 */
570 { .entry
= &syscall_ni_syscall
}, /* old "query_module" */
571 { .entry
= &syscall_poll
},
572 { .entry
= &syscall_ni_syscall
}, /* was nfsservctl */
573 { .entry
= &syscall_setresgid16
}, /* 170 */
574 { .entry
= &syscall_getresgid16
},
575 { .entry
= &syscall_prctl
},
576 { .entry
= &syscall_rt_sigreturn
},
577 { .entry
= &syscall_rt_sigaction
},
578 { .entry
= &syscall_rt_sigprocmask
}, /* 175 */
579 { .entry
= &syscall_rt_sigpending
},
580 { .entry
= &syscall_rt_sigtimedwait
},
581 { .entry
= &syscall_rt_sigqueueinfo
},
582 { .entry
= &syscall_rt_sigsuspend
},
583 { .entry
= &syscall_ni_syscall
}, /*{ .entry = &syscall_pread_wrapper },*/ /* 180 */
584 { .entry
= &syscall_ni_syscall
}, /*{ .entry = &syscall_pwrite_wrapper },*/
585 { .entry
= &syscall_chown16
},
586 { .entry
= &syscall_getcwd
},
587 { .entry
= &syscall_capget
},
588 { .entry
= &syscall_capset
}, /* 185 */
589 { .entry
= &syscall_sigaltstack
},
590 { .entry
= &syscall_sendfile
},
591 { .entry
= &syscall_ni_syscall
}, /* getpmsg */
592 { .entry
= &syscall_ni_syscall
}, /* putpmsg */
593 { .entry
= &syscall_vfork
}, /* 190 */
594 { .entry
= &syscall_getrlimit
},
595 { .entry
= &syscall_mmap2
},
596 { .entry
= &syscall_truncate64
},
597 { .entry
= &syscall_ftruncate64
},
598 { .entry
= &syscall_stat64
}, /* 195 */
599 { .entry
= &syscall_lstat64
},
600 { .entry
= &syscall_fstat64
},
601 { .entry
= &syscall_lchown
},
602 { .entry
= &syscall_getuid
},
603 { .entry
= &syscall_getgid
}, /* 200 */
604 { .entry
= &syscall_geteuid
},
605 { .entry
= &syscall_getegid
},
606 { .entry
= &syscall_setreuid
},
607 { .entry
= &syscall_setregid
},
608 { .entry
= &syscall_getgroups
}, /* 205 */
609 { .entry
= &syscall_setgroups
},
610 { .entry
= &syscall_fchown
},
611 { .entry
= &syscall_setresuid
},
612 { .entry
= &syscall_getresuid
},
613 { .entry
= &syscall_setresgid
}, /* 210 */
614 { .entry
= &syscall_getresgid
},
615 { .entry
= &syscall_chown
},
616 { .entry
= &syscall_setuid
},
617 { .entry
= &syscall_setgid
},
618 { .entry
= &syscall_setfsuid
}, /* 215 */
619 { .entry
= &syscall_setfsgid
},
620 { .entry
= &syscall_pivot_root
},
621 { .entry
= &syscall_mincore
},
622 { .entry
= &syscall_madvise
},
623 { .entry
= &syscall_getdents64
}, /* 220 */
624 { .entry
= &syscall_fcntl
}, /* fcntl64 */
625 { .entry
= &syscall_ni_syscall
}, /* reserved for TUX */
626 { .entry
= &syscall_ni_syscall
}, /* Reserved for Security */
627 { .entry
= &syscall_gettid
},
628 { .entry
= &syscall_readahead
}, /* 225 */
629 { .entry
= &syscall_setxattr
},
630 { .entry
= &syscall_lsetxattr
},
631 { .entry
= &syscall_fsetxattr
},
632 { .entry
= &syscall_getxattr
},
633 { .entry
= &syscall_lgetxattr
}, /* 230 */
634 { .entry
= &syscall_fgetxattr
},
635 { .entry
= &syscall_listxattr
},
636 { .entry
= &syscall_llistxattr
},
637 { .entry
= &syscall_flistxattr
},
638 { .entry
= &syscall_removexattr
}, /* 235 */
639 { .entry
= &syscall_lremovexattr
},
640 { .entry
= &syscall_fremovexattr
},
641 { .entry
= &syscall_tkill
},
642 { .entry
= &syscall_sendfile64
},
643 { .entry
= &syscall_futex
}, /* 240 */
644 { .entry
= &syscall_sched_setaffinity
},
645 { .entry
= &syscall_sched_getaffinity
},
646 { .entry
= &syscall_ni_syscall
}, /* reserved for set_thread_area */
647 { .entry
= &syscall_ni_syscall
}, /* reserved for get_thread_area */
648 { .entry
= &syscall_io_setup
}, /* 245 */
649 { .entry
= &syscall_io_destroy
},
650 { .entry
= &syscall_io_getevents
},
651 { .entry
= &syscall_io_submit
},
652 { .entry
= &syscall_io_cancel
},
653 { .entry
= &syscall_fadvise64
}, /* 250 */
654 { .entry
= &syscall_ni_syscall
},
655 { .entry
= &syscall_exit_group
},
656 { .entry
= &syscall_lookup_dcookie
},
657 { .entry
= &syscall_epoll_create
},
658 { .entry
= &syscall_epoll_ctl
}, /* 255 */
659 { .entry
= &syscall_epoll_wait
},
660 { .entry
= &syscall_remap_file_pages
},
661 { .entry
= &syscall_set_tid_address
},
662 { .entry
= &syscall_timer_create
},
663 { .entry
= &syscall_timer_settime
}, /* 260 */
664 { .entry
= &syscall_timer_gettime
},
665 { .entry
= &syscall_timer_getoverrun
},
666 { .entry
= &syscall_timer_delete
},
667 { .entry
= &syscall_clock_settime
},
668 { .entry
= &syscall_clock_gettime
}, /* 265 */
669 { .entry
= &syscall_clock_getres
},
670 { .entry
= &syscall_clock_nanosleep
},
671 { .entry
= &syscall_statfs64
},
672 { .entry
= &syscall_fstatfs64
},
673 { .entry
= &syscall_tgkill
}, /* 270 */
674 { .entry
= &syscall_utimes
},
675 { .entry
= &syscall_ni_syscall
}, /*{ .entry = &syscall_fadvise64_64_wrapper },*/
676 { .entry
= &syscall_ni_syscall
}, /* Reserved for vserver */
677 { .entry
= &syscall_mbind
},
678 { .entry
= &syscall_get_mempolicy
}, /* 275 */
679 { .entry
= &syscall_set_mempolicy
},
680 { .entry
= &syscall_mq_open
},
681 { .entry
= &syscall_mq_unlink
},
682 { .entry
= &syscall_mq_timedsend
},
683 { .entry
= &syscall_mq_timedreceive
}, /* 280 */
684 { .entry
= &syscall_mq_notify
},
685 { .entry
= &syscall_mq_getsetattr
},
686 { .entry
= &syscall_kexec_load
},
687 { .entry
= &syscall_waitid
},
688 { .entry
= &syscall_add_key
}, /* 285 */
689 { .entry
= &syscall_request_key
},
690 { .entry
= &syscall_keyctl
},
691 { .entry
= &syscall_ioprio_set
},
692 { .entry
= &syscall_ioprio_get
},
693 { .entry
= &syscall_inotify_init
}, /* 290 */
694 { .entry
= &syscall_inotify_add_watch
},
695 { .entry
= &syscall_inotify_rm_watch
},
696 { .entry
= &syscall_ni_syscall
},
697 { .entry
= &syscall_migrate_pages
},
698 { .entry
= &syscall_openat
}, /* 295 */
699 { .entry
= &syscall_mkdirat
},
700 { .entry
= &syscall_mknodat
},
701 { .entry
= &syscall_fchownat
},
702 { .entry
= &syscall_futimesat
},
703 { .entry
= &syscall_fstatat64
}, /* 300 */
704 { .entry
= &syscall_unlinkat
},
705 { .entry
= &syscall_renameat
},
706 { .entry
= &syscall_linkat
},
707 { .entry
= &syscall_symlinkat
},
708 { .entry
= &syscall_readlinkat
}, /* 305 */
709 { .entry
= &syscall_fchmodat
},
710 { .entry
= &syscall_faccessat
},
711 { .entry
= &syscall_pselect6
},
712 { .entry
= &syscall_ppoll
},
713 { .entry
= &syscall_unshare
}, /* 310 */
714 { .entry
= &syscall_set_robust_list
},
715 { .entry
= &syscall_get_robust_list
},
716 { .entry
= &syscall_splice
},
717 { .entry
= &syscall_sync_file_range
},
718 { .entry
= &syscall_tee
}, /* 315 */
719 { .entry
= &syscall_vmsplice
},
720 { .entry
= &syscall_move_pages
},
721 { .entry
= &syscall_getcpu
},
722 { .entry
= &syscall_epoll_pwait
},
723 { .entry
= &syscall_utimensat
}, /* 320 */
724 { .entry
= &syscall_signalfd
},
725 { .entry
= &syscall_timerfd_create
},
726 { .entry
= &syscall_eventfd
},
727 { .entry
= &syscall_fallocate
},
728 { .entry
= &syscall_timerfd_settime
}, /* 325 */
729 { .entry
= &syscall_timerfd_gettime
},
730 { .entry
= &syscall_signalfd4
},
731 { .entry
= &syscall_eventfd2
},
732 { .entry
= &syscall_epoll_create1
},
733 { .entry
= &syscall_dup3
}, /* 330 */
734 { .entry
= &syscall_pipe2
},
735 { .entry
= &syscall_inotify_init1
},
736 { .entry
= &syscall_preadv
},
737 { .entry
= &syscall_pwritev
},
738 { .entry
= &syscall_rt_tgsigqueueinfo
}, /* 335 */
739 { .entry
= &syscall_perf_event_open
},
740 { .entry
= &syscall_fanotify_init
},
741 { .entry
= &syscall_fanotify_mark
},
742 { .entry
= &syscall_prlimit64
},
743 /* Broken-out socket family */
744 { .entry
= &syscall_socket
}, /* 340 */
745 { .entry
= &syscall_bind
},
746 { .entry
= &syscall_connect
},
747 { .entry
= &syscall_listen
},
748 { .entry
= &syscall_accept
},
749 { .entry
= &syscall_getsockname
}, /* 345 */
750 { .entry
= &syscall_getpeername
},
751 { .entry
= &syscall_socketpair
},
752 { .entry
= &syscall_send
},
753 { .entry
= &syscall_sendto
},
754 { .entry
= &syscall_recv
}, /* 350 */
755 { .entry
= &syscall_recvfrom
},
756 { .entry
= &syscall_shutdown
},
757 { .entry
= &syscall_setsockopt
},
758 { .entry
= &syscall_getsockopt
},
759 { .entry
= &syscall_sendmsg
}, /* 355 */
760 { .entry
= &syscall_recvmsg
},
761 { .entry
= &syscall_recvmmsg
},
762 { .entry
= &syscall_accept4
},
763 { .entry
= &syscall_name_to_handle_at
},
764 { .entry
= &syscall_open_by_handle_at
}, /* 360 */
765 { .entry
= &syscall_clock_adjtime
},
766 { .entry
= &syscall_syncfs
},
767 { .entry
= &syscall_sendmmsg
},
768 { .entry
= &syscall_setns
},
769 { .entry
= &syscall_process_vm_readv
}, /* 365 */
770 { .entry
= &syscall_process_vm_writev
},
771 { .entry
= &syscall_kcmp
},