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