xref: /netbsd-src/sys/compat/linux/arch/i386/linux_syscall.h (revision fad4c9f71477ae11cea2ee75ec82151ac770a534)
1 /* $NetBSD: linux_syscall.h,v 1.63 2006/06/10 21:16:49 christos Exp $ */
2 
3 /*
4  * System call numbers.
5  *
6  * DO NOT EDIT-- this file is automatically generated.
7  * created from	NetBSD: syscalls.master,v 1.78 2006/06/10 21:15:33 christos Exp
8  */
9 
10 #ifndef _LINUX_SYS_SYSCALL_H_
11 #define	_LINUX_SYS_SYSCALL_H_
12 
13 /* syscall: "syscall" ret: "int" args: */
14 #define	LINUX_SYS_syscall	0
15 
16 /* syscall: "exit" ret: "int" args: "int" */
17 #define	LINUX_SYS_exit	1
18 
19 /* syscall: "fork" ret: "int" args: */
20 #define	LINUX_SYS_fork	2
21 
22 /* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
23 #define	LINUX_SYS_read	3
24 
25 /* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
26 #define	LINUX_SYS_write	4
27 
28 /* syscall: "open" ret: "int" args: "const char *" "int" "int" */
29 #define	LINUX_SYS_open	5
30 
31 /* syscall: "close" ret: "int" args: "int" */
32 #define	LINUX_SYS_close	6
33 
34 /* syscall: "waitpid" ret: "int" args: "int" "int *" "int" */
35 #define	LINUX_SYS_waitpid	7
36 
37 /* syscall: "creat" ret: "int" args: "const char *" "int" */
38 #define	LINUX_SYS_creat	8
39 
40 /* syscall: "link" ret: "int" args: "const char *" "const char *" */
41 #define	LINUX_SYS_link	9
42 
43 /* syscall: "unlink" ret: "int" args: "const char *" */
44 #define	LINUX_SYS_unlink	10
45 
46 /* syscall: "execve" ret: "int" args: "const char *" "char **" "char **" */
47 #define	LINUX_SYS_execve	11
48 
49 /* syscall: "chdir" ret: "int" args: "const char *" */
50 #define	LINUX_SYS_chdir	12
51 
52 /* syscall: "time" ret: "int" args: "linux_time_t *" */
53 #define	LINUX_SYS_time	13
54 
55 /* syscall: "mknod" ret: "int" args: "const char *" "int" "int" */
56 #define	LINUX_SYS_mknod	14
57 
58 /* syscall: "chmod" ret: "int" args: "const char *" "int" */
59 #define	LINUX_SYS_chmod	15
60 
61 /* syscall: "lchown16" ret: "int" args: "const char *" "int" "int" */
62 #define	LINUX_SYS_lchown16	16
63 
64 /* syscall: "break" ret: "int" args: "char *" */
65 #define	LINUX_SYS_break	17
66 
67 				/* 18 is obsolete ostat */
68 /* syscall: "lseek" ret: "long" args: "int" "long" "int" */
69 #define	LINUX_SYS_lseek	19
70 
71 /* syscall: "getpid" ret: "pid_t" args: */
72 #define	LINUX_SYS_getpid	20
73 
74 /* syscall: "linux_setuid16" ret: "int" args: "uid_t" */
75 #define	LINUX_SYS_linux_setuid16	23
76 
77 /* syscall: "linux_getuid16" ret: "uid_t" args: */
78 #define	LINUX_SYS_linux_getuid16	24
79 
80 /* syscall: "stime" ret: "int" args: "linux_time_t *" */
81 #define	LINUX_SYS_stime	25
82 
83 /* syscall: "ptrace" ret: "int" args: "int" "int" "int" "int" */
84 #define	LINUX_SYS_ptrace	26
85 
86 /* syscall: "alarm" ret: "int" args: "unsigned int" */
87 #define	LINUX_SYS_alarm	27
88 
89 				/* 28 is obsolete ofstat */
90 /* syscall: "pause" ret: "int" args: */
91 #define	LINUX_SYS_pause	29
92 
93 /* syscall: "utime" ret: "int" args: "const char *" "struct linux_utimbuf *" */
94 #define	LINUX_SYS_utime	30
95 
96 				/* 31 is obsolete stty */
97 				/* 32 is obsolete gtty */
98 /* syscall: "access" ret: "int" args: "const char *" "int" */
99 #define	LINUX_SYS_access	33
100 
101 /* syscall: "nice" ret: "int" args: "int" */
102 #define	LINUX_SYS_nice	34
103 
104 				/* 35 is obsolete ftime */
105 /* syscall: "sync" ret: "int" args: */
106 #define	LINUX_SYS_sync	36
107 
108 /* syscall: "kill" ret: "int" args: "int" "int" */
109 #define	LINUX_SYS_kill	37
110 
111 /* syscall: "rename" ret: "int" args: "const char *" "const char *" */
112 #define	LINUX_SYS_rename	38
113 
114 /* syscall: "mkdir" ret: "int" args: "const char *" "int" */
115 #define	LINUX_SYS_mkdir	39
116 
117 /* syscall: "rmdir" ret: "int" args: "const char *" */
118 #define	LINUX_SYS_rmdir	40
119 
120 /* syscall: "dup" ret: "int" args: "u_int" */
121 #define	LINUX_SYS_dup	41
122 
123 /* syscall: "pipe" ret: "int" args: "int *" */
124 #define	LINUX_SYS_pipe	42
125 
126 /* syscall: "times" ret: "int" args: "struct times *" */
127 #define	LINUX_SYS_times	43
128 
129 				/* 44 is obsolete prof */
130 /* syscall: "brk" ret: "int" args: "char *" */
131 #define	LINUX_SYS_brk	45
132 
133 /* syscall: "linux_setgid16" ret: "int" args: "gid_t" */
134 #define	LINUX_SYS_linux_setgid16	46
135 
136 /* syscall: "linux_getgid16" ret: "gid_t" args: */
137 #define	LINUX_SYS_linux_getgid16	47
138 
139 /* syscall: "signal" ret: "int" args: "int" "linux_handler_t" */
140 #define	LINUX_SYS_signal	48
141 
142 /* syscall: "linux_geteuid16" ret: "uid_t" args: */
143 #define	LINUX_SYS_linux_geteuid16	49
144 
145 /* syscall: "linux_getegid16" ret: "gid_t" args: */
146 #define	LINUX_SYS_linux_getegid16	50
147 
148 /* syscall: "acct" ret: "int" args: "char *" */
149 #define	LINUX_SYS_acct	51
150 
151 				/* 52 is obsolete phys */
152 				/* 53 is obsolete lock */
153 /* syscall: "ioctl" ret: "int" args: "int" "u_long" "caddr_t" */
154 #define	LINUX_SYS_ioctl	54
155 
156 /* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
157 #define	LINUX_SYS_fcntl	55
158 
159 				/* 56 is obsolete mpx */
160 /* syscall: "setpgid" ret: "int" args: "int" "int" */
161 #define	LINUX_SYS_setpgid	57
162 
163 				/* 58 is obsolete ulimit */
164 /* syscall: "oldolduname" ret: "int" args: "struct linux_oldold_utsname *" */
165 #define	LINUX_SYS_oldolduname	59
166 
167 /* syscall: "umask" ret: "int" args: "int" */
168 #define	LINUX_SYS_umask	60
169 
170 /* syscall: "chroot" ret: "int" args: "char *" */
171 #define	LINUX_SYS_chroot	61
172 
173 /* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
174 #define	LINUX_SYS_dup2	63
175 
176 /* syscall: "getppid" ret: "pid_t" args: */
177 #define	LINUX_SYS_getppid	64
178 
179 /* syscall: "getpgrp" ret: "int" args: */
180 #define	LINUX_SYS_getpgrp	65
181 
182 /* syscall: "setsid" ret: "int" args: */
183 #define	LINUX_SYS_setsid	66
184 
185 /* syscall: "sigaction" ret: "int" args: "int" "const struct linux_old_sigaction *" "struct linux_old_sigaction *" */
186 #define	LINUX_SYS_sigaction	67
187 
188 /* syscall: "siggetmask" ret: "int" args: */
189 #define	LINUX_SYS_siggetmask	68
190 
191 /* syscall: "sigsetmask" ret: "int" args: "linux_old_sigset_t" */
192 #define	LINUX_SYS_sigsetmask	69
193 
194 /* syscall: "setreuid16" ret: "int" args: "int" "int" */
195 #define	LINUX_SYS_setreuid16	70
196 
197 /* syscall: "setregid16" ret: "int" args: "int" "int" */
198 #define	LINUX_SYS_setregid16	71
199 
200 /* syscall: "sigsuspend" ret: "int" args: "caddr_t" "int" "int" */
201 #define	LINUX_SYS_sigsuspend	72
202 
203 /* syscall: "sigpending" ret: "int" args: "linux_old_sigset_t *" */
204 #define	LINUX_SYS_sigpending	73
205 
206 /* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
207 #define	LINUX_SYS_sethostname	74
208 
209 /* syscall: "setrlimit" ret: "int" args: "u_int" "struct orlimit *" */
210 #define	LINUX_SYS_setrlimit	75
211 
212 /* syscall: "getrlimit" ret: "int" args: "u_int" "struct orlimit *" */
213 #define	LINUX_SYS_getrlimit	76
214 
215 /* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */
216 #define	LINUX_SYS_getrusage	77
217 
218 /* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
219 #define	LINUX_SYS_gettimeofday	78
220 
221 /* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
222 #define	LINUX_SYS_settimeofday	79
223 
224 /* syscall: "getgroups16" ret: "int" args: "int" "linux_gid_t *" */
225 #define	LINUX_SYS_getgroups16	80
226 
227 /* syscall: "setgroups16" ret: "int" args: "int" "linux_gid_t *" */
228 #define	LINUX_SYS_setgroups16	81
229 
230 /* syscall: "oldselect" ret: "int" args: "struct linux_oldselect *" */
231 #define	LINUX_SYS_oldselect	82
232 
233 /* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
234 #define	LINUX_SYS_symlink	83
235 
236 /* syscall: "oolstat" ret: "int" args: "const char *" "struct stat43 *" */
237 #define	LINUX_SYS_oolstat	84
238 
239 /* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
240 #define	LINUX_SYS_readlink	85
241 
242 #ifdef EXEC_AOUT
243 /* syscall: "uselib" ret: "int" args: "const char *" */
244 #define	LINUX_SYS_uselib	86
245 
246 #else
247 #endif
248 /* syscall: "swapon" ret: "int" args: "char *" */
249 #define	LINUX_SYS_swapon	87
250 
251 /* syscall: "reboot" ret: "int" args: "int" "int" "int" "void *" */
252 #define	LINUX_SYS_reboot	88
253 
254 /* syscall: "readdir" ret: "int" args: "int" "caddr_t" "unsigned int" */
255 #define	LINUX_SYS_readdir	89
256 
257 /* syscall: "old_mmap" ret: "int" args: "struct linux_oldmmap *" */
258 #define	LINUX_SYS_old_mmap	90
259 
260 /* syscall: "munmap" ret: "int" args: "caddr_t" "int" */
261 #define	LINUX_SYS_munmap	91
262 
263 /* syscall: "truncate" ret: "int" args: "const char *" "long" */
264 #define	LINUX_SYS_truncate	92
265 
266 /* syscall: "ftruncate" ret: "int" args: "int" "long" */
267 #define	LINUX_SYS_ftruncate	93
268 
269 /* syscall: "fchmod" ret: "int" args: "int" "int" */
270 #define	LINUX_SYS_fchmod	94
271 
272 /* syscall: "fchown16" ret: "int" args: "int" "int" "int" */
273 #define	LINUX_SYS_fchown16	95
274 
275 /* syscall: "getpriority" ret: "int" args: "int" "int" */
276 #define	LINUX_SYS_getpriority	96
277 
278 /* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
279 #define	LINUX_SYS_setpriority	97
280 
281 /* syscall: "profil" ret: "int" args: "caddr_t" "u_int" "u_int" "u_int" */
282 #define	LINUX_SYS_profil	98
283 
284 /* syscall: "statfs" ret: "int" args: "const char *" "struct linux_statfs *" */
285 #define	LINUX_SYS_statfs	99
286 
287 /* syscall: "fstatfs" ret: "int" args: "int" "struct linux_statfs *" */
288 #define	LINUX_SYS_fstatfs	100
289 
290 /* syscall: "ioperm" ret: "int" args: "unsigned int" "unsigned int" "int" */
291 #define	LINUX_SYS_ioperm	101
292 
293 /* syscall: "socketcall" ret: "int" args: "int" "void *" */
294 #define	LINUX_SYS_socketcall	102
295 
296 /* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
297 #define	LINUX_SYS_setitimer	104
298 
299 /* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */
300 #define	LINUX_SYS_getitimer	105
301 
302 /* syscall: "stat" ret: "int" args: "const char *" "struct linux_stat *" */
303 #define	LINUX_SYS_stat	106
304 
305 /* syscall: "lstat" ret: "int" args: "const char *" "struct linux_stat *" */
306 #define	LINUX_SYS_lstat	107
307 
308 /* syscall: "fstat" ret: "int" args: "int" "struct linux_stat *" */
309 #define	LINUX_SYS_fstat	108
310 
311 /* syscall: "olduname" ret: "int" args: "struct linux_old_utsname *" */
312 #define	LINUX_SYS_olduname	109
313 
314 /* syscall: "iopl" ret: "int" args: "int" */
315 #define	LINUX_SYS_iopl	110
316 
317 /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
318 #define	LINUX_SYS_wait4	114
319 
320 /* syscall: "swapoff" ret: "int" args: "const char *" */
321 #define	LINUX_SYS_swapoff	115
322 
323 /* syscall: "sysinfo" ret: "int" args: "struct linux_sysinfo *" */
324 #define	LINUX_SYS_sysinfo	116
325 
326 /* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "caddr_t" */
327 #define	LINUX_SYS_ipc	117
328 
329 /* syscall: "fsync" ret: "int" args: "int" */
330 #define	LINUX_SYS_fsync	118
331 
332 /* syscall: "sigreturn" ret: "int" args: "struct linux_sigcontext *" */
333 #define	LINUX_SYS_sigreturn	119
334 
335 /* syscall: "clone" ret: "int" args: "int" "void *" */
336 #define	LINUX_SYS_clone	120
337 
338 /* syscall: "setdomainname" ret: "int" args: "char *" "int" */
339 #define	LINUX_SYS_setdomainname	121
340 
341 /* syscall: "uname" ret: "int" args: "struct linux_utsname *" */
342 #define	LINUX_SYS_uname	122
343 
344 /* syscall: "modify_ldt" ret: "int" args: "int" "void *" "size_t" */
345 #define	LINUX_SYS_modify_ldt	123
346 
347 /* syscall: "mprotect" ret: "int" args: "const void *" "unsigned long" "int" */
348 #define	LINUX_SYS_mprotect	125
349 
350 /* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */
351 #define	LINUX_SYS_sigprocmask	126
352 
353 /* syscall: "getpgid" ret: "int" args: "int" */
354 #define	LINUX_SYS_getpgid	132
355 
356 /* syscall: "fchdir" ret: "int" args: "int" */
357 #define	LINUX_SYS_fchdir	133
358 
359 /* syscall: "personality" ret: "int" args: "int" */
360 #define	LINUX_SYS_personality	136
361 
362 /* syscall: "linux_setfsuid16" ret: "int" args: "uid_t" */
363 #define	LINUX_SYS_linux_setfsuid16	138
364 
365 /* syscall: "linux_getfsuid16" ret: "int" args: */
366 #define	LINUX_SYS_linux_getfsuid16	139
367 
368 /* syscall: "llseek" ret: "int" args: "int" "u_int32_t" "u_int32_t" "caddr_t" "int" */
369 #define	LINUX_SYS_llseek	140
370 
371 /* syscall: "getdents" ret: "int" args: "int" "struct linux_dirent *" "unsigned int" */
372 #define	LINUX_SYS_getdents	141
373 
374 /* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
375 #define	LINUX_SYS_select	142
376 
377 /* syscall: "flock" ret: "int" args: "int" "int" */
378 #define	LINUX_SYS_flock	143
379 
380 /* syscall: "msync" ret: "int" args: "caddr_t" "int" "int" */
381 #define	LINUX_SYS_msync	144
382 
383 /* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
384 #define	LINUX_SYS_readv	145
385 
386 /* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
387 #define	LINUX_SYS_writev	146
388 
389 /* syscall: "getsid" ret: "pid_t" args: "pid_t" */
390 #define	LINUX_SYS_getsid	147
391 
392 /* syscall: "fdatasync" ret: "int" args: "int" */
393 #define	LINUX_SYS_fdatasync	148
394 
395 /* syscall: "__sysctl" ret: "int" args: "struct linux___sysctl *" */
396 #define	LINUX_SYS___sysctl	149
397 
398 /* syscall: "mlock" ret: "int" args: "caddr_t" "size_t" */
399 #define	LINUX_SYS_mlock	150
400 
401 /* syscall: "munlock" ret: "int" args: "caddr_t" "size_t" */
402 #define	LINUX_SYS_munlock	151
403 
404 /* syscall: "mlockall" ret: "int" args: "int" */
405 #define	LINUX_SYS_mlockall	152
406 
407 /* syscall: "munlockall" ret: "int" args: */
408 #define	LINUX_SYS_munlockall	153
409 
410 /* syscall: "sched_setparam" ret: "int" args: "pid_t" "const struct linux_sched_param *" */
411 #define	LINUX_SYS_sched_setparam	154
412 
413 /* syscall: "sched_getparam" ret: "int" args: "pid_t" "struct linux_sched_param *" */
414 #define	LINUX_SYS_sched_getparam	155
415 
416 /* syscall: "sched_setscheduler" ret: "int" args: "pid_t" "int" "const struct linux_sched_param *" */
417 #define	LINUX_SYS_sched_setscheduler	156
418 
419 /* syscall: "sched_getscheduler" ret: "int" args: "pid_t" */
420 #define	LINUX_SYS_sched_getscheduler	157
421 
422 /* syscall: "sched_yield" ret: "int" args: */
423 #define	LINUX_SYS_sched_yield	158
424 
425 /* syscall: "sched_get_priority_max" ret: "int" args: "int" */
426 #define	LINUX_SYS_sched_get_priority_max	159
427 
428 /* syscall: "sched_get_priority_min" ret: "int" args: "int" */
429 #define	LINUX_SYS_sched_get_priority_min	160
430 
431 /* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */
432 #define	LINUX_SYS_nanosleep	162
433 
434 /* syscall: "mremap" ret: "void *" args: "void *" "size_t" "size_t" "u_long" */
435 #define	LINUX_SYS_mremap	163
436 
437 /* syscall: "setresuid16" ret: "int" args: "uid_t" "uid_t" "uid_t" */
438 #define	LINUX_SYS_setresuid16	164
439 
440 /* syscall: "linux_getresuid16" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */
441 #define	LINUX_SYS_linux_getresuid16	165
442 
443 /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
444 #define	LINUX_SYS_poll	168
445 
446 /* syscall: "setresgid16" ret: "int" args: "gid_t" "gid_t" "gid_t" */
447 #define	LINUX_SYS_setresgid16	170
448 
449 /* syscall: "linux_getresgid16" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */
450 #define	LINUX_SYS_linux_getresgid16	171
451 
452 /* syscall: "rt_sigreturn" ret: "int" args: "struct linux_ucontext *" */
453 #define	LINUX_SYS_rt_sigreturn	173
454 
455 /* syscall: "rt_sigaction" ret: "int" args: "int" "const struct linux_sigaction *" "struct linux_sigaction *" "size_t" */
456 #define	LINUX_SYS_rt_sigaction	174
457 
458 /* syscall: "rt_sigprocmask" ret: "int" args: "int" "const linux_sigset_t *" "linux_sigset_t *" "size_t" */
459 #define	LINUX_SYS_rt_sigprocmask	175
460 
461 /* syscall: "rt_sigpending" ret: "int" args: "linux_sigset_t *" "size_t" */
462 #define	LINUX_SYS_rt_sigpending	176
463 
464 /* syscall: "rt_queueinfo" ret: "int" args: "int" "int" "void *" */
465 #define	LINUX_SYS_rt_queueinfo	178
466 
467 /* syscall: "rt_sigsuspend" ret: "int" args: "linux_sigset_t *" "size_t" */
468 #define	LINUX_SYS_rt_sigsuspend	179
469 
470 /* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
471 #define	LINUX_SYS_pread	180
472 
473 /* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
474 #define	LINUX_SYS_pwrite	181
475 
476 /* syscall: "chown16" ret: "int" args: "const char *" "int" "int" */
477 #define	LINUX_SYS_chown16	182
478 
479 /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
480 #define	LINUX_SYS___getcwd	183
481 
482 /* syscall: "sigaltstack" ret: "int" args: "const struct linux_sigaltstack *" "struct linux_sigaltstack *" */
483 #define	LINUX_SYS_sigaltstack	186
484 
485 /* syscall: "__vfork14" ret: "int" args: */
486 #define	LINUX_SYS___vfork14	190
487 
488 /* syscall: "ugetrlimit" ret: "int" args: "int" "struct orlimit *" */
489 #define	LINUX_SYS_ugetrlimit	191
490 
491 /* syscall: "mmap2" ret: "linux_off_t" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
492 #define	LINUX_SYS_mmap2	192
493 
494 /* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */
495 #define	LINUX_SYS_truncate64	193
496 
497 /* syscall: "ftruncate64" ret: "int" args: "unsigned int" "off_t" */
498 #define	LINUX_SYS_ftruncate64	194
499 
500 /* syscall: "stat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
501 #define	LINUX_SYS_stat64	195
502 
503 /* syscall: "lstat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
504 #define	LINUX_SYS_lstat64	196
505 
506 /* syscall: "fstat64" ret: "int" args: "int" "struct linux_stat64 *" */
507 #define	LINUX_SYS_fstat64	197
508 
509 /* syscall: "lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
510 #define	LINUX_SYS_lchown	198
511 
512 /* syscall: "getuid" ret: "uid_t" args: */
513 #define	LINUX_SYS_getuid	199
514 
515 /* syscall: "getgid" ret: "gid_t" args: */
516 #define	LINUX_SYS_getgid	200
517 
518 /* syscall: "geteuid" ret: "uid_t" args: */
519 #define	LINUX_SYS_geteuid	201
520 
521 /* syscall: "getegid" ret: "gid_t" args: */
522 #define	LINUX_SYS_getegid	202
523 
524 /* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
525 #define	LINUX_SYS_setreuid	203
526 
527 /* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
528 #define	LINUX_SYS_setregid	204
529 
530 /* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
531 #define	LINUX_SYS_getgroups	205
532 
533 /* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
534 #define	LINUX_SYS_setgroups	206
535 
536 /* syscall: "__posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */
537 #define	LINUX_SYS___posix_fchown	207
538 
539 /* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */
540 #define	LINUX_SYS_setresuid	208
541 
542 /* syscall: "getresuid" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */
543 #define	LINUX_SYS_getresuid	209
544 
545 /* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */
546 #define	LINUX_SYS_setresgid	210
547 
548 /* syscall: "getresgid" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */
549 #define	LINUX_SYS_getresgid	211
550 
551 /* syscall: "chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
552 #define	LINUX_SYS_chown	212
553 
554 /* syscall: "setuid" ret: "int" args: "uid_t" */
555 #define	LINUX_SYS_setuid	213
556 
557 /* syscall: "setgid" ret: "int" args: "gid_t" */
558 #define	LINUX_SYS_setgid	214
559 
560 /* syscall: "setfsuid" ret: "int" args: "uid_t" */
561 #define	LINUX_SYS_setfsuid	215
562 
563 /* syscall: "getfsuid" ret: "int" args: */
564 #define	LINUX_SYS_getfsuid	216
565 
566 /* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */
567 #define	LINUX_SYS_mincore	218
568 
569 /* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
570 #define	LINUX_SYS_madvise	219
571 
572 /* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
573 #define	LINUX_SYS_getdents64	220
574 
575 /* syscall: "fcntl64" ret: "int" args: "int" "int" "void *" */
576 #define	LINUX_SYS_fcntl64	221
577 
578 /* syscall: "setxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */
579 #define	LINUX_SYS_setxattr	226
580 
581 /* syscall: "lsetxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */
582 #define	LINUX_SYS_lsetxattr	227
583 
584 /* syscall: "fsetxattr" ret: "int" args: "int" "char *" "void *" "size_t" "int" */
585 #define	LINUX_SYS_fsetxattr	228
586 
587 /* syscall: "getxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */
588 #define	LINUX_SYS_getxattr	229
589 
590 /* syscall: "lgetxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */
591 #define	LINUX_SYS_lgetxattr	230
592 
593 /* syscall: "fgetxattr" ret: "ssize_t" args: "int" "char *" "void *" "size_t" */
594 #define	LINUX_SYS_fgetxattr	231
595 
596 /* syscall: "listxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */
597 #define	LINUX_SYS_listxattr	232
598 
599 /* syscall: "llistxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */
600 #define	LINUX_SYS_llistxattr	233
601 
602 /* syscall: "flistxattr" ret: "ssize_t" args: "int" "char *" "size_t" */
603 #define	LINUX_SYS_flistxattr	234
604 
605 /* syscall: "removexattr" ret: "int" args: "char *" "char *" */
606 #define	LINUX_SYS_removexattr	235
607 
608 /* syscall: "lremovexattr" ret: "int" args: "char *" "char *" */
609 #define	LINUX_SYS_lremovexattr	236
610 
611 /* syscall: "fremovexattr" ret: "int" args: "int" "char *" */
612 #define	LINUX_SYS_fremovexattr	237
613 
614 /* syscall: "exit_group" ret: "int" args: "int" */
615 #define	LINUX_SYS_exit_group	252
616 
617 /* syscall: "clock_settime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
618 #define	LINUX_SYS_clock_settime	264
619 
620 /* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
621 #define	LINUX_SYS_clock_gettime	265
622 
623 /* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct linux_timespec *" */
624 #define	LINUX_SYS_clock_getres	266
625 
626 /* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "struct linux_timespec *" "struct linux_timespec *" */
627 #define	LINUX_SYS_clock_nanosleep	267
628 
629 /* syscall: "statfs64" ret: "int" args: "const char *" "size_t" "struct linux_statfs64 *" */
630 #define	LINUX_SYS_statfs64	268
631 
632 /* syscall: "fstatfs64" ret: "int" args: "int" "size_t" "struct linux_statfs64 *" */
633 #define	LINUX_SYS_fstatfs64	269
634 
635 #define	LINUX_SYS_MAXSYSCALL	284
636 #define	LINUX_SYS_NSYSENT	512
637 #endif /* _LINUX_SYS_SYSCALL_H_ */
638