1 #ifndef _ARCH_X86_64_UNISTD_H
2 #define _ARCH_X86_64_UNISTD_H
5 * This file contains the system call numbers.
7 * NOTE: holes are not allowed.
11 #define __SYSCALL(a,b)
15 __SYSCALL(__NR_read, syscall_not_implemented)
17 __SYSCALL(__NR_write, sys_write)
19 __SYSCALL(__NR_open, syscall_not_implemented)
21 __SYSCALL(__NR_close, syscall_not_implemented)
23 __SYSCALL(__NR_stat, syscall_not_implemented)
25 __SYSCALL(__NR_fstat, sys_fstat)
27 __SYSCALL(__NR_lstat, syscall_not_implemented)
29 __SYSCALL(__NR_poll, syscall_not_implemented)
32 __SYSCALL(__NR_lseek, syscall_not_implemented)
34 __SYSCALL(__NR_mmap, sys_mmap)
35 #define __NR_mprotect 10
36 __SYSCALL(__NR_mprotect, syscall_not_implemented)
37 #define __NR_munmap 11
38 __SYSCALL(__NR_munmap, syscall_not_implemented)
40 __SYSCALL(__NR_brk, sys_brk)
41 #define __NR_rt_sigaction 13
42 __SYSCALL(__NR_rt_sigaction, syscall_not_implemented)
43 #define __NR_rt_sigprocmask 14
44 __SYSCALL(__NR_rt_sigprocmask, syscall_not_implemented)
45 #define __NR_rt_sigreturn 15
46 __SYSCALL(__NR_rt_sigreturn, syscall_not_implemented)
49 __SYSCALL(__NR_ioctl, syscall_not_implemented)
50 #define __NR_pread64 17
51 __SYSCALL(__NR_pread64, syscall_not_implemented)
52 #define __NR_pwrite64 18
53 __SYSCALL(__NR_pwrite64, syscall_not_implemented)
55 __SYSCALL(__NR_readv, syscall_not_implemented)
56 #define __NR_writev 20
57 __SYSCALL(__NR_writev, syscall_not_implemented)
58 #define __NR_access 21
59 __SYSCALL(__NR_access, syscall_not_implemented)
61 __SYSCALL(__NR_pipe, syscall_not_implemented)
62 #define __NR_select 23
63 __SYSCALL(__NR_select, syscall_not_implemented)
65 #define __NR_sched_yield 24
66 __SYSCALL(__NR_sched_yield, sys_sched_yield)
67 #define __NR_mremap 25
68 __SYSCALL(__NR_mremap, syscall_not_implemented)
70 __SYSCALL(__NR_msync, syscall_not_implemented)
71 #define __NR_mincore 27
72 __SYSCALL(__NR_mincore, syscall_not_implemented)
73 #define __NR_madvise 28
74 __SYSCALL(__NR_madvise, syscall_not_implemented)
75 #define __NR_shmget 29
76 __SYSCALL(__NR_shmget, syscall_not_implemented)
78 __SYSCALL(__NR_shmat, syscall_not_implemented)
79 #define __NR_shmctl 31
80 __SYSCALL(__NR_shmctl, syscall_not_implemented)
83 __SYSCALL(__NR_dup, syscall_not_implemented)
85 __SYSCALL(__NR_dup2, syscall_not_implemented)
87 __SYSCALL(__NR_pause, syscall_not_implemented)
88 #define __NR_nanosleep 35
89 __SYSCALL(__NR_nanosleep, sys_nanosleep)
90 #define __NR_getitimer 36
91 __SYSCALL(__NR_getitimer, syscall_not_implemented)
93 __SYSCALL(__NR_alarm, syscall_not_implemented)
94 #define __NR_setitimer 38
95 __SYSCALL(__NR_setitimer, syscall_not_implemented)
96 #define __NR_getpid 39
97 __SYSCALL(__NR_getpid, syscall_not_implemented)
99 #define __NR_sendfile 40
100 __SYSCALL(__NR_sendfile, syscall_not_implemented)
101 #define __NR_socket 41
102 __SYSCALL(__NR_socket, syscall_not_implemented)
103 #define __NR_connect 42
104 __SYSCALL(__NR_connect, syscall_not_implemented)
105 #define __NR_accept 43
106 __SYSCALL(__NR_accept, syscall_not_implemented)
107 #define __NR_sendto 44
108 __SYSCALL(__NR_sendto, syscall_not_implemented)
109 #define __NR_recvfrom 45
110 __SYSCALL(__NR_recvfrom, syscall_not_implemented)
111 #define __NR_sendmsg 46
112 __SYSCALL(__NR_sendmsg, syscall_not_implemented)
113 #define __NR_recvmsg 47
114 __SYSCALL(__NR_recvmsg, syscall_not_implemented)
116 #define __NR_shutdown 48
117 __SYSCALL(__NR_shutdown, syscall_not_implemented)
119 __SYSCALL(__NR_bind, syscall_not_implemented)
120 #define __NR_listen 50
121 __SYSCALL(__NR_listen, syscall_not_implemented)
122 #define __NR_getsockname 51
123 __SYSCALL(__NR_getsockname, syscall_not_implemented)
124 #define __NR_getpeername 52
125 __SYSCALL(__NR_getpeername, syscall_not_implemented)
126 #define __NR_socketpair 53
127 __SYSCALL(__NR_socketpair, syscall_not_implemented)
128 #define __NR_setsockopt 54
129 __SYSCALL(__NR_setsockopt, syscall_not_implemented)
130 #define __NR_getsockopt 55
131 __SYSCALL(__NR_getsockopt, syscall_not_implemented)
133 #define __NR_clone 56
134 __SYSCALL(__NR_clone, syscall_not_implemented)
136 __SYSCALL(__NR_fork, syscall_not_implemented)
137 #define __NR_vfork 58
138 __SYSCALL(__NR_vfork, syscall_not_implemented)
139 #define __NR_execve 59
140 __SYSCALL(__NR_execve, syscall_not_implemented)
142 __SYSCALL(__NR_exit, sys_task_exit)
143 #define __NR_wait4 61
144 __SYSCALL(__NR_wait4, syscall_not_implemented)
146 __SYSCALL(__NR_kill, syscall_not_implemented)
147 #define __NR_uname 63
148 __SYSCALL(__NR_uname, sys_uname)
150 #define __NR_semget 64
151 __SYSCALL(__NR_semget, syscall_not_implemented)
152 #define __NR_semop 65
153 __SYSCALL(__NR_semop, syscall_not_implemented)
154 #define __NR_semctl 66
155 __SYSCALL(__NR_semctl, syscall_not_implemented)
156 #define __NR_shmdt 67
157 __SYSCALL(__NR_shmdt, syscall_not_implemented)
158 #define __NR_msgget 68
159 __SYSCALL(__NR_msgget, syscall_not_implemented)
160 #define __NR_msgsnd 69
161 __SYSCALL(__NR_msgsnd, syscall_not_implemented)
162 #define __NR_msgrcv 70
163 __SYSCALL(__NR_msgrcv, syscall_not_implemented)
164 #define __NR_msgctl 71
165 __SYSCALL(__NR_msgctl, syscall_not_implemented)
167 #define __NR_fcntl 72
168 __SYSCALL(__NR_fcntl, syscall_not_implemented)
169 #define __NR_flock 73
170 __SYSCALL(__NR_flock, syscall_not_implemented)
171 #define __NR_fsync 74
172 __SYSCALL(__NR_fsync, syscall_not_implemented)
173 #define __NR_fdatasync 75
174 __SYSCALL(__NR_fdatasync, syscall_not_implemented)
175 #define __NR_truncate 76
176 __SYSCALL(__NR_truncate, syscall_not_implemented)
177 #define __NR_ftruncate 77
178 __SYSCALL(__NR_ftruncate, syscall_not_implemented)
179 #define __NR_getdents 78
180 __SYSCALL(__NR_getdents, syscall_not_implemented)
181 #define __NR_getcwd 79
182 __SYSCALL(__NR_getcwd, syscall_not_implemented)
184 #define __NR_chdir 80
185 __SYSCALL(__NR_chdir, syscall_not_implemented)
186 #define __NR_fchdir 81
187 __SYSCALL(__NR_fchdir, syscall_not_implemented)
188 #define __NR_rename 82
189 __SYSCALL(__NR_rename, syscall_not_implemented)
190 #define __NR_mkdir 83
191 __SYSCALL(__NR_mkdir, syscall_not_implemented)
192 #define __NR_rmdir 84
193 __SYSCALL(__NR_rmdir, syscall_not_implemented)
194 #define __NR_creat 85
195 __SYSCALL(__NR_creat, syscall_not_implemented)
197 __SYSCALL(__NR_link, syscall_not_implemented)
198 #define __NR_unlink 87
199 __SYSCALL(__NR_unlink, syscall_not_implemented)
201 #define __NR_symlink 88
202 __SYSCALL(__NR_symlink, syscall_not_implemented)
203 #define __NR_readlink 89
204 __SYSCALL(__NR_readlink, syscall_not_implemented)
205 #define __NR_chmod 90
206 __SYSCALL(__NR_chmod, syscall_not_implemented)
207 #define __NR_fchmod 91
208 __SYSCALL(__NR_fchmod, syscall_not_implemented)
209 #define __NR_chown 92
210 __SYSCALL(__NR_chown, syscall_not_implemented)
211 #define __NR_fchown 93
212 __SYSCALL(__NR_fchown, syscall_not_implemented)
213 #define __NR_lchown 94
214 __SYSCALL(__NR_lchown, syscall_not_implemented)
215 #define __NR_umask 95
216 __SYSCALL(__NR_umask, syscall_not_implemented)
218 #define __NR_gettimeofday 96
219 __SYSCALL(__NR_gettimeofday, sys_gettimeofday)
220 #define __NR_getrlimit 97
221 __SYSCALL(__NR_getrlimit, syscall_not_implemented)
222 #define __NR_getrusage 98
223 __SYSCALL(__NR_getrusage, syscall_not_implemented)
224 #define __NR_sysinfo 99
225 __SYSCALL(__NR_sysinfo, syscall_not_implemented)
226 #define __NR_times 100
227 __SYSCALL(__NR_times, syscall_not_implemented)
228 #define __NR_ptrace 101
229 __SYSCALL(__NR_ptrace, syscall_not_implemented)
230 #define __NR_getuid 102
231 __SYSCALL(__NR_getuid, sys_getuid)
232 #define __NR_syslog 103
233 __SYSCALL(__NR_syslog, syscall_not_implemented)
235 /* at the very end the stuff that never runs during the benchmarks */
236 #define __NR_getgid 104
237 __SYSCALL(__NR_getgid, sys_getgid)
238 #define __NR_setuid 105
239 __SYSCALL(__NR_setuid, syscall_not_implemented)
240 #define __NR_setgid 106
241 __SYSCALL(__NR_setgid, syscall_not_implemented)
242 #define __NR_geteuid 107
243 __SYSCALL(__NR_geteuid, sys_getuid)
244 #define __NR_getegid 108
245 __SYSCALL(__NR_getegid, sys_getgid)
246 #define __NR_setpgid 109
247 __SYSCALL(__NR_setpgid, syscall_not_implemented)
248 #define __NR_getppid 110
249 __SYSCALL(__NR_getppid, syscall_not_implemented)
250 #define __NR_getpgrp 111
251 __SYSCALL(__NR_getpgrp, syscall_not_implemented)
253 #define __NR_setsid 112
254 __SYSCALL(__NR_setsid, syscall_not_implemented)
255 #define __NR_setreuid 113
256 __SYSCALL(__NR_setreuid, syscall_not_implemented)
257 #define __NR_setregid 114
258 __SYSCALL(__NR_setregid, syscall_not_implemented)
259 #define __NR_getgroups 115
260 __SYSCALL(__NR_getgroups, syscall_not_implemented)
261 #define __NR_setgroups 116
262 __SYSCALL(__NR_setgroups, syscall_not_implemented)
263 #define __NR_setresuid 117
264 __SYSCALL(__NR_setresuid, syscall_not_implemented)
265 #define __NR_getresuid 118
266 __SYSCALL(__NR_getresuid, syscall_not_implemented)
267 #define __NR_setresgid 119
268 __SYSCALL(__NR_setresgid, syscall_not_implemented)
270 #define __NR_getresgid 120
271 __SYSCALL(__NR_getresgid, syscall_not_implemented)
272 #define __NR_getpgid 121
273 __SYSCALL(__NR_getpgid, syscall_not_implemented)
274 #define __NR_setfsuid 122
275 __SYSCALL(__NR_setfsuid, syscall_not_implemented)
276 #define __NR_setfsgid 123
277 __SYSCALL(__NR_setfsgid, syscall_not_implemented)
278 #define __NR_getsid 124
279 __SYSCALL(__NR_getsid, syscall_not_implemented)
280 #define __NR_capget 125
281 __SYSCALL(__NR_capget, syscall_not_implemented)
282 #define __NR_capset 126
283 __SYSCALL(__NR_capset, syscall_not_implemented)
285 #define __NR_rt_sigpending 127
286 __SYSCALL(__NR_rt_sigpending, syscall_not_implemented)
287 #define __NR_rt_sigtimedwait 128
288 __SYSCALL(__NR_rt_sigtimedwait, syscall_not_implemented)
289 #define __NR_rt_sigqueueinfo 129
290 __SYSCALL(__NR_rt_sigqueueinfo, syscall_not_implemented)
291 #define __NR_rt_sigsuspend 130
292 __SYSCALL(__NR_rt_sigsuspend, syscall_not_implemented)
293 #define __NR_sigaltstack 131
294 __SYSCALL(__NR_sigaltstack, syscall_not_implemented)
295 #define __NR_utime 132
296 __SYSCALL(__NR_utime, syscall_not_implemented)
297 #define __NR_mknod 133
298 __SYSCALL(__NR_mknod, syscall_not_implemented)
300 /* Only needed for a.out */
301 #define __NR_uselib 134
302 __SYSCALL(__NR_uselib, syscall_not_implemented)
303 #define __NR_personality 135
304 __SYSCALL(__NR_personality, syscall_not_implemented)
306 #define __NR_ustat 136
307 __SYSCALL(__NR_ustat, syscall_not_implemented)
308 #define __NR_statfs 137
309 __SYSCALL(__NR_statfs, syscall_not_implemented)
310 #define __NR_fstatfs 138
311 __SYSCALL(__NR_fstatfs, syscall_not_implemented)
312 #define __NR_sysfs 139
313 __SYSCALL(__NR_sysfs, syscall_not_implemented)
315 #define __NR_getpriority 140
316 __SYSCALL(__NR_getpriority, syscall_not_implemented)
317 #define __NR_setpriority 141
318 __SYSCALL(__NR_setpriority, syscall_not_implemented)
319 #define __NR_sched_setparam 142
320 __SYSCALL(__NR_sched_setparam, syscall_not_implemented)
321 #define __NR_sched_getparam 143
322 __SYSCALL(__NR_sched_getparam, syscall_not_implemented)
323 #define __NR_sched_setscheduler 144
324 __SYSCALL(__NR_sched_setscheduler, syscall_not_implemented)
325 #define __NR_sched_getscheduler 145
326 __SYSCALL(__NR_sched_getscheduler, syscall_not_implemented)
327 #define __NR_sched_get_priority_max 146
328 __SYSCALL(__NR_sched_get_priority_max, syscall_not_implemented)
329 #define __NR_sched_get_priority_min 147
330 __SYSCALL(__NR_sched_get_priority_min, syscall_not_implemented)
331 #define __NR_sched_rr_get_interval 148
332 __SYSCALL(__NR_sched_rr_get_interval, syscall_not_implemented)
334 #define __NR_mlock 149
335 __SYSCALL(__NR_mlock, syscall_not_implemented)
336 #define __NR_munlock 150
337 __SYSCALL(__NR_munlock, syscall_not_implemented)
338 #define __NR_mlockall 151
339 __SYSCALL(__NR_mlockall, syscall_not_implemented)
340 #define __NR_munlockall 152
341 __SYSCALL(__NR_munlockall, syscall_not_implemented)
343 #define __NR_vhangup 153
344 __SYSCALL(__NR_vhangup, syscall_not_implemented)
346 #define __NR_modify_ldt 154
347 __SYSCALL(__NR_modify_ldt, syscall_not_implemented)
349 #define __NR_pivot_root 155
350 __SYSCALL(__NR_pivot_root, syscall_not_implemented)
352 #define __NR__sysctl 156
353 __SYSCALL(__NR__sysctl, syscall_not_implemented)
355 #define __NR_prctl 157
356 __SYSCALL(__NR_prctl, syscall_not_implemented)
357 #define __NR_arch_prctl 158
358 __SYSCALL(__NR_arch_prctl, sys_arch_prctl)
360 #define __NR_adjtimex 159
361 __SYSCALL(__NR_adjtimex, syscall_not_implemented)
363 #define __NR_setrlimit 160
364 __SYSCALL(__NR_setrlimit, syscall_not_implemented)
366 #define __NR_chroot 161
367 __SYSCALL(__NR_chroot, syscall_not_implemented)
369 #define __NR_sync 162
370 __SYSCALL(__NR_sync, syscall_not_implemented)
372 #define __NR_acct 163
373 __SYSCALL(__NR_acct, syscall_not_implemented)
375 #define __NR_settimeofday 164
376 __SYSCALL(__NR_settimeofday, sys_settimeofday)
378 #define __NR_mount 165
379 __SYSCALL(__NR_mount, syscall_not_implemented)
380 #define __NR_umount2 166
381 __SYSCALL(__NR_umount2, syscall_not_implemented)
383 #define __NR_swapon 167
384 __SYSCALL(__NR_swapon, syscall_not_implemented)
385 #define __NR_swapoff 168
386 __SYSCALL(__NR_swapoff, syscall_not_implemented)
388 #define __NR_reboot 169
389 __SYSCALL(__NR_reboot, syscall_not_implemented)
391 #define __NR_sethostname 170
392 __SYSCALL(__NR_sethostname, syscall_not_implemented)
393 #define __NR_setdomainname 171
394 __SYSCALL(__NR_setdomainname, syscall_not_implemented)
396 #define __NR_iopl 172
397 __SYSCALL(__NR_iopl, syscall_not_implemented)
398 #define __NR_ioperm 173
399 __SYSCALL(__NR_ioperm, syscall_not_implemented)
401 #define __NR_create_module 174
402 __SYSCALL(__NR_create_module, syscall_not_implemented)
403 #define __NR_init_module 175
404 __SYSCALL(__NR_init_module, syscall_not_implemented)
405 #define __NR_delete_module 176
406 __SYSCALL(__NR_delete_module, syscall_not_implemented)
407 #define __NR_get_kernel_syms 177
408 __SYSCALL(__NR_get_kernel_syms, syscall_not_implemented)
409 #define __NR_query_module 178
410 __SYSCALL(__NR_query_module, syscall_not_implemented)
412 #define __NR_quotactl 179
413 __SYSCALL(__NR_quotactl, syscall_not_implemented)
415 #define __NR_nfsservctl 180
416 __SYSCALL(__NR_nfsservctl, syscall_not_implemented)
418 #define __NR_getpmsg 181 /* reserved for LiS/STREAMS */
419 __SYSCALL(__NR_getpmsg, syscall_not_implemented)
420 #define __NR_putpmsg 182 /* reserved for LiS/STREAMS */
421 __SYSCALL(__NR_putpmsg, syscall_not_implemented)
423 #define __NR_afs_syscall 183 /* reserved for AFS */
424 __SYSCALL(__NR_afs_syscall, syscall_not_implemented)
426 #define __NR_tuxcall 184 /* reserved for tux */
427 __SYSCALL(__NR_tuxcall, syscall_not_implemented)
429 #define __NR_security 185
430 __SYSCALL(__NR_security, syscall_not_implemented)
432 #define __NR_gettid 186
433 __SYSCALL(__NR_gettid, syscall_not_implemented)
435 #define __NR_readahead 187
436 __SYSCALL(__NR_readahead, syscall_not_implemented)
437 #define __NR_setxattr 188
438 __SYSCALL(__NR_setxattr, syscall_not_implemented)
439 #define __NR_lsetxattr 189
440 __SYSCALL(__NR_lsetxattr, syscall_not_implemented)
441 #define __NR_fsetxattr 190
442 __SYSCALL(__NR_fsetxattr, syscall_not_implemented)
443 #define __NR_getxattr 191
444 __SYSCALL(__NR_getxattr, syscall_not_implemented)
445 #define __NR_lgetxattr 192
446 __SYSCALL(__NR_lgetxattr, syscall_not_implemented)
447 #define __NR_fgetxattr 193
448 __SYSCALL(__NR_fgetxattr, syscall_not_implemented)
449 #define __NR_listxattr 194
450 __SYSCALL(__NR_listxattr, syscall_not_implemented)
451 #define __NR_llistxattr 195
452 __SYSCALL(__NR_llistxattr, syscall_not_implemented)
453 #define __NR_flistxattr 196
454 __SYSCALL(__NR_flistxattr, syscall_not_implemented)
455 #define __NR_removexattr 197
456 __SYSCALL(__NR_removexattr, syscall_not_implemented)
457 #define __NR_lremovexattr 198
458 __SYSCALL(__NR_lremovexattr, syscall_not_implemented)
459 #define __NR_fremovexattr 199
460 __SYSCALL(__NR_fremovexattr, syscall_not_implemented)
461 #define __NR_tkill 200
462 __SYSCALL(__NR_tkill, syscall_not_implemented)
463 #define __NR_time 201
464 __SYSCALL(__NR_time, sys_time)
465 #define __NR_futex 202
466 __SYSCALL(__NR_futex, syscall_not_implemented)
467 #define __NR_sched_setaffinity 203
468 __SYSCALL(__NR_sched_setaffinity, syscall_not_implemented)
469 #define __NR_sched_getaffinity 204
470 __SYSCALL(__NR_sched_getaffinity, syscall_not_implemented)
471 #define __NR_set_thread_area 205
472 __SYSCALL(__NR_set_thread_area, syscall_not_implemented)
473 #define __NR_io_setup 206
474 __SYSCALL(__NR_io_setup, syscall_not_implemented)
475 #define __NR_io_destroy 207
476 __SYSCALL(__NR_io_destroy, syscall_not_implemented)
477 #define __NR_io_getevents 208
478 __SYSCALL(__NR_io_getevents, syscall_not_implemented)
479 #define __NR_io_submit 209
480 __SYSCALL(__NR_io_submit, syscall_not_implemented)
481 #define __NR_io_cancel 210
482 __SYSCALL(__NR_io_cancel, syscall_not_implemented)
483 #define __NR_get_thread_area 211
484 __SYSCALL(__NR_get_thread_area, syscall_not_implemented)
485 #define __NR_lookup_dcookie 212
486 __SYSCALL(__NR_lookup_dcookie, syscall_not_implemented)
487 #define __NR_epoll_create 213
488 __SYSCALL(__NR_epoll_create, syscall_not_implemented)
489 #define __NR_epoll_ctl_old 214
490 __SYSCALL(__NR_epoll_ctl_old, syscall_not_implemented)
491 #define __NR_epoll_wait_old 215
492 __SYSCALL(__NR_epoll_wait_old, syscall_not_implemented)
493 #define __NR_remap_file_pages 216
494 __SYSCALL(__NR_remap_file_pages, syscall_not_implemented)
495 #define __NR_getdents64 217
496 __SYSCALL(__NR_getdents64, syscall_not_implemented)
497 #define __NR_set_tid_address 218
498 __SYSCALL(__NR_set_tid_address, syscall_not_implemented)
499 #define __NR_restart_syscall 219
500 __SYSCALL(__NR_restart_syscall, syscall_not_implemented)
501 #define __NR_semtimedop 220
502 __SYSCALL(__NR_semtimedop, syscall_not_implemented)
503 #define __NR_fadvise64 221
504 __SYSCALL(__NR_fadvise64, syscall_not_implemented)
505 #define __NR_timer_create 222
506 __SYSCALL(__NR_timer_create, syscall_not_implemented)
507 #define __NR_timer_settime 223
508 __SYSCALL(__NR_timer_settime, syscall_not_implemented)
509 #define __NR_timer_gettime 224
510 __SYSCALL(__NR_timer_gettime, syscall_not_implemented)
511 #define __NR_timer_getoverrun 225
512 __SYSCALL(__NR_timer_getoverrun, syscall_not_implemented)
513 #define __NR_timer_delete 226
514 __SYSCALL(__NR_timer_delete, syscall_not_implemented)
515 #define __NR_clock_settime 227
516 __SYSCALL(__NR_clock_settime, syscall_not_implemented)
517 #define __NR_clock_gettime 228
518 __SYSCALL(__NR_clock_gettime, syscall_not_implemented)
519 #define __NR_clock_getres 229
520 __SYSCALL(__NR_clock_getres, syscall_not_implemented)
521 #define __NR_clock_nanosleep 230
522 __SYSCALL(__NR_clock_nanosleep, syscall_not_implemented)
523 #define __NR_exit_group 231
524 __SYSCALL(__NR_exit_group, syscall_not_implemented)
525 #define __NR_epoll_wait 232
526 __SYSCALL(__NR_epoll_wait, syscall_not_implemented)
527 #define __NR_epoll_ctl 233
528 __SYSCALL(__NR_epoll_ctl, syscall_not_implemented)
529 #define __NR_tgkill 234
530 __SYSCALL(__NR_tgkill, syscall_not_implemented)
531 #define __NR_utimes 235
532 __SYSCALL(__NR_utimes, syscall_not_implemented)
533 #define __NR_vserver 236
534 __SYSCALL(__NR_vserver, syscall_not_implemented)
535 #define __NR_mbind 237
536 __SYSCALL(__NR_mbind, syscall_not_implemented)
537 #define __NR_set_mempolicy 238
538 __SYSCALL(__NR_set_mempolicy, syscall_not_implemented)
539 #define __NR_get_mempolicy 239
540 __SYSCALL(__NR_get_mempolicy, syscall_not_implemented)
541 #define __NR_mq_open 240
542 __SYSCALL(__NR_mq_open, syscall_not_implemented)
543 #define __NR_mq_unlink 241
544 __SYSCALL(__NR_mq_unlink, syscall_not_implemented)
545 #define __NR_mq_timedsend 242
546 __SYSCALL(__NR_mq_timedsend, syscall_not_implemented)
547 #define __NR_mq_timedreceive 243
548 __SYSCALL(__NR_mq_timedreceive, syscall_not_implemented)
549 #define __NR_mq_notify 244
550 __SYSCALL(__NR_mq_notify, syscall_not_implemented)
551 #define __NR_mq_getsetattr 245
552 __SYSCALL(__NR_mq_getsetattr, syscall_not_implemented)
553 #define __NR_kexec_load 246
554 __SYSCALL(__NR_kexec_load, syscall_not_implemented)
555 #define __NR_waitid 247
556 __SYSCALL(__NR_waitid, syscall_not_implemented)
557 #define __NR_add_key 248
558 __SYSCALL(__NR_add_key, syscall_not_implemented)
559 #define __NR_request_key 249
560 __SYSCALL(__NR_request_key, syscall_not_implemented)
561 #define __NR_keyctl 250
562 __SYSCALL(__NR_keyctl, syscall_not_implemented)
563 #define __NR_ioprio_set 251
564 __SYSCALL(__NR_ioprio_set, syscall_not_implemented)
565 #define __NR_ioprio_get 252
566 __SYSCALL(__NR_ioprio_get, syscall_not_implemented)
567 #define __NR_inotify_init 253
568 __SYSCALL(__NR_inotify_init, syscall_not_implemented)
569 #define __NR_inotify_add_watch 254
570 __SYSCALL(__NR_inotify_add_watch, syscall_not_implemented)
571 #define __NR_inotify_rm_watch 255
572 __SYSCALL(__NR_inotify_rm_watch, syscall_not_implemented)
573 #define __NR_migrate_pages 256
574 __SYSCALL(__NR_migrate_pages, syscall_not_implemented)
575 #define __NR_openat 257
576 __SYSCALL(__NR_openat, syscall_not_implemented)
577 #define __NR_mkdirat 258
578 __SYSCALL(__NR_mkdirat, syscall_not_implemented)
579 #define __NR_mknodat 259
580 __SYSCALL(__NR_mknodat, syscall_not_implemented)
581 #define __NR_fchownat 260
582 __SYSCALL(__NR_fchownat, syscall_not_implemented)
583 #define __NR_futimesat 261
584 __SYSCALL(__NR_futimesat, syscall_not_implemented)
585 #define __NR_newfstatat 262
586 __SYSCALL(__NR_newfstatat, syscall_not_implemented)
587 #define __NR_unlinkat 263
588 __SYSCALL(__NR_unlinkat, syscall_not_implemented)
589 #define __NR_renameat 264
590 __SYSCALL(__NR_renameat, syscall_not_implemented)
591 #define __NR_linkat 265
592 __SYSCALL(__NR_linkat, syscall_not_implemented)
593 #define __NR_symlinkat 266
594 __SYSCALL(__NR_symlinkat, syscall_not_implemented)
595 #define __NR_readlinkat 267
596 __SYSCALL(__NR_readlinkat, syscall_not_implemented)
597 #define __NR_fchmodat 268
598 __SYSCALL(__NR_fchmodat, syscall_not_implemented)
599 #define __NR_faccessat 269
600 __SYSCALL(__NR_faccessat, syscall_not_implemented)
601 #define __NR_pselect6 270
602 __SYSCALL(__NR_pselect6, syscall_not_implemented)
603 #define __NR_ppoll 271
604 __SYSCALL(__NR_ppoll, syscall_not_implemented)
605 #define __NR_unshare 272
606 __SYSCALL(__NR_unshare, syscall_not_implemented)
607 #define __NR_set_robust_list 273
608 __SYSCALL(__NR_set_robust_list, syscall_not_implemented)
609 #define __NR_get_robust_list 274
610 __SYSCALL(__NR_get_robust_list, syscall_not_implemented)
611 #define __NR_splice 275
612 __SYSCALL(__NR_splice, syscall_not_implemented)
614 __SYSCALL(__NR_tee, syscall_not_implemented)
615 #define __NR_sync_file_range 277
616 __SYSCALL(__NR_sync_file_range, syscall_not_implemented)
617 #define __NR_vmsplice 278
618 __SYSCALL(__NR_vmsplice, syscall_not_implemented)
619 #define __NR_move_pages 279
620 __SYSCALL(__NR_move_pages, syscall_not_implemented)
621 #define __NR_utimensat 280
622 __SYSCALL(__NR_utimensat, syscall_not_implemented)
623 #define __IGNORE_getcpu /* implemented as a vsyscall */
624 #define __NR_epoll_pwait 281
625 __SYSCALL(__NR_epoll_pwait, syscall_not_implemented)
626 #define __NR_signalfd 282
627 __SYSCALL(__NR_signalfd, syscall_not_implemented)
628 #define __NR_timerfd 283
629 __SYSCALL(__NR_timerfd, syscall_not_implemented)
630 #define __NR_eventfd 284
631 __SYSCALL(__NR_eventfd, syscall_not_implemented)
632 #define __NR_fallocate 285
633 __SYSCALL(__NR_fallocate, syscall_not_implemented)
636 * LWK specific system calls.
638 #define __NR_pmem_add 286
639 __SYSCALL(__NR_pmem_add, sys_pmem_add)
640 #define __NR_pmem_update 287
641 __SYSCALL(__NR_pmem_update, sys_pmem_update)
642 #define __NR_pmem_query 288
643 __SYSCALL(__NR_pmem_query, sys_pmem_query)
644 #define __NR_pmem_alloc 289
645 __SYSCALL(__NR_pmem_alloc, sys_pmem_alloc)
647 #define __NR_aspace_get_myid 290
648 __SYSCALL(__NR_aspace_get_myid, sys_aspace_get_myid)
649 #define __NR_aspace_create 291
650 __SYSCALL(__NR_aspace_create, sys_aspace_create)
651 #define __NR_aspace_destroy 292
652 __SYSCALL(__NR_aspace_destroy, sys_aspace_destroy)
653 #define __NR_aspace_find_hole 293
654 __SYSCALL(__NR_aspace_find_hole, sys_aspace_find_hole)
655 #define __NR_aspace_add_region 294
656 __SYSCALL(__NR_aspace_add_region, sys_aspace_add_region)
657 #define __NR_aspace_del_region 295
658 __SYSCALL(__NR_aspace_del_region, sys_aspace_del_region)
659 #define __NR_aspace_map_pmem 296
660 __SYSCALL(__NR_aspace_map_pmem, sys_aspace_map_pmem)
661 #define __NR_aspace_unmap_pmem 297
662 __SYSCALL(__NR_aspace_unmap_pmem, sys_aspace_unmap_pmem)
663 #define __NR_aspace_smartmap 298
664 __SYSCALL(__NR_aspace_smartmap, sys_aspace_smartmap)
665 #define __NR_aspace_unsmartmap 299
666 __SYSCALL(__NR_aspace_unsmartmap, sys_aspace_unsmartmap)
667 #define __NR_aspace_dump2console 300
668 __SYSCALL(__NR_aspace_dump2console, sys_aspace_dump2console)
670 #define __NR_task_get_myid 301
671 __SYSCALL(__NR_task_get_myid, sys_task_get_myid)
672 #define __NR_task_create 302
673 __SYSCALL(__NR_task_create, sys_task_create)
674 #define __NR_task_exit 303
675 __SYSCALL(__NR_task_exit, sys_task_exit)
676 #define __NR_task_yield 304
677 __SYSCALL(__NR_task_yield, sys_task_yield)
679 #define __NR_elf_hwcap 305
680 __SYSCALL(__NR_task_yield, sys_elf_hwcap)