5 #include "syscalls/syscalls.h"
7 struct syscalltable syscalls_s390x
[] = {
8 { .entry
= &syscall_ni_syscall
},
9 { .entry
= &syscall_exit
},
10 { .entry
= &syscall_fork
},
11 { .entry
= &syscall_read
},
12 { .entry
= &syscall_write
},
13 { .entry
= &syscall_open
},
14 { .entry
= &syscall_close
},
15 { .entry
= &syscall_restart_syscall
},
16 { .entry
= &syscall_creat
},
17 { .entry
= &syscall_link
},
18 { .entry
= &syscall_unlink
},
19 { .entry
= &syscall_execve
},
20 { .entry
= &syscall_chdir
},
21 { .entry
= &syscall_ni_syscall
},
22 { .entry
= &syscall_mknod
},
23 { .entry
= &syscall_chmod
},
24 { .entry
= &syscall_ni_syscall
},
25 { .entry
= &syscall_ni_syscall
},
26 { .entry
= &syscall_ni_syscall
},
27 { .entry
= &syscall_lseek
},
28 { .entry
= &syscall_getpid
},
29 { .entry
= &syscall_mount
},
30 { .entry
= &syscall_oldumount
},
31 { .entry
= &syscall_ni_syscall
},
32 { .entry
= &syscall_ni_syscall
},
33 { .entry
= &syscall_ni_syscall
},
34 { .entry
= &syscall_ptrace
},
35 { .entry
= &syscall_alarm
},
36 { .entry
= &syscall_ni_syscall
},
37 { .entry
= &syscall_pause
},
38 { .entry
= &syscall_utime
},
39 { .entry
= &syscall_ni_syscall
},
40 { .entry
= &syscall_ni_syscall
},
41 { .entry
= &syscall_access
},
42 { .entry
= &syscall_nice
},
43 { .entry
= &syscall_ni_syscall
},
44 { .entry
= &syscall_sync
},
45 { .entry
= &syscall_kill
},
46 { .entry
= &syscall_rename
},
47 { .entry
= &syscall_mkdir
},
48 { .entry
= &syscall_rmdir
},
49 { .entry
= &syscall_dup
},
50 { .entry
= &syscall_pipe
},
51 { .entry
= &syscall_times
},
52 { .entry
= &syscall_ni_syscall
},
53 { .entry
= &syscall_brk
},
54 { .entry
= &syscall_ni_syscall
},
55 { .entry
= &syscall_ni_syscall
},
56 { .entry
= &syscall_signal
},
57 { .entry
= &syscall_ni_syscall
},
58 { .entry
= &syscall_ni_syscall
},
59 { .entry
= &syscall_acct
},
60 { .entry
= &syscall_umount
},
61 { .entry
= &syscall_ni_syscall
},
62 { .entry
= &syscall_ioctl
},
63 { .entry
= &syscall_fcntl
},
64 { .entry
= &syscall_ni_syscall
},
65 { .entry
= &syscall_setpgid
},
66 { .entry
= &syscall_ni_syscall
},
67 { .entry
= &syscall_ni_syscall
},
68 { .entry
= &syscall_umask
},
69 { .entry
= &syscall_chroot
},
70 { .entry
= &syscall_ustat
},
71 { .entry
= &syscall_dup2
},
72 { .entry
= &syscall_getppid
},
73 { .entry
= &syscall_getpgrp
},
74 { .entry
= &syscall_setsid
},
75 { .entry
= &syscall_sigaction
},
76 { .entry
= &syscall_ni_syscall
},
77 { .entry
= &syscall_ni_syscall
},
78 { .entry
= &syscall_ni_syscall
},
79 { .entry
= &syscall_ni_syscall
},
80 { .entry
= &syscall_sigsuspend
},
81 { .entry
= &syscall_sigpending
},
82 { .entry
= &syscall_sethostname
},
83 { .entry
= &syscall_setrlimit
},
84 { .entry
= &syscall_getrlimit
},
85 { .entry
= &syscall_getrusage
},
86 { .entry
= &syscall_gettimeofday
},
87 { .entry
= &syscall_settimeofday
},
88 { .entry
= &syscall_ni_syscall
},
89 { .entry
= &syscall_ni_syscall
},
90 { .entry
= &syscall_ni_syscall
},
91 { .entry
= &syscall_symlink
},
92 { .entry
= &syscall_ni_syscall
},
93 { .entry
= &syscall_readlink
},
94 { .entry
= &syscall_uselib
},
95 { .entry
= &syscall_swapon
},
96 { .entry
= &syscall_reboot
},
97 { .entry
= &syscall_ni_syscall
},
98 { .entry
= &syscall_mmap
}, /* old_mmap */
99 { .entry
= &syscall_munmap
},
100 { .entry
= &syscall_truncate
},
101 { .entry
= &syscall_ftruncate
},
102 { .entry
= &syscall_fchmod
},
103 { .entry
= &syscall_ni_syscall
},
104 { .entry
= &syscall_getpriority
},
105 { .entry
= &syscall_setpriority
},
106 { .entry
= &syscall_ni_syscall
},
107 { .entry
= &syscall_statfs
},
108 { .entry
= &syscall_fstatfs
},
109 { .entry
= &syscall_ni_syscall
},
110 { .entry
= &syscall_socketcall
},
111 { .entry
= &syscall_syslog
},
112 { .entry
= &syscall_setitimer
},
113 { .entry
= &syscall_getitimer
},
114 { .entry
= &syscall_newstat
},
115 { .entry
= &syscall_newlstat
},
116 { .entry
= &syscall_newfstat
},
117 { .entry
= &syscall_ni_syscall
},
118 { .entry
= &syscall_lookup_dcookie
},
119 { .entry
= &syscall_vhangup
},
120 { .entry
= &syscall_ni_syscall
},
121 { .entry
= &syscall_ni_syscall
},
122 { .entry
= &syscall_wait4
},
123 { .entry
= &syscall_swapoff
},
124 { .entry
= &syscall_sysinfo
},
125 { .entry
= &syscall_ipc
}, /* s390_ipc */
126 { .entry
= &syscall_fsync
},
127 { .entry
= &syscall_sigreturn
},
128 { .entry
= &syscall_clone
},
129 { .entry
= &syscall_setdomainname
},
130 { .entry
= &syscall_newuname
},
131 { .entry
= &syscall_ni_syscall
},
132 { .entry
= &syscall_adjtimex
},
133 { .entry
= &syscall_mprotect
},
134 { .entry
= &syscall_sigprocmask
},
135 { .entry
= &syscall_ni_syscall
},
136 { .entry
= &syscall_init_module
},
137 { .entry
= &syscall_delete_module
},
138 { .entry
= &syscall_ni_syscall
},
139 { .entry
= &syscall_quotactl
},
140 { .entry
= &syscall_getpgid
},
141 { .entry
= &syscall_fchdir
},
142 { .entry
= &syscall_bdflush
},
143 { .entry
= &syscall_sysfs
},
144 { .entry
= &syscall_personality
}, /* s390_personality */
145 { .entry
= &syscall_ni_syscall
},
146 { .entry
= &syscall_ni_syscall
},
147 { .entry
= &syscall_ni_syscall
},
148 { .entry
= &syscall_llseek
},
149 { .entry
= &syscall_getdents
},
150 { .entry
= &syscall_select
},
151 { .entry
= &syscall_flock
},
152 { .entry
= &syscall_msync
},
153 { .entry
= &syscall_readv
},
154 { .entry
= &syscall_writev
},
155 { .entry
= &syscall_getsid
},
156 { .entry
= &syscall_fdatasync
},
157 { .entry
= &syscall_sysctl
},
158 { .entry
= &syscall_mlock
},
159 { .entry
= &syscall_munlock
},
160 { .entry
= &syscall_mlockall
},
161 { .entry
= &syscall_munlockall
},
162 { .entry
= &syscall_sched_setparam
},
163 { .entry
= &syscall_sched_getparam
},
164 { .entry
= &syscall_sched_setscheduler
},
165 { .entry
= &syscall_sched_getscheduler
},
166 { .entry
= &syscall_sched_yield
},
167 { .entry
= &syscall_sched_get_priority_max
},
168 { .entry
= &syscall_sched_get_priority_min
},
169 { .entry
= &syscall_sched_rr_get_interval
},
170 { .entry
= &syscall_nanosleep
},
171 { .entry
= &syscall_mremap
},
172 { .entry
= &syscall_ni_syscall
},
173 { .entry
= &syscall_ni_syscall
},
174 { .entry
= &syscall_ni_syscall
},
175 { .entry
= &syscall_ni_syscall
},
176 { .entry
= &syscall_poll
},
177 { .entry
= &syscall_ni_syscall
},
178 { .entry
= &syscall_ni_syscall
},
179 { .entry
= &syscall_ni_syscall
},
180 { .entry
= &syscall_prctl
},
181 { .entry
= &syscall_rt_sigreturn
},
182 { .entry
= &syscall_rt_sigaction
},
183 { .entry
= &syscall_rt_sigprocmask
},
184 { .entry
= &syscall_rt_sigpending
},
185 { .entry
= &syscall_rt_sigtimedwait
},
186 { .entry
= &syscall_rt_sigqueueinfo
},
187 { .entry
= &syscall_rt_sigsuspend
},
188 { .entry
= &syscall_pread64
},
189 { .entry
= &syscall_pwrite64
},
190 { .entry
= &syscall_ni_syscall
},
191 { .entry
= &syscall_getcwd
},
192 { .entry
= &syscall_capget
},
193 { .entry
= &syscall_capset
},
194 { .entry
= &syscall_sigaltstack
},
195 { .entry
= &syscall_sendfile64
},
196 { .entry
= &syscall_ni_syscall
},
197 { .entry
= &syscall_ni_syscall
},
198 { .entry
= &syscall_vfork
},
199 { .entry
= &syscall_getrlimit
},
200 { .entry
= &syscall_mmap2
},
201 { .entry
= &syscall_ni_syscall
},
202 { .entry
= &syscall_ni_syscall
},
203 { .entry
= &syscall_ni_syscall
},
204 { .entry
= &syscall_ni_syscall
},
205 { .entry
= &syscall_ni_syscall
},
206 { .entry
= &syscall_lchown
},
207 { .entry
= &syscall_getuid
},
208 { .entry
= &syscall_getgid
},
209 { .entry
= &syscall_geteuid
},
210 { .entry
= &syscall_getegid
},
211 { .entry
= &syscall_setreuid
},
212 { .entry
= &syscall_setregid
},
213 { .entry
= &syscall_getgroups
},
214 { .entry
= &syscall_setgroups
},
215 { .entry
= &syscall_fchown
},
216 { .entry
= &syscall_setresuid
},
217 { .entry
= &syscall_getresuid
},
218 { .entry
= &syscall_setresgid
},
219 { .entry
= &syscall_getresgid
},
220 { .entry
= &syscall_chown
},
221 { .entry
= &syscall_setuid
},
222 { .entry
= &syscall_setgid
},
223 { .entry
= &syscall_setfsuid
},
224 { .entry
= &syscall_setfsgid
},
225 { .entry
= &syscall_pivot_root
},
226 { .entry
= &syscall_mincore
},
227 { .entry
= &syscall_madvise
},
228 { .entry
= &syscall_getdents64
},
229 { .entry
= &syscall_ni_syscall
},
230 { .entry
= &syscall_readahead
},
231 { .entry
= &syscall_ni_syscall
},
232 { .entry
= &syscall_setxattr
},
233 { .entry
= &syscall_lsetxattr
},
234 { .entry
= &syscall_fsetxattr
},
235 { .entry
= &syscall_getxattr
},
236 { .entry
= &syscall_lgetxattr
},
237 { .entry
= &syscall_fgetxattr
},
238 { .entry
= &syscall_listxattr
},
239 { .entry
= &syscall_llistxattr
},
240 { .entry
= &syscall_flistxattr
},
241 { .entry
= &syscall_removexattr
},
242 { .entry
= &syscall_lremovexattr
},
243 { .entry
= &syscall_fremovexattr
},
244 { .entry
= &syscall_gettid
},
245 { .entry
= &syscall_tkill
},
246 { .entry
= &syscall_futex
},
247 { .entry
= &syscall_sched_setaffinity
},
248 { .entry
= &syscall_sched_getaffinity
},
249 { .entry
= &syscall_tgkill
},
250 { .entry
= &syscall_ni_syscall
},
251 { .entry
= &syscall_io_setup
},
252 { .entry
= &syscall_io_destroy
},
253 { .entry
= &syscall_io_getevents
},
254 { .entry
= &syscall_io_submit
},
255 { .entry
= &syscall_io_cancel
},
256 { .entry
= &syscall_exit_group
},
257 { .entry
= &syscall_epoll_create
},
258 { .entry
= &syscall_epoll_ctl
},
259 { .entry
= &syscall_epoll_wait
},
260 { .entry
= &syscall_set_tid_address
},
261 { .entry
= &syscall_fadvise64_64
},
262 { .entry
= &syscall_timer_create
},
263 { .entry
= &syscall_timer_settime
},
264 { .entry
= &syscall_timer_gettime
},
265 { .entry
= &syscall_timer_getoverrun
},
266 { .entry
= &syscall_timer_delete
},
267 { .entry
= &syscall_clock_settime
},
268 { .entry
= &syscall_clock_gettime
},
269 { .entry
= &syscall_clock_getres
},
270 { .entry
= &syscall_clock_nanosleep
},
271 { .entry
= &syscall_ni_syscall
},
272 { .entry
= &syscall_ni_syscall
},
273 { .entry
= &syscall_statfs64
},
274 { .entry
= &syscall_fstatfs64
},
275 { .entry
= &syscall_remap_file_pages
},
276 { .entry
= &syscall_ni_syscall
},
277 { .entry
= &syscall_ni_syscall
},
278 { .entry
= &syscall_ni_syscall
},
279 { .entry
= &syscall_mq_open
},
280 { .entry
= &syscall_mq_unlink
},
281 { .entry
= &syscall_mq_timedsend
},
282 { .entry
= &syscall_mq_timedreceive
},
283 { .entry
= &syscall_mq_notify
},
284 { .entry
= &syscall_mq_getsetattr
},
285 { .entry
= &syscall_kexec_load
},
286 { .entry
= &syscall_add_key
},
287 { .entry
= &syscall_request_key
},
288 { .entry
= &syscall_keyctl
},
289 { .entry
= &syscall_waitid
},
290 { .entry
= &syscall_ioprio_set
},
291 { .entry
= &syscall_ioprio_get
},
292 { .entry
= &syscall_inotify_init
},
293 { .entry
= &syscall_inotify_add_watch
},
294 { .entry
= &syscall_inotify_rm_watch
},
295 { .entry
= &syscall_ni_syscall
},
296 { .entry
= &syscall_openat
},
297 { .entry
= &syscall_mkdirat
},
298 { .entry
= &syscall_mknodat
},
299 { .entry
= &syscall_fchownat
},
300 { .entry
= &syscall_futimesat
},
301 { .entry
= &syscall_newfstatat
},
302 { .entry
= &syscall_unlinkat
},
303 { .entry
= &syscall_renameat
},
304 { .entry
= &syscall_linkat
},
305 { .entry
= &syscall_symlinkat
},
306 { .entry
= &syscall_readlinkat
},
307 { .entry
= &syscall_fchmodat
},
308 { .entry
= &syscall_faccessat
},
309 { .entry
= &syscall_pselect6
},
310 { .entry
= &syscall_ppoll
},
311 { .entry
= &syscall_unshare
},
312 { .entry
= &syscall_set_robust_list
},
313 { .entry
= &syscall_get_robust_list
},
314 { .entry
= &syscall_splice
},
315 { .entry
= &syscall_sync_file_range
},
316 { .entry
= &syscall_tee
},
317 { .entry
= &syscall_vmsplice
},
318 { .entry
= &syscall_ni_syscall
},
319 { .entry
= &syscall_getcpu
},
320 { .entry
= &syscall_epoll_pwait
},
321 { .entry
= &syscall_utimes
},
322 { .entry
= &syscall_fallocate
},
323 { .entry
= &syscall_utimensat
},
324 { .entry
= &syscall_signalfd
},
325 { .entry
= &syscall_ni_syscall
},
326 { .entry
= &syscall_eventfd
},
327 { .entry
= &syscall_timerfd_create
},
328 { .entry
= &syscall_timerfd_settime
},
329 { .entry
= &syscall_timerfd_gettime
},
330 { .entry
= &syscall_signalfd4
},
331 { .entry
= &syscall_eventfd2
},
332 { .entry
= &syscall_inotify_init1
},
333 { .entry
= &syscall_pipe2
},
334 { .entry
= &syscall_dup3
},
335 { .entry
= &syscall_epoll_create1
},
336 { .entry
= &syscall_preadv
},
337 { .entry
= &syscall_pwritev
},
338 { .entry
= &syscall_rt_tgsigqueueinfo
},
339 { .entry
= &syscall_perf_event_open
},
340 { .entry
= &syscall_fanotify_init
},
341 { .entry
= &syscall_fanotify_mark
},
342 { .entry
= &syscall_prlimit64
},
343 { .entry
= &syscall_name_to_handle_at
},
344 { .entry
= &syscall_open_by_handle_at
},
345 { .entry
= &syscall_clock_adjtime
},
346 { .entry
= &syscall_syncfs
},
347 { .entry
= &syscall_setns
},
348 { .entry
= &syscall_process_vm_readv
},
349 { .entry
= &syscall_process_vm_writev
},
350 { .entry
= &syscall_ni_syscall
}, /* TODO: s390_runtime_instr */
351 { .entry
= &syscall_kcmp
},
352 { .entry
= &syscall_finit_module
},
353 { .entry
= &syscall_sched_setattr
},
354 { .entry
= &syscall_sched_getattr
},
355 { .entry
= &syscall_renameat2
},