Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / compat / linux / arch / mips / linux_syscall.h
blob2e5caaa06f46ceeb957fcd646a13e899e91dcf21
1 /* $NetBSD$ */
3 /*
4 * System call numbers.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.37 2009/11/24 10:42:44 njoly Exp
8 */
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: "__posix_lchown" ret: "int" args: "const char *" "int" "int" */
64 #define LINUX_SYS___posix_lchown 16
66 /* 18 is obsolete ostat */
67 /* syscall: "lseek" ret: "long" args: "int" "long" "int" */
68 #define LINUX_SYS_lseek 19
70 /* syscall: "getpid" ret: "pid_t" args: */
71 #define LINUX_SYS_getpid 20
73 /* 22 is obsolete umount */
74 /* syscall: "setuid" ret: "int" args: "uid_t" */
75 #define LINUX_SYS_setuid 23
77 /* syscall: "getuid" ret: "uid_t" args: */
78 #define LINUX_SYS_getuid 24
80 /* syscall: "stime" ret: "int" args: "linux_time_t *" */
81 #define LINUX_SYS_stime 25
83 /* syscall: "ptrace" ret: "int" args: "int" "int" "int" "int" */
84 #define LINUX_SYS_ptrace 26
86 /* syscall: "alarm" ret: "int" args: "unsigned int" */
87 #define LINUX_SYS_alarm 27
89 /* 28 is obsolete ofstat */
90 /* syscall: "pause" ret: "int" args: */
91 #define LINUX_SYS_pause 29
93 /* syscall: "utime" ret: "int" args: "const char *" "struct linux_utimbuf *" */
94 #define LINUX_SYS_utime 30
96 /* syscall: "access" ret: "int" args: "const char *" "int" */
97 #define LINUX_SYS_access 33
99 /* syscall: "nice" ret: "int" args: "int" */
100 #define LINUX_SYS_nice 34
102 /* syscall: "sync" ret: "int" args: */
103 #define LINUX_SYS_sync 36
105 /* syscall: "kill" ret: "int" args: "int" "int" */
106 #define LINUX_SYS_kill 37
108 /* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */
109 #define LINUX_SYS___posix_rename 38
111 /* syscall: "mkdir" ret: "int" args: "const char *" "int" */
112 #define LINUX_SYS_mkdir 39
114 /* syscall: "rmdir" ret: "int" args: "const char *" */
115 #define LINUX_SYS_rmdir 40
117 /* syscall: "dup" ret: "int" args: "u_int" */
118 #define LINUX_SYS_dup 41
120 /* syscall: "pipe" ret: "int" args: "int *" */
121 #define LINUX_SYS_pipe 42
123 /* syscall: "times" ret: "int" args: "struct times *" */
124 #define LINUX_SYS_times 43
126 /* syscall: "brk" ret: "int" args: "char *" */
127 #define LINUX_SYS_brk 45
129 /* syscall: "setgid" ret: "int" args: "gid_t" */
130 #define LINUX_SYS_setgid 46
132 /* syscall: "getgid" ret: "gid_t" args: */
133 #define LINUX_SYS_getgid 47
135 /* syscall: "signal" ret: "int" args: "int" "linux___sighandler_t" */
136 #define LINUX_SYS_signal 48
138 /* syscall: "geteuid" ret: "uid_t" args: */
139 #define LINUX_SYS_geteuid 49
141 /* syscall: "getegid" ret: "gid_t" args: */
142 #define LINUX_SYS_getegid 50
144 /* syscall: "acct" ret: "int" args: "char *" */
145 #define LINUX_SYS_acct 51
147 /* syscall: "ioctl" ret: "int" args: "int" "u_long" "void *" */
148 #define LINUX_SYS_ioctl 54
150 /* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
151 #define LINUX_SYS_fcntl 55
153 /* 56 is obsolete mpx */
154 /* syscall: "setpgid" ret: "int" args: "int" "int" */
155 #define LINUX_SYS_setpgid 57
157 /* syscall: "olduname" ret: "int" args: "struct linux_old_utsname *" */
158 #define LINUX_SYS_olduname 59
160 /* syscall: "umask" ret: "int" args: "int" */
161 #define LINUX_SYS_umask 60
163 /* syscall: "chroot" ret: "int" args: "char *" */
164 #define LINUX_SYS_chroot 61
166 /* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
167 #define LINUX_SYS_dup2 63
169 /* syscall: "getppid" ret: "pid_t" args: */
170 #define LINUX_SYS_getppid 64
172 /* syscall: "getpgrp" ret: "int" args: */
173 #define LINUX_SYS_getpgrp 65
175 /* syscall: "setsid" ret: "int" args: */
176 #define LINUX_SYS_setsid 66
178 /* syscall: "sigaction" ret: "int" args: "int" "const struct linux_old_sigaction *" "struct linux_old_sigaction *" */
179 #define LINUX_SYS_sigaction 67
181 /* syscall: "siggetmask" ret: "int" args: */
182 #define LINUX_SYS_siggetmask 68
184 /* syscall: "sigsetmask" ret: "int" args: "linux_old_sigset_t" */
185 #define LINUX_SYS_sigsetmask 69
187 /* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
188 #define LINUX_SYS_setreuid 70
190 /* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
191 #define LINUX_SYS_setregid 71
193 /* syscall: "sigsuspend" ret: "int" args: "void *" "int" "int" */
194 #define LINUX_SYS_sigsuspend 72
196 /* syscall: "sigpending" ret: "int" args: "linux_old_sigset_t *" */
197 #define LINUX_SYS_sigpending 73
199 /* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
200 #define LINUX_SYS_sethostname 74
202 /* syscall: "setrlimit" ret: "int" args: "u_int" "struct orlimit *" */
203 #define LINUX_SYS_setrlimit 75
205 /* syscall: "getrlimit" ret: "int" args: "u_int" "struct orlimit *" */
206 #define LINUX_SYS_getrlimit 76
208 /* syscall: "getrusage" ret: "int" args: "int" "struct rusage50 *" */
209 #define LINUX_SYS_getrusage 77
211 /* syscall: "gettimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */
212 #define LINUX_SYS_gettimeofday 78
214 /* syscall: "settimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */
215 #define LINUX_SYS_settimeofday 79
217 /* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
218 #define LINUX_SYS_getgroups 80
220 /* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
221 #define LINUX_SYS_setgroups 81
223 /* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
224 #define LINUX_SYS_symlink 83
226 /* syscall: "oolstat" ret: "int" args: "const char *" "struct stat43 *" */
227 #define LINUX_SYS_oolstat 84
229 /* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
230 #define LINUX_SYS_readlink 85
232 /* syscall: "swapon" ret: "int" args: "char *" */
233 #define LINUX_SYS_swapon 87
235 /* syscall: "reboot" ret: "int" args: "int" "int" "int" "void *" */
236 #define LINUX_SYS_reboot 88
238 /* syscall: "readdir" ret: "int" args: "int" "void *" "unsigned int" */
239 #define LINUX_SYS_readdir 89
241 /* syscall: "mmap" ret: "int" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
242 #define LINUX_SYS_mmap 90
244 /* syscall: "munmap" ret: "int" args: "void *" "int" */
245 #define LINUX_SYS_munmap 91
247 /* syscall: "truncate" ret: "int" args: "const char *" "long" */
248 #define LINUX_SYS_truncate 92
250 /* syscall: "ftruncate" ret: "int" args: "int" "long" */
251 #define LINUX_SYS_ftruncate 93
253 /* syscall: "fchmod" ret: "int" args: "int" "int" */
254 #define LINUX_SYS_fchmod 94
256 /* syscall: "__posix_fchown" ret: "int" args: "int" "int" "int" */
257 #define LINUX_SYS___posix_fchown 95
259 /* syscall: "getpriority" ret: "int" args: "int" "int" */
260 #define LINUX_SYS_getpriority 96
262 /* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
263 #define LINUX_SYS_setpriority 97
265 /* syscall: "statfs" ret: "int" args: "const char *" "struct linux_statfs *" */
266 #define LINUX_SYS_statfs 99
268 /* syscall: "fstatfs" ret: "int" args: "int" "struct linux_statfs *" */
269 #define LINUX_SYS_fstatfs 100
271 /* syscall: "ioperm" ret: "int" args: "unsigned int" "unsigned int" "int" */
272 #define LINUX_SYS_ioperm 101
274 /* syscall: "socketcall" ret: "int" args: "int" "void *" */
275 #define LINUX_SYS_socketcall 102
277 /* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval50 *" "struct itimerval50 *" */
278 #define LINUX_SYS_setitimer 104
280 /* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval50 *" */
281 #define LINUX_SYS_getitimer 105
283 /* syscall: "stat" ret: "int" args: "const char *" "struct linux_stat *" */
284 #define LINUX_SYS_stat 106
286 /* syscall: "lstat" ret: "int" args: "const char *" "struct linux_stat *" */
287 #define LINUX_SYS_lstat 107
289 /* syscall: "fstat" ret: "int" args: "int" "struct linux_stat *" */
290 #define LINUX_SYS_fstat 108
292 /* syscall: "uname" ret: "int" args: "struct linux_utsname *" */
293 #define LINUX_SYS_uname 109
295 /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage50 *" */
296 #define LINUX_SYS_wait4 114
298 /* syscall: "swapoff" ret: "int" args: "const char *" */
299 #define LINUX_SYS_swapoff 115
301 /* syscall: "sysinfo" ret: "int" args: "struct linux_sysinfo *" */
302 #define LINUX_SYS_sysinfo 116
304 /* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "void *" */
305 #define LINUX_SYS_ipc 117
307 /* syscall: "fsync" ret: "int" args: "int" */
308 #define LINUX_SYS_fsync 118
310 /* syscall: "sigreturn" ret: "int" args: "struct linux_sigframe *" */
311 #define LINUX_SYS_sigreturn 119
313 /* syscall: "clone" ret: "int" args: "int" "void *" */
314 #define LINUX_SYS_clone 120
316 /* syscall: "setdomainname" ret: "int" args: "char *" "int" */
317 #define LINUX_SYS_setdomainname 121
319 /* syscall: "new_uname" ret: "int" args: "struct linux_utsname *" */
320 #define LINUX_SYS_new_uname 122
322 /* syscall: "mprotect" ret: "int" args: "const void *" "unsigned long" "int" */
323 #define LINUX_SYS_mprotect 125
325 /* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */
326 #define LINUX_SYS_sigprocmask 126
328 /* syscall: "getpgid" ret: "pid_t" args: "pid_t" */
329 #define LINUX_SYS_getpgid 132
331 /* syscall: "fchdir" ret: "int" args: "int" */
332 #define LINUX_SYS_fchdir 133
334 /* syscall: "personality" ret: "int" args: "unsigned long" */
335 #define LINUX_SYS_personality 136
337 /* syscall: "setfsuid" ret: "int" args: "uid_t" */
338 #define LINUX_SYS_setfsuid 138
340 /* syscall: "setfsgid" ret: "int" args: "gid_t" */
341 #define LINUX_SYS_setfsgid 139
343 /* syscall: "llseek" ret: "int" args: "int" "u_int32_t" "u_int32_t" "void *" "int" */
344 #define LINUX_SYS_llseek 140
346 /* syscall: "getdents" ret: "int" args: "int" "struct linux_dirent *" "unsigned int" */
347 #define LINUX_SYS_getdents 141
349 /* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */
350 #define LINUX_SYS_select 142
352 /* syscall: "flock" ret: "int" args: "int" "int" */
353 #define LINUX_SYS_flock 143
355 /* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */
356 #define LINUX_SYS___msync13 144
358 /* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
359 #define LINUX_SYS_readv 145
361 /* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
362 #define LINUX_SYS_writev 146
364 /* syscall: "cacheflush" ret: "int" args: "void *" "int" "int" */
365 #define LINUX_SYS_cacheflush 147
367 /* syscall: "sysmips" ret: "int" args: "int" "int" "int" "int" */
368 #define LINUX_SYS_sysmips 149
370 /* syscall: "getsid" ret: "pid_t" args: "pid_t" */
371 #define LINUX_SYS_getsid 151
373 /* syscall: "fdatasync" ret: "int" args: "int" */
374 #define LINUX_SYS_fdatasync 152
376 /* syscall: "__sysctl" ret: "int" args: "struct linux___sysctl *" */
377 #define LINUX_SYS___sysctl 153
379 /* syscall: "mlock" ret: "int" args: "void *" "size_t" */
380 #define LINUX_SYS_mlock 154
382 /* syscall: "munlock" ret: "int" args: "void *" "size_t" */
383 #define LINUX_SYS_munlock 155
385 /* syscall: "mlockall" ret: "int" args: "int" */
386 #define LINUX_SYS_mlockall 156
388 /* syscall: "munlockall" ret: "int" args: */
389 #define LINUX_SYS_munlockall 157
391 /* syscall: "sched_setparam" ret: "int" args: "pid_t" "const struct linux_sched_param *" */
392 #define LINUX_SYS_sched_setparam 158
394 /* syscall: "sched_getparam" ret: "int" args: "pid_t" "struct linux_sched_param *" */
395 #define LINUX_SYS_sched_getparam 159
397 /* syscall: "sched_setscheduler" ret: "int" args: "pid_t" "int" "const struct linux_sched_param *" */
398 #define LINUX_SYS_sched_setscheduler 160
400 /* syscall: "sched_getscheduler" ret: "int" args: "pid_t" */
401 #define LINUX_SYS_sched_getscheduler 161
403 /* syscall: "sched_yield" ret: "int" args: */
404 #define LINUX_SYS_sched_yield 162
406 /* syscall: "sched_get_priority_max" ret: "int" args: "int" */
407 #define LINUX_SYS_sched_get_priority_max 163
409 /* syscall: "sched_get_priority_min" ret: "int" args: "int" */
410 #define LINUX_SYS_sched_get_priority_min 164
412 /* syscall: "nanosleep" ret: "int" args: "const struct linux_timespec *" "struct linux_timespec *" */
413 #define LINUX_SYS_nanosleep 166
415 /* syscall: "mremap" ret: "void *" args: "void *" "size_t" "size_t" "u_long" */
416 #define LINUX_SYS_mremap 167
418 /* syscall: "accept" ret: "int" args: "int" "struct osockaddr *" "int *" */
419 #define LINUX_SYS_accept 168
421 /* syscall: "bind" ret: "int" args: "int" "const struct osockaddr *" "int" */
422 #define LINUX_SYS_bind 169
424 /* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "int" */
425 #define LINUX_SYS_connect 170
427 /* syscall: "getpeername" ret: "int" args: "int" "void *" "int *" */
428 #define LINUX_SYS_getpeername 171
430 /* syscall: "getsockname" ret: "int" args: "int" "void *" "int *" */
431 #define LINUX_SYS_getsockname 172
433 /* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "int *" */
434 #define LINUX_SYS_getsockopt 173
436 /* syscall: "listen" ret: "int" args: "int" "int" */
437 #define LINUX_SYS_listen 174
439 /* syscall: "recv" ret: "int" args: "int" "void *" "int" "int" */
440 #define LINUX_SYS_recv 175
442 /* syscall: "recvfrom" ret: "int" args: "int" "void *" "int" "int" "struct osockaddr *" "int *" */
443 #define LINUX_SYS_recvfrom 176
445 /* syscall: "recvmsg" ret: "int" args: "int" "struct linux_msghdr *" "u_int" */
446 #define LINUX_SYS_recvmsg 177
448 /* syscall: "send" ret: "int" args: "int" "void *" "int" "int" */
449 #define LINUX_SYS_send 178
451 /* syscall: "sendmsg" ret: "int" args: "int" "struct linux_msghdr *" "u_int" */
452 #define LINUX_SYS_sendmsg 179
454 /* syscall: "sendto" ret: "int" args: "int" "void *" "int" "int" "struct osockaddr *" "int" */
455 #define LINUX_SYS_sendto 180
457 /* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "void *" "int" */
458 #define LINUX_SYS_setsockopt 181
460 /* syscall: "socket" ret: "int" args: "int" "int" "int" */
461 #define LINUX_SYS_socket 183
463 /* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
464 #define LINUX_SYS_socketpair 184
466 /* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */
467 #define LINUX_SYS_setresuid 185
469 /* syscall: "getresuid" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */
470 #define LINUX_SYS_getresuid 186
472 /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
473 #define LINUX_SYS_poll 188
475 /* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */
476 #define LINUX_SYS_setresgid 190
478 /* syscall: "getresgid" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */
479 #define LINUX_SYS_getresgid 191
481 /* syscall: "rt_sigreturn" ret: "int" args: "struct linux_pt_regs" */
482 #define LINUX_SYS_rt_sigreturn 193
484 /* syscall: "rt_sigaction" ret: "int" args: "int" "const struct linux_sigaction *" "struct linux_sigaction *" "size_t" */
485 #define LINUX_SYS_rt_sigaction 194
487 /* syscall: "rt_sigprocmask" ret: "int" args: "int" "const linux_sigset_t *" "linux_sigset_t *" "size_t" */
488 #define LINUX_SYS_rt_sigprocmask 195
490 /* syscall: "rt_sigpending" ret: "int" args: "linux_sigset_t *" "size_t" */
491 #define LINUX_SYS_rt_sigpending 196
493 /* syscall: "rt_queueinfo" ret: "int" args: "int" "int" "linux_siginfo_t *" */
494 #define LINUX_SYS_rt_queueinfo 198
496 /* syscall: "rt_sigsuspend" ret: "int" args: "linux_sigset_t *" "size_t" */
497 #define LINUX_SYS_rt_sigsuspend 199
499 /* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
500 #define LINUX_SYS_pread 200
502 /* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
503 #define LINUX_SYS_pwrite 201
505 /* syscall: "__posix_chown" ret: "int" args: "const char *" "int" "int" */
506 #define LINUX_SYS___posix_chown 202
508 /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
509 #define LINUX_SYS___getcwd 203
511 /* syscall: "sigaltstack" ret: "int" args: "const struct linux_sigaltstack *" "struct linux_sigaltstack *" */
512 #define LINUX_SYS_sigaltstack 206
514 /* syscall: "mmap2" ret: "linux_off_t" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
515 #define LINUX_SYS_mmap2 210
517 /* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */
518 #define LINUX_SYS_truncate64 211
520 /* syscall: "ftruncate64" ret: "int" args: "unsigned int" "off_t" */
521 #define LINUX_SYS_ftruncate64 212
523 /* syscall: "stat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
524 #define LINUX_SYS_stat64 213
526 /* syscall: "lstat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
527 #define LINUX_SYS_lstat64 214
529 /* syscall: "fstat64" ret: "int" args: "int" "struct linux_stat64 *" */
530 #define LINUX_SYS_fstat64 215
532 /* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */
533 #define LINUX_SYS_mincore 217
535 /* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
536 #define LINUX_SYS_madvise 218
538 /* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
539 #define LINUX_SYS_getdents64 219
541 /* syscall: "fcntl64" ret: "int" args: "int" "int" "void *" */
542 #define LINUX_SYS_fcntl64 220
544 /* syscall: "setxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */
545 #define LINUX_SYS_setxattr 224
547 /* syscall: "lsetxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */
548 #define LINUX_SYS_lsetxattr 225
550 /* syscall: "fsetxattr" ret: "int" args: "int" "char *" "void *" "size_t" "int" */
551 #define LINUX_SYS_fsetxattr 226
553 /* syscall: "getxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */
554 #define LINUX_SYS_getxattr 227
556 /* syscall: "lgetxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */
557 #define LINUX_SYS_lgetxattr 228
559 /* syscall: "fgetxattr" ret: "ssize_t" args: "int" "char *" "void *" "size_t" */
560 #define LINUX_SYS_fgetxattr 229
562 /* syscall: "listxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */
563 #define LINUX_SYS_listxattr 230
565 /* syscall: "llistxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */
566 #define LINUX_SYS_llistxattr 231
568 /* syscall: "flistxattr" ret: "ssize_t" args: "int" "char *" "size_t" */
569 #define LINUX_SYS_flistxattr 232
571 /* syscall: "removexattr" ret: "int" args: "char *" "char *" */
572 #define LINUX_SYS_removexattr 233
574 /* syscall: "lremovexattr" ret: "int" args: "char *" "char *" */
575 #define LINUX_SYS_lremovexattr 234
577 /* syscall: "fremovexattr" ret: "int" args: "int" "char *" */
578 #define LINUX_SYS_fremovexattr 235
580 /* syscall: "exit_group" ret: "int" args: "int" */
581 #define LINUX_SYS_exit_group 246
583 /* syscall: "statfs64" ret: "int" args: "const char *" "size_t" "struct linux_statfs64 *" */
584 #define LINUX_SYS_statfs64 255
586 /* syscall: "fstatfs64" ret: "int" args: "int" "size_t" "struct linux_statfs64 *" */
587 #define LINUX_SYS_fstatfs64 256
589 /* syscall: "clock_settime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
590 #define LINUX_SYS_clock_settime 262
592 /* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
593 #define LINUX_SYS_clock_gettime 263
595 /* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct linux_timespec *" */
596 #define LINUX_SYS_clock_getres 264
598 /* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "struct linux_timespec *" "struct linux_timespec *" */
599 #define LINUX_SYS_clock_nanosleep 265
601 #define LINUX_SYS_MAXSYSCALL 277
602 #define LINUX_SYS_NSYSENT 512
603 #endif /* _LINUX_SYS_SYSCALL_H_ */