1 #define __SYSCALL_LL_E(x) \
2 ((union { long long ll; long l[2]; }){ .ll = x }).l[0], \
3 ((union { long long ll; long l[2]; }){ .ll = x }).l[1]
4 #define __SYSCALL_LL_O(x) 0, __SYSCALL_LL_E((x))
6 long (__syscall)(long, ...);
8 static inline long __syscall0(long n)
10 return (__syscall)(n);
13 static inline long __syscall1(long n, long a)
15 return (__syscall)(n, a);
18 static inline long __syscall2(long n, long a, long b)
20 return (__syscall)(n, a, b);
23 static inline long __syscall3(long n, long a, long b, long c)
25 return (__syscall)(n, a, b, c);
28 static inline long __syscall4(long n, long a, long b, long c, long d)
30 return (__syscall)(n, a, b, c, d);
33 static inline long __syscall5(long n, long a, long b, long c, long d, long e)
35 return (__syscall)(n, a, b, c, d, e);
38 static inline long __syscall6(long n, long a, long b, long c, long d, long e, long f)
40 return (__syscall)(n, a, b, c, d, e, f);
43 #define __socketcall(nm,a,b,c,d,e,f) syscall(SYS_##nm, a, b, c, d, e, f)
44 #define __socketcall_cp(nm,a,b,c,d,e,f) syscall_cp(SYS_##nm, a, b, c, d, e, f)
46 #define __NR_syscall 4000
47 #define __NR_exit 4001
48 #define __NR_fork 4002
49 #define __NR_read 4003
50 #define __NR_write 4004
51 #define __NR_open 4005
52 #define __NR_close 4006
53 #define __NR_waitpid 4007
54 #define __NR_creat 4008
55 #define __NR_link 4009
56 #define __NR_unlink 4010
57 #define __NR_execve 4011
58 #define __NR_chdir 4012
59 #define __NR_time 4013
60 #define __NR_mknod 4014
61 #define __NR_chmod 4015
62 #define __NR_lchown 4016
63 #define __NR_break 4017
64 #define __NR_unused18 4018
65 #define __NR_lseek 4019
66 #define __NR_getpid 4020
67 #define __NR_mount 4021
68 #define __NR_umount 4022
69 #define __NR_setuid 4023
70 #define __NR_getuid 4024
71 #define __NR_stime 4025
72 #define __NR_ptrace 4026
73 #define __NR_alarm 4027
74 #define __NR_unused28 4028
75 #define __NR_pause 4029
76 #define __NR_utime 4030
77 #define __NR_stty 4031
78 #define __NR_gtty 4032
79 #define __NR_access 4033
80 #define __NR_nice 4034
81 #define __NR_ftime 4035
82 #define __NR_sync 4036
83 #define __NR_kill 4037
84 #define __NR_rename 4038
85 #define __NR_mkdir 4039
86 #define __NR_rmdir 4040
88 #define __NR_pipe 4042
89 #define __NR_times 4043
90 #define __NR_prof 4044
92 #define __NR_setgid 4046
93 #define __NR_getgid 4047
94 #define __NR_signal 4048
95 #define __NR_geteuid 4049
96 #define __NR_getegid 4050
97 #define __NR_acct 4051
98 #define __NR_umount2 4052
99 #define __NR_lock 4053
100 #define __NR_ioctl 4054
101 #define __NR_fcntl 4055
102 #define __NR_mpx 4056
103 #define __NR_setpgid 4057
104 #define __NR_ulimit 4058
105 #define __NR_unused59 4059
106 #define __NR_umask 4060
107 #define __NR_chroot 4061
108 #define __NR_ustat 4062
109 #define __NR_dup2 4063
110 #define __NR_getppid 4064
111 #define __NR_getpgrp 4065
112 #define __NR_setsid 4066
113 #define __NR_sigaction 4067
114 #define __NR_sgetmask 4068
115 #define __NR_ssetmask 4069
116 #define __NR_setreuid 4070
117 #define __NR_setregid 4071
118 #define __NR_sigsuspend 4072
119 #define __NR_sigpending 4073
120 #define __NR_sethostname 4074
121 #define __NR_setrlimit 4075
122 #define __NR_getrlimit 4076
123 #define __NR_getrusage 4077
124 #define __NR_gettimeofday 4078
125 #define __NR_settimeofday 4079
126 #define __NR_getgroups 4080
127 #define __NR_setgroups 4081
128 #define __NR_reserved82 4082
129 #define __NR_symlink 4083
130 #define __NR_unused84 4084
131 #define __NR_readlink 4085
132 #define __NR_uselib 4086
133 #define __NR_swapon 4087
134 #define __NR_reboot 4088
135 #define __NR_readdir 4089
136 #define __NR_mmap 4090
137 #define __NR_munmap 4091
138 #define __NR_truncate 4092
139 #define __NR_ftruncate 4093
140 #define __NR_fchmod 4094
141 #define __NR_fchown 4095
142 #define __NR_getpriority 4096
143 #define __NR_setpriority 4097
144 #define __NR_profil 4098
145 #define __NR_statfs 4099
146 #define __NR_fstatfs 4100
147 #define __NR_ioperm 4101
148 #define __NR_socketcall 4102
149 #define __NR_syslog 4103
150 #define __NR_setitimer 4104
151 #define __NR_getitimer 4105
152 #define __NR_stat 4106
153 #define __NR_lstat 4107
154 #define __NR_fstat 4108
155 #define __NR_unused109 4109
156 #define __NR_iopl 4110
157 #define __NR_vhangup 4111
158 #define __NR_idle 4112
159 #define __NR_vm86 4113
160 #define __NR_wait4 4114
161 #define __NR_swapoff 4115
162 #define __NR_sysinfo 4116
163 #define __NR_ipc 4117
164 #define __NR_fsync 4118
165 #define __NR_sigreturn 4119
166 #define __NR_clone 4120
167 #define __NR_setdomainname 4121
168 #define __NR_uname 4122
169 #define __NR_modify_ldt 4123
170 #define __NR_adjtimex 4124
171 #define __NR_mprotect 4125
172 #define __NR_sigprocmask 4126
173 #define __NR_create_module 4127
174 #define __NR_init_module 4128
175 #define __NR_delete_module 4129
176 #define __NR_get_kernel_syms 4130
177 #define __NR_quotactl 4131
178 #define __NR_getpgid 4132
179 #define __NR_fchdir 4133
180 #define __NR_bdflush 4134
181 #define __NR_sysfs 4135
182 #define __NR_personality 4136
183 #define __NR_afs_syscall 4137
184 #define __NR_setfsuid 4138
185 #define __NR_setfsgid 4139
186 #define __NR__llseek 4140
187 #define __NR_getdents 4141
188 #define __NR_select 4142
189 #define __NR_flock 4143
190 #define __NR_msync 4144
191 #define __NR_readv 4145
192 #define __NR_writev 4146
193 #define __NR_cacheflush 4147
194 #define __NR_cachectl 4148
195 #define __NR_sysmips 4149
196 #define __NR_unused150 4150
197 #define __NR_getsid 4151
198 #define __NR_fdatasync 4152
199 #define __NR__sysctl 4153
200 #define __NR_mlock 4154
201 #define __NR_munlock 4155
202 #define __NR_mlockall 4156
203 #define __NR_munlockall 4157
204 #define __NR_sched_setparam 4158
205 #define __NR_sched_getparam 4159
206 #define __NR_sched_setscheduler 4160
207 #define __NR_sched_getscheduler 4161
208 #define __NR_sched_yield 4162
209 #define __NR_sched_get_priority_max 4163
210 #define __NR_sched_get_priority_min 4164
211 #define __NR_sched_rr_get_interval 4165
212 #define __NR_nanosleep 4166
213 #define __NR_mremap 4167
214 #define __NR_accept 4168
215 #define __NR_bind 4169
216 #define __NR_connect 4170
217 #define __NR_getpeername 4171
218 #define __NR_getsockname 4172
219 #define __NR_getsockopt 4173
220 #define __NR_listen 4174
221 #define __NR_recv 4175
222 #define __NR_recvfrom 4176
223 #define __NR_recvmsg 4177
224 #define __NR_send 4178
225 #define __NR_sendmsg 4179
226 #define __NR_sendto 4180
227 #define __NR_setsockopt 4181
228 #define __NR_shutdown 4182
229 #define __NR_socket 4183
230 #define __NR_socketpair 4184
231 #define __NR_setresuid 4185
232 #define __NR_getresuid 4186
233 #define __NR_query_module 4187
234 #define __NR_poll 4188
235 #define __NR_nfsservctl 4189
236 #define __NR_setresgid 4190
237 #define __NR_getresgid 4191
238 #define __NR_prctl 4192
239 #define __NR_rt_sigreturn 4193
240 #define __NR_rt_sigaction 4194
241 #define __NR_rt_sigprocmask 4195
242 #define __NR_rt_sigpending 4196
243 #define __NR_rt_sigtimedwait 4197
244 #define __NR_rt_sigqueueinfo 4198
245 #define __NR_rt_sigsuspend 4199
246 #define __NR_pread 4200
247 #define __NR_pwrite 4201
248 #define __NR_chown 4202
249 #define __NR_getcwd 4203
250 #define __NR_capget 4204
251 #define __NR_capset 4205
252 #define __NR_sigaltstack 4206
253 #define __NR_sendfile 4207
254 #define __NR_getpmsg 4208
255 #define __NR_putpmsg 4209
256 #define __NR_mmap2 4210
257 #define __NR_truncate64 4211
258 #define __NR_ftruncate64 4212
259 #define __NR_stat64 4213
260 #define __NR_lstat64 4214
261 #define __NR_fstat64 4215
262 #define __NR_pivot_root 4216
263 #define __NR_mincore 4217
264 #define __NR_madvise 4218
265 #define __NR_getdents64 4219
266 #define __NR_fcntl64 4220
267 #define __NR_reserved221 4221
268 #define __NR_gettid 4222
269 #define __NR_readahead 4223
270 #define __NR_setxattr 4224
271 #define __NR_lsetxattr 4225
272 #define __NR_fsetxattr 4226
273 #define __NR_getxattr 4227
274 #define __NR_lgetxattr 4228
275 #define __NR_fgetxattr 4229
276 #define __NR_listxattr 4230
277 #define __NR_llistxattr 4231
278 #define __NR_flistxattr 4232
279 #define __NR_removexattr 4233
280 #define __NR_lremovexattr 4234
281 #define __NR_fremovexattr 4235
282 #define __NR_tkill 4236
283 #define __NR_sendfile64 4237
284 #define __NR_futex 4238
285 #define __NR_sched_setaffinity 4239
286 #define __NR_sched_getaffinity 4240
287 #define __NR_io_setup 4241
288 #define __NR_io_destroy 4242
289 #define __NR_io_getevents 4243
290 #define __NR_io_submit 4244
291 #define __NR_io_cancel 4245
292 #define __NR_exit_group 4246
293 #define __NR_lookup_dcookie 4247
294 #define __NR_epoll_create 4248
295 #define __NR_epoll_ctl 4249
296 #define __NR_epoll_wait 4250
297 #define __NR_remap_file_pages 4251
298 #define __NR_set_tid_address 4252
299 #define __NR_restart_syscall 4253
300 #define __NR_fadvise 4254
301 #define __NR_statfs64 4255
302 #define __NR_fstatfs64 4256
303 #define __NR_timer_create 4257
304 #define __NR_timer_settime 4258
305 #define __NR_timer_gettime 4259
306 #define __NR_timer_getoverrun 4260
307 #define __NR_timer_delete 4261
308 #define __NR_clock_settime 4262
309 #define __NR_clock_gettime 4263
310 #define __NR_clock_getres 4264
311 #define __NR_clock_nanosleep 4265
312 #define __NR_tgkill 4266
313 #define __NR_utimes 4267
314 #define __NR_mbind 4268
315 #define __NR_get_mempolicy 4269
316 #define __NR_set_mempolicy 4270
317 #define __NR_mq_open 4271
318 #define __NR_mq_unlink 4272
319 #define __NR_mq_timedsend 4273
320 #define __NR_mq_timedreceive 4274
321 #define __NR_mq_notify 4275
322 #define __NR_mq_getsetattr 4276
323 #define __NR_vserver 4277
324 #define __NR_waitid 4278
325 #define __NR_add_key 4280
326 #define __NR_request_key 4281
327 #define __NR_keyctl 4282
328 #define __NR_set_thread_area 4283
329 #define __NR_inotify_init 4284
330 #define __NR_inotify_add_watch 4285
331 #define __NR_inotify_rm_watch 4286
332 #define __NR_migrate_pages 4287
333 #define __NR_openat 4288
334 #define __NR_mkdirat 4289
335 #define __NR_mknodat 4290
336 #define __NR_fchownat 4291
337 #define __NR_futimesat 4292
338 #define __NR_fstatat 4293
339 #define __NR_unlinkat 4294
340 #define __NR_renameat 4295
341 #define __NR_linkat 4296
342 #define __NR_symlinkat 4297
343 #define __NR_readlinkat 4298
344 #define __NR_fchmodat 4299
345 #define __NR_faccessat 4300
346 #define __NR_pselect6 4301
347 #define __NR_ppoll 4302
348 #define __NR_unshare 4303
349 #define __NR_splice 4304
350 #define __NR_sync_file_range 4305
351 #define __NR_tee 4306
352 #define __NR_vmsplice 4307
353 #define __NR_move_pages 4308
354 #define __NR_set_robust_list 4309
355 #define __NR_get_robust_list 4310
356 #define __NR_kexec_load 4311
357 #define __NR_getcpu 4312
358 #define __NR_epoll_pwait 4313
359 #define __NR_ioprio_set 4314
360 #define __NR_ioprio_get 4315
361 #define __NR_utimensat 4316
362 #define __NR_signalfd 4317
363 #define __NR_timerfd 4318
364 #define __NR_eventfd 4319
365 #define __NR_fallocate 4320
366 #define __NR_fallocate 4320
367 #define __NR_timerfd_create 4321
368 #define __NR_timerfd_gettime 4322
369 #define __NR_timerfd_settime 4323
370 #define __NR_signalfd4 4324
371 #define __NR_eventfd2 4325
372 #define __NR_epoll_create1 4326
373 #define __NR_dup3 4327
374 #define __NR_pipe2 4328
375 #define __NR_inotify_init1 4329
376 #define __NR_preadv 4330
377 #define __NR_pwritev 4331
378 #define __NR_rt_tgsigqueueinfo 4332
379 #define __NR_perf_event_open 4333
380 #define __NR_accept4 4334
381 #define __NR_recvmmsg 4335
382 #define __NR_fanotify_init 4336
383 #define __NR_fanotify_mark 4337
384 #define __NR_prlimit64 4338
385 #define __NR_name_to_handle_at 4339
386 #define __NR_open_by_handle_at 4340
387 #define __NR_clock_adjtime 4341
388 #define __NR_syncfs 4342
389 #define __NR_fallocate 4320
390 #define __NR_timerfd_create 4321
391 #define __NR_timerfd_gettime 4322
392 #define __NR_timerfd_settime 4323
393 #define __NR_signalfd4 4324
394 #define __NR_eventfd2 4325
395 #define __NR_epoll_create1 4326
396 #define __NR_dup3 4327
397 #define __NR_pipe2 4328
398 #define __NR_inotify_init1 4329
399 #define __NR_preadv 4330
400 #define __NR_pwritev 4331
401 #define __NR_rt_tgsigqueueinfo 4332
402 #define __NR_perf_event_open 4333
403 #define __NR_accept4 4334
404 #define __NR_recvmmsg 4335
405 #define __NR_fanotify_init 4336
406 #define __NR_fanotify_mark 4337
407 #define __NR_prlimit64 4338
408 #define __NR_name_to_handle_at 4339
409 #define __NR_open_by_handle_at 4340
410 #define __NR_clock_adjtime 4341
411 #define __NR_syncfs 4342
412 #define __NR_sendmmsg 4343
413 #define __NR_setns 4344
414 #define __NR_process_vm_readv 4345
415 #define __NR_process_vm_writev 4346
417 /* fixup legacy 32-bit-vs-lfs64 junk */
420 #undef __NR_ftruncate
427 #define __NR_fcntl __NR_fcntl64
428 #define __NR_getdents __NR_getdents64
429 #define __NR_ftruncate __NR_ftruncate64
430 #define __NR_truncate __NR_truncate64
431 #define __NR_stat __NR_stat64
432 #define __NR_fstat __NR_fstat64
433 #define __NR_lstat __NR_lstat64
434 #define __NR_statfs __NR_statfs64
435 #define __NR_fstatfs __NR_fstatfs64
438 /* Repeated with SYS_ prefix */
439 #define SYS_syscall 4000
440 #define SYS_exit 4001
441 #define SYS_fork 4002
442 #define SYS_read 4003
443 #define SYS_write 4004
444 #define SYS_open 4005
445 #define SYS_close 4006
446 #define SYS_waitpid 4007
447 #define SYS_creat 4008
448 #define SYS_link 4009
449 #define SYS_unlink 4010
450 #define SYS_execve 4011
451 #define SYS_chdir 4012
452 #define SYS_time 4013
453 #define SYS_mknod 4014
454 #define SYS_chmod 4015
455 #define SYS_lchown 4016
456 #define SYS_break 4017
457 #define SYS_unused18 4018
458 #define SYS_lseek 4019
459 #define SYS_getpid 4020
460 #define SYS_mount 4021
461 #define SYS_umount 4022
462 #define SYS_setuid 4023
463 #define SYS_getuid 4024
464 #define SYS_stime 4025
465 #define SYS_ptrace 4026
466 #define SYS_alarm 4027
467 #define SYS_unused28 4028
468 #define SYS_pause 4029
469 #define SYS_utime 4030
470 #define SYS_stty 4031
471 #define SYS_gtty 4032
472 #define SYS_access 4033
473 #define SYS_nice 4034
474 #define SYS_ftime 4035
475 #define SYS_sync 4036
476 #define SYS_kill 4037
477 #define SYS_rename 4038
478 #define SYS_mkdir 4039
479 #define SYS_rmdir 4040
481 #define SYS_pipe 4042
482 #define SYS_times 4043
483 #define SYS_prof 4044
485 #define SYS_setgid 4046
486 #define SYS_getgid 4047
487 #define SYS_signal 4048
488 #define SYS_geteuid 4049
489 #define SYS_getegid 4050
490 #define SYS_acct 4051
491 #define SYS_umount2 4052
492 #define SYS_lock 4053
493 #define SYS_ioctl 4054
494 #define SYS_fcntl 4055
496 #define SYS_setpgid 4057
497 #define SYS_ulimit 4058
498 #define SYS_unused59 4059
499 #define SYS_umask 4060
500 #define SYS_chroot 4061
501 #define SYS_ustat 4062
502 #define SYS_dup2 4063
503 #define SYS_getppid 4064
504 #define SYS_getpgrp 4065
505 #define SYS_setsid 4066
506 #define SYS_sigaction 4067
507 #define SYS_sgetmask 4068
508 #define SYS_ssetmask 4069
509 #define SYS_setreuid 4070
510 #define SYS_setregid 4071
511 #define SYS_sigsuspend 4072
512 #define SYS_sigpending 4073
513 #define SYS_sethostname 4074
514 #define SYS_setrlimit 4075
515 #define SYS_getrlimit 4076
516 #define SYS_getrusage 4077
517 #define SYS_gettimeofday 4078
518 #define SYS_settimeofday 4079
519 #define SYS_getgroups 4080
520 #define SYS_setgroups 4081
521 #define SYS_reserved82 4082
522 #define SYS_symlink 4083
523 #define SYS_unused84 4084
524 #define SYS_readlink 4085
525 #define SYS_uselib 4086
526 #define SYS_swapon 4087
527 #define SYS_reboot 4088
528 #define SYS_readdir 4089
529 #define SYS_mmap 4090
530 #define SYS_munmap 4091
531 #define SYS_truncate 4092
532 #define SYS_ftruncate 4093
533 #define SYS_fchmod 4094
534 #define SYS_fchown 4095
535 #define SYS_getpriority 4096
536 #define SYS_setpriority 4097
537 #define SYS_profil 4098
538 #define SYS_statfs 4099
539 #define SYS_fstatfs 4100
540 #define SYS_ioperm 4101
541 #define SYS_socketcall 4102
542 #define SYS_syslog 4103
543 #define SYS_setitimer 4104
544 #define SYS_getitimer 4105
545 #define SYS_stat 4106
546 #define SYS_lstat 4107
547 #define SYS_fstat 4108
548 #define SYS_unused109 4109
549 #define SYS_iopl 4110
550 #define SYS_vhangup 4111
551 #define SYS_idle 4112
552 #define SYS_vm86 4113
553 #define SYS_wait4 4114
554 #define SYS_swapoff 4115
555 #define SYS_sysinfo 4116
557 #define SYS_fsync 4118
558 #define SYS_sigreturn 4119
559 #define SYS_clone 4120
560 #define SYS_setdomainname 4121
561 #define SYS_uname 4122
562 #define SYS_modify_ldt 4123
563 #define SYS_adjtimex 4124
564 #define SYS_mprotect 4125
565 #define SYS_sigprocmask 4126
566 #define SYS_create_module 4127
567 #define SYS_init_module 4128
568 #define SYS_delete_module 4129
569 #define SYS_get_kernel_syms 4130
570 #define SYS_quotactl 4131
571 #define SYS_getpgid 4132
572 #define SYS_fchdir 4133
573 #define SYS_bdflush 4134
574 #define SYS_sysfs 4135
575 #define SYS_personality 4136
576 #define SYS_afs_syscall 4137
577 #define SYS_setfsuid 4138
578 #define SYS_setfsgid 4139
579 #define SYS__llseek 4140
580 #define SYS_getdents 4141
581 #define SYS_select 4142
582 #define SYS_flock 4143
583 #define SYS_msync 4144
584 #define SYS_readv 4145
585 #define SYS_writev 4146
586 #define SYS_cacheflush 4147
587 #define SYS_cachectl 4148
588 #define SYS_sysmips 4149
589 #define SYS_unused150 4150
590 #define SYS_getsid 4151
591 #define SYS_fdatasync 4152
592 #define SYS__sysctl 4153
593 #define SYS_mlock 4154
594 #define SYS_munlock 4155
595 #define SYS_mlockall 4156
596 #define SYS_munlockall 4157
597 #define SYS_sched_setparam 4158
598 #define SYS_sched_getparam 4159
599 #define SYS_sched_setscheduler 4160
600 #define SYS_sched_getscheduler 4161
601 #define SYS_sched_yield 4162
602 #define SYS_sched_get_priority_max 4163
603 #define SYS_sched_get_priority_min 4164
604 #define SYS_sched_rr_get_interval 4165
605 #define SYS_nanosleep 4166
606 #define SYS_mremap 4167
607 #define SYS_accept 4168
608 #define SYS_bind 4169
609 #define SYS_connect 4170
610 #define SYS_getpeername 4171
611 #define SYS_getsockname 4172
612 #define SYS_getsockopt 4173
613 #define SYS_listen 4174
614 #define SYS_recv 4175
615 #define SYS_recvfrom 4176
616 #define SYS_recvmsg 4177
617 #define SYS_send 4178
618 #define SYS_sendmsg 4179
619 #define SYS_sendto 4180
620 #define SYS_setsockopt 4181
621 #define SYS_shutdown 4182
622 #define SYS_socket 4183
623 #define SYS_socketpair 4184
624 #define SYS_setresuid 4185
625 #define SYS_getresuid 4186
626 #define SYS_query_module 4187
627 #define SYS_poll 4188
628 #define SYS_nfsservctl 4189
629 #define SYS_setresgid 4190
630 #define SYS_getresgid 4191
631 #define SYS_prctl 4192
632 #define SYS_rt_sigreturn 4193
633 #define SYS_rt_sigaction 4194
634 #define SYS_rt_sigprocmask 4195
635 #define SYS_rt_sigpending 4196
636 #define SYS_rt_sigtimedwait 4197
637 #define SYS_rt_sigqueueinfo 4198
638 #define SYS_rt_sigsuspend 4199
639 #define SYS_pread 4200
640 #define SYS_pwrite 4201
641 #define SYS_chown 4202
642 #define SYS_getcwd 4203
643 #define SYS_capget 4204
644 #define SYS_capset 4205
645 #define SYS_sigaltstack 4206
646 #define SYS_sendfile 4207
647 #define SYS_getpmsg 4208
648 #define SYS_putpmsg 4209
649 #define SYS_mmap2 4210
650 #define SYS_truncate64 4211
651 #define SYS_ftruncate64 4212
652 #define SYS_stat64 4213
653 #define SYS_lstat64 4214
654 #define SYS_fstat64 4215
655 #define SYS_pivot_root 4216
656 #define SYS_mincore 4217
657 #define SYS_madvise 4218
658 #define SYS_getdents64 4219
659 #define SYS_fcntl64 4220
660 #define SYS_reserved221 4221
661 #define SYS_gettid 4222
662 #define SYS_readahead 4223
663 #define SYS_setxattr 4224
664 #define SYS_lsetxattr 4225
665 #define SYS_fsetxattr 4226
666 #define SYS_getxattr 4227
667 #define SYS_lgetxattr 4228
668 #define SYS_fgetxattr 4229
669 #define SYS_listxattr 4230
670 #define SYS_llistxattr 4231
671 #define SYS_flistxattr 4232
672 #define SYS_removexattr 4233
673 #define SYS_lremovexattr 4234
674 #define SYS_fremovexattr 4235
675 #define SYS_tkill 4236
676 #define SYS_sendfile64 4237
677 #define SYS_futex 4238
678 #define SYS_sched_setaffinity 4239
679 #define SYS_sched_getaffinity 4240
680 #define SYS_io_setup 4241
681 #define SYS_io_destroy 4242
682 #define SYS_io_getevents 4243
683 #define SYS_io_submit 4244
684 #define SYS_io_cancel 4245
685 #define SYS_exit_group 4246
686 #define SYS_lookup_dcookie 4247
687 #define SYS_epoll_create 4248
688 #define SYS_epoll_ctl 4249
689 #define SYS_epoll_wait 4250
690 #define SYS_remap_file_pages 4251
691 #define SYS_set_tid_address 4252
692 #define SYS_restart_syscall 4253
693 #define SYS_fadvise 4254
694 #define SYS_statfs64 4255
695 #define SYS_fstatfs64 4256
696 #define SYS_timer_create 4257
697 #define SYS_timer_settime 4258
698 #define SYS_timer_gettime 4259
699 #define SYS_timer_getoverrun 4260
700 #define SYS_timer_delete 4261
701 #define SYS_clock_settime 4262
702 #define SYS_clock_gettime 4263
703 #define SYS_clock_getres 4264
704 #define SYS_clock_nanosleep 4265
705 #define SYS_tgkill 4266
706 #define SYS_utimes 4267
707 #define SYS_mbind 4268
708 #define SYS_get_mempolicy 4269
709 #define SYS_set_mempolicy 4270
710 #define SYS_mq_open 4271
711 #define SYS_mq_unlink 4272
712 #define SYS_mq_timedsend 4273
713 #define SYS_mq_timedreceive 4274
714 #define SYS_mq_notify 4275
715 #define SYS_mq_getsetattr 4276
716 #define SYS_vserver 4277
717 #define SYS_waitid 4278
718 #define SYS_add_key 4280
719 #define SYS_request_key 4281
720 #define SYS_keyctl 4282
721 #define SYS_set_thread_area 4283
722 #define SYS_inotify_init 4284
723 #define SYS_inotify_add_watch 4285
724 #define SYS_inotify_rm_watch 4286
725 #define SYS_migrate_pages 4287
726 #define SYS_openat 4288
727 #define SYS_mkdirat 4289
728 #define SYS_mknodat 4290
729 #define SYS_fchownat 4291
730 #define SYS_futimesat 4292
731 #define SYS_fstatat 4293
732 #define SYS_unlinkat 4294
733 #define SYS_renameat 4295
734 #define SYS_linkat 4296
735 #define SYS_symlinkat 4297
736 #define SYS_readlinkat 4298
737 #define SYS_fchmodat 4299
738 #define SYS_faccessat 4300
739 #define SYS_pselect6 4301
740 #define SYS_ppoll 4302
741 #define SYS_unshare 4303
742 #define SYS_splice 4304
743 #define SYS_sync_file_range 4305
745 #define SYS_vmsplice 4307
746 #define SYS_move_pages 4308
747 #define SYS_set_robust_list 4309
748 #define SYS_get_robust_list 4310
749 #define SYS_kexec_load 4311
750 #define SYS_getcpu 4312
751 #define SYS_epoll_pwait 4313
752 #define SYS_ioprio_set 4314
753 #define SYS_ioprio_get 4315
754 #define SYS_utimensat 4316
755 #define SYS_signalfd 4317
756 #define SYS_timerfd 4318
757 #define SYS_eventfd 4319
758 #define SYS_fallocate 4320
759 #define SYS_fallocate 4320
760 #define SYS_timerfd_create 4321
761 #define SYS_timerfd_gettime 4322
762 #define SYS_timerfd_settime 4323
763 #define SYS_signalfd4 4324
764 #define SYS_eventfd2 4325
765 #define SYS_epoll_create1 4326
766 #define SYS_dup3 4327
767 #define SYS_pipe2 4328
768 #define SYS_inotify_init1 4329
769 #define SYS_preadv 4330
770 #define SYS_pwritev 4331
771 #define SYS_rt_tgsigqueueinfo 4332
772 #define SYS_perf_event_open 4333
773 #define SYS_accept4 4334
774 #define SYS_recvmmsg 4335
775 #define SYS_fanotify_init 4336
776 #define SYS_fanotify_mark 4337
777 #define SYS_prlimit64 4338
778 #define SYS_name_to_handle_at 4339
779 #define SYS_open_by_handle_at 4340
780 #define SYS_clock_adjtime 4341
781 #define SYS_syncfs 4342
782 #define SYS_fallocate 4320
783 #define SYS_timerfd_create 4321
784 #define SYS_timerfd_gettime 4322
785 #define SYS_timerfd_settime 4323
786 #define SYS_signalfd4 4324
787 #define SYS_eventfd2 4325
788 #define SYS_epoll_create1 4326
789 #define SYS_dup3 4327
790 #define SYS_pipe2 4328
791 #define SYS_inotify_init1 4329
792 #define SYS_preadv 4330
793 #define SYS_pwritev 4331
794 #define SYS_rt_tgsigqueueinfo 4332
795 #define SYS_perf_event_open 4333
796 #define SYS_accept4 4334
797 #define SYS_recvmmsg 4335
798 #define SYS_fanotify_init 4336
799 #define SYS_fanotify_mark 4337
800 #define SYS_prlimit64 4338
801 #define SYS_name_to_handle_at 4339
802 #define SYS_open_by_handle_at 4340
803 #define SYS_clock_adjtime 4341
804 #define SYS_syncfs 4342
805 #define SYS_sendmmsg 4343
806 #define SYS_setns 4344
807 #define SYS_process_vm_readv 4345
808 #define SYS_process_vm_writev 4346
810 /* fixup legacy 32-bit-vs-lfs64 junk */
820 #define SYS_fcntl SYS_fcntl64
821 #define SYS_getdents SYS_getdents64
822 #define SYS_ftruncate SYS_ftruncate64
823 #define SYS_truncate SYS_truncate64
824 #define SYS_stat SYS_stat64
825 #define SYS_fstat SYS_fstat64
826 #define SYS_lstat SYS_lstat64
827 #define SYS_statfs SYS_statfs64
828 #define SYS_fstatfs SYS_fstatfs64