Rizin
unix-like reverse engineering framework and cli tools
sfsysnr.h
Go to the documentation of this file.
1 /*
2  * sfsysnr.h --- SFLib syscall numbers for OpenBSD/i386
3  * see http://www.secdev.org/projects/shellforge.html for more informations
4  *
5  * Copyright (C) 2004 Philippe Biondi <phil@secdev.org>
6  *
7  * This program is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU Lesser General Public License as published by
9  * the Free Software Foundation.
10  *
11  * This program is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  */
16 
17 /*
18  * Automatically generated by gensflib.py
19  * Fri Nov 25 15:52:34 2011
20  */
21 
22 #ifndef SFSYSNR_H
23 #define SFSYSNR_H
24 
25 /* $Id$ */
26 
27 /*
28  * Modified from /usr/include/sys/syscall.h
29  * created from OpenBSD: syscalls.master,v 1.50 2002/07/06 19:14:20 nordin Exp
30  */
31 
32 /* syscall: "syscall" ret: "int" args: "int" "..." */
33 #define __NR_syscall 0
34 
35 /* syscall: "exit" ret: "void" args: "int" */
36 #define __NR_exit 1
37 
38 /* syscall: "fork" ret: "int" args: */
39 #define __NR_fork 2
40 
41 /* syscall: "read" ret: "ssize_t" args: "int" "void *" "size_t" */
42 #define __NR_read 3
43 
44 /* syscall: "write" ret: "ssize_t" args: "int" "const void *" "size_t" */
45 #define __NR_write 4
46 
47 /* syscall: "open" ret: "int" args: "const char *" "int" "..." */
48 #define __NR_open 5
49 
50 /* syscall: "close" ret: "int" args: "int" */
51 #define __NR_close 6
52 
53 /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
54 #define __NR_wait4 7
55 
56 /* 8 is compat_43 ocreat */
57 
58 /* syscall: "link" ret: "int" args: "const char *" "const char *" */
59 #define __NR_link 9
60 
61 /* syscall: "unlink" ret: "int" args: "const char *" */
62 #define __NR_unlink 10
63 
64 /* 11 is obsolete execv */
65 /* syscall: "chdir" ret: "int" args: "const char *" */
66 #define __NR_chdir 12
67 
68 /* syscall: "fchdir" ret: "int" args: "int" */
69 #define __NR_fchdir 13
70 
71 /* syscall: "mknod" ret: "int" args: "const char *" "int" "dev_t" */
72 #define __NR_mknod 14
73 
74 /* syscall: "chmod" ret: "int" args: "const char *" "int" */
75 #define __NR_chmod 15
76 
77 /* syscall: "chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
78 #define __NR_chown 16
79 
80 /* syscall: "break" ret: "int" args: "char *" */
81 #define __NR_break 17
82 
83 /* 18 is compat_25 ogetfsstat */
84 
85 /* 19 is compat_43 olseek */
86 
87 /* syscall: "getpid" ret: "pid_t" args: */
88 #define __NR_getpid 20
89 
90 /* syscall: "mount" ret: "int" args: "const char *" "const char *" "int" "void *" */
91 #define __NR_mount 21
92 
93 /* syscall: "unmount" ret: "int" args: "const char *" "int" */
94 #define __NR_unmount 22
95 
96 /* syscall: "setuid" ret: "int" args: "uid_t" */
97 #define __NR_setuid 23
98 
99 /* syscall: "getuid" ret: "uid_t" args: */
100 #define __NR_getuid 24
101 
102 /* syscall: "geteuid" ret: "uid_t" args: */
103 #define __NR_geteuid 25
104 
105 /* syscall: "ptrace" ret: "int" args: "int" "pid_t" "caddr_t" "int" */
106 #define __NR_ptrace 26
107 
108 /* syscall: "recvmsg" ret: "ssize_t" args: "int" "struct msghdr *" "int" */
109 #define __NR_recvmsg 27
110 
111 /* syscall: "sendmsg" ret: "ssize_t" args: "int" "const struct msghdr *" "int" */
112 #define __NR_sendmsg 28
113 
114 /* syscall: "recvfrom" ret: "ssize_t" args: "int" "void *" "size_t" "int" "struct sockaddr *" "socklen_t *" */
115 #define __NR_recvfrom 29
116 
117 /* syscall: "accept" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */
118 #define __NR_accept 30
119 
120 /* syscall: "getpeername" ret: "int" args: "int" "struct sockaddr *" "int *" */
121 #define __NR_getpeername 31
122 
123 /* syscall: "getsockname" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */
124 #define __NR_getsockname 32
125 
126 /* syscall: "access" ret: "int" args: "const char *" "int" */
127 #define __NR_access 33
128 
129 /* syscall: "chflags" ret: "int" args: "const char *" "u_int" */
130 #define __NR_chflags 34
131 
132 /* syscall: "fchflags" ret: "int" args: "int" "u_int" */
133 #define __NR_fchflags 35
134 
135 /* syscall: "sync" ret: "void" args: */
136 #define __NR_sync 36
137 
138 /* syscall: "kill" ret: "int" args: "int" "int" */
139 #define __NR_kill 37
140 
141 /* 38 is compat_43 ostat */
142 
143 /* syscall: "getppid" ret: "pid_t" args: */
144 #define __NR_getppid 39
145 
146 /* 40 is compat_43 olstat */
147 
148 /* syscall: "dup" ret: "int" args: "int" */
149 #define __NR_dup 41
150 
151 /* syscall: "opipe" ret: "int" args: */
152 #define __NR_opipe 42
153 
154 /* syscall: "getegid" ret: "gid_t" args: */
155 #define __NR_getegid 43
156 
157 /* syscall: "profil" ret: "int" args: "caddr_t" "size_t" "u_long" "u_int" */
158 #define __NR_profil 44
159 
160 /* syscall: "ktrace" ret: "int" args: "const char *" "int" "int" "pid_t" */
161 #define __NR_ktrace 45
162 
163 /* syscall: "sigaction" ret: "int" args: "int" "const struct sigaction *" "struct sigaction *" */
164 #define __NR_sigaction 46
165 
166 /* syscall: "getgid" ret: "gid_t" args: */
167 #define __NR_getgid 47
168 
169 /* syscall: "sigprocmask" ret: "int" args: "int" "sigset_t" */
170 #define __NR_sigprocmask 48
171 
172 /* syscall: "getlogin" ret: "int" args: "char *" "u_int" */
173 #define __NR_getlogin 49
174 
175 /* syscall: "setlogin" ret: "int" args: "const char *" */
176 #define __NR_setlogin 50
177 
178 /* syscall: "acct" ret: "int" args: "const char *" */
179 #define __NR_acct 51
180 
181 /* syscall: "sigpending" ret: "int" args: */
182 #define __NR_sigpending 52
183 
184 /* syscall: "sigaltstack" ret: "int" args: "const struct sigaltstack *" "struct sigaltstack *" */
185 #define __NR_sigaltstack 53
186 
187 /* syscall: "ioctl" ret: "int" args: "int" "u_long" "..." */
188 #define __NR_ioctl 54
189 
190 /* syscall: "reboot" ret: "int" args: "int" */
191 #define __NR_reboot 55
192 
193 /* syscall: "revoke" ret: "int" args: "const char *" */
194 #define __NR_revoke 56
195 
196 /* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
197 #define __NR_symlink 57
198 
199 /* syscall: "readlink" ret: "int" args: "const char *" "char *" "size_t" */
200 #define __NR_readlink 58
201 
202 /* syscall: "execve" ret: "int" args: "const char *" "char *const *" "char *const *" */
203 #define __NR_execve 59
204 
205 /* syscall: "umask" ret: "int" args: "int" */
206 #define __NR_umask 60
207 
208 /* syscall: "chroot" ret: "int" args: "const char *" */
209 #define __NR_chroot 61
210 
211 /* 62 is compat_43 ofstat */
212 
213 /* 63 is compat_43 ogetkerninfo */
214 
215 /* 64 is compat_43 ogetpagesize */
216 
217 /* syscall: "omsync" ret: "int" args: "caddr_t" "size_t" */
218 #define __NR_omsync 65
219 
220 /* syscall: "vfork" ret: "int" args: */
221 #define __NR_vfork 66
222 
223 /* 67 is obsolete vread */
224 /* 68 is obsolete vwrite */
225 /* syscall: "sbrk" ret: "int" args: "int" */
226 #define __NR_sbrk 69
227 
228 /* syscall: "sstk" ret: "int" args: "int" */
229 #define __NR_sstk 70
230 
231 /* 71 is compat_43 ommap */
232 
233 /* syscall: "vadvise" ret: "int" args: "int" */
234 #define __NR_vadvise 72
235 
236 /* syscall: "munmap" ret: "int" args: "void *" "size_t" */
237 #define __NR_munmap 73
238 
239 /* syscall: "mprotect" ret: "int" args: "void *" "size_t" "int" */
240 #define __NR_mprotect 74
241 
242 /* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
243 #define __NR_madvise 75
244 
245 /* 76 is obsolete vhangup */
246 /* 77 is obsolete vlimit */
247 /* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */
248 #define __NR_mincore 78
249 
250 /* syscall: "getgroups" ret: "int" args: "int" "gid_t *" */
251 #define __NR_getgroups 79
252 
253 /* syscall: "setgroups" ret: "int" args: "int" "const gid_t *" */
254 #define __NR_setgroups 80
255 
256 /* syscall: "getpgrp" ret: "int" args: */
257 #define __NR_getpgrp 81
258 
259 /* syscall: "setpgid" ret: "int" args: "pid_t" "int" */
260 #define __NR_setpgid 82
261 
262 /* syscall: "setitimer" ret: "int" args: "int" "const struct itimerval *" "struct itimerval *" */
263 #define __NR_setitimer 83
264 
265 /* 84 is compat_43 owait */
266 
267 /* syscall: "swapon" ret: "int" args: "const char *" */
268 #define __NR_swapon 85
269 
270 /* syscall: "getitimer" ret: "int" args: "int" "struct itimerval *" */
271 #define __NR_getitimer 86
272 
273 /* 87 is compat_43 ogethostname */
274 
275 /* 88 is compat_43 osethostname */
276 
277 /* 89 is compat_43 ogetdtablesize */
278 
279 /* syscall: "dup2" ret: "int" args: "int" "int" */
280 #define __NR_dup2 90
281 
282 /* syscall: "fcntl" ret: "int" args: "int" "int" "..." */
283 #define __NR_fcntl 92
284 
285 /* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
286 #define __NR_select 93
287 
288 /* syscall: "fsync" ret: "int" args: "int" */
289 #define __NR_fsync 95
290 
291 /* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
292 #define __NR_setpriority 96
293 
294 /* syscall: "socket" ret: "int" args: "int" "int" "int" */
295 #define __NR_socket 97
296 
297 /* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "socklen_t" */
298 #define __NR_connect 98
299 
300 /* 99 is compat_43 oaccept */
301 
302 /* syscall: "getpriority" ret: "int" args: "int" "int" */
303 #define __NR_getpriority 100
304 
305 /* 101 is compat_43 osend */
306 
307 /* 102 is compat_43 orecv */
308 
309 /* syscall: "sigreturn" ret: "int" args: "struct sigcontext *" */
310 #define __NR_sigreturn 103
311 
312 /* syscall: "bind" ret: "int" args: "int" "const struct sockaddr *" "socklen_t" */
313 #define __NR_bind 104
314 
315 /* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "const void *" "socklen_t" */
316 #define __NR_setsockopt 105
317 
318 /* syscall: "listen" ret: "int" args: "int" "int" */
319 #define __NR_listen 106
320 
321 /* 107 is obsolete vtimes */
322 /* 108 is compat_43 osigvec */
323 
324 /* 109 is compat_43 osigblock */
325 
326 /* 110 is compat_43 osigsetmask */
327 
328 /* syscall: "sigsuspend" ret: "int" args: "int" */
329 #define __NR_sigsuspend 111
330 
331 /* 112 is compat_43 osigstack */
332 
333 /* 113 is compat_43 orecvmsg */
334 
335 /* 114 is compat_43 osendmsg */
336 
337 /* 115 is obsolete vtrace */
338 /* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
339 #define __NR_gettimeofday 116
340 
341 /* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */
342 #define __NR_getrusage 117
343 
344 /* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "socklen_t *" */
345 #define __NR_getsockopt 118
346 
347 /* 119 is obsolete resuba */
348 /* syscall: "readv" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
349 #define __NR_readv 120
350 
351 /* syscall: "writev" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
352 #define __NR_writev 121
353 
354 /* syscall: "settimeofday" ret: "int" args: "const struct timeval *" "const struct timezone *" */
355 #define __NR_settimeofday 122
356 
357 /* syscall: "fchown" ret: "int" args: "int" "uid_t" "gid_t" */
358 #define __NR_fchown 123
359 
360 /* syscall: "fchmod" ret: "int" args: "int" "int" */
361 #define __NR_fchmod 124
362 
363 /* 125 is compat_43 orecvfrom */
364 
365 /* 126 is compat_43 osetreuid */
366 
367 /* 127 is compat_43 osetregid */
368 
369 /* syscall: "rename" ret: "int" args: "const char *" "const char *" */
370 #define __NR_rename 128
371 
372 /* 129 is compat_43 otruncate */
373 
374 /* 130 is compat_43 oftruncate */
375 
376 /* syscall: "flock" ret: "int" args: "int" "int" */
377 #define __NR_flock 131
378 
379 /* syscall: "mkfifo" ret: "int" args: "const char *" "int" */
380 #define __NR_mkfifo 132
381 
382 /* syscall: "sendto" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "const struct sockaddr *" "socklen_t" */
383 #define __NR_sendto 133
384 
385 /* syscall: "shutdown" ret: "int" args: "int" "int" */
386 #define __NR_shutdown 134
387 
388 /* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
389 #define __NR_socketpair 135
390 
391 /* syscall: "mkdir" ret: "int" args: "const char *" "int" */
392 #define __NR_mkdir 136
393 
394 /* syscall: "rmdir" ret: "int" args: "const char *" */
395 #define __NR_rmdir 137
396 
397 /* syscall: "utimes" ret: "int" args: "const char *" "const struct timeval *" */
398 #define __NR_utimes 138
399 
400 /* 139 is obsolete 4.2 sigreturn */
401 /* syscall: "adjtime" ret: "int" args: "const struct timeval *" "struct timeval *" */
402 #define __NR_adjtime 140
403 
404 /* 141 is compat_43 ogetpeername */
405 
406 /* 142 is compat_43 ogethostid */
407 
408 /* 143 is compat_43 osethostid */
409 
410 /* 144 is compat_43 ogetrlimit */
411 
412 /* 145 is compat_43 osetrlimit */
413 
414 /* 146 is compat_43 okillpg */
415 
416 /* syscall: "setsid" ret: "int" args: */
417 #define __NR_setsid 147
418 
419 /* syscall: "quotactl" ret: "int" args: "const char *" "int" "int" "char *" */
420 #define __NR_quotactl 148
421 
422 /* 149 is compat_43 oquota */
423 
424 /* 150 is compat_43 ogetsockname */
425 
426 /* syscall: "nfssvc" ret: "int" args: "int" "void *" */
427 #define __NR_nfssvc 155
428 
429 /* 156 is compat_43 ogetdirentries */
430 
431 /* 157 is compat_25 ostatfs */
432 
433 /* 158 is compat_25 ostatfs */
434 
435 /* syscall: "getfh" ret: "int" args: "const char *" "fhandle_t *" */
436 #define __NR_getfh 161
437 
438 /* 162 is compat_09 ogetdomainname */
439 
440 /* 163 is compat_09 osetdomainname */
441 
442 /* 164 is compat_09 ouname */
443 
444 /* syscall: "sysarch" ret: "int" args: "int" "void *" */
445 #define __NR_sysarch 165
446 
447 /* 169 is compat_10 osemsys */
448 
449 /* 170 is compat_10 omsgsys */
450 
451 /* 171 is compat_10 oshmsys */
452 
453 /* syscall: "pread" ret: "ssize_t" args: "int" "void *" "size_t" "int" "off_t" */
454 #define __NR_pread 173
455 
456 /* syscall: "pwrite" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "off_t" */
457 #define __NR_pwrite 174
458 
459 /* syscall: "setgid" ret: "int" args: "gid_t" */
460 #define __NR_setgid 181
461 
462 /* syscall: "setegid" ret: "int" args: "gid_t" */
463 #define __NR_setegid 182
464 
465 /* syscall: "seteuid" ret: "int" args: "uid_t" */
466 #define __NR_seteuid 183
467 
468 /* syscall: "lfs_bmapv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */
469 #define __NR_lfs_bmapv 184
470 
471 /* syscall: "lfs_markv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */
472 #define __NR_lfs_markv 185
473 
474 /* syscall: "lfs_segclean" ret: "int" args: "fsid_t *" "u_long" */
475 #define __NR_lfs_segclean 186
476 
477 /* syscall: "lfs_segwait" ret: "int" args: "fsid_t *" "struct timeval *" */
478 #define __NR_lfs_segwait 187
479 
480 /* syscall: "stat" ret: "int" args: "const char *" "struct stat *" */
481 #define __NR_stat 188
482 
483 /* syscall: "fstat" ret: "int" args: "int" "struct stat *" */
484 #define __NR_fstat 189
485 
486 /* syscall: "lstat" ret: "int" args: "const char *" "struct stat *" */
487 #define __NR_lstat 190
488 
489 /* syscall: "pathconf" ret: "long" args: "const char *" "int" */
490 #define __NR_pathconf 191
491 
492 /* syscall: "fpathconf" ret: "long" args: "int" "int" */
493 #define __NR_fpathconf 192
494 
495 /* syscall: "swapctl" ret: "int" args: "int" "const void *" "int" */
496 #define __NR_swapctl 193
497 
498 /* syscall: "getrlimit" ret: "int" args: "int" "struct rlimit *" */
499 #define __NR_getrlimit 194
500 
501 /* syscall: "setrlimit" ret: "int" args: "int" "const struct rlimit *" */
502 #define __NR_setrlimit 195
503 
504 /* syscall: "getdirentries" ret: "int" args: "int" "char *" "int" "long *" */
505 #define __NR_getdirentries 196
506 
507 /* syscall: "mmap" ret: "void *" args: "void *" "size_t" "int" "int" "int" "long" "off_t" */
508 #define __NR_mmap 197
509 
510 /* syscall: "__syscall" ret: "quad_t" args: "quad_t" "..." */
511 #define __NR___syscall 198
512 
513 /* syscall: "lseek" ret: "off_t" args: "int" "int" "off_t" "int" */
514 #define __NR_lseek 199
515 
516 /* syscall: "truncate" ret: "int" args: "const char *" "int" "off_t" */
517 #define __NR_truncate 200
518 
519 /* syscall: "ftruncate" ret: "int" args: "int" "int" "off_t" */
520 #define __NR_ftruncate 201
521 
522 /* syscall: "__sysctl" ret: "int" args: "int *" "u_int" "void *" "size_t *" "void *" "size_t" */
523 #define __NR___sysctl 202
524 
525 /* syscall: "mlock" ret: "int" args: "const void *" "size_t" */
526 #define __NR_mlock 203
527 
528 /* syscall: "munlock" ret: "int" args: "const void *" "size_t" */
529 #define __NR_munlock 204
530 
531 /* syscall: "undelete" ret: "int" args: "const char *" */
532 #define __NR_undelete 205
533 
534 /* syscall: "futimes" ret: "int" args: "int" "const struct timeval *" */
535 #define __NR_futimes 206
536 
537 /* syscall: "getpgid" ret: "pid_t" args: "pid_t" */
538 #define __NR_getpgid 207
539 
540 /* syscall: "xfspioctl" ret: "int" args: "int" "char *" "int" "struct ViceIoctl *" "int" */
541 #define __NR_xfspioctl 208
542 
543 /* 220 is compat_23 __osemctl */
544 
545 /* syscall: "semget" ret: "int" args: "key_t" "int" "int" */
546 #define __NR_semget 221
547 
548 /* syscall: "semop" ret: "int" args: "int" "struct sembuf *" "u_int" */
549 #define __NR_semop 222
550 
551 /* 223 is obsolete sys_semconfig */
552 /* 224 is compat_23 omsgctl */
553 
554 /* syscall: "msgget" ret: "int" args: "key_t" "int" */
555 #define __NR_msgget 225
556 
557 /* syscall: "msgsnd" ret: "int" args: "int" "const void *" "size_t" "int" */
558 #define __NR_msgsnd 226
559 
560 /* syscall: "msgrcv" ret: "int" args: "int" "void *" "size_t" "long" "int" */
561 #define __NR_msgrcv 227
562 
563 /* syscall: "shmat" ret: "void *" args: "int" "const void *" "int" */
564 #define __NR_shmat 228
565 
566 /* 229 is compat_23 oshmctl */
567 
568 /* syscall: "shmdt" ret: "int" args: "const void *" */
569 #define __NR_shmdt 230
570 
571 /* syscall: "shmget" ret: "int" args: "key_t" "int" "int" */
572 #define __NR_shmget 231
573 
574 /* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct timespec *" */
575 #define __NR_clock_gettime 232
576 
577 /* syscall: "clock_settime" ret: "int" args: "clockid_t" "const struct timespec *" */
578 #define __NR_clock_settime 233
579 
580 /* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct timespec *" */
581 #define __NR_clock_getres 234
582 
583 /* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */
584 #define __NR_nanosleep 240
585 
586 /* syscall: "minherit" ret: "int" args: "void *" "size_t" "int" */
587 #define __NR_minherit 250
588 
589 /* syscall: "rfork" ret: "int" args: "int" */
590 #define __NR_rfork 251
591 
592 /* syscall: "poll" ret: "int" args: "struct pollfd *" "unsigned long" "int" */
593 #define __NR_poll 252
594 
595 /* syscall: "issetugid" ret: "int" args: */
596 #define __NR_issetugid 253
597 
598 /* syscall: "lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
599 #define __NR_lchown 254
600 
601 /* syscall: "getsid" ret: "pid_t" args: "pid_t" */
602 #define __NR_getsid 255
603 
604 /* syscall: "msync" ret: "int" args: "void *" "size_t" "int" */
605 #define __NR_msync 256
606 
607 /* syscall: "__semctl" ret: "int" args: "int" "int" "int" "union semun *" */
608 #define __NR___semctl 257
609 
610 /* syscall: "shmctl" ret: "int" args: "int" "int" "struct shmid_ds *" */
611 #define __NR_shmctl 258
612 
613 /* syscall: "msgctl" ret: "int" args: "int" "int" "struct msqid_ds *" */
614 #define __NR_msgctl 259
615 
616 /* syscall: "getfsstat" ret: "int" args: "struct statfs *" "size_t" "int" */
617 #define __NR_getfsstat 260
618 
619 /* syscall: "statfs" ret: "int" args: "const char *" "struct statfs *" */
620 #define __NR_statfs 261
621 
622 /* syscall: "fstatfs" ret: "int" args: "int" "struct statfs *" */
623 #define __NR_fstatfs 262
624 
625 /* syscall: "pipe" ret: "int" args: "int *" */
626 #define __NR_pipe 263
627 
628 /* syscall: "fhopen" ret: "int" args: "const fhandle_t *" "int" */
629 #define __NR_fhopen 264
630 
631 /* syscall: "fhstat" ret: "int" args: "const fhandle_t *" "struct stat *" */
632 #define __NR_fhstat 265
633 
634 /* syscall: "fhstatfs" ret: "int" args: "const fhandle_t *" "struct statfs *" */
635 #define __NR_fhstatfs 266
636 
637 /* syscall: "preadv" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */
638 #define __NR_preadv 267
639 
640 /* syscall: "pwritev" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */
641 #define __NR_pwritev 268
642 
643 /* syscall: "kqueue" ret: "int" args: */
644 #define __NR_kqueue 269
645 
646 /* syscall: "kevent" ret: "int" args: "int" "const struct kevent *" "int" "struct kevent *" "int" "const struct timespec *" */
647 #define __NR_kevent 270
648 
649 /* syscall: "mlockall" ret: "int" args: "int" */
650 #define __NR_mlockall 271
651 
652 /* syscall: "munlockall" ret: "int" args: */
653 #define __NR_munlockall 272
654 
655 /* syscall: "getpeereid" ret: "int" args: "int" "uid_t *" "gid_t *" */
656 #define __NR_getpeereid 273
657 
658 /* syscall: "extattrctl" ret: "int" args: "const char *" "int" "const char *" "int" "const char *" */
659 #define __NR_extattrctl 274
660 
661 /* syscall: "extattr_set_file" ret: "int" args: "const char *" "int" "const char *" "void *" "size_t" */
662 #define __NR_extattr_set_file 275
663 
664 /* syscall: "extattr_get_file" ret: "ssize_t" args: "const char *" "int" "const char *" "void *" "size_t" */
665 #define __NR_extattr_get_file 276
666 
667 /* syscall: "extattr_delete_file" ret: "int" args: "const char *" "int" "const char *" */
668 #define __NR_extattr_delete_file 277
669 
670 /* syscall: "extattr_set_fd" ret: "int" args: "int" "int" "const char *" "void *" "size_t" */
671 #define __NR_extattr_set_fd 278
672 
673 /* syscall: "extattr_get_fd" ret: "ssize_t" args: "int" "int" "const char *" "void *" "size_t" */
674 #define __NR_extattr_get_fd 279
675 
676 /* syscall: "extattr_delete_fd" ret: "int" args: "int" "int" "const char *" */
677 #define __NR_extattr_delete_fd 280
678 
679 #define __NR_MAXSYSCALL 281
680 
681 #endif /* SFSYSNR_H */