6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.101 2009/11/24 10:42:43 njoly Exp
10 #ifndef _LINUX_SYS_SYSCALL_H_
11 #define _LINUX_SYS_SYSCALL_H_
13 #define LINUX_SYS_MAXSYSARGS 8
15 /* syscall: "syscall" ret: "int" args: */
16 #define LINUX_SYS_syscall 0
18 /* syscall: "exit" ret: "int" args: "int" */
19 #define LINUX_SYS_exit 1
21 /* syscall: "fork" ret: "int" args: */
22 #define LINUX_SYS_fork 2
24 /* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
25 #define LINUX_SYS_read 3
27 /* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
28 #define LINUX_SYS_write 4
30 /* syscall: "open" ret: "int" args: "const char *" "int" "int" */
31 #define LINUX_SYS_open 5
33 /* syscall: "close" ret: "int" args: "int" */
34 #define LINUX_SYS_close 6
36 /* syscall: "waitpid" ret: "int" args: "int" "int *" "int" */
37 #define LINUX_SYS_waitpid 7
39 /* syscall: "creat" ret: "int" args: "const char *" "int" */
40 #define LINUX_SYS_creat 8
42 /* syscall: "link" ret: "int" args: "const char *" "const char *" */
43 #define LINUX_SYS_link 9
45 /* syscall: "unlink" ret: "int" args: "const char *" */
46 #define LINUX_SYS_unlink 10
48 /* syscall: "execve" ret: "int" args: "const char *" "char **" "char **" */
49 #define LINUX_SYS_execve 11
51 /* syscall: "chdir" ret: "int" args: "const char *" */
52 #define LINUX_SYS_chdir 12
54 /* syscall: "time" ret: "int" args: "linux_time_t *" */
55 #define LINUX_SYS_time 13
57 /* syscall: "mknod" ret: "int" args: "const char *" "int" "int" */
58 #define LINUX_SYS_mknod 14
60 /* syscall: "chmod" ret: "int" args: "const char *" "int" */
61 #define LINUX_SYS_chmod 15
63 /* syscall: "lchown16" ret: "int" args: "const char *" "linux_uid16_t" "linux_gid16_t" */
64 #define LINUX_SYS_lchown16 16
66 /* syscall: "break" ret: "int" args: "char *" */
67 #define LINUX_SYS_break 17
69 /* 18 is obsolete ostat */
70 /* syscall: "lseek" ret: "long" args: "int" "long" "int" */
71 #define LINUX_SYS_lseek 19
74 /* syscall: "getpid" ret: "pid_t" args: */
75 #define LINUX_SYS_getpid 20
78 /* syscall: "getpid" ret: "pid_t" args: */
79 #define LINUX_SYS_getpid 20
82 /* syscall: "linux_setuid16" ret: "int" args: "uid_t" */
83 #define LINUX_SYS_linux_setuid16 23
85 /* syscall: "linux_getuid16" ret: "uid_t" args: */
86 #define LINUX_SYS_linux_getuid16 24
88 /* syscall: "stime" ret: "int" args: "linux_time_t *" */
89 #define LINUX_SYS_stime 25
91 /* syscall: "ptrace" ret: "int" args: "int" "int" "int" "int" */
92 #define LINUX_SYS_ptrace 26
94 /* syscall: "alarm" ret: "int" args: "unsigned int" */
95 #define LINUX_SYS_alarm 27
97 /* 28 is obsolete ofstat */
98 /* syscall: "pause" ret: "int" args: */
99 #define LINUX_SYS_pause 29
101 /* syscall: "utime" ret: "int" args: "const char *" "struct linux_utimbuf *" */
102 #define LINUX_SYS_utime 30
104 /* 31 is obsolete stty */
105 /* 32 is obsolete gtty */
106 /* syscall: "access" ret: "int" args: "const char *" "int" */
107 #define LINUX_SYS_access 33
109 /* syscall: "nice" ret: "int" args: "int" */
110 #define LINUX_SYS_nice 34
112 /* 35 is obsolete ftime */
113 /* syscall: "sync" ret: "int" args: */
114 #define LINUX_SYS_sync 36
116 /* syscall: "kill" ret: "int" args: "int" "int" */
117 #define LINUX_SYS_kill 37
119 /* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */
120 #define LINUX_SYS___posix_rename 38
122 /* syscall: "mkdir" ret: "int" args: "const char *" "int" */
123 #define LINUX_SYS_mkdir 39
125 /* syscall: "rmdir" ret: "int" args: "const char *" */
126 #define LINUX_SYS_rmdir 40
128 /* syscall: "dup" ret: "int" args: "u_int" */
129 #define LINUX_SYS_dup 41
131 /* syscall: "pipe" ret: "int" args: "int *" */
132 #define LINUX_SYS_pipe 42
134 /* syscall: "times" ret: "int" args: "struct times *" */
135 #define LINUX_SYS_times 43
137 /* 44 is obsolete prof */
138 /* syscall: "brk" ret: "int" args: "char *" */
139 #define LINUX_SYS_brk 45
141 /* syscall: "linux_setgid16" ret: "int" args: "gid_t" */
142 #define LINUX_SYS_linux_setgid16 46
144 /* syscall: "linux_getgid16" ret: "gid_t" args: */
145 #define LINUX_SYS_linux_getgid16 47
147 /* syscall: "signal" ret: "int" args: "int" "linux_handler_t" */
148 #define LINUX_SYS_signal 48
150 /* syscall: "linux_geteuid16" ret: "uid_t" args: */
151 #define LINUX_SYS_linux_geteuid16 49
153 /* syscall: "linux_getegid16" ret: "gid_t" args: */
154 #define LINUX_SYS_linux_getegid16 50
156 /* syscall: "acct" ret: "int" args: "char *" */
157 #define LINUX_SYS_acct 51
159 /* 52 is obsolete phys */
160 /* 53 is obsolete lock */
161 /* syscall: "ioctl" ret: "int" args: "int" "u_long" "void *" */
162 #define LINUX_SYS_ioctl 54
164 /* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
165 #define LINUX_SYS_fcntl 55
167 /* 56 is obsolete mpx */
168 /* syscall: "setpgid" ret: "int" args: "int" "int" */
169 #define LINUX_SYS_setpgid 57
171 /* 58 is obsolete ulimit */
172 /* syscall: "oldolduname" ret: "int" args: "struct linux_oldold_utsname *" */
173 #define LINUX_SYS_oldolduname 59
175 /* syscall: "umask" ret: "int" args: "int" */
176 #define LINUX_SYS_umask 60
178 /* syscall: "chroot" ret: "int" args: "char *" */
179 #define LINUX_SYS_chroot 61
181 /* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
182 #define LINUX_SYS_dup2 63
185 /* syscall: "getppid" ret: "pid_t" args: */
186 #define LINUX_SYS_getppid 64
189 /* syscall: "getppid" ret: "pid_t" args: */
190 #define LINUX_SYS_getppid 64
193 /* syscall: "getpgrp" ret: "int" args: */
194 #define LINUX_SYS_getpgrp 65
196 /* syscall: "setsid" ret: "int" args: */
197 #define LINUX_SYS_setsid 66
199 /* syscall: "sigaction" ret: "int" args: "int" "const struct linux_old_sigaction *" "struct linux_old_sigaction *" */
200 #define LINUX_SYS_sigaction 67
202 /* syscall: "siggetmask" ret: "int" args: */
203 #define LINUX_SYS_siggetmask 68
205 /* syscall: "sigsetmask" ret: "int" args: "linux_old_sigset_t" */
206 #define LINUX_SYS_sigsetmask 69
208 /* syscall: "setreuid16" ret: "int" args: "linux_uid16_t" "linux_uid16_t" */
209 #define LINUX_SYS_setreuid16 70
211 /* syscall: "setregid16" ret: "int" args: "linux_gid16_t" "linux_gid16_t" */
212 #define LINUX_SYS_setregid16 71
214 /* syscall: "sigsuspend" ret: "int" args: "void *" "int" "int" */
215 #define LINUX_SYS_sigsuspend 72
217 /* syscall: "sigpending" ret: "int" args: "linux_old_sigset_t *" */
218 #define LINUX_SYS_sigpending 73
220 /* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
221 #define LINUX_SYS_sethostname 74
223 /* syscall: "setrlimit" ret: "int" args: "u_int" "struct orlimit *" */
224 #define LINUX_SYS_setrlimit 75
226 /* syscall: "getrlimit" ret: "int" args: "u_int" "struct orlimit *" */
227 #define LINUX_SYS_getrlimit 76
229 /* syscall: "getrusage" ret: "int" args: "int" "struct rusage50 *" */
230 #define LINUX_SYS_getrusage 77
232 /* syscall: "gettimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */
233 #define LINUX_SYS_gettimeofday 78
235 /* syscall: "settimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */
236 #define LINUX_SYS_settimeofday 79
238 /* syscall: "getgroups16" ret: "int" args: "int" "linux_gid16_t *" */
239 #define LINUX_SYS_getgroups16 80
241 /* syscall: "setgroups16" ret: "int" args: "int" "linux_gid16_t *" */
242 #define LINUX_SYS_setgroups16 81
244 /* syscall: "oldselect" ret: "int" args: "struct linux_oldselect *" */
245 #define LINUX_SYS_oldselect 82
247 /* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
248 #define LINUX_SYS_symlink 83
250 /* syscall: "oolstat" ret: "int" args: "const char *" "struct stat43 *" */
251 #define LINUX_SYS_oolstat 84
253 /* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
254 #define LINUX_SYS_readlink 85
257 /* syscall: "uselib" ret: "int" args: "const char *" */
258 #define LINUX_SYS_uselib 86
262 /* syscall: "swapon" ret: "int" args: "char *" */
263 #define LINUX_SYS_swapon 87
265 /* syscall: "reboot" ret: "int" args: "int" "int" "int" "void *" */
266 #define LINUX_SYS_reboot 88
268 /* syscall: "readdir" ret: "int" args: "int" "void *" "unsigned int" */
269 #define LINUX_SYS_readdir 89
271 /* syscall: "old_mmap" ret: "int" args: "struct linux_oldmmap *" */
272 #define LINUX_SYS_old_mmap 90
274 /* syscall: "munmap" ret: "int" args: "void *" "int" */
275 #define LINUX_SYS_munmap 91
277 /* syscall: "truncate" ret: "int" args: "const char *" "long" */
278 #define LINUX_SYS_truncate 92
280 /* syscall: "ftruncate" ret: "int" args: "int" "long" */
281 #define LINUX_SYS_ftruncate 93
283 /* syscall: "fchmod" ret: "int" args: "int" "int" */
284 #define LINUX_SYS_fchmod 94
286 /* syscall: "fchown16" ret: "int" args: "int" "linux_uid16_t" "linux_gid16_t" */
287 #define LINUX_SYS_fchown16 95
289 /* syscall: "getpriority" ret: "int" args: "int" "int" */
290 #define LINUX_SYS_getpriority 96
292 /* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
293 #define LINUX_SYS_setpriority 97
295 /* syscall: "profil" ret: "int" args: "void *" "u_int" "u_int" "u_int" */
296 #define LINUX_SYS_profil 98
298 /* syscall: "statfs" ret: "int" args: "const char *" "struct linux_statfs *" */
299 #define LINUX_SYS_statfs 99
301 /* syscall: "fstatfs" ret: "int" args: "int" "struct linux_statfs *" */
302 #define LINUX_SYS_fstatfs 100
304 /* syscall: "ioperm" ret: "int" args: "unsigned int" "unsigned int" "int" */
305 #define LINUX_SYS_ioperm 101
307 /* syscall: "socketcall" ret: "int" args: "int" "void *" */
308 #define LINUX_SYS_socketcall 102
310 /* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval50 *" "struct itimerval50 *" */
311 #define LINUX_SYS_setitimer 104
313 /* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval50 *" */
314 #define LINUX_SYS_getitimer 105
316 /* syscall: "stat" ret: "int" args: "const char *" "struct linux_stat *" */
317 #define LINUX_SYS_stat 106
319 /* syscall: "lstat" ret: "int" args: "const char *" "struct linux_stat *" */
320 #define LINUX_SYS_lstat 107
322 /* syscall: "fstat" ret: "int" args: "int" "struct linux_stat *" */
323 #define LINUX_SYS_fstat 108
325 /* syscall: "olduname" ret: "int" args: "struct linux_old_utsname *" */
326 #define LINUX_SYS_olduname 109
328 /* syscall: "iopl" ret: "int" args: "int" */
329 #define LINUX_SYS_iopl 110
331 /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage50 *" */
332 #define LINUX_SYS_wait4 114
334 /* syscall: "swapoff" ret: "int" args: "const char *" */
335 #define LINUX_SYS_swapoff 115
337 /* syscall: "sysinfo" ret: "int" args: "struct linux_sysinfo *" */
338 #define LINUX_SYS_sysinfo 116
340 /* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "void *" */
341 #define LINUX_SYS_ipc 117
343 /* syscall: "fsync" ret: "int" args: "int" */
344 #define LINUX_SYS_fsync 118
346 /* syscall: "sigreturn" ret: "int" args: "struct linux_sigcontext *" */
347 #define LINUX_SYS_sigreturn 119
349 /* syscall: "clone" ret: "int" args: "int" "void *" "void *" "void *" */
350 #define LINUX_SYS_clone 120
352 /* syscall: "setdomainname" ret: "int" args: "char *" "int" */
353 #define LINUX_SYS_setdomainname 121
355 /* syscall: "uname" ret: "int" args: "struct linux_utsname *" */
356 #define LINUX_SYS_uname 122
358 /* syscall: "modify_ldt" ret: "int" args: "int" "void *" "size_t" */
359 #define LINUX_SYS_modify_ldt 123
361 /* syscall: "mprotect" ret: "int" args: "const void *" "unsigned long" "int" */
362 #define LINUX_SYS_mprotect 125
364 /* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */
365 #define LINUX_SYS_sigprocmask 126
367 /* syscall: "getpgid" ret: "pid_t" args: "pid_t" */
368 #define LINUX_SYS_getpgid 132
370 /* syscall: "fchdir" ret: "int" args: "int" */
371 #define LINUX_SYS_fchdir 133
373 /* syscall: "personality" ret: "int" args: "unsigned long" */
374 #define LINUX_SYS_personality 136
376 /* syscall: "linux_setfsuid16" ret: "int" args: "uid_t" */
377 #define LINUX_SYS_linux_setfsuid16 138
379 /* syscall: "linux_setfsgid16" ret: "int" args: "gid_t" */
380 #define LINUX_SYS_linux_setfsgid16 139
382 /* syscall: "llseek" ret: "int" args: "int" "u_int32_t" "u_int32_t" "void *" "int" */
383 #define LINUX_SYS_llseek 140
385 /* syscall: "getdents" ret: "int" args: "int" "struct linux_dirent *" "unsigned int" */
386 #define LINUX_SYS_getdents 141
388 /* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */
389 #define LINUX_SYS_select 142
391 /* syscall: "flock" ret: "int" args: "int" "int" */
392 #define LINUX_SYS_flock 143
394 /* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */
395 #define LINUX_SYS___msync13 144
397 /* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
398 #define LINUX_SYS_readv 145
400 /* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
401 #define LINUX_SYS_writev 146
403 /* syscall: "getsid" ret: "pid_t" args: "pid_t" */
404 #define LINUX_SYS_getsid 147
406 /* syscall: "fdatasync" ret: "int" args: "int" */
407 #define LINUX_SYS_fdatasync 148
409 /* syscall: "__sysctl" ret: "int" args: "struct linux___sysctl *" */
410 #define LINUX_SYS___sysctl 149
412 /* syscall: "mlock" ret: "int" args: "void *" "size_t" */
413 #define LINUX_SYS_mlock 150
415 /* syscall: "munlock" ret: "int" args: "void *" "size_t" */
416 #define LINUX_SYS_munlock 151
418 /* syscall: "mlockall" ret: "int" args: "int" */
419 #define LINUX_SYS_mlockall 152
421 /* syscall: "munlockall" ret: "int" args: */
422 #define LINUX_SYS_munlockall 153
424 /* syscall: "sched_setparam" ret: "int" args: "pid_t" "const struct linux_sched_param *" */
425 #define LINUX_SYS_sched_setparam 154
427 /* syscall: "sched_getparam" ret: "int" args: "pid_t" "struct linux_sched_param *" */
428 #define LINUX_SYS_sched_getparam 155
430 /* syscall: "sched_setscheduler" ret: "int" args: "pid_t" "int" "const struct linux_sched_param *" */
431 #define LINUX_SYS_sched_setscheduler 156
433 /* syscall: "sched_getscheduler" ret: "int" args: "pid_t" */
434 #define LINUX_SYS_sched_getscheduler 157
436 /* syscall: "sched_yield" ret: "int" args: */
437 #define LINUX_SYS_sched_yield 158
439 /* syscall: "sched_get_priority_max" ret: "int" args: "int" */
440 #define LINUX_SYS_sched_get_priority_max 159
442 /* syscall: "sched_get_priority_min" ret: "int" args: "int" */
443 #define LINUX_SYS_sched_get_priority_min 160
445 /* syscall: "nanosleep" ret: "int" args: "const struct linux_timespec *" "struct linux_timespec *" */
446 #define LINUX_SYS_nanosleep 162
448 /* syscall: "mremap" ret: "void *" args: "void *" "size_t" "size_t" "u_long" */
449 #define LINUX_SYS_mremap 163
451 /* syscall: "setresuid16" ret: "int" args: "linux_uid16_t" "linux_uid16_t" "linux_uid16_t" */
452 #define LINUX_SYS_setresuid16 164
454 /* syscall: "getresuid16" ret: "int" args: "linux_uid16_t *" "linux_uid16_t *" "linux_uid16_t *" */
455 #define LINUX_SYS_getresuid16 165
457 /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
458 #define LINUX_SYS_poll 168
460 /* syscall: "setresgid16" ret: "int" args: "linux_gid16_t" "linux_gid16_t" "linux_gid16_t" */
461 #define LINUX_SYS_setresgid16 170
463 /* syscall: "getresgid16" ret: "int" args: "linux_gid16_t *" "linux_gid16_t *" "linux_gid16_t *" */
464 #define LINUX_SYS_getresgid16 171
466 /* syscall: "rt_sigreturn" ret: "int" args: "struct linux_ucontext *" */
467 #define LINUX_SYS_rt_sigreturn 173
469 /* syscall: "rt_sigaction" ret: "int" args: "int" "const struct linux_sigaction *" "struct linux_sigaction *" "size_t" */
470 #define LINUX_SYS_rt_sigaction 174
472 /* syscall: "rt_sigprocmask" ret: "int" args: "int" "const linux_sigset_t *" "linux_sigset_t *" "size_t" */
473 #define LINUX_SYS_rt_sigprocmask 175
475 /* syscall: "rt_sigpending" ret: "int" args: "linux_sigset_t *" "size_t" */
476 #define LINUX_SYS_rt_sigpending 176
478 /* syscall: "rt_queueinfo" ret: "int" args: "int" "int" "linux_siginfo_t *" */
479 #define LINUX_SYS_rt_queueinfo 178
481 /* syscall: "rt_sigsuspend" ret: "int" args: "linux_sigset_t *" "size_t" */
482 #define LINUX_SYS_rt_sigsuspend 179
484 /* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
485 #define LINUX_SYS_pread 180
487 /* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
488 #define LINUX_SYS_pwrite 181
490 /* syscall: "chown16" ret: "int" args: "const char *" "linux_uid16_t" "linux_gid16_t" */
491 #define LINUX_SYS_chown16 182
493 /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
494 #define LINUX_SYS___getcwd 183
496 /* syscall: "sigaltstack" ret: "int" args: "const struct linux_sigaltstack *" "struct linux_sigaltstack *" */
497 #define LINUX_SYS_sigaltstack 186
499 /* syscall: "__vfork14" ret: "int" args: */
500 #define LINUX_SYS___vfork14 190
502 /* syscall: "ugetrlimit" ret: "int" args: "int" "struct orlimit *" */
503 #define LINUX_SYS_ugetrlimit 191
505 #define linux_sys_mmap2_args linux_sys_mmap_args
506 /* syscall: "mmap2" ret: "linux_off_t" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
507 #define LINUX_SYS_mmap2 192
509 /* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */
510 #define LINUX_SYS_truncate64 193
512 /* syscall: "ftruncate64" ret: "int" args: "unsigned int" "off_t" */
513 #define LINUX_SYS_ftruncate64 194
515 /* syscall: "stat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
516 #define LINUX_SYS_stat64 195
518 /* syscall: "lstat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
519 #define LINUX_SYS_lstat64 196
521 /* syscall: "fstat64" ret: "int" args: "int" "struct linux_stat64 *" */
522 #define LINUX_SYS_fstat64 197
524 /* syscall: "__posix_lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
525 #define LINUX_SYS___posix_lchown 198
527 /* syscall: "getuid" ret: "uid_t" args: */
528 #define LINUX_SYS_getuid 199
530 /* syscall: "getgid" ret: "gid_t" args: */
531 #define LINUX_SYS_getgid 200
533 /* syscall: "geteuid" ret: "uid_t" args: */
534 #define LINUX_SYS_geteuid 201
536 /* syscall: "getegid" ret: "gid_t" args: */
537 #define LINUX_SYS_getegid 202
539 /* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
540 #define LINUX_SYS_setreuid 203
542 /* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
543 #define LINUX_SYS_setregid 204
545 /* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
546 #define LINUX_SYS_getgroups 205
548 /* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
549 #define LINUX_SYS_setgroups 206
551 /* syscall: "__posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */
552 #define LINUX_SYS___posix_fchown 207
554 /* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */
555 #define LINUX_SYS_setresuid 208
557 /* syscall: "getresuid" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */
558 #define LINUX_SYS_getresuid 209
560 /* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */
561 #define LINUX_SYS_setresgid 210
563 /* syscall: "getresgid" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */
564 #define LINUX_SYS_getresgid 211
566 /* syscall: "__posix_chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
567 #define LINUX_SYS___posix_chown 212
569 /* syscall: "setuid" ret: "int" args: "uid_t" */
570 #define LINUX_SYS_setuid 213
572 /* syscall: "setgid" ret: "int" args: "gid_t" */
573 #define LINUX_SYS_setgid 214
575 /* syscall: "setfsuid" ret: "int" args: "uid_t" */
576 #define LINUX_SYS_setfsuid 215
578 /* syscall: "setfsgid" ret: "int" args: "gid_t" */
579 #define LINUX_SYS_setfsgid 216
581 /* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */
582 #define LINUX_SYS_mincore 218
584 /* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
585 #define LINUX_SYS_madvise 219
587 /* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
588 #define LINUX_SYS_getdents64 220
590 /* syscall: "fcntl64" ret: "int" args: "int" "int" "void *" */
591 #define LINUX_SYS_fcntl64 221
594 /* syscall: "gettid" ret: "pid_t" args: */
595 #define LINUX_SYS_gettid 224
599 /* syscall: "setxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */
600 #define LINUX_SYS_setxattr 226
602 /* syscall: "lsetxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */
603 #define LINUX_SYS_lsetxattr 227
605 /* syscall: "fsetxattr" ret: "int" args: "int" "char *" "void *" "size_t" "int" */
606 #define LINUX_SYS_fsetxattr 228
608 /* syscall: "getxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */
609 #define LINUX_SYS_getxattr 229
611 /* syscall: "lgetxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */
612 #define LINUX_SYS_lgetxattr 230
614 /* syscall: "fgetxattr" ret: "ssize_t" args: "int" "char *" "void *" "size_t" */
615 #define LINUX_SYS_fgetxattr 231
617 /* syscall: "listxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */
618 #define LINUX_SYS_listxattr 232
620 /* syscall: "llistxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */
621 #define LINUX_SYS_llistxattr 233
623 /* syscall: "flistxattr" ret: "ssize_t" args: "int" "char *" "size_t" */
624 #define LINUX_SYS_flistxattr 234
626 /* syscall: "removexattr" ret: "int" args: "char *" "char *" */
627 #define LINUX_SYS_removexattr 235
629 /* syscall: "lremovexattr" ret: "int" args: "char *" "char *" */
630 #define LINUX_SYS_lremovexattr 236
632 /* syscall: "fremovexattr" ret: "int" args: "int" "char *" */
633 #define LINUX_SYS_fremovexattr 237
636 /* syscall: "tkill" ret: "int" args: "int" "int" */
637 #define LINUX_SYS_tkill 238
641 /* syscall: "futex" ret: "int" args: "int *" "int" "int" "const struct linux_timespec *" "int *" "int" */
642 #define LINUX_SYS_futex 240
645 /* syscall: "sched_setaffinity" ret: "int" args: "pid_t" "unsigned int" "unsigned long *" */
646 #define LINUX_SYS_sched_setaffinity 241
648 /* syscall: "sched_getaffinity" ret: "int" args: "pid_t" "unsigned int" "unsigned long *" */
649 #define LINUX_SYS_sched_getaffinity 242
654 /* syscall: "set_thread_area" ret: "int" args: "struct linux_user_desc *" */
655 #define LINUX_SYS_set_thread_area 243
657 /* syscall: "get_thread_area" ret: "int" args: "struct linux_user_desc *" */
658 #define LINUX_SYS_get_thread_area 244
662 /* syscall: "exit_group" ret: "int" args: "int" */
663 #define LINUX_SYS_exit_group 252
666 /* syscall: "set_tid_address" ret: "int" args: "int *" */
667 #define LINUX_SYS_set_tid_address 258
671 /* syscall: "clock_settime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
672 #define LINUX_SYS_clock_settime 264
674 /* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
675 #define LINUX_SYS_clock_gettime 265
677 /* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct linux_timespec *" */
678 #define LINUX_SYS_clock_getres 266
680 /* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "struct linux_timespec *" "struct linux_timespec *" */
681 #define LINUX_SYS_clock_nanosleep 267
683 /* syscall: "statfs64" ret: "int" args: "const char *" "size_t" "struct linux_statfs64 *" */
684 #define LINUX_SYS_statfs64 268
686 /* syscall: "fstatfs64" ret: "int" args: "int" "size_t" "struct linux_statfs64 *" */
687 #define LINUX_SYS_fstatfs64 269
690 /* syscall: "tgkill" ret: "int" args: "int" "int" "int" */
691 #define LINUX_SYS_tgkill 270
695 /* 285 is obsolete / * XXXJDM really? * / */
696 /* syscall: "set_robust_list" ret: "int" args: "struct linux_robust_list_head *" "size_t" */
697 #define LINUX_SYS_set_robust_list 311
699 /* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
700 #define LINUX_SYS_get_robust_list 312
702 #define LINUX_SYS_MAXSYSCALL 317
703 #define LINUX_SYS_NSYSENT 512
704 #endif /* _LINUX_SYS_SYSCALL_H_ */