4 * System call vector and marshalling for rump.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.231 2009/11/26 17:20:20 pooka Exp
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD$");
13 #include <sys/types.h>
14 #include <sys/param.h>
16 #include <sys/syscall.h>
17 #include <sys/syscallargs.h>
18 #include <rump/rumpuser.h>
19 #include "rump_private.h"
21 #if BYTE_ORDER == BIG_ENDIAN
22 #define SPARG(p,k) ((p)->k.be.datum)
23 #else /* LITTLE_ENDIAN, I hope dearly */
24 #define SPARG(p,k) ((p)->k.le.datum)
27 int rump_enosys(void);
35 ssize_t
rump_sys_read(int, void *, size_t);
37 rump_sys_read(int fd
, void * buf
, size_t nbyte
)
39 register_t rval
[2] = {0, 0};
41 struct sys_read_args callarg
;
43 SPARG(&callarg
, fd
) = fd
;
44 SPARG(&callarg
, buf
) = buf
;
45 SPARG(&callarg
, nbyte
) = nbyte
;
47 error
= rump_sysproxy(SYS_read
, rump_sysproxy_arg
,
48 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
51 rumpuser_seterrno(error
);
55 __weak_alias(sys_read
,rump_enosys
);
57 ssize_t
rump_sys_write(int, const void *, size_t);
59 rump_sys_write(int fd
, const void * buf
, size_t nbyte
)
61 register_t rval
[2] = {0, 0};
63 struct sys_write_args callarg
;
65 SPARG(&callarg
, fd
) = fd
;
66 SPARG(&callarg
, buf
) = buf
;
67 SPARG(&callarg
, nbyte
) = nbyte
;
69 error
= rump_sysproxy(SYS_write
, rump_sysproxy_arg
,
70 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
73 rumpuser_seterrno(error
);
77 __weak_alias(sys_write
,rump_enosys
);
79 int rump_sys_open(const char *, int, mode_t
);
81 rump_sys_open(const char * path
, int flags
, mode_t mode
)
83 register_t rval
[2] = {0, 0};
85 struct sys_open_args callarg
;
87 SPARG(&callarg
, path
) = path
;
88 SPARG(&callarg
, flags
) = flags
;
89 SPARG(&callarg
, mode
) = mode
;
91 error
= rump_sysproxy(SYS_open
, rump_sysproxy_arg
,
92 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
95 rumpuser_seterrno(error
);
99 __weak_alias(sys_open
,rump_enosys
);
101 int rump_sys_close(int);
103 rump_sys_close(int fd
)
105 register_t rval
[2] = {0, 0};
107 struct sys_close_args callarg
;
109 SPARG(&callarg
, fd
) = fd
;
111 error
= rump_sysproxy(SYS_close
, rump_sysproxy_arg
,
112 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
115 rumpuser_seterrno(error
);
119 __weak_alias(sys_close
,rump_enosys
);
121 int rump_sys_link(const char *, const char *);
123 rump_sys_link(const char * path
, const char * link
)
125 register_t rval
[2] = {0, 0};
127 struct sys_link_args callarg
;
129 SPARG(&callarg
, path
) = path
;
130 SPARG(&callarg
, link
) = link
;
132 error
= rump_sysproxy(SYS_link
, rump_sysproxy_arg
,
133 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
136 rumpuser_seterrno(error
);
140 __weak_alias(sys_link
,rump_enosys
);
142 int rump_sys_unlink(const char *);
144 rump_sys_unlink(const char * path
)
146 register_t rval
[2] = {0, 0};
148 struct sys_unlink_args callarg
;
150 SPARG(&callarg
, path
) = path
;
152 error
= rump_sysproxy(SYS_unlink
, rump_sysproxy_arg
,
153 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
156 rumpuser_seterrno(error
);
160 __weak_alias(sys_unlink
,rump_enosys
);
162 int rump_sys_chdir(const char *);
164 rump_sys_chdir(const char * path
)
166 register_t rval
[2] = {0, 0};
168 struct sys_chdir_args callarg
;
170 SPARG(&callarg
, path
) = path
;
172 error
= rump_sysproxy(SYS_chdir
, rump_sysproxy_arg
,
173 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
176 rumpuser_seterrno(error
);
180 __weak_alias(sys_chdir
,rump_enosys
);
182 int rump_sys_fchdir(int);
184 rump_sys_fchdir(int fd
)
186 register_t rval
[2] = {0, 0};
188 struct sys_fchdir_args callarg
;
190 SPARG(&callarg
, fd
) = fd
;
192 error
= rump_sysproxy(SYS_fchdir
, rump_sysproxy_arg
,
193 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
196 rumpuser_seterrno(error
);
200 __weak_alias(sys_fchdir
,rump_enosys
);
202 int rump_sys_chmod(const char *, mode_t
);
204 rump_sys_chmod(const char * path
, mode_t mode
)
206 register_t rval
[2] = {0, 0};
208 struct sys_chmod_args callarg
;
210 SPARG(&callarg
, path
) = path
;
211 SPARG(&callarg
, mode
) = mode
;
213 error
= rump_sysproxy(SYS_chmod
, rump_sysproxy_arg
,
214 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
217 rumpuser_seterrno(error
);
221 __weak_alias(sys_chmod
,rump_enosys
);
223 int rump_sys_chown(const char *, uid_t
, gid_t
);
225 rump_sys_chown(const char * path
, uid_t uid
, gid_t gid
)
227 register_t rval
[2] = {0, 0};
229 struct sys_chown_args callarg
;
231 SPARG(&callarg
, path
) = path
;
232 SPARG(&callarg
, uid
) = uid
;
233 SPARG(&callarg
, gid
) = gid
;
235 error
= rump_sysproxy(SYS_chown
, rump_sysproxy_arg
,
236 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
239 rumpuser_seterrno(error
);
243 __weak_alias(sys_chown
,rump_enosys
);
245 int rump_sys_unmount(const char *, int);
247 rump_sys_unmount(const char * path
, int flags
)
249 register_t rval
[2] = {0, 0};
251 struct sys_unmount_args callarg
;
253 SPARG(&callarg
, path
) = path
;
254 SPARG(&callarg
, flags
) = flags
;
256 error
= rump_sysproxy(SYS_unmount
, rump_sysproxy_arg
,
257 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
260 rumpuser_seterrno(error
);
264 __weak_alias(sys_unmount
,rump_enosys
);
266 ssize_t
rump_sys_recvmsg(int, struct msghdr
*, int);
268 rump_sys_recvmsg(int s
, struct msghdr
* msg
, int flags
)
270 register_t rval
[2] = {0, 0};
272 struct sys_recvmsg_args callarg
;
274 SPARG(&callarg
, s
) = s
;
275 SPARG(&callarg
, msg
) = msg
;
276 SPARG(&callarg
, flags
) = flags
;
278 error
= rump_sysproxy(SYS_recvmsg
, rump_sysproxy_arg
,
279 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
282 rumpuser_seterrno(error
);
286 __weak_alias(sys_recvmsg
,rump_enosys
);
288 ssize_t
rump_sys_sendmsg(int, const struct msghdr
*, int);
290 rump_sys_sendmsg(int s
, const struct msghdr
* msg
, int flags
)
292 register_t rval
[2] = {0, 0};
294 struct sys_sendmsg_args callarg
;
296 SPARG(&callarg
, s
) = s
;
297 SPARG(&callarg
, msg
) = msg
;
298 SPARG(&callarg
, flags
) = flags
;
300 error
= rump_sysproxy(SYS_sendmsg
, rump_sysproxy_arg
,
301 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
304 rumpuser_seterrno(error
);
308 __weak_alias(sys_sendmsg
,rump_enosys
);
310 ssize_t
rump_sys_recvfrom(int, void *, size_t, int, struct sockaddr
*, unsigned int *);
312 rump_sys_recvfrom(int s
, void * buf
, size_t len
, int flags
, struct sockaddr
* from
, unsigned int * fromlenaddr
)
314 register_t rval
[2] = {0, 0};
316 struct sys_recvfrom_args callarg
;
318 SPARG(&callarg
, s
) = s
;
319 SPARG(&callarg
, buf
) = buf
;
320 SPARG(&callarg
, len
) = len
;
321 SPARG(&callarg
, flags
) = flags
;
322 SPARG(&callarg
, from
) = from
;
323 SPARG(&callarg
, fromlenaddr
) = fromlenaddr
;
325 error
= rump_sysproxy(SYS_recvfrom
, rump_sysproxy_arg
,
326 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
329 rumpuser_seterrno(error
);
333 __weak_alias(sys_recvfrom
,rump_enosys
);
335 int rump_sys_accept(int, struct sockaddr
*, unsigned int *);
337 rump_sys_accept(int s
, struct sockaddr
* name
, unsigned int * anamelen
)
339 register_t rval
[2] = {0, 0};
341 struct sys_accept_args callarg
;
343 SPARG(&callarg
, s
) = s
;
344 SPARG(&callarg
, name
) = name
;
345 SPARG(&callarg
, anamelen
) = anamelen
;
347 error
= rump_sysproxy(SYS_accept
, rump_sysproxy_arg
,
348 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
351 rumpuser_seterrno(error
);
355 __weak_alias(sys_accept
,rump_enosys
);
357 int rump_sys_getpeername(int, struct sockaddr
*, unsigned int *);
359 rump_sys_getpeername(int fdes
, struct sockaddr
* asa
, unsigned int * alen
)
361 register_t rval
[2] = {0, 0};
363 struct sys_getpeername_args callarg
;
365 SPARG(&callarg
, fdes
) = fdes
;
366 SPARG(&callarg
, asa
) = asa
;
367 SPARG(&callarg
, alen
) = alen
;
369 error
= rump_sysproxy(SYS_getpeername
, rump_sysproxy_arg
,
370 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
373 rumpuser_seterrno(error
);
377 __weak_alias(sys_getpeername
,rump_enosys
);
379 int rump_sys_getsockname(int, struct sockaddr
*, unsigned int *);
381 rump_sys_getsockname(int fdes
, struct sockaddr
* asa
, unsigned int * alen
)
383 register_t rval
[2] = {0, 0};
385 struct sys_getsockname_args callarg
;
387 SPARG(&callarg
, fdes
) = fdes
;
388 SPARG(&callarg
, asa
) = asa
;
389 SPARG(&callarg
, alen
) = alen
;
391 error
= rump_sysproxy(SYS_getsockname
, rump_sysproxy_arg
,
392 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
395 rumpuser_seterrno(error
);
399 __weak_alias(sys_getsockname
,rump_enosys
);
401 int rump_sys_access(const char *, int);
403 rump_sys_access(const char * path
, int flags
)
405 register_t rval
[2] = {0, 0};
407 struct sys_access_args callarg
;
409 SPARG(&callarg
, path
) = path
;
410 SPARG(&callarg
, flags
) = flags
;
412 error
= rump_sysproxy(SYS_access
, rump_sysproxy_arg
,
413 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
416 rumpuser_seterrno(error
);
420 __weak_alias(sys_access
,rump_enosys
);
422 int rump_sys_chflags(const char *, u_long
);
424 rump_sys_chflags(const char * path
, u_long flags
)
426 register_t rval
[2] = {0, 0};
428 struct sys_chflags_args callarg
;
430 SPARG(&callarg
, path
) = path
;
431 SPARG(&callarg
, flags
) = flags
;
433 error
= rump_sysproxy(SYS_chflags
, rump_sysproxy_arg
,
434 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
437 rumpuser_seterrno(error
);
441 __weak_alias(sys_chflags
,rump_enosys
);
443 int rump_sys_fchflags(int, u_long
);
445 rump_sys_fchflags(int fd
, u_long flags
)
447 register_t rval
[2] = {0, 0};
449 struct sys_fchflags_args callarg
;
451 SPARG(&callarg
, fd
) = fd
;
452 SPARG(&callarg
, flags
) = flags
;
454 error
= rump_sysproxy(SYS_fchflags
, rump_sysproxy_arg
,
455 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
458 rumpuser_seterrno(error
);
462 __weak_alias(sys_fchflags
,rump_enosys
);
464 void rump_sys_sync(void);
468 register_t rval
[2] = {0, 0};
471 error
= rump_sysproxy(SYS_sync
, rump_sysproxy_arg
,
472 (uint8_t *)NULL
, 0, rval
);
477 __weak_alias(sys_sync
,rump_enosys
);
479 int rump_sys_dup(int);
483 register_t rval
[2] = {0, 0};
485 struct sys_dup_args callarg
;
487 SPARG(&callarg
, fd
) = fd
;
489 error
= rump_sysproxy(SYS_dup
, rump_sysproxy_arg
,
490 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
493 rumpuser_seterrno(error
);
497 __weak_alias(sys_dup
,rump_enosys
);
499 int rump_sys_ioctl(int, u_long
, void *);
501 rump_sys_ioctl(int fd
, u_long com
, void * data
)
503 register_t rval
[2] = {0, 0};
505 struct sys_ioctl_args callarg
;
507 SPARG(&callarg
, fd
) = fd
;
508 SPARG(&callarg
, com
) = com
;
509 SPARG(&callarg
, data
) = data
;
511 error
= rump_sysproxy(SYS_ioctl
, rump_sysproxy_arg
,
512 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
515 rumpuser_seterrno(error
);
519 __weak_alias(sys_ioctl
,rump_enosys
);
521 int rump_sys_revoke(const char *);
523 rump_sys_revoke(const char * path
)
525 register_t rval
[2] = {0, 0};
527 struct sys_revoke_args callarg
;
529 SPARG(&callarg
, path
) = path
;
531 error
= rump_sysproxy(SYS_revoke
, rump_sysproxy_arg
,
532 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
535 rumpuser_seterrno(error
);
539 __weak_alias(sys_revoke
,rump_enosys
);
541 int rump_sys_symlink(const char *, const char *);
543 rump_sys_symlink(const char * path
, const char * link
)
545 register_t rval
[2] = {0, 0};
547 struct sys_symlink_args callarg
;
549 SPARG(&callarg
, path
) = path
;
550 SPARG(&callarg
, link
) = link
;
552 error
= rump_sysproxy(SYS_symlink
, rump_sysproxy_arg
,
553 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
556 rumpuser_seterrno(error
);
560 __weak_alias(sys_symlink
,rump_enosys
);
562 ssize_t
rump_sys_readlink(const char *, char *, size_t);
564 rump_sys_readlink(const char * path
, char * buf
, size_t count
)
566 register_t rval
[2] = {0, 0};
568 struct sys_readlink_args callarg
;
570 SPARG(&callarg
, path
) = path
;
571 SPARG(&callarg
, buf
) = buf
;
572 SPARG(&callarg
, count
) = count
;
574 error
= rump_sysproxy(SYS_readlink
, rump_sysproxy_arg
,
575 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
578 rumpuser_seterrno(error
);
582 __weak_alias(sys_readlink
,rump_enosys
);
584 int rump_sys_chroot(const char *);
586 rump_sys_chroot(const char * path
)
588 register_t rval
[2] = {0, 0};
590 struct sys_chroot_args callarg
;
592 SPARG(&callarg
, path
) = path
;
594 error
= rump_sysproxy(SYS_chroot
, rump_sysproxy_arg
,
595 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
598 rumpuser_seterrno(error
);
602 __weak_alias(sys_chroot
,rump_enosys
);
604 int rump_sys_dup2(int, int);
606 rump_sys_dup2(int from
, int to
)
608 register_t rval
[2] = {0, 0};
610 struct sys_dup2_args callarg
;
612 SPARG(&callarg
, from
) = from
;
613 SPARG(&callarg
, to
) = to
;
615 error
= rump_sysproxy(SYS_dup2
, rump_sysproxy_arg
,
616 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
619 rumpuser_seterrno(error
);
623 __weak_alias(sys_dup2
,rump_enosys
);
625 int rump_sys_fcntl(int, int, void *);
627 rump_sys_fcntl(int fd
, int cmd
, void * arg
)
629 register_t rval
[2] = {0, 0};
631 struct sys_fcntl_args callarg
;
633 SPARG(&callarg
, fd
) = fd
;
634 SPARG(&callarg
, cmd
) = cmd
;
635 SPARG(&callarg
, arg
) = arg
;
637 error
= rump_sysproxy(SYS_fcntl
, rump_sysproxy_arg
,
638 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
641 rumpuser_seterrno(error
);
645 __weak_alias(sys_fcntl
,rump_enosys
);
647 int rump_sys_fsync(int);
649 rump_sys_fsync(int fd
)
651 register_t rval
[2] = {0, 0};
653 struct sys_fsync_args callarg
;
655 SPARG(&callarg
, fd
) = fd
;
657 error
= rump_sysproxy(SYS_fsync
, rump_sysproxy_arg
,
658 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
661 rumpuser_seterrno(error
);
665 __weak_alias(sys_fsync
,rump_enosys
);
667 int rump_sys_connect(int, const struct sockaddr
*, unsigned int);
669 rump_sys_connect(int s
, const struct sockaddr
* name
, unsigned int namelen
)
671 register_t rval
[2] = {0, 0};
673 struct sys_connect_args callarg
;
675 SPARG(&callarg
, s
) = s
;
676 SPARG(&callarg
, name
) = name
;
677 SPARG(&callarg
, namelen
) = namelen
;
679 error
= rump_sysproxy(SYS_connect
, rump_sysproxy_arg
,
680 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
683 rumpuser_seterrno(error
);
687 __weak_alias(sys_connect
,rump_enosys
);
689 int rump_sys_bind(int, const struct sockaddr
*, unsigned int);
691 rump_sys_bind(int s
, const struct sockaddr
* name
, unsigned int namelen
)
693 register_t rval
[2] = {0, 0};
695 struct sys_bind_args callarg
;
697 SPARG(&callarg
, s
) = s
;
698 SPARG(&callarg
, name
) = name
;
699 SPARG(&callarg
, namelen
) = namelen
;
701 error
= rump_sysproxy(SYS_bind
, rump_sysproxy_arg
,
702 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
705 rumpuser_seterrno(error
);
709 __weak_alias(sys_bind
,rump_enosys
);
711 int rump_sys_setsockopt(int, int, int, const void *, unsigned int);
713 rump_sys_setsockopt(int s
, int level
, int name
, const void * val
, unsigned int valsize
)
715 register_t rval
[2] = {0, 0};
717 struct sys_setsockopt_args callarg
;
719 SPARG(&callarg
, s
) = s
;
720 SPARG(&callarg
, level
) = level
;
721 SPARG(&callarg
, name
) = name
;
722 SPARG(&callarg
, val
) = val
;
723 SPARG(&callarg
, valsize
) = valsize
;
725 error
= rump_sysproxy(SYS_setsockopt
, rump_sysproxy_arg
,
726 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
729 rumpuser_seterrno(error
);
733 __weak_alias(sys_setsockopt
,rump_enosys
);
735 int rump_sys_listen(int, int);
737 rump_sys_listen(int s
, int backlog
)
739 register_t rval
[2] = {0, 0};
741 struct sys_listen_args callarg
;
743 SPARG(&callarg
, s
) = s
;
744 SPARG(&callarg
, backlog
) = backlog
;
746 error
= rump_sysproxy(SYS_listen
, rump_sysproxy_arg
,
747 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
750 rumpuser_seterrno(error
);
754 __weak_alias(sys_listen
,rump_enosys
);
756 int rump_sys_getsockopt(int, int, int, void *, unsigned int *);
758 rump_sys_getsockopt(int s
, int level
, int name
, void * val
, unsigned int * avalsize
)
760 register_t rval
[2] = {0, 0};
762 struct sys_getsockopt_args callarg
;
764 SPARG(&callarg
, s
) = s
;
765 SPARG(&callarg
, level
) = level
;
766 SPARG(&callarg
, name
) = name
;
767 SPARG(&callarg
, val
) = val
;
768 SPARG(&callarg
, avalsize
) = avalsize
;
770 error
= rump_sysproxy(SYS_getsockopt
, rump_sysproxy_arg
,
771 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
774 rumpuser_seterrno(error
);
778 __weak_alias(sys_getsockopt
,rump_enosys
);
780 ssize_t
rump_sys_readv(int, const struct iovec
*, int);
782 rump_sys_readv(int fd
, const struct iovec
* iovp
, int iovcnt
)
784 register_t rval
[2] = {0, 0};
786 struct sys_readv_args callarg
;
788 SPARG(&callarg
, fd
) = fd
;
789 SPARG(&callarg
, iovp
) = iovp
;
790 SPARG(&callarg
, iovcnt
) = iovcnt
;
792 error
= rump_sysproxy(SYS_readv
, rump_sysproxy_arg
,
793 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
796 rumpuser_seterrno(error
);
800 __weak_alias(sys_readv
,rump_enosys
);
802 ssize_t
rump_sys_writev(int, const struct iovec
*, int);
804 rump_sys_writev(int fd
, const struct iovec
* iovp
, int iovcnt
)
806 register_t rval
[2] = {0, 0};
808 struct sys_writev_args callarg
;
810 SPARG(&callarg
, fd
) = fd
;
811 SPARG(&callarg
, iovp
) = iovp
;
812 SPARG(&callarg
, iovcnt
) = iovcnt
;
814 error
= rump_sysproxy(SYS_writev
, rump_sysproxy_arg
,
815 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
818 rumpuser_seterrno(error
);
822 __weak_alias(sys_writev
,rump_enosys
);
824 int rump_sys_fchown(int, uid_t
, gid_t
);
826 rump_sys_fchown(int fd
, uid_t uid
, gid_t gid
)
828 register_t rval
[2] = {0, 0};
830 struct sys_fchown_args callarg
;
832 SPARG(&callarg
, fd
) = fd
;
833 SPARG(&callarg
, uid
) = uid
;
834 SPARG(&callarg
, gid
) = gid
;
836 error
= rump_sysproxy(SYS_fchown
, rump_sysproxy_arg
,
837 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
840 rumpuser_seterrno(error
);
844 __weak_alias(sys_fchown
,rump_enosys
);
846 int rump_sys_fchmod(int, mode_t
);
848 rump_sys_fchmod(int fd
, mode_t mode
)
850 register_t rval
[2] = {0, 0};
852 struct sys_fchmod_args callarg
;
854 SPARG(&callarg
, fd
) = fd
;
855 SPARG(&callarg
, mode
) = mode
;
857 error
= rump_sysproxy(SYS_fchmod
, rump_sysproxy_arg
,
858 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
861 rumpuser_seterrno(error
);
865 __weak_alias(sys_fchmod
,rump_enosys
);
867 int rump_sys_rename(const char *, const char *);
869 rump_sys_rename(const char * from
, const char * to
)
871 register_t rval
[2] = {0, 0};
873 struct sys_rename_args callarg
;
875 SPARG(&callarg
, from
) = from
;
876 SPARG(&callarg
, to
) = to
;
878 error
= rump_sysproxy(SYS_rename
, rump_sysproxy_arg
,
879 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
882 rumpuser_seterrno(error
);
886 __weak_alias(sys_rename
,rump_enosys
);
888 int rump_sys_flock(int, int);
890 rump_sys_flock(int fd
, int how
)
892 register_t rval
[2] = {0, 0};
894 struct sys_flock_args callarg
;
896 SPARG(&callarg
, fd
) = fd
;
897 SPARG(&callarg
, how
) = how
;
899 error
= rump_sysproxy(SYS_flock
, rump_sysproxy_arg
,
900 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
903 rumpuser_seterrno(error
);
907 __weak_alias(sys_flock
,rump_enosys
);
909 int rump_sys_mkfifo(const char *, mode_t
);
911 rump_sys_mkfifo(const char * path
, mode_t mode
)
913 register_t rval
[2] = {0, 0};
915 struct sys_mkfifo_args callarg
;
917 SPARG(&callarg
, path
) = path
;
918 SPARG(&callarg
, mode
) = mode
;
920 error
= rump_sysproxy(SYS_mkfifo
, rump_sysproxy_arg
,
921 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
924 rumpuser_seterrno(error
);
928 __weak_alias(sys_mkfifo
,rump_enosys
);
930 ssize_t
rump_sys_sendto(int, const void *, size_t, int, const struct sockaddr
*, unsigned int);
932 rump_sys_sendto(int s
, const void * buf
, size_t len
, int flags
, const struct sockaddr
* to
, unsigned int tolen
)
934 register_t rval
[2] = {0, 0};
936 struct sys_sendto_args callarg
;
938 SPARG(&callarg
, s
) = s
;
939 SPARG(&callarg
, buf
) = buf
;
940 SPARG(&callarg
, len
) = len
;
941 SPARG(&callarg
, flags
) = flags
;
942 SPARG(&callarg
, to
) = to
;
943 SPARG(&callarg
, tolen
) = tolen
;
945 error
= rump_sysproxy(SYS_sendto
, rump_sysproxy_arg
,
946 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
949 rumpuser_seterrno(error
);
953 __weak_alias(sys_sendto
,rump_enosys
);
955 int rump_sys_shutdown(int, int);
957 rump_sys_shutdown(int s
, int how
)
959 register_t rval
[2] = {0, 0};
961 struct sys_shutdown_args callarg
;
963 SPARG(&callarg
, s
) = s
;
964 SPARG(&callarg
, how
) = how
;
966 error
= rump_sysproxy(SYS_shutdown
, rump_sysproxy_arg
,
967 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
970 rumpuser_seterrno(error
);
974 __weak_alias(sys_shutdown
,rump_enosys
);
976 int rump_sys_socketpair(int, int, int, int *);
978 rump_sys_socketpair(int domain
, int type
, int protocol
, int * rsv
)
980 register_t rval
[2] = {0, 0};
982 struct sys_socketpair_args callarg
;
984 SPARG(&callarg
, domain
) = domain
;
985 SPARG(&callarg
, type
) = type
;
986 SPARG(&callarg
, protocol
) = protocol
;
987 SPARG(&callarg
, rsv
) = rsv
;
989 error
= rump_sysproxy(SYS_socketpair
, rump_sysproxy_arg
,
990 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
993 rumpuser_seterrno(error
);
997 __weak_alias(sys_socketpair
,rump_enosys
);
999 int rump_sys_mkdir(const char *, mode_t
);
1001 rump_sys_mkdir(const char * path
, mode_t mode
)
1003 register_t rval
[2] = {0, 0};
1005 struct sys_mkdir_args callarg
;
1007 SPARG(&callarg
, path
) = path
;
1008 SPARG(&callarg
, mode
) = mode
;
1010 error
= rump_sysproxy(SYS_mkdir
, rump_sysproxy_arg
,
1011 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1014 rumpuser_seterrno(error
);
1018 __weak_alias(sys_mkdir
,rump_enosys
);
1020 int rump_sys_rmdir(const char *);
1022 rump_sys_rmdir(const char * path
)
1024 register_t rval
[2] = {0, 0};
1026 struct sys_rmdir_args callarg
;
1028 SPARG(&callarg
, path
) = path
;
1030 error
= rump_sysproxy(SYS_rmdir
, rump_sysproxy_arg
,
1031 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1034 rumpuser_seterrno(error
);
1038 __weak_alias(sys_rmdir
,rump_enosys
);
1040 int rump_sys_nfssvc(int, void *);
1042 rump_sys_nfssvc(int flag
, void * argp
)
1044 register_t rval
[2] = {0, 0};
1046 struct sys_nfssvc_args callarg
;
1048 SPARG(&callarg
, flag
) = flag
;
1049 SPARG(&callarg
, argp
) = argp
;
1051 error
= rump_sysproxy(SYS_nfssvc
, rump_sysproxy_arg
,
1052 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1055 rumpuser_seterrno(error
);
1059 __weak_alias(sys_nfssvc
,rump_enosys
);
1061 ssize_t
rump_sys_pread(int, void *, size_t, off_t
);
1063 rump_sys_pread(int fd
, void * buf
, size_t nbyte
, off_t offset
)
1065 register_t rval
[2] = {0, 0};
1067 struct sys_pread_args callarg
;
1069 SPARG(&callarg
, fd
) = fd
;
1070 SPARG(&callarg
, buf
) = buf
;
1071 SPARG(&callarg
, nbyte
) = nbyte
;
1072 SPARG(&callarg
, PAD
) = 0;
1073 SPARG(&callarg
, offset
) = offset
;
1075 error
= rump_sysproxy(SYS_pread
, rump_sysproxy_arg
,
1076 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1079 rumpuser_seterrno(error
);
1083 __weak_alias(sys_pread
,rump_enosys
);
1085 ssize_t
rump_sys_pwrite(int, const void *, size_t, off_t
);
1087 rump_sys_pwrite(int fd
, const void * buf
, size_t nbyte
, off_t offset
)
1089 register_t rval
[2] = {0, 0};
1091 struct sys_pwrite_args callarg
;
1093 SPARG(&callarg
, fd
) = fd
;
1094 SPARG(&callarg
, buf
) = buf
;
1095 SPARG(&callarg
, nbyte
) = nbyte
;
1096 SPARG(&callarg
, PAD
) = 0;
1097 SPARG(&callarg
, offset
) = offset
;
1099 error
= rump_sysproxy(SYS_pwrite
, rump_sysproxy_arg
,
1100 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1103 rumpuser_seterrno(error
);
1107 __weak_alias(sys_pwrite
,rump_enosys
);
1109 off_t
rump_sys_lseek(int, off_t
, int);
1111 rump_sys_lseek(int fd
, off_t offset
, int whence
)
1113 register_t rval
[2] = {0, 0};
1115 struct sys_lseek_args callarg
;
1117 SPARG(&callarg
, fd
) = fd
;
1118 SPARG(&callarg
, PAD
) = 0;
1119 SPARG(&callarg
, offset
) = offset
;
1120 SPARG(&callarg
, whence
) = whence
;
1122 error
= rump_sysproxy(SYS_lseek
, rump_sysproxy_arg
,
1123 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1126 rumpuser_seterrno(error
);
1130 __weak_alias(sys_lseek
,rump_enosys
);
1132 int rump_sys_truncate(const char *, off_t
);
1134 rump_sys_truncate(const char * path
, off_t length
)
1136 register_t rval
[2] = {0, 0};
1138 struct sys_truncate_args callarg
;
1140 SPARG(&callarg
, path
) = path
;
1141 SPARG(&callarg
, PAD
) = 0;
1142 SPARG(&callarg
, length
) = length
;
1144 error
= rump_sysproxy(SYS_truncate
, rump_sysproxy_arg
,
1145 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1148 rumpuser_seterrno(error
);
1152 __weak_alias(sys_truncate
,rump_enosys
);
1154 int rump_sys_ftruncate(int, off_t
);
1156 rump_sys_ftruncate(int fd
, off_t length
)
1158 register_t rval
[2] = {0, 0};
1160 struct sys_ftruncate_args callarg
;
1162 SPARG(&callarg
, fd
) = fd
;
1163 SPARG(&callarg
, PAD
) = 0;
1164 SPARG(&callarg
, length
) = length
;
1166 error
= rump_sysproxy(SYS_ftruncate
, rump_sysproxy_arg
,
1167 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1170 rumpuser_seterrno(error
);
1174 __weak_alias(sys_ftruncate
,rump_enosys
);
1176 int rump_sys___sysctl(const int *, u_int
, void *, size_t *, const void *, size_t);
1178 rump_sys___sysctl(const int * name
, u_int namelen
, void * old
, size_t * oldlenp
, const void * new, size_t newlen
)
1180 register_t rval
[2] = {0, 0};
1182 struct sys___sysctl_args callarg
;
1184 SPARG(&callarg
, name
) = name
;
1185 SPARG(&callarg
, namelen
) = namelen
;
1186 SPARG(&callarg
, old
) = old
;
1187 SPARG(&callarg
, oldlenp
) = oldlenp
;
1188 SPARG(&callarg
, new) = new;
1189 SPARG(&callarg
, newlen
) = newlen
;
1191 error
= rump_sysproxy(SYS___sysctl
, rump_sysproxy_arg
,
1192 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1195 rumpuser_seterrno(error
);
1199 __weak_alias(sys___sysctl
,rump_enosys
);
1201 int rump_sys_reboot(int, char *);
1203 rump_sys_reboot(int opt
, char * bootstr
)
1205 register_t rval
[2] = {0, 0};
1207 struct sys_reboot_args callarg
;
1209 SPARG(&callarg
, opt
) = opt
;
1210 SPARG(&callarg
, bootstr
) = bootstr
;
1212 error
= rump_sysproxy(SYS_reboot
, rump_sysproxy_arg
,
1213 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1216 rumpuser_seterrno(error
);
1220 __weak_alias(sys_reboot
,rump_enosys
);
1222 int rump_sys_poll(struct pollfd
*, u_int
, int);
1224 rump_sys_poll(struct pollfd
* fds
, u_int nfds
, int timeout
)
1226 register_t rval
[2] = {0, 0};
1228 struct sys_poll_args callarg
;
1230 SPARG(&callarg
, fds
) = fds
;
1231 SPARG(&callarg
, nfds
) = nfds
;
1232 SPARG(&callarg
, timeout
) = timeout
;
1234 error
= rump_sysproxy(SYS_poll
, rump_sysproxy_arg
,
1235 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1238 rumpuser_seterrno(error
);
1242 __weak_alias(sys_poll
,rump_enosys
);
1244 int rump_sys_fdatasync(int);
1246 rump_sys_fdatasync(int fd
)
1248 register_t rval
[2] = {0, 0};
1250 struct sys_fdatasync_args callarg
;
1252 SPARG(&callarg
, fd
) = fd
;
1254 error
= rump_sysproxy(SYS_fdatasync
, rump_sysproxy_arg
,
1255 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1258 rumpuser_seterrno(error
);
1262 __weak_alias(sys_fdatasync
,rump_enosys
);
1264 int rump_sys_modctl(int, void *);
1266 rump_sys_modctl(int cmd
, void * arg
)
1268 register_t rval
[2] = {0, 0};
1270 struct sys_modctl_args callarg
;
1272 SPARG(&callarg
, cmd
) = cmd
;
1273 SPARG(&callarg
, arg
) = arg
;
1275 error
= rump_sysproxy(SYS_modctl
, rump_sysproxy_arg
,
1276 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1279 rumpuser_seterrno(error
);
1283 __weak_alias(sys_modctl
,rump_enosys
);
1285 int rump_sys_lchmod(const char *, mode_t
);
1287 rump_sys_lchmod(const char * path
, mode_t mode
)
1289 register_t rval
[2] = {0, 0};
1291 struct sys_lchmod_args callarg
;
1293 SPARG(&callarg
, path
) = path
;
1294 SPARG(&callarg
, mode
) = mode
;
1296 error
= rump_sysproxy(SYS_lchmod
, rump_sysproxy_arg
,
1297 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1300 rumpuser_seterrno(error
);
1304 __weak_alias(sys_lchmod
,rump_enosys
);
1306 int rump_sys_lchown(const char *, uid_t
, gid_t
);
1308 rump_sys_lchown(const char * path
, uid_t uid
, gid_t gid
)
1310 register_t rval
[2] = {0, 0};
1312 struct sys_lchown_args callarg
;
1314 SPARG(&callarg
, path
) = path
;
1315 SPARG(&callarg
, uid
) = uid
;
1316 SPARG(&callarg
, gid
) = gid
;
1318 error
= rump_sysproxy(SYS_lchown
, rump_sysproxy_arg
,
1319 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1322 rumpuser_seterrno(error
);
1326 __weak_alias(sys_lchown
,rump_enosys
);
1328 int rump_sys_fchroot(int);
1330 rump_sys_fchroot(int fd
)
1332 register_t rval
[2] = {0, 0};
1334 struct sys_fchroot_args callarg
;
1336 SPARG(&callarg
, fd
) = fd
;
1338 error
= rump_sysproxy(SYS_fchroot
, rump_sysproxy_arg
,
1339 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1342 rumpuser_seterrno(error
);
1346 __weak_alias(sys_fchroot
,rump_enosys
);
1348 int rump_sys_lchflags(const char *, u_long
);
1350 rump_sys_lchflags(const char * path
, u_long flags
)
1352 register_t rval
[2] = {0, 0};
1354 struct sys_lchflags_args callarg
;
1356 SPARG(&callarg
, path
) = path
;
1357 SPARG(&callarg
, flags
) = flags
;
1359 error
= rump_sysproxy(SYS_lchflags
, rump_sysproxy_arg
,
1360 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1363 rumpuser_seterrno(error
);
1367 __weak_alias(sys_lchflags
,rump_enosys
);
1369 int rump_sys_kqueue(void);
1371 rump_sys_kqueue(void )
1373 register_t rval
[2] = {0, 0};
1376 error
= rump_sysproxy(SYS_kqueue
, rump_sysproxy_arg
,
1377 (uint8_t *)NULL
, 0, rval
);
1380 rumpuser_seterrno(error
);
1384 __weak_alias(sys_kqueue
,rump_enosys
);
1386 int rump_sys_fsync_range(int, int, off_t
, off_t
);
1388 rump_sys_fsync_range(int fd
, int flags
, off_t start
, off_t length
)
1390 register_t rval
[2] = {0, 0};
1392 struct sys_fsync_range_args callarg
;
1394 SPARG(&callarg
, fd
) = fd
;
1395 SPARG(&callarg
, flags
) = flags
;
1396 SPARG(&callarg
, start
) = start
;
1397 SPARG(&callarg
, length
) = length
;
1399 error
= rump_sysproxy(SYS_fsync_range
, rump_sysproxy_arg
,
1400 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1403 rumpuser_seterrno(error
);
1407 __weak_alias(sys_fsync_range
,rump_enosys
);
1409 int rump_sys_getvfsstat(struct statvfs
*, size_t, int);
1411 rump_sys_getvfsstat(struct statvfs
* buf
, size_t bufsize
, int flags
)
1413 register_t rval
[2] = {0, 0};
1415 struct sys_getvfsstat_args callarg
;
1417 SPARG(&callarg
, buf
) = buf
;
1418 SPARG(&callarg
, bufsize
) = bufsize
;
1419 SPARG(&callarg
, flags
) = flags
;
1421 error
= rump_sysproxy(SYS_getvfsstat
, rump_sysproxy_arg
,
1422 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1425 rumpuser_seterrno(error
);
1429 __weak_alias(sys_getvfsstat
,rump_enosys
);
1431 int rump_sys_statvfs1(const char *, struct statvfs
*, int);
1433 rump_sys_statvfs1(const char * path
, struct statvfs
* buf
, int flags
)
1435 register_t rval
[2] = {0, 0};
1437 struct sys_statvfs1_args callarg
;
1439 SPARG(&callarg
, path
) = path
;
1440 SPARG(&callarg
, buf
) = buf
;
1441 SPARG(&callarg
, flags
) = flags
;
1443 error
= rump_sysproxy(SYS_statvfs1
, rump_sysproxy_arg
,
1444 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1447 rumpuser_seterrno(error
);
1451 __weak_alias(sys_statvfs1
,rump_enosys
);
1453 int rump_sys_fstatvfs1(int, struct statvfs
*, int);
1455 rump_sys_fstatvfs1(int fd
, struct statvfs
* buf
, int flags
)
1457 register_t rval
[2] = {0, 0};
1459 struct sys_fstatvfs1_args callarg
;
1461 SPARG(&callarg
, fd
) = fd
;
1462 SPARG(&callarg
, buf
) = buf
;
1463 SPARG(&callarg
, flags
) = flags
;
1465 error
= rump_sysproxy(SYS_fstatvfs1
, rump_sysproxy_arg
,
1466 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1469 rumpuser_seterrno(error
);
1473 __weak_alias(sys_fstatvfs1
,rump_enosys
);
1475 int rump_sys_extattrctl(const char *, int, const char *, int, const char *);
1477 rump_sys_extattrctl(const char * path
, int cmd
, const char * filename
, int attrnamespace
, const char * attrname
)
1479 register_t rval
[2] = {0, 0};
1481 struct sys_extattrctl_args callarg
;
1483 SPARG(&callarg
, path
) = path
;
1484 SPARG(&callarg
, cmd
) = cmd
;
1485 SPARG(&callarg
, filename
) = filename
;
1486 SPARG(&callarg
, attrnamespace
) = attrnamespace
;
1487 SPARG(&callarg
, attrname
) = attrname
;
1489 error
= rump_sysproxy(SYS_extattrctl
, rump_sysproxy_arg
,
1490 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1493 rumpuser_seterrno(error
);
1497 __weak_alias(sys_extattrctl
,rump_enosys
);
1499 int rump_sys_extattr_set_file(const char *, int, const char *, const void *, size_t);
1501 rump_sys_extattr_set_file(const char * path
, int attrnamespace
, const char * attrname
, const void * data
, size_t nbytes
)
1503 register_t rval
[2] = {0, 0};
1505 struct sys_extattr_set_file_args callarg
;
1507 SPARG(&callarg
, path
) = path
;
1508 SPARG(&callarg
, attrnamespace
) = attrnamespace
;
1509 SPARG(&callarg
, attrname
) = attrname
;
1510 SPARG(&callarg
, data
) = data
;
1511 SPARG(&callarg
, nbytes
) = nbytes
;
1513 error
= rump_sysproxy(SYS_extattr_set_file
, rump_sysproxy_arg
,
1514 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1517 rumpuser_seterrno(error
);
1521 __weak_alias(sys_extattr_set_file
,rump_enosys
);
1523 ssize_t
rump_sys_extattr_get_file(const char *, int, const char *, void *, size_t);
1525 rump_sys_extattr_get_file(const char * path
, int attrnamespace
, const char * attrname
, void * data
, size_t nbytes
)
1527 register_t rval
[2] = {0, 0};
1529 struct sys_extattr_get_file_args callarg
;
1531 SPARG(&callarg
, path
) = path
;
1532 SPARG(&callarg
, attrnamespace
) = attrnamespace
;
1533 SPARG(&callarg
, attrname
) = attrname
;
1534 SPARG(&callarg
, data
) = data
;
1535 SPARG(&callarg
, nbytes
) = nbytes
;
1537 error
= rump_sysproxy(SYS_extattr_get_file
, rump_sysproxy_arg
,
1538 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1541 rumpuser_seterrno(error
);
1545 __weak_alias(sys_extattr_get_file
,rump_enosys
);
1547 int rump_sys_extattr_delete_file(const char *, int, const char *);
1549 rump_sys_extattr_delete_file(const char * path
, int attrnamespace
, const char * attrname
)
1551 register_t rval
[2] = {0, 0};
1553 struct sys_extattr_delete_file_args callarg
;
1555 SPARG(&callarg
, path
) = path
;
1556 SPARG(&callarg
, attrnamespace
) = attrnamespace
;
1557 SPARG(&callarg
, attrname
) = attrname
;
1559 error
= rump_sysproxy(SYS_extattr_delete_file
, rump_sysproxy_arg
,
1560 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1563 rumpuser_seterrno(error
);
1567 __weak_alias(sys_extattr_delete_file
,rump_enosys
);
1569 int rump_sys_extattr_set_fd(int, int, const char *, const void *, size_t);
1571 rump_sys_extattr_set_fd(int fd
, int attrnamespace
, const char * attrname
, const void * data
, size_t nbytes
)
1573 register_t rval
[2] = {0, 0};
1575 struct sys_extattr_set_fd_args callarg
;
1577 SPARG(&callarg
, fd
) = fd
;
1578 SPARG(&callarg
, attrnamespace
) = attrnamespace
;
1579 SPARG(&callarg
, attrname
) = attrname
;
1580 SPARG(&callarg
, data
) = data
;
1581 SPARG(&callarg
, nbytes
) = nbytes
;
1583 error
= rump_sysproxy(SYS_extattr_set_fd
, rump_sysproxy_arg
,
1584 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1587 rumpuser_seterrno(error
);
1591 __weak_alias(sys_extattr_set_fd
,rump_enosys
);
1593 ssize_t
rump_sys_extattr_get_fd(int, int, const char *, void *, size_t);
1595 rump_sys_extattr_get_fd(int fd
, int attrnamespace
, const char * attrname
, void * data
, size_t nbytes
)
1597 register_t rval
[2] = {0, 0};
1599 struct sys_extattr_get_fd_args callarg
;
1601 SPARG(&callarg
, fd
) = fd
;
1602 SPARG(&callarg
, attrnamespace
) = attrnamespace
;
1603 SPARG(&callarg
, attrname
) = attrname
;
1604 SPARG(&callarg
, data
) = data
;
1605 SPARG(&callarg
, nbytes
) = nbytes
;
1607 error
= rump_sysproxy(SYS_extattr_get_fd
, rump_sysproxy_arg
,
1608 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1611 rumpuser_seterrno(error
);
1615 __weak_alias(sys_extattr_get_fd
,rump_enosys
);
1617 int rump_sys_extattr_delete_fd(int, int, const char *);
1619 rump_sys_extattr_delete_fd(int fd
, int attrnamespace
, const char * attrname
)
1621 register_t rval
[2] = {0, 0};
1623 struct sys_extattr_delete_fd_args callarg
;
1625 SPARG(&callarg
, fd
) = fd
;
1626 SPARG(&callarg
, attrnamespace
) = attrnamespace
;
1627 SPARG(&callarg
, attrname
) = attrname
;
1629 error
= rump_sysproxy(SYS_extattr_delete_fd
, rump_sysproxy_arg
,
1630 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1633 rumpuser_seterrno(error
);
1637 __weak_alias(sys_extattr_delete_fd
,rump_enosys
);
1639 int rump_sys_extattr_set_link(const char *, int, const char *, const void *, size_t);
1641 rump_sys_extattr_set_link(const char * path
, int attrnamespace
, const char * attrname
, const void * data
, size_t nbytes
)
1643 register_t rval
[2] = {0, 0};
1645 struct sys_extattr_set_link_args callarg
;
1647 SPARG(&callarg
, path
) = path
;
1648 SPARG(&callarg
, attrnamespace
) = attrnamespace
;
1649 SPARG(&callarg
, attrname
) = attrname
;
1650 SPARG(&callarg
, data
) = data
;
1651 SPARG(&callarg
, nbytes
) = nbytes
;
1653 error
= rump_sysproxy(SYS_extattr_set_link
, rump_sysproxy_arg
,
1654 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1657 rumpuser_seterrno(error
);
1661 __weak_alias(sys_extattr_set_link
,rump_enosys
);
1663 ssize_t
rump_sys_extattr_get_link(const char *, int, const char *, void *, size_t);
1665 rump_sys_extattr_get_link(const char * path
, int attrnamespace
, const char * attrname
, void * data
, size_t nbytes
)
1667 register_t rval
[2] = {0, 0};
1669 struct sys_extattr_get_link_args callarg
;
1671 SPARG(&callarg
, path
) = path
;
1672 SPARG(&callarg
, attrnamespace
) = attrnamespace
;
1673 SPARG(&callarg
, attrname
) = attrname
;
1674 SPARG(&callarg
, data
) = data
;
1675 SPARG(&callarg
, nbytes
) = nbytes
;
1677 error
= rump_sysproxy(SYS_extattr_get_link
, rump_sysproxy_arg
,
1678 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1681 rumpuser_seterrno(error
);
1685 __weak_alias(sys_extattr_get_link
,rump_enosys
);
1687 int rump_sys_extattr_delete_link(const char *, int, const char *);
1689 rump_sys_extattr_delete_link(const char * path
, int attrnamespace
, const char * attrname
)
1691 register_t rval
[2] = {0, 0};
1693 struct sys_extattr_delete_link_args callarg
;
1695 SPARG(&callarg
, path
) = path
;
1696 SPARG(&callarg
, attrnamespace
) = attrnamespace
;
1697 SPARG(&callarg
, attrname
) = attrname
;
1699 error
= rump_sysproxy(SYS_extattr_delete_link
, rump_sysproxy_arg
,
1700 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1703 rumpuser_seterrno(error
);
1707 __weak_alias(sys_extattr_delete_link
,rump_enosys
);
1709 ssize_t
rump_sys_extattr_list_fd(int, int, void *, size_t);
1711 rump_sys_extattr_list_fd(int fd
, int attrnamespace
, void * data
, size_t nbytes
)
1713 register_t rval
[2] = {0, 0};
1715 struct sys_extattr_list_fd_args callarg
;
1717 SPARG(&callarg
, fd
) = fd
;
1718 SPARG(&callarg
, attrnamespace
) = attrnamespace
;
1719 SPARG(&callarg
, data
) = data
;
1720 SPARG(&callarg
, nbytes
) = nbytes
;
1722 error
= rump_sysproxy(SYS_extattr_list_fd
, rump_sysproxy_arg
,
1723 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1726 rumpuser_seterrno(error
);
1730 __weak_alias(sys_extattr_list_fd
,rump_enosys
);
1732 ssize_t
rump_sys_extattr_list_file(const char *, int, void *, size_t);
1734 rump_sys_extattr_list_file(const char * path
, int attrnamespace
, void * data
, size_t nbytes
)
1736 register_t rval
[2] = {0, 0};
1738 struct sys_extattr_list_file_args callarg
;
1740 SPARG(&callarg
, path
) = path
;
1741 SPARG(&callarg
, attrnamespace
) = attrnamespace
;
1742 SPARG(&callarg
, data
) = data
;
1743 SPARG(&callarg
, nbytes
) = nbytes
;
1745 error
= rump_sysproxy(SYS_extattr_list_file
, rump_sysproxy_arg
,
1746 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1749 rumpuser_seterrno(error
);
1753 __weak_alias(sys_extattr_list_file
,rump_enosys
);
1755 ssize_t
rump_sys_extattr_list_link(const char *, int, void *, size_t);
1757 rump_sys_extattr_list_link(const char * path
, int attrnamespace
, void * data
, size_t nbytes
)
1759 register_t rval
[2] = {0, 0};
1761 struct sys_extattr_list_link_args callarg
;
1763 SPARG(&callarg
, path
) = path
;
1764 SPARG(&callarg
, attrnamespace
) = attrnamespace
;
1765 SPARG(&callarg
, data
) = data
;
1766 SPARG(&callarg
, nbytes
) = nbytes
;
1768 error
= rump_sysproxy(SYS_extattr_list_link
, rump_sysproxy_arg
,
1769 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1772 rumpuser_seterrno(error
);
1776 __weak_alias(sys_extattr_list_link
,rump_enosys
);
1778 int rump_sys_setxattr(const char *, const char *, void *, size_t, int);
1780 rump_sys_setxattr(const char * path
, const char * name
, void * value
, size_t size
, int flags
)
1782 register_t rval
[2] = {0, 0};
1784 struct sys_setxattr_args callarg
;
1786 SPARG(&callarg
, path
) = path
;
1787 SPARG(&callarg
, name
) = name
;
1788 SPARG(&callarg
, value
) = value
;
1789 SPARG(&callarg
, size
) = size
;
1790 SPARG(&callarg
, flags
) = flags
;
1792 error
= rump_sysproxy(SYS_setxattr
, rump_sysproxy_arg
,
1793 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1796 rumpuser_seterrno(error
);
1800 __weak_alias(sys_setxattr
,rump_enosys
);
1802 int rump_sys_lsetxattr(const char *, const char *, void *, size_t, int);
1804 rump_sys_lsetxattr(const char * path
, const char * name
, void * value
, size_t size
, int flags
)
1806 register_t rval
[2] = {0, 0};
1808 struct sys_lsetxattr_args callarg
;
1810 SPARG(&callarg
, path
) = path
;
1811 SPARG(&callarg
, name
) = name
;
1812 SPARG(&callarg
, value
) = value
;
1813 SPARG(&callarg
, size
) = size
;
1814 SPARG(&callarg
, flags
) = flags
;
1816 error
= rump_sysproxy(SYS_lsetxattr
, rump_sysproxy_arg
,
1817 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1820 rumpuser_seterrno(error
);
1824 __weak_alias(sys_lsetxattr
,rump_enosys
);
1826 int rump_sys_fsetxattr(int, const char *, void *, size_t, int);
1828 rump_sys_fsetxattr(int fd
, const char * name
, void * value
, size_t size
, int flags
)
1830 register_t rval
[2] = {0, 0};
1832 struct sys_fsetxattr_args callarg
;
1834 SPARG(&callarg
, fd
) = fd
;
1835 SPARG(&callarg
, name
) = name
;
1836 SPARG(&callarg
, value
) = value
;
1837 SPARG(&callarg
, size
) = size
;
1838 SPARG(&callarg
, flags
) = flags
;
1840 error
= rump_sysproxy(SYS_fsetxattr
, rump_sysproxy_arg
,
1841 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1844 rumpuser_seterrno(error
);
1848 __weak_alias(sys_fsetxattr
,rump_enosys
);
1850 int rump_sys_getxattr(const char *, const char *, void *, size_t);
1852 rump_sys_getxattr(const char * path
, const char * name
, void * value
, size_t size
)
1854 register_t rval
[2] = {0, 0};
1856 struct sys_getxattr_args callarg
;
1858 SPARG(&callarg
, path
) = path
;
1859 SPARG(&callarg
, name
) = name
;
1860 SPARG(&callarg
, value
) = value
;
1861 SPARG(&callarg
, size
) = size
;
1863 error
= rump_sysproxy(SYS_getxattr
, rump_sysproxy_arg
,
1864 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1867 rumpuser_seterrno(error
);
1871 __weak_alias(sys_getxattr
,rump_enosys
);
1873 int rump_sys_lgetxattr(const char *, const char *, void *, size_t);
1875 rump_sys_lgetxattr(const char * path
, const char * name
, void * value
, size_t size
)
1877 register_t rval
[2] = {0, 0};
1879 struct sys_lgetxattr_args callarg
;
1881 SPARG(&callarg
, path
) = path
;
1882 SPARG(&callarg
, name
) = name
;
1883 SPARG(&callarg
, value
) = value
;
1884 SPARG(&callarg
, size
) = size
;
1886 error
= rump_sysproxy(SYS_lgetxattr
, rump_sysproxy_arg
,
1887 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1890 rumpuser_seterrno(error
);
1894 __weak_alias(sys_lgetxattr
,rump_enosys
);
1896 int rump_sys_fgetxattr(int, const char *, void *, size_t);
1898 rump_sys_fgetxattr(int fd
, const char * name
, void * value
, size_t size
)
1900 register_t rval
[2] = {0, 0};
1902 struct sys_fgetxattr_args callarg
;
1904 SPARG(&callarg
, fd
) = fd
;
1905 SPARG(&callarg
, name
) = name
;
1906 SPARG(&callarg
, value
) = value
;
1907 SPARG(&callarg
, size
) = size
;
1909 error
= rump_sysproxy(SYS_fgetxattr
, rump_sysproxy_arg
,
1910 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1913 rumpuser_seterrno(error
);
1917 __weak_alias(sys_fgetxattr
,rump_enosys
);
1919 int rump_sys_listxattr(const char *, char *, size_t);
1921 rump_sys_listxattr(const char * path
, char * list
, size_t size
)
1923 register_t rval
[2] = {0, 0};
1925 struct sys_listxattr_args callarg
;
1927 SPARG(&callarg
, path
) = path
;
1928 SPARG(&callarg
, list
) = list
;
1929 SPARG(&callarg
, size
) = size
;
1931 error
= rump_sysproxy(SYS_listxattr
, rump_sysproxy_arg
,
1932 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1935 rumpuser_seterrno(error
);
1939 __weak_alias(sys_listxattr
,rump_enosys
);
1941 int rump_sys_llistxattr(const char *, char *, size_t);
1943 rump_sys_llistxattr(const char * path
, char * list
, size_t size
)
1945 register_t rval
[2] = {0, 0};
1947 struct sys_llistxattr_args callarg
;
1949 SPARG(&callarg
, path
) = path
;
1950 SPARG(&callarg
, list
) = list
;
1951 SPARG(&callarg
, size
) = size
;
1953 error
= rump_sysproxy(SYS_llistxattr
, rump_sysproxy_arg
,
1954 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1957 rumpuser_seterrno(error
);
1961 __weak_alias(sys_llistxattr
,rump_enosys
);
1963 int rump_sys_flistxattr(int, char *, size_t);
1965 rump_sys_flistxattr(int fd
, char * list
, size_t size
)
1967 register_t rval
[2] = {0, 0};
1969 struct sys_flistxattr_args callarg
;
1971 SPARG(&callarg
, fd
) = fd
;
1972 SPARG(&callarg
, list
) = list
;
1973 SPARG(&callarg
, size
) = size
;
1975 error
= rump_sysproxy(SYS_flistxattr
, rump_sysproxy_arg
,
1976 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
1979 rumpuser_seterrno(error
);
1983 __weak_alias(sys_flistxattr
,rump_enosys
);
1985 int rump_sys_removexattr(const char *, const char *);
1987 rump_sys_removexattr(const char * path
, const char * name
)
1989 register_t rval
[2] = {0, 0};
1991 struct sys_removexattr_args callarg
;
1993 SPARG(&callarg
, path
) = path
;
1994 SPARG(&callarg
, name
) = name
;
1996 error
= rump_sysproxy(SYS_removexattr
, rump_sysproxy_arg
,
1997 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
2000 rumpuser_seterrno(error
);
2004 __weak_alias(sys_removexattr
,rump_enosys
);
2006 int rump_sys_lremovexattr(const char *, const char *);
2008 rump_sys_lremovexattr(const char * path
, const char * name
)
2010 register_t rval
[2] = {0, 0};
2012 struct sys_lremovexattr_args callarg
;
2014 SPARG(&callarg
, path
) = path
;
2015 SPARG(&callarg
, name
) = name
;
2017 error
= rump_sysproxy(SYS_lremovexattr
, rump_sysproxy_arg
,
2018 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
2021 rumpuser_seterrno(error
);
2025 __weak_alias(sys_lremovexattr
,rump_enosys
);
2027 int rump_sys_fremovexattr(int, const char *);
2029 rump_sys_fremovexattr(int fd
, const char * name
)
2031 register_t rval
[2] = {0, 0};
2033 struct sys_fremovexattr_args callarg
;
2035 SPARG(&callarg
, fd
) = fd
;
2036 SPARG(&callarg
, name
) = name
;
2038 error
= rump_sysproxy(SYS_fremovexattr
, rump_sysproxy_arg
,
2039 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
2042 rumpuser_seterrno(error
);
2046 __weak_alias(sys_fremovexattr
,rump_enosys
);
2048 int rump_sys___getdents30(int, char *, size_t);
2050 rump_sys___getdents30(int fd
, char * buf
, size_t count
)
2052 register_t rval
[2] = {0, 0};
2054 struct sys___getdents30_args callarg
;
2056 SPARG(&callarg
, fd
) = fd
;
2057 SPARG(&callarg
, buf
) = buf
;
2058 SPARG(&callarg
, count
) = count
;
2060 error
= rump_sysproxy(SYS___getdents30
, rump_sysproxy_arg
,
2061 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
2064 rumpuser_seterrno(error
);
2068 __weak_alias(sys___getdents30
,rump_enosys
);
2070 int rump_sys___socket30(int, int, int);
2072 rump_sys___socket30(int domain
, int type
, int protocol
)
2074 register_t rval
[2] = {0, 0};
2076 struct sys___socket30_args callarg
;
2078 SPARG(&callarg
, domain
) = domain
;
2079 SPARG(&callarg
, type
) = type
;
2080 SPARG(&callarg
, protocol
) = protocol
;
2082 error
= rump_sysproxy(SYS___socket30
, rump_sysproxy_arg
,
2083 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
2086 rumpuser_seterrno(error
);
2090 __weak_alias(sys___socket30
,rump_enosys
);
2092 int rump_sys___getfh30(const char *, void *, size_t *);
2094 rump_sys___getfh30(const char * fname
, void * fhp
, size_t * fh_size
)
2096 register_t rval
[2] = {0, 0};
2098 struct sys___getfh30_args callarg
;
2100 SPARG(&callarg
, fname
) = fname
;
2101 SPARG(&callarg
, fhp
) = fhp
;
2102 SPARG(&callarg
, fh_size
) = fh_size
;
2104 error
= rump_sysproxy(SYS___getfh30
, rump_sysproxy_arg
,
2105 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
2108 rumpuser_seterrno(error
);
2112 __weak_alias(sys___getfh30
,rump_enosys
);
2114 int rump_sys___fhopen40(const void *, size_t, int);
2116 rump_sys___fhopen40(const void * fhp
, size_t fh_size
, int flags
)
2118 register_t rval
[2] = {0, 0};
2120 struct sys___fhopen40_args callarg
;
2122 SPARG(&callarg
, fhp
) = fhp
;
2123 SPARG(&callarg
, fh_size
) = fh_size
;
2124 SPARG(&callarg
, flags
) = flags
;
2126 error
= rump_sysproxy(SYS___fhopen40
, rump_sysproxy_arg
,
2127 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
2130 rumpuser_seterrno(error
);
2134 __weak_alias(sys___fhopen40
,rump_enosys
);
2136 int rump_sys___fhstatvfs140(const void *, size_t, struct statvfs
*, int);
2138 rump_sys___fhstatvfs140(const void * fhp
, size_t fh_size
, struct statvfs
* buf
, int flags
)
2140 register_t rval
[2] = {0, 0};
2142 struct sys___fhstatvfs140_args callarg
;
2144 SPARG(&callarg
, fhp
) = fhp
;
2145 SPARG(&callarg
, fh_size
) = fh_size
;
2146 SPARG(&callarg
, buf
) = buf
;
2147 SPARG(&callarg
, flags
) = flags
;
2149 error
= rump_sysproxy(SYS___fhstatvfs140
, rump_sysproxy_arg
,
2150 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
2153 rumpuser_seterrno(error
);
2157 __weak_alias(sys___fhstatvfs140
,rump_enosys
);
2159 int rump_sys___mount50(const char *, const char *, int, void *, size_t);
2161 rump_sys___mount50(const char * type
, const char * path
, int flags
, void * data
, size_t data_len
)
2163 register_t rval
[2] = {0, 0};
2165 struct sys___mount50_args callarg
;
2167 SPARG(&callarg
, type
) = type
;
2168 SPARG(&callarg
, path
) = path
;
2169 SPARG(&callarg
, flags
) = flags
;
2170 SPARG(&callarg
, data
) = data
;
2171 SPARG(&callarg
, data_len
) = data_len
;
2173 error
= rump_sysproxy(SYS___mount50
, rump_sysproxy_arg
,
2174 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
2177 rumpuser_seterrno(error
);
2181 __weak_alias(sys___mount50
,rump_enosys
);
2183 int rump_sys___select50(int, fd_set
*, fd_set
*, fd_set
*, struct timeval
*);
2185 rump_sys___select50(int nd
, fd_set
* in
, fd_set
* ou
, fd_set
* ex
, struct timeval
* tv
)
2187 register_t rval
[2] = {0, 0};
2189 struct sys___select50_args callarg
;
2191 SPARG(&callarg
, nd
) = nd
;
2192 SPARG(&callarg
, in
) = in
;
2193 SPARG(&callarg
, ou
) = ou
;
2194 SPARG(&callarg
, ex
) = ex
;
2195 SPARG(&callarg
, tv
) = tv
;
2197 error
= rump_sysproxy(SYS___select50
, rump_sysproxy_arg
,
2198 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
2201 rumpuser_seterrno(error
);
2205 __weak_alias(sys___select50
,rump_enosys
);
2207 int rump_sys___utimes50(const char *, const struct timeval
*);
2209 rump_sys___utimes50(const char * path
, const struct timeval
* tptr
)
2211 register_t rval
[2] = {0, 0};
2213 struct sys___utimes50_args callarg
;
2215 SPARG(&callarg
, path
) = path
;
2216 SPARG(&callarg
, tptr
) = tptr
;
2218 error
= rump_sysproxy(SYS___utimes50
, rump_sysproxy_arg
,
2219 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
2222 rumpuser_seterrno(error
);
2226 __weak_alias(sys___utimes50
,rump_enosys
);
2228 int rump_sys___futimes50(int, const struct timeval
*);
2230 rump_sys___futimes50(int fd
, const struct timeval
* tptr
)
2232 register_t rval
[2] = {0, 0};
2234 struct sys___futimes50_args callarg
;
2236 SPARG(&callarg
, fd
) = fd
;
2237 SPARG(&callarg
, tptr
) = tptr
;
2239 error
= rump_sysproxy(SYS___futimes50
, rump_sysproxy_arg
,
2240 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
2243 rumpuser_seterrno(error
);
2247 __weak_alias(sys___futimes50
,rump_enosys
);
2249 int rump_sys___lutimes50(const char *, const struct timeval
*);
2251 rump_sys___lutimes50(const char * path
, const struct timeval
* tptr
)
2253 register_t rval
[2] = {0, 0};
2255 struct sys___lutimes50_args callarg
;
2257 SPARG(&callarg
, path
) = path
;
2258 SPARG(&callarg
, tptr
) = tptr
;
2260 error
= rump_sysproxy(SYS___lutimes50
, rump_sysproxy_arg
,
2261 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
2264 rumpuser_seterrno(error
);
2268 __weak_alias(sys___lutimes50
,rump_enosys
);
2270 int rump_sys___kevent50(int, const struct kevent
*, size_t, struct kevent
*, size_t, const struct timespec
*);
2272 rump_sys___kevent50(int fd
, const struct kevent
* changelist
, size_t nchanges
, struct kevent
* eventlist
, size_t nevents
, const struct timespec
* timeout
)
2274 register_t rval
[2] = {0, 0};
2276 struct sys___kevent50_args callarg
;
2278 SPARG(&callarg
, fd
) = fd
;
2279 SPARG(&callarg
, changelist
) = changelist
;
2280 SPARG(&callarg
, nchanges
) = nchanges
;
2281 SPARG(&callarg
, eventlist
) = eventlist
;
2282 SPARG(&callarg
, nevents
) = nevents
;
2283 SPARG(&callarg
, timeout
) = timeout
;
2285 error
= rump_sysproxy(SYS___kevent50
, rump_sysproxy_arg
,
2286 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
2289 rumpuser_seterrno(error
);
2293 __weak_alias(sys___kevent50
,rump_enosys
);
2295 int rump_sys___pselect50(int, fd_set
*, fd_set
*, fd_set
*, const struct timespec
*, const sigset_t
*);
2297 rump_sys___pselect50(int nd
, fd_set
* in
, fd_set
* ou
, fd_set
* ex
, const struct timespec
* ts
, const sigset_t
* mask
)
2299 register_t rval
[2] = {0, 0};
2301 struct sys___pselect50_args callarg
;
2303 SPARG(&callarg
, nd
) = nd
;
2304 SPARG(&callarg
, in
) = in
;
2305 SPARG(&callarg
, ou
) = ou
;
2306 SPARG(&callarg
, ex
) = ex
;
2307 SPARG(&callarg
, ts
) = ts
;
2308 SPARG(&callarg
, mask
) = mask
;
2310 error
= rump_sysproxy(SYS___pselect50
, rump_sysproxy_arg
,
2311 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
2314 rumpuser_seterrno(error
);
2318 __weak_alias(sys___pselect50
,rump_enosys
);
2320 int rump_sys___pollts50(struct pollfd
*, u_int
, const struct timespec
*, const sigset_t
*);
2322 rump_sys___pollts50(struct pollfd
* fds
, u_int nfds
, const struct timespec
* ts
, const sigset_t
* mask
)
2324 register_t rval
[2] = {0, 0};
2326 struct sys___pollts50_args callarg
;
2328 SPARG(&callarg
, fds
) = fds
;
2329 SPARG(&callarg
, nfds
) = nfds
;
2330 SPARG(&callarg
, ts
) = ts
;
2331 SPARG(&callarg
, mask
) = mask
;
2333 error
= rump_sysproxy(SYS___pollts50
, rump_sysproxy_arg
,
2334 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
2337 rumpuser_seterrno(error
);
2341 __weak_alias(sys___pollts50
,rump_enosys
);
2343 int rump_sys___stat50(const char *, struct stat
*);
2345 rump_sys___stat50(const char * path
, struct stat
* ub
)
2347 register_t rval
[2] = {0, 0};
2349 struct sys___stat50_args callarg
;
2351 SPARG(&callarg
, path
) = path
;
2352 SPARG(&callarg
, ub
) = ub
;
2354 error
= rump_sysproxy(SYS___stat50
, rump_sysproxy_arg
,
2355 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
2358 rumpuser_seterrno(error
);
2362 __weak_alias(sys___stat50
,rump_enosys
);
2364 int rump_sys___fstat50(int, struct stat
*);
2366 rump_sys___fstat50(int fd
, struct stat
* sb
)
2368 register_t rval
[2] = {0, 0};
2370 struct sys___fstat50_args callarg
;
2372 SPARG(&callarg
, fd
) = fd
;
2373 SPARG(&callarg
, sb
) = sb
;
2375 error
= rump_sysproxy(SYS___fstat50
, rump_sysproxy_arg
,
2376 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
2379 rumpuser_seterrno(error
);
2383 __weak_alias(sys___fstat50
,rump_enosys
);
2385 int rump_sys___lstat50(const char *, struct stat
*);
2387 rump_sys___lstat50(const char * path
, struct stat
* ub
)
2389 register_t rval
[2] = {0, 0};
2391 struct sys___lstat50_args callarg
;
2393 SPARG(&callarg
, path
) = path
;
2394 SPARG(&callarg
, ub
) = ub
;
2396 error
= rump_sysproxy(SYS___lstat50
, rump_sysproxy_arg
,
2397 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
2400 rumpuser_seterrno(error
);
2404 __weak_alias(sys___lstat50
,rump_enosys
);
2406 int rump_sys___mknod50(const char *, mode_t
, dev_t
);
2408 rump_sys___mknod50(const char * path
, mode_t mode
, dev_t dev
)
2410 register_t rval
[2] = {0, 0};
2412 struct sys___mknod50_args callarg
;
2414 SPARG(&callarg
, path
) = path
;
2415 SPARG(&callarg
, mode
) = mode
;
2416 SPARG(&callarg
, dev
) = dev
;
2418 error
= rump_sysproxy(SYS___mknod50
, rump_sysproxy_arg
,
2419 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
2422 rumpuser_seterrno(error
);
2426 __weak_alias(sys___mknod50
,rump_enosys
);
2428 int rump_sys___fhstat50(const void *, size_t, struct stat
*);
2430 rump_sys___fhstat50(const void * fhp
, size_t fh_size
, struct stat
* sb
)
2432 register_t rval
[2] = {0, 0};
2434 struct sys___fhstat50_args callarg
;
2436 SPARG(&callarg
, fhp
) = fhp
;
2437 SPARG(&callarg
, fh_size
) = fh_size
;
2438 SPARG(&callarg
, sb
) = sb
;
2440 error
= rump_sysproxy(SYS___fhstat50
, rump_sysproxy_arg
,
2441 (uint8_t *)&callarg
, sizeof(callarg
), rval
);
2444 rumpuser_seterrno(error
);
2448 __weak_alias(sys___fhstat50
,rump_enosys
);
2450 int rump_sys_pipe(int *);
2452 rump_sys_pipe(int *fd
)
2454 register_t rval
[2] = {0, 0};
2457 error
= rump_sysproxy(SYS_pipe
, rump_sysproxy_arg
, NULL
, 0, rval
);
2459 rumpuser_seterrno(error
);
2464 return error
? -1 : 0;
2467 #define s(type) sizeof(type)
2468 #define n(type) (sizeof(type)/sizeof (register_t))
2469 #define ns(type) n(type), s(type)
2471 struct sysent rump_sysent
[] = {
2473 (sy_call_t
*)rump_enosys
}, /* 0 = unrumped */
2475 (sy_call_t
*)rump_enosys
}, /* 1 = unrumped */
2477 (sy_call_t
*)rump_enosys
}, /* 2 = unrumped */
2478 { ns(struct sys_read_args
), 0,
2479 (sy_call_t
*)sys_read
}, /* 3 = read */
2480 { ns(struct sys_write_args
), 0,
2481 (sy_call_t
*)sys_write
}, /* 4 = write */
2482 { ns(struct sys_open_args
), 0,
2483 (sy_call_t
*)sys_open
}, /* 5 = open */
2484 { ns(struct sys_close_args
), 0,
2485 (sy_call_t
*)sys_close
}, /* 6 = close */
2487 (sy_call_t
*)rump_enosys
}, /* 7 = unrumped */
2489 (sy_call_t
*)rump_enosys
}, /* 8 = unrumped */
2490 { ns(struct sys_link_args
), 0,
2491 (sy_call_t
*)sys_link
}, /* 9 = link */
2492 { ns(struct sys_unlink_args
), 0,
2493 (sy_call_t
*)sys_unlink
}, /* 10 = unlink */
2495 (sy_call_t
*)rump_enosys
}, /* 11 = obsolete execv */
2496 { ns(struct sys_chdir_args
), 0,
2497 (sy_call_t
*)sys_chdir
}, /* 12 = chdir */
2498 { ns(struct sys_fchdir_args
), 0,
2499 (sy_call_t
*)sys_fchdir
}, /* 13 = fchdir */
2501 (sy_call_t
*)rump_enosys
}, /* 14 = unrumped */
2502 { ns(struct sys_chmod_args
), 0,
2503 (sy_call_t
*)sys_chmod
}, /* 15 = chmod */
2504 { ns(struct sys_chown_args
), 0,
2505 (sy_call_t
*)sys_chown
}, /* 16 = chown */
2507 (sy_call_t
*)rump_enosys
}, /* 17 = unrumped */
2509 (sy_call_t
*)rump_enosys
}, /* 18 = unrumped */
2511 (sy_call_t
*)rump_enosys
}, /* 19 = unrumped */
2513 (sy_call_t
*)rump_enosys
}, /* 20 = unrumped */
2515 (sy_call_t
*)rump_enosys
}, /* 21 = unrumped */
2516 { ns(struct sys_unmount_args
), 0,
2517 (sy_call_t
*)sys_unmount
}, /* 22 = unmount */
2519 (sy_call_t
*)rump_enosys
}, /* 23 = unrumped */
2521 (sy_call_t
*)rump_enosys
}, /* 24 = unrumped */
2523 (sy_call_t
*)rump_enosys
}, /* 25 = unrumped */
2525 (sy_call_t
*)rump_enosys
}, /* 26 = unrumped */
2526 { ns(struct sys_recvmsg_args
), 0,
2527 (sy_call_t
*)sys_recvmsg
}, /* 27 = recvmsg */
2528 { ns(struct sys_sendmsg_args
), 0,
2529 (sy_call_t
*)sys_sendmsg
}, /* 28 = sendmsg */
2530 { ns(struct sys_recvfrom_args
), 0,
2531 (sy_call_t
*)sys_recvfrom
}, /* 29 = recvfrom */
2532 { ns(struct sys_accept_args
), 0,
2533 (sy_call_t
*)sys_accept
}, /* 30 = accept */
2534 { ns(struct sys_getpeername_args
), 0,
2535 (sy_call_t
*)sys_getpeername
}, /* 31 = getpeername */
2536 { ns(struct sys_getsockname_args
), 0,
2537 (sy_call_t
*)sys_getsockname
}, /* 32 = getsockname */
2538 { ns(struct sys_access_args
), 0,
2539 (sy_call_t
*)sys_access
}, /* 33 = access */
2540 { ns(struct sys_chflags_args
), 0,
2541 (sy_call_t
*)sys_chflags
}, /* 34 = chflags */
2542 { ns(struct sys_fchflags_args
), 0,
2543 (sy_call_t
*)sys_fchflags
}, /* 35 = fchflags */
2545 (sy_call_t
*)sys_sync
}, /* 36 = sync */
2547 (sy_call_t
*)rump_enosys
}, /* 37 = unrumped */
2549 (sy_call_t
*)rump_enosys
}, /* 38 = unrumped */
2551 (sy_call_t
*)rump_enosys
}, /* 39 = unrumped */
2553 (sy_call_t
*)rump_enosys
}, /* 40 = unrumped */
2554 { ns(struct sys_dup_args
), 0,
2555 (sy_call_t
*)sys_dup
}, /* 41 = dup */
2557 (sy_call_t
*)sys_pipe
}, /* 42 = pipe */
2559 (sy_call_t
*)rump_enosys
}, /* 43 = unrumped */
2561 (sy_call_t
*)rump_enosys
}, /* 44 = unrumped */
2563 (sy_call_t
*)rump_enosys
}, /* 45 = unrumped */
2565 (sy_call_t
*)rump_enosys
}, /* 46 = unrumped */
2567 (sy_call_t
*)rump_enosys
}, /* 47 = unrumped */
2569 (sy_call_t
*)rump_enosys
}, /* 48 = unrumped */
2571 (sy_call_t
*)rump_enosys
}, /* 49 = unrumped */
2573 (sy_call_t
*)rump_enosys
}, /* 50 = unrumped */
2575 (sy_call_t
*)rump_enosys
}, /* 51 = unrumped */
2577 (sy_call_t
*)rump_enosys
}, /* 52 = unrumped */
2579 (sy_call_t
*)rump_enosys
}, /* 53 = unrumped */
2580 { ns(struct sys_ioctl_args
), 0,
2581 (sy_call_t
*)sys_ioctl
}, /* 54 = ioctl */
2583 (sy_call_t
*)rump_enosys
}, /* 55 = unrumped */
2584 { ns(struct sys_revoke_args
), 0,
2585 (sy_call_t
*)sys_revoke
}, /* 56 = revoke */
2586 { ns(struct sys_symlink_args
), 0,
2587 (sy_call_t
*)sys_symlink
}, /* 57 = symlink */
2588 { ns(struct sys_readlink_args
), 0,
2589 (sy_call_t
*)sys_readlink
}, /* 58 = readlink */
2591 (sy_call_t
*)rump_enosys
}, /* 59 = unrumped */
2593 (sy_call_t
*)rump_enosys
}, /* 60 = unrumped */
2594 { ns(struct sys_chroot_args
), 0,
2595 (sy_call_t
*)sys_chroot
}, /* 61 = chroot */
2597 (sy_call_t
*)rump_enosys
}, /* 62 = unrumped */
2599 (sy_call_t
*)rump_enosys
}, /* 63 = unrumped */
2601 (sy_call_t
*)rump_enosys
}, /* 64 = unrumped */
2603 (sy_call_t
*)rump_enosys
}, /* 65 = unrumped */
2605 (sy_call_t
*)rump_enosys
}, /* 66 = unrumped */
2607 (sy_call_t
*)rump_enosys
}, /* 67 = obsolete vread */
2609 (sy_call_t
*)rump_enosys
}, /* 68 = obsolete vwrite */
2611 (sy_call_t
*)rump_enosys
}, /* 69 = unrumped */
2613 (sy_call_t
*)rump_enosys
}, /* 70 = unrumped */
2615 (sy_call_t
*)rump_enosys
}, /* 71 = unrumped */
2617 (sy_call_t
*)rump_enosys
}, /* 72 = unrumped */
2619 (sy_call_t
*)rump_enosys
}, /* 73 = unrumped */
2621 (sy_call_t
*)rump_enosys
}, /* 74 = unrumped */
2623 (sy_call_t
*)rump_enosys
}, /* 75 = unrumped */
2625 (sy_call_t
*)rump_enosys
}, /* 76 = obsolete vhangup */
2627 (sy_call_t
*)rump_enosys
}, /* 77 = obsolete vlimit */
2629 (sy_call_t
*)rump_enosys
}, /* 78 = unrumped */
2631 (sy_call_t
*)rump_enosys
}, /* 79 = unrumped */
2633 (sy_call_t
*)rump_enosys
}, /* 80 = unrumped */
2635 (sy_call_t
*)rump_enosys
}, /* 81 = unrumped */
2637 (sy_call_t
*)rump_enosys
}, /* 82 = unrumped */
2639 (sy_call_t
*)rump_enosys
}, /* 83 = unrumped */
2641 (sy_call_t
*)rump_enosys
}, /* 84 = unrumped */
2643 (sy_call_t
*)rump_enosys
}, /* 85 = unrumped */
2645 (sy_call_t
*)rump_enosys
}, /* 86 = unrumped */
2647 (sy_call_t
*)rump_enosys
}, /* 87 = unrumped */
2649 (sy_call_t
*)rump_enosys
}, /* 88 = unrumped */
2651 (sy_call_t
*)rump_enosys
}, /* 89 = unrumped */
2652 { ns(struct sys_dup2_args
), 0,
2653 (sy_call_t
*)sys_dup2
}, /* 90 = dup2 */
2655 (sy_call_t
*)rump_enosys
}, /* 91 = unimplemented getdopt */
2656 { ns(struct sys_fcntl_args
), 0,
2657 (sy_call_t
*)sys_fcntl
}, /* 92 = fcntl */
2659 (sy_call_t
*)rump_enosys
}, /* 93 = unrumped */
2661 (sy_call_t
*)rump_enosys
}, /* 94 = unimplemented setdopt */
2662 { ns(struct sys_fsync_args
), 0,
2663 (sy_call_t
*)sys_fsync
}, /* 95 = fsync */
2665 (sy_call_t
*)rump_enosys
}, /* 96 = unrumped */
2667 (sy_call_t
*)rump_enosys
}, /* 97 = unrumped */
2668 { ns(struct sys_connect_args
), 0,
2669 (sy_call_t
*)sys_connect
}, /* 98 = connect */
2671 (sy_call_t
*)rump_enosys
}, /* 99 = unrumped */
2673 (sy_call_t
*)rump_enosys
}, /* 100 = unrumped */
2675 (sy_call_t
*)rump_enosys
}, /* 101 = unrumped */
2677 (sy_call_t
*)rump_enosys
}, /* 102 = unrumped */
2679 (sy_call_t
*)rump_enosys
}, /* 103 = unrumped */
2680 { ns(struct sys_bind_args
), 0,
2681 (sy_call_t
*)sys_bind
}, /* 104 = bind */
2682 { ns(struct sys_setsockopt_args
), 0,
2683 (sy_call_t
*)sys_setsockopt
}, /* 105 = setsockopt */
2684 { ns(struct sys_listen_args
), 0,
2685 (sy_call_t
*)sys_listen
}, /* 106 = listen */
2687 (sy_call_t
*)rump_enosys
}, /* 107 = obsolete vtimes */
2689 (sy_call_t
*)rump_enosys
}, /* 108 = unrumped */
2691 (sy_call_t
*)rump_enosys
}, /* 109 = unrumped */
2693 (sy_call_t
*)rump_enosys
}, /* 110 = unrumped */
2695 (sy_call_t
*)rump_enosys
}, /* 111 = unrumped */
2697 (sy_call_t
*)rump_enosys
}, /* 112 = unrumped */
2699 (sy_call_t
*)rump_enosys
}, /* 113 = unrumped */
2701 (sy_call_t
*)rump_enosys
}, /* 114 = unrumped */
2703 (sy_call_t
*)rump_enosys
}, /* 115 = obsolete vtrace */
2705 (sy_call_t
*)rump_enosys
}, /* 116 = unrumped */
2707 (sy_call_t
*)rump_enosys
}, /* 117 = unrumped */
2708 { ns(struct sys_getsockopt_args
), 0,
2709 (sy_call_t
*)sys_getsockopt
}, /* 118 = getsockopt */
2711 (sy_call_t
*)rump_enosys
}, /* 119 = obsolete resuba */
2712 { ns(struct sys_readv_args
), 0,
2713 (sy_call_t
*)sys_readv
}, /* 120 = readv */
2714 { ns(struct sys_writev_args
), 0,
2715 (sy_call_t
*)sys_writev
}, /* 121 = writev */
2717 (sy_call_t
*)rump_enosys
}, /* 122 = unrumped */
2718 { ns(struct sys_fchown_args
), 0,
2719 (sy_call_t
*)sys_fchown
}, /* 123 = fchown */
2720 { ns(struct sys_fchmod_args
), 0,
2721 (sy_call_t
*)sys_fchmod
}, /* 124 = fchmod */
2723 (sy_call_t
*)rump_enosys
}, /* 125 = unrumped */
2725 (sy_call_t
*)rump_enosys
}, /* 126 = unrumped */
2727 (sy_call_t
*)rump_enosys
}, /* 127 = unrumped */
2728 { ns(struct sys_rename_args
), 0,
2729 (sy_call_t
*)sys_rename
}, /* 128 = rename */
2731 (sy_call_t
*)rump_enosys
}, /* 129 = unrumped */
2733 (sy_call_t
*)rump_enosys
}, /* 130 = unrumped */
2734 { ns(struct sys_flock_args
), 0,
2735 (sy_call_t
*)sys_flock
}, /* 131 = flock */
2736 { ns(struct sys_mkfifo_args
), 0,
2737 (sy_call_t
*)sys_mkfifo
}, /* 132 = mkfifo */
2738 { ns(struct sys_sendto_args
), 0,
2739 (sy_call_t
*)sys_sendto
}, /* 133 = sendto */
2740 { ns(struct sys_shutdown_args
), 0,
2741 (sy_call_t
*)sys_shutdown
}, /* 134 = shutdown */
2742 { ns(struct sys_socketpair_args
), 0,
2743 (sy_call_t
*)sys_socketpair
}, /* 135 = socketpair */
2744 { ns(struct sys_mkdir_args
), 0,
2745 (sy_call_t
*)sys_mkdir
}, /* 136 = mkdir */
2746 { ns(struct sys_rmdir_args
), 0,
2747 (sy_call_t
*)sys_rmdir
}, /* 137 = rmdir */
2749 (sy_call_t
*)rump_enosys
}, /* 138 = unrumped */
2751 (sy_call_t
*)rump_enosys
}, /* 139 = obsolete 4.2 sigreturn */
2753 (sy_call_t
*)rump_enosys
}, /* 140 = unrumped */
2755 (sy_call_t
*)rump_enosys
}, /* 141 = unrumped */
2757 (sy_call_t
*)rump_enosys
}, /* 142 = unrumped */
2759 (sy_call_t
*)rump_enosys
}, /* 143 = unrumped */
2761 (sy_call_t
*)rump_enosys
}, /* 144 = unrumped */
2763 (sy_call_t
*)rump_enosys
}, /* 145 = unrumped */
2765 (sy_call_t
*)rump_enosys
}, /* 146 = unrumped */
2767 (sy_call_t
*)rump_enosys
}, /* 147 = unrumped */
2769 (sy_call_t
*)rump_enosys
}, /* 148 = unrumped */
2771 (sy_call_t
*)rump_enosys
}, /* 149 = unrumped */
2773 (sy_call_t
*)rump_enosys
}, /* 150 = unrumped */
2775 (sy_call_t
*)rump_enosys
}, /* 151 = unimplemented */
2777 (sy_call_t
*)rump_enosys
}, /* 152 = unimplemented */
2779 (sy_call_t
*)rump_enosys
}, /* 153 = unimplemented */
2781 (sy_call_t
*)rump_enosys
}, /* 154 = unimplemented */
2782 { ns(struct sys_nfssvc_args
), 0,
2783 (sy_call_t
*)sys_nomodule
}, /* 155 = nfssvc */
2785 (sy_call_t
*)rump_enosys
}, /* 156 = unrumped */
2787 (sy_call_t
*)rump_enosys
}, /* 157 = unrumped */
2789 (sy_call_t
*)rump_enosys
}, /* 158 = unrumped */
2791 (sy_call_t
*)rump_enosys
}, /* 159 = unimplemented */
2793 (sy_call_t
*)rump_enosys
}, /* 160 = unimplemented */
2795 (sy_call_t
*)rump_enosys
}, /* 161 = unrumped */
2797 (sy_call_t
*)rump_enosys
}, /* 162 = unrumped */
2799 (sy_call_t
*)rump_enosys
}, /* 163 = unrumped */
2801 (sy_call_t
*)rump_enosys
}, /* 164 = unrumped */
2803 (sy_call_t
*)rump_enosys
}, /* 165 = unrumped */
2805 (sy_call_t
*)rump_enosys
}, /* 166 = unimplemented */
2807 (sy_call_t
*)rump_enosys
}, /* 167 = unimplemented */
2809 (sy_call_t
*)rump_enosys
}, /* 168 = unimplemented */
2810 #if (defined(SYSVSEM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
2812 (sy_call_t
*)rump_enosys
}, /* 169 = unrumped */
2815 (sy_call_t
*)rump_enosys
}, /* 169 = excluded 1.0 semsys */
2817 #if (defined(SYSVMSG) || !defined(_KERNEL_OPT)) && !defined(_LP64)
2819 (sy_call_t
*)rump_enosys
}, /* 170 = unrumped */
2822 (sy_call_t
*)rump_enosys
}, /* 170 = excluded 1.0 msgsys */
2824 #if (defined(SYSVSHM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
2826 (sy_call_t
*)rump_enosys
}, /* 171 = unrumped */
2829 (sy_call_t
*)rump_enosys
}, /* 171 = excluded 1.0 shmsys */
2832 (sy_call_t
*)rump_enosys
}, /* 172 = unimplemented */
2833 { ns(struct sys_pread_args
), 0,
2834 (sy_call_t
*)sys_pread
}, /* 173 = pread */
2835 { ns(struct sys_pwrite_args
), 0,
2836 (sy_call_t
*)sys_pwrite
}, /* 174 = pwrite */
2838 (sy_call_t
*)rump_enosys
}, /* 175 = unrumped */
2839 #if defined(NTP) || !defined(_KERNEL_OPT)
2841 (sy_call_t
*)rump_enosys
}, /* 176 = unrumped */
2844 (sy_call_t
*)rump_enosys
}, /* 176 = excluded ntp_adjtime */
2847 (sy_call_t
*)rump_enosys
}, /* 177 = unimplemented */
2849 (sy_call_t
*)rump_enosys
}, /* 178 = unimplemented */
2851 (sy_call_t
*)rump_enosys
}, /* 179 = unimplemented */
2853 (sy_call_t
*)rump_enosys
}, /* 180 = unimplemented */
2855 (sy_call_t
*)rump_enosys
}, /* 181 = unrumped */
2857 (sy_call_t
*)rump_enosys
}, /* 182 = unrumped */
2859 (sy_call_t
*)rump_enosys
}, /* 183 = unrumped */
2860 #if defined(LFS) || !defined(_KERNEL)
2862 (sy_call_t
*)rump_enosys
}, /* 184 = unrumped */
2864 (sy_call_t
*)rump_enosys
}, /* 185 = unrumped */
2866 (sy_call_t
*)rump_enosys
}, /* 186 = unrumped */
2868 (sy_call_t
*)rump_enosys
}, /* 187 = unrumped */
2871 (sy_call_t
*)rump_enosys
}, /* 184 = excluded lfs_bmapv */
2873 (sy_call_t
*)rump_enosys
}, /* 185 = excluded lfs_markv */
2875 (sy_call_t
*)rump_enosys
}, /* 186 = excluded lfs_segclean */
2877 (sy_call_t
*)rump_enosys
}, /* 187 = excluded lfs_segwait */
2880 (sy_call_t
*)rump_enosys
}, /* 188 = unrumped */
2882 (sy_call_t
*)rump_enosys
}, /* 189 = unrumped */
2884 (sy_call_t
*)rump_enosys
}, /* 190 = unrumped */
2886 (sy_call_t
*)rump_enosys
}, /* 191 = unrumped */
2888 (sy_call_t
*)rump_enosys
}, /* 192 = unrumped */
2890 (sy_call_t
*)rump_enosys
}, /* 193 = unimplemented */
2892 (sy_call_t
*)rump_enosys
}, /* 194 = unrumped */
2894 (sy_call_t
*)rump_enosys
}, /* 195 = unrumped */
2896 (sy_call_t
*)rump_enosys
}, /* 196 = unrumped */
2898 (sy_call_t
*)rump_enosys
}, /* 197 = unrumped */
2900 (sy_call_t
*)rump_enosys
}, /* 198 = unrumped */
2901 { ns(struct sys_lseek_args
), 0,
2902 (sy_call_t
*)sys_lseek
}, /* 199 = lseek */
2903 { ns(struct sys_truncate_args
), 0,
2904 (sy_call_t
*)sys_truncate
}, /* 200 = truncate */
2905 { ns(struct sys_ftruncate_args
), 0,
2906 (sy_call_t
*)sys_ftruncate
}, /* 201 = ftruncate */
2907 { ns(struct sys___sysctl_args
), 0,
2908 (sy_call_t
*)sys___sysctl
}, /* 202 = __sysctl */
2910 (sy_call_t
*)rump_enosys
}, /* 203 = unrumped */
2912 (sy_call_t
*)rump_enosys
}, /* 204 = unrumped */
2914 (sy_call_t
*)rump_enosys
}, /* 205 = unrumped */
2916 (sy_call_t
*)rump_enosys
}, /* 206 = unrumped */
2918 (sy_call_t
*)rump_enosys
}, /* 207 = unrumped */
2919 { ns(struct sys_reboot_args
), 0,
2920 (sy_call_t
*)sys_reboot
}, /* 208 = reboot */
2921 { ns(struct sys_poll_args
), 0,
2922 (sy_call_t
*)sys_poll
}, /* 209 = poll */
2924 (sy_call_t
*)rump_enosys
}, /* 210 = unimplemented */
2926 (sy_call_t
*)rump_enosys
}, /* 211 = unimplemented */
2928 (sy_call_t
*)rump_enosys
}, /* 212 = unimplemented */
2930 (sy_call_t
*)rump_enosys
}, /* 213 = unimplemented */
2932 (sy_call_t
*)rump_enosys
}, /* 214 = unimplemented */
2934 (sy_call_t
*)rump_enosys
}, /* 215 = unimplemented */
2936 (sy_call_t
*)rump_enosys
}, /* 216 = unimplemented */
2938 (sy_call_t
*)rump_enosys
}, /* 217 = unimplemented */
2940 (sy_call_t
*)rump_enosys
}, /* 218 = unimplemented */
2942 (sy_call_t
*)rump_enosys
}, /* 219 = unimplemented */
2943 #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
2945 (sy_call_t
*)rump_enosys
}, /* 220 = unrumped */
2947 (sy_call_t
*)rump_enosys
}, /* 221 = unrumped */
2949 (sy_call_t
*)rump_enosys
}, /* 222 = unrumped */
2951 (sy_call_t
*)rump_enosys
}, /* 223 = unrumped */
2954 (sy_call_t
*)rump_enosys
}, /* 220 = excluded compat_14_semctl */
2956 (sy_call_t
*)rump_enosys
}, /* 221 = excluded semget */
2958 (sy_call_t
*)rump_enosys
}, /* 222 = excluded semop */
2960 (sy_call_t
*)rump_enosys
}, /* 223 = excluded semconfig */
2962 #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
2964 (sy_call_t
*)rump_enosys
}, /* 224 = unrumped */
2966 (sy_call_t
*)rump_enosys
}, /* 225 = unrumped */
2968 (sy_call_t
*)rump_enosys
}, /* 226 = unrumped */
2970 (sy_call_t
*)rump_enosys
}, /* 227 = unrumped */
2973 (sy_call_t
*)rump_enosys
}, /* 224 = excluded compat_14_msgctl */
2975 (sy_call_t
*)rump_enosys
}, /* 225 = excluded msgget */
2977 (sy_call_t
*)rump_enosys
}, /* 226 = excluded msgsnd */
2979 (sy_call_t
*)rump_enosys
}, /* 227 = excluded msgrcv */
2981 #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
2983 (sy_call_t
*)rump_enosys
}, /* 228 = unrumped */
2985 (sy_call_t
*)rump_enosys
}, /* 229 = unrumped */
2987 (sy_call_t
*)rump_enosys
}, /* 230 = unrumped */
2989 (sy_call_t
*)rump_enosys
}, /* 231 = unrumped */
2992 (sy_call_t
*)rump_enosys
}, /* 228 = excluded shmat */
2994 (sy_call_t
*)rump_enosys
}, /* 229 = excluded compat_14_shmctl */
2996 (sy_call_t
*)rump_enosys
}, /* 230 = excluded shmdt */
2998 (sy_call_t
*)rump_enosys
}, /* 231 = excluded shmget */
3001 (sy_call_t
*)rump_enosys
}, /* 232 = unrumped */
3003 (sy_call_t
*)rump_enosys
}, /* 233 = unrumped */
3005 (sy_call_t
*)rump_enosys
}, /* 234 = unrumped */
3007 (sy_call_t
*)rump_enosys
}, /* 235 = unrumped */
3009 (sy_call_t
*)rump_enosys
}, /* 236 = unrumped */
3011 (sy_call_t
*)rump_enosys
}, /* 237 = unrumped */
3013 (sy_call_t
*)rump_enosys
}, /* 238 = unrumped */
3015 (sy_call_t
*)rump_enosys
}, /* 239 = unrumped */
3017 (sy_call_t
*)rump_enosys
}, /* 240 = unrumped */
3018 { ns(struct sys_fdatasync_args
), 0,
3019 (sy_call_t
*)sys_fdatasync
}, /* 241 = fdatasync */
3021 (sy_call_t
*)rump_enosys
}, /* 242 = unrumped */
3023 (sy_call_t
*)rump_enosys
}, /* 243 = unrumped */
3025 (sy_call_t
*)rump_enosys
}, /* 244 = unrumped */
3027 (sy_call_t
*)rump_enosys
}, /* 245 = unimplemented sys_sigqueue */
3028 { ns(struct sys_modctl_args
), 0,
3029 (sy_call_t
*)sys_modctl
}, /* 246 = modctl */
3031 (sy_call_t
*)rump_enosys
}, /* 247 = unrumped */
3033 (sy_call_t
*)rump_enosys
}, /* 248 = unrumped */
3035 (sy_call_t
*)rump_enosys
}, /* 249 = unrumped */
3037 (sy_call_t
*)rump_enosys
}, /* 250 = unrumped */
3039 (sy_call_t
*)rump_enosys
}, /* 251 = unrumped */
3041 (sy_call_t
*)rump_enosys
}, /* 252 = unrumped */
3043 (sy_call_t
*)rump_enosys
}, /* 253 = unrumped */
3045 (sy_call_t
*)rump_enosys
}, /* 254 = unrumped */
3047 (sy_call_t
*)rump_enosys
}, /* 255 = unrumped */
3049 (sy_call_t
*)rump_enosys
}, /* 256 = unimplemented sys__ksem_timedwait */
3051 (sy_call_t
*)rump_enosys
}, /* 257 = unrumped */
3053 (sy_call_t
*)rump_enosys
}, /* 258 = unrumped */
3055 (sy_call_t
*)rump_enosys
}, /* 259 = unrumped */
3057 (sy_call_t
*)rump_enosys
}, /* 260 = unrumped */
3059 (sy_call_t
*)rump_enosys
}, /* 261 = unrumped */
3061 (sy_call_t
*)rump_enosys
}, /* 262 = unrumped */
3063 (sy_call_t
*)rump_enosys
}, /* 263 = unrumped */
3065 (sy_call_t
*)rump_enosys
}, /* 264 = unrumped */
3067 (sy_call_t
*)rump_enosys
}, /* 265 = unrumped */
3069 (sy_call_t
*)rump_enosys
}, /* 266 = unrumped */
3071 (sy_call_t
*)rump_enosys
}, /* 267 = unimplemented */
3073 (sy_call_t
*)rump_enosys
}, /* 268 = unimplemented */
3075 (sy_call_t
*)rump_enosys
}, /* 269 = unimplemented */
3077 (sy_call_t
*)rump_enosys
}, /* 270 = unrumped */
3079 (sy_call_t
*)rump_enosys
}, /* 271 = unrumped */
3081 (sy_call_t
*)rump_enosys
}, /* 272 = unrumped */
3083 (sy_call_t
*)rump_enosys
}, /* 273 = unrumped */
3084 { ns(struct sys_lchmod_args
), 0,
3085 (sy_call_t
*)sys_lchmod
}, /* 274 = lchmod */
3086 { ns(struct sys_lchown_args
), 0,
3087 (sy_call_t
*)sys_lchown
}, /* 275 = lchown */
3089 (sy_call_t
*)rump_enosys
}, /* 276 = unrumped */
3091 (sy_call_t
*)rump_enosys
}, /* 277 = unrumped */
3093 (sy_call_t
*)rump_enosys
}, /* 278 = unrumped */
3095 (sy_call_t
*)rump_enosys
}, /* 279 = unrumped */
3097 (sy_call_t
*)rump_enosys
}, /* 280 = unrumped */
3099 (sy_call_t
*)rump_enosys
}, /* 281 = unrumped */
3101 (sy_call_t
*)rump_enosys
}, /* 282 = unrumped */
3103 (sy_call_t
*)rump_enosys
}, /* 283 = unrumped */
3105 (sy_call_t
*)rump_enosys
}, /* 284 = unrumped */
3107 (sy_call_t
*)rump_enosys
}, /* 285 = unrumped */
3109 (sy_call_t
*)rump_enosys
}, /* 286 = unrumped */
3111 (sy_call_t
*)rump_enosys
}, /* 287 = unrumped */
3113 (sy_call_t
*)rump_enosys
}, /* 288 = unrumped */
3115 (sy_call_t
*)rump_enosys
}, /* 289 = unrumped */
3117 (sy_call_t
*)rump_enosys
}, /* 290 = unrumped */
3119 (sy_call_t
*)rump_enosys
}, /* 291 = unrumped */
3121 (sy_call_t
*)rump_enosys
}, /* 292 = unrumped */
3123 (sy_call_t
*)rump_enosys
}, /* 293 = unrumped */
3125 (sy_call_t
*)rump_enosys
}, /* 294 = unrumped */
3127 (sy_call_t
*)rump_enosys
}, /* 295 = unrumped */
3129 (sy_call_t
*)rump_enosys
}, /* 296 = unrumped */
3130 { ns(struct sys_fchroot_args
), 0,
3131 (sy_call_t
*)sys_fchroot
}, /* 297 = fchroot */
3133 (sy_call_t
*)rump_enosys
}, /* 298 = unrumped */
3135 (sy_call_t
*)rump_enosys
}, /* 299 = unrumped */
3137 (sy_call_t
*)rump_enosys
}, /* 300 = unrumped */
3138 #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
3140 (sy_call_t
*)rump_enosys
}, /* 301 = unrumped */
3143 (sy_call_t
*)rump_enosys
}, /* 301 = excluded ____semctl13 */
3145 #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
3147 (sy_call_t
*)rump_enosys
}, /* 302 = unrumped */
3150 (sy_call_t
*)rump_enosys
}, /* 302 = excluded __msgctl13 */
3152 #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
3154 (sy_call_t
*)rump_enosys
}, /* 303 = unrumped */
3157 (sy_call_t
*)rump_enosys
}, /* 303 = excluded __shmctl13 */
3159 { ns(struct sys_lchflags_args
), 0,
3160 (sy_call_t
*)sys_lchflags
}, /* 304 = lchflags */
3162 (sy_call_t
*)rump_enosys
}, /* 305 = unrumped */
3164 (sy_call_t
*)rump_enosys
}, /* 306 = unrumped */
3166 (sy_call_t
*)rump_enosys
}, /* 307 = unrumped */
3168 (sy_call_t
*)rump_enosys
}, /* 308 = unrumped */
3170 (sy_call_t
*)rump_enosys
}, /* 309 = unrumped */
3172 (sy_call_t
*)rump_enosys
}, /* 310 = unrumped */
3174 (sy_call_t
*)rump_enosys
}, /* 311 = unrumped */
3176 (sy_call_t
*)rump_enosys
}, /* 312 = unrumped */
3178 (sy_call_t
*)rump_enosys
}, /* 313 = unrumped */
3180 (sy_call_t
*)rump_enosys
}, /* 314 = unrumped */
3182 (sy_call_t
*)rump_enosys
}, /* 315 = unrumped */
3184 (sy_call_t
*)rump_enosys
}, /* 316 = unrumped */
3186 (sy_call_t
*)rump_enosys
}, /* 317 = unrumped */
3188 (sy_call_t
*)rump_enosys
}, /* 318 = unrumped */
3190 (sy_call_t
*)rump_enosys
}, /* 319 = unrumped */
3192 (sy_call_t
*)rump_enosys
}, /* 320 = unrumped */
3194 (sy_call_t
*)rump_enosys
}, /* 321 = unrumped */
3196 (sy_call_t
*)rump_enosys
}, /* 322 = unrumped */
3198 (sy_call_t
*)rump_enosys
}, /* 323 = unrumped */
3200 (sy_call_t
*)rump_enosys
}, /* 324 = unrumped */
3202 (sy_call_t
*)rump_enosys
}, /* 325 = unrumped */
3204 (sy_call_t
*)rump_enosys
}, /* 326 = unimplemented */
3206 (sy_call_t
*)rump_enosys
}, /* 327 = unimplemented */
3208 (sy_call_t
*)rump_enosys
}, /* 328 = unimplemented */
3210 (sy_call_t
*)rump_enosys
}, /* 329 = unimplemented */
3212 (sy_call_t
*)rump_enosys
}, /* 330 = unrumped */
3214 (sy_call_t
*)rump_enosys
}, /* 331 = unrumped */
3216 (sy_call_t
*)rump_enosys
}, /* 332 = unrumped */
3218 (sy_call_t
*)rump_enosys
}, /* 333 = unrumped */
3220 (sy_call_t
*)rump_enosys
}, /* 334 = unrumped */
3222 (sy_call_t
*)rump_enosys
}, /* 335 = unrumped */
3224 (sy_call_t
*)rump_enosys
}, /* 336 = obsolete sys_sa_unblockyield */
3226 (sy_call_t
*)rump_enosys
}, /* 337 = unimplemented */
3228 (sy_call_t
*)rump_enosys
}, /* 338 = unimplemented */
3230 (sy_call_t
*)rump_enosys
}, /* 339 = unimplemented */
3232 (sy_call_t
*)rump_enosys
}, /* 340 = unrumped */
3234 (sy_call_t
*)rump_enosys
}, /* 341 = unrumped */
3236 (sy_call_t
*)rump_enosys
}, /* 342 = unrumped */
3238 (sy_call_t
*)rump_enosys
}, /* 343 = unrumped */
3240 (sy_call_t
*)sys_kqueue
}, /* 344 = kqueue */
3242 (sy_call_t
*)rump_enosys
}, /* 345 = unrumped */
3244 (sy_call_t
*)rump_enosys
}, /* 346 = unrumped */
3246 (sy_call_t
*)rump_enosys
}, /* 347 = unrumped */
3248 (sy_call_t
*)rump_enosys
}, /* 348 = unrumped */
3250 (sy_call_t
*)rump_enosys
}, /* 349 = unrumped */
3252 (sy_call_t
*)rump_enosys
}, /* 350 = unrumped */
3254 (sy_call_t
*)rump_enosys
}, /* 351 = unimplemented */
3256 (sy_call_t
*)rump_enosys
}, /* 352 = unimplemented */
3258 (sy_call_t
*)rump_enosys
}, /* 353 = unimplemented */
3259 { ns(struct sys_fsync_range_args
), 0,
3260 (sy_call_t
*)sys_fsync_range
}, /* 354 = fsync_range */
3262 (sy_call_t
*)rump_enosys
}, /* 355 = unrumped */
3263 { ns(struct sys_getvfsstat_args
), 0,
3264 (sy_call_t
*)sys_getvfsstat
}, /* 356 = getvfsstat */
3265 { ns(struct sys_statvfs1_args
), 0,
3266 (sy_call_t
*)sys_statvfs1
}, /* 357 = statvfs1 */
3267 { ns(struct sys_fstatvfs1_args
), 0,
3268 (sy_call_t
*)sys_fstatvfs1
}, /* 358 = fstatvfs1 */
3270 (sy_call_t
*)rump_enosys
}, /* 359 = unrumped */
3271 { ns(struct sys_extattrctl_args
), 0,
3272 (sy_call_t
*)sys_extattrctl
}, /* 360 = extattrctl */
3273 { ns(struct sys_extattr_set_file_args
), 0,
3274 (sy_call_t
*)sys_extattr_set_file
}, /* 361 = extattr_set_file */
3275 { ns(struct sys_extattr_get_file_args
), 0,
3276 (sy_call_t
*)sys_extattr_get_file
}, /* 362 = extattr_get_file */
3277 { ns(struct sys_extattr_delete_file_args
), 0,
3278 (sy_call_t
*)sys_extattr_delete_file
}, /* 363 = extattr_delete_file */
3279 { ns(struct sys_extattr_set_fd_args
), 0,
3280 (sy_call_t
*)sys_extattr_set_fd
}, /* 364 = extattr_set_fd */
3281 { ns(struct sys_extattr_get_fd_args
), 0,
3282 (sy_call_t
*)sys_extattr_get_fd
}, /* 365 = extattr_get_fd */
3283 { ns(struct sys_extattr_delete_fd_args
), 0,
3284 (sy_call_t
*)sys_extattr_delete_fd
}, /* 366 = extattr_delete_fd */
3285 { ns(struct sys_extattr_set_link_args
), 0,
3286 (sy_call_t
*)sys_extattr_set_link
}, /* 367 = extattr_set_link */
3287 { ns(struct sys_extattr_get_link_args
), 0,
3288 (sy_call_t
*)sys_extattr_get_link
}, /* 368 = extattr_get_link */
3289 { ns(struct sys_extattr_delete_link_args
), 0,
3290 (sy_call_t
*)sys_extattr_delete_link
}, /* 369 = extattr_delete_link */
3291 { ns(struct sys_extattr_list_fd_args
), 0,
3292 (sy_call_t
*)sys_extattr_list_fd
}, /* 370 = extattr_list_fd */
3293 { ns(struct sys_extattr_list_file_args
), 0,
3294 (sy_call_t
*)sys_extattr_list_file
}, /* 371 = extattr_list_file */
3295 { ns(struct sys_extattr_list_link_args
), 0,
3296 (sy_call_t
*)sys_extattr_list_link
}, /* 372 = extattr_list_link */
3298 (sy_call_t
*)rump_enosys
}, /* 373 = unrumped */
3300 (sy_call_t
*)rump_enosys
}, /* 374 = unrumped */
3301 { ns(struct sys_setxattr_args
), 0,
3302 (sy_call_t
*)sys_setxattr
}, /* 375 = setxattr */
3303 { ns(struct sys_lsetxattr_args
), 0,
3304 (sy_call_t
*)sys_lsetxattr
}, /* 376 = lsetxattr */
3305 { ns(struct sys_fsetxattr_args
), 0,
3306 (sy_call_t
*)sys_fsetxattr
}, /* 377 = fsetxattr */
3307 { ns(struct sys_getxattr_args
), 0,
3308 (sy_call_t
*)sys_getxattr
}, /* 378 = getxattr */
3309 { ns(struct sys_lgetxattr_args
), 0,
3310 (sy_call_t
*)sys_lgetxattr
}, /* 379 = lgetxattr */
3311 { ns(struct sys_fgetxattr_args
), 0,
3312 (sy_call_t
*)sys_fgetxattr
}, /* 380 = fgetxattr */
3313 { ns(struct sys_listxattr_args
), 0,
3314 (sy_call_t
*)sys_listxattr
}, /* 381 = listxattr */
3315 { ns(struct sys_llistxattr_args
), 0,
3316 (sy_call_t
*)sys_llistxattr
}, /* 382 = llistxattr */
3317 { ns(struct sys_flistxattr_args
), 0,
3318 (sy_call_t
*)sys_flistxattr
}, /* 383 = flistxattr */
3319 { ns(struct sys_removexattr_args
), 0,
3320 (sy_call_t
*)sys_removexattr
}, /* 384 = removexattr */
3321 { ns(struct sys_lremovexattr_args
), 0,
3322 (sy_call_t
*)sys_lremovexattr
}, /* 385 = lremovexattr */
3323 { ns(struct sys_fremovexattr_args
), 0,
3324 (sy_call_t
*)sys_fremovexattr
}, /* 386 = fremovexattr */
3326 (sy_call_t
*)rump_enosys
}, /* 387 = unrumped */
3328 (sy_call_t
*)rump_enosys
}, /* 388 = unrumped */
3330 (sy_call_t
*)rump_enosys
}, /* 389 = unrumped */
3331 { ns(struct sys___getdents30_args
), 0,
3332 (sy_call_t
*)sys___getdents30
}, /* 390 = __getdents30 */
3334 (sy_call_t
*)rump_enosys
}, /* 391 = ignored old posix_fadvise */
3336 (sy_call_t
*)rump_enosys
}, /* 392 = unrumped */
3338 (sy_call_t
*)rump_enosys
}, /* 393 = unrumped */
3339 { ns(struct sys___socket30_args
), 0,
3340 (sy_call_t
*)sys___socket30
}, /* 394 = __socket30 */
3341 { ns(struct sys___getfh30_args
), 0,
3342 (sy_call_t
*)sys___getfh30
}, /* 395 = __getfh30 */
3343 { ns(struct sys___fhopen40_args
), 0,
3344 (sy_call_t
*)sys___fhopen40
}, /* 396 = __fhopen40 */
3345 { ns(struct sys___fhstatvfs140_args
), 0,
3346 (sy_call_t
*)sys___fhstatvfs140
}, /* 397 = __fhstatvfs140 */
3348 (sy_call_t
*)rump_enosys
}, /* 398 = unrumped */
3350 (sy_call_t
*)rump_enosys
}, /* 399 = unrumped */
3352 (sy_call_t
*)rump_enosys
}, /* 400 = unrumped */
3354 (sy_call_t
*)rump_enosys
}, /* 401 = unrumped */
3356 (sy_call_t
*)rump_enosys
}, /* 402 = unrumped */
3358 (sy_call_t
*)rump_enosys
}, /* 403 = unrumped */
3360 (sy_call_t
*)rump_enosys
}, /* 404 = unrumped */
3362 (sy_call_t
*)rump_enosys
}, /* 405 = unrumped */
3364 (sy_call_t
*)rump_enosys
}, /* 406 = unrumped */
3366 (sy_call_t
*)rump_enosys
}, /* 407 = unimplemented */
3368 (sy_call_t
*)rump_enosys
}, /* 408 = unimplemented */
3370 (sy_call_t
*)rump_enosys
}, /* 409 = unimplemented */
3371 { ns(struct sys___mount50_args
), 0,
3372 (sy_call_t
*)sys___mount50
}, /* 410 = __mount50 */
3374 (sy_call_t
*)rump_enosys
}, /* 411 = unrumped */
3376 (sy_call_t
*)rump_enosys
}, /* 412 = unrumped */
3378 (sy_call_t
*)rump_enosys
}, /* 413 = unrumped */
3380 (sy_call_t
*)rump_enosys
}, /* 414 = unrumped */
3382 (sy_call_t
*)rump_enosys
}, /* 415 = unrumped */
3384 (sy_call_t
*)rump_enosys
}, /* 416 = unrumped */
3385 { ns(struct sys___select50_args
), 0,
3386 (sy_call_t
*)sys___select50
}, /* 417 = __select50 */
3388 (sy_call_t
*)rump_enosys
}, /* 418 = unrumped */
3390 (sy_call_t
*)rump_enosys
}, /* 419 = unrumped */
3391 { ns(struct sys___utimes50_args
), 0,
3392 (sy_call_t
*)sys___utimes50
}, /* 420 = __utimes50 */
3394 (sy_call_t
*)rump_enosys
}, /* 421 = unrumped */
3395 #if defined(LFS) || !defined(_KERNEL)
3397 (sy_call_t
*)rump_enosys
}, /* 422 = unrumped */
3400 (sy_call_t
*)rump_enosys
}, /* 422 = excluded __lfs_segwait50 */
3402 { ns(struct sys___futimes50_args
), 0,
3403 (sy_call_t
*)sys___futimes50
}, /* 423 = __futimes50 */
3404 { ns(struct sys___lutimes50_args
), 0,
3405 (sy_call_t
*)sys___lutimes50
}, /* 424 = __lutimes50 */
3407 (sy_call_t
*)rump_enosys
}, /* 425 = unrumped */
3409 (sy_call_t
*)rump_enosys
}, /* 426 = unrumped */
3411 (sy_call_t
*)rump_enosys
}, /* 427 = unrumped */
3413 (sy_call_t
*)rump_enosys
}, /* 428 = unrumped */
3415 (sy_call_t
*)rump_enosys
}, /* 429 = unrumped */
3417 (sy_call_t
*)rump_enosys
}, /* 430 = unrumped */
3419 (sy_call_t
*)rump_enosys
}, /* 431 = unrumped */
3421 (sy_call_t
*)rump_enosys
}, /* 432 = unrumped */
3423 (sy_call_t
*)rump_enosys
}, /* 433 = unrumped */
3425 (sy_call_t
*)rump_enosys
}, /* 434 = unrumped */
3426 { ns(struct sys___kevent50_args
), 0,
3427 (sy_call_t
*)sys___kevent50
}, /* 435 = __kevent50 */
3428 { ns(struct sys___pselect50_args
), 0,
3429 (sy_call_t
*)sys___pselect50
}, /* 436 = __pselect50 */
3430 { ns(struct sys___pollts50_args
), 0,
3431 (sy_call_t
*)sys___pollts50
}, /* 437 = __pollts50 */
3433 (sy_call_t
*)rump_enosys
}, /* 438 = unrumped */
3434 { ns(struct sys___stat50_args
), 0,
3435 (sy_call_t
*)sys___stat50
}, /* 439 = __stat50 */
3436 { ns(struct sys___fstat50_args
), 0,
3437 (sy_call_t
*)sys___fstat50
}, /* 440 = __fstat50 */
3438 { ns(struct sys___lstat50_args
), 0,
3439 (sy_call_t
*)sys___lstat50
}, /* 441 = __lstat50 */
3440 #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
3442 (sy_call_t
*)rump_enosys
}, /* 442 = unrumped */
3445 (sy_call_t
*)rump_enosys
}, /* 442 = excluded ____semctl50 */
3447 #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
3449 (sy_call_t
*)rump_enosys
}, /* 443 = unrumped */
3452 (sy_call_t
*)rump_enosys
}, /* 443 = excluded ____shmctl50 */
3454 #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
3456 (sy_call_t
*)rump_enosys
}, /* 444 = unrumped */
3459 (sy_call_t
*)rump_enosys
}, /* 444 = excluded ____msgctl50 */
3462 (sy_call_t
*)rump_enosys
}, /* 445 = unrumped */
3464 (sy_call_t
*)rump_enosys
}, /* 446 = unrumped */
3466 (sy_call_t
*)rump_enosys
}, /* 447 = unrumped */
3467 #if defined(NTP) || !defined(_KERNEL_OPT)
3469 (sy_call_t
*)rump_enosys
}, /* 448 = unrumped */
3472 (sy_call_t
*)rump_enosys
}, /* 448 = excluded ___ntp_gettime50 */
3475 (sy_call_t
*)rump_enosys
}, /* 449 = unrumped */
3476 { ns(struct sys___mknod50_args
), 0,
3477 (sy_call_t
*)sys___mknod50
}, /* 450 = __mknod50 */
3478 { ns(struct sys___fhstat50_args
), 0,
3479 (sy_call_t
*)sys___fhstat50
}, /* 451 = __fhstat50 */
3481 (sy_call_t
*)rump_enosys
}, /* 452 = filler */
3483 (sy_call_t
*)rump_enosys
}, /* 453 = filler */
3485 (sy_call_t
*)rump_enosys
}, /* 454 = filler */
3487 (sy_call_t
*)rump_enosys
}, /* 455 = filler */
3489 (sy_call_t
*)rump_enosys
}, /* 456 = filler */
3491 (sy_call_t
*)rump_enosys
}, /* 457 = filler */
3493 (sy_call_t
*)rump_enosys
}, /* 458 = filler */
3495 (sy_call_t
*)rump_enosys
}, /* 459 = filler */
3497 (sy_call_t
*)rump_enosys
}, /* 460 = filler */
3499 (sy_call_t
*)rump_enosys
}, /* 461 = filler */
3501 (sy_call_t
*)rump_enosys
}, /* 462 = filler */
3503 (sy_call_t
*)rump_enosys
}, /* 463 = filler */
3505 (sy_call_t
*)rump_enosys
}, /* 464 = filler */
3507 (sy_call_t
*)rump_enosys
}, /* 465 = filler */
3509 (sy_call_t
*)rump_enosys
}, /* 466 = filler */
3511 (sy_call_t
*)rump_enosys
}, /* 467 = filler */
3513 (sy_call_t
*)rump_enosys
}, /* 468 = filler */
3515 (sy_call_t
*)rump_enosys
}, /* 469 = filler */
3517 (sy_call_t
*)rump_enosys
}, /* 470 = filler */
3519 (sy_call_t
*)rump_enosys
}, /* 471 = filler */
3521 (sy_call_t
*)rump_enosys
}, /* 472 = filler */
3523 (sy_call_t
*)rump_enosys
}, /* 473 = filler */
3525 (sy_call_t
*)rump_enosys
}, /* 474 = filler */
3527 (sy_call_t
*)rump_enosys
}, /* 475 = filler */
3529 (sy_call_t
*)rump_enosys
}, /* 476 = filler */
3531 (sy_call_t
*)rump_enosys
}, /* 477 = filler */
3533 (sy_call_t
*)rump_enosys
}, /* 478 = filler */
3535 (sy_call_t
*)rump_enosys
}, /* 479 = filler */
3537 (sy_call_t
*)rump_enosys
}, /* 480 = filler */
3539 (sy_call_t
*)rump_enosys
}, /* 481 = filler */
3541 (sy_call_t
*)rump_enosys
}, /* 482 = filler */
3543 (sy_call_t
*)rump_enosys
}, /* 483 = filler */
3545 (sy_call_t
*)rump_enosys
}, /* 484 = filler */
3547 (sy_call_t
*)rump_enosys
}, /* 485 = filler */
3549 (sy_call_t
*)rump_enosys
}, /* 486 = filler */
3551 (sy_call_t
*)rump_enosys
}, /* 487 = filler */
3553 (sy_call_t
*)rump_enosys
}, /* 488 = filler */
3555 (sy_call_t
*)rump_enosys
}, /* 489 = filler */
3557 (sy_call_t
*)rump_enosys
}, /* 490 = filler */
3559 (sy_call_t
*)rump_enosys
}, /* 491 = filler */
3561 (sy_call_t
*)rump_enosys
}, /* 492 = filler */
3563 (sy_call_t
*)rump_enosys
}, /* 493 = filler */
3565 (sy_call_t
*)rump_enosys
}, /* 494 = filler */
3567 (sy_call_t
*)rump_enosys
}, /* 495 = filler */
3569 (sy_call_t
*)rump_enosys
}, /* 496 = filler */
3571 (sy_call_t
*)rump_enosys
}, /* 497 = filler */
3573 (sy_call_t
*)rump_enosys
}, /* 498 = filler */
3575 (sy_call_t
*)rump_enosys
}, /* 499 = filler */
3577 (sy_call_t
*)rump_enosys
}, /* 500 = filler */
3579 (sy_call_t
*)rump_enosys
}, /* 501 = filler */
3581 (sy_call_t
*)rump_enosys
}, /* 502 = filler */
3583 (sy_call_t
*)rump_enosys
}, /* 503 = filler */
3585 (sy_call_t
*)rump_enosys
}, /* 504 = filler */
3587 (sy_call_t
*)rump_enosys
}, /* 505 = filler */
3589 (sy_call_t
*)rump_enosys
}, /* 506 = filler */
3591 (sy_call_t
*)rump_enosys
}, /* 507 = filler */
3593 (sy_call_t
*)rump_enosys
}, /* 508 = filler */
3595 (sy_call_t
*)rump_enosys
}, /* 509 = filler */
3597 (sy_call_t
*)rump_enosys
}, /* 510 = filler */
3599 (sy_call_t
*)rump_enosys
}, /* 511 = filler */
3601 CTASSERT(__arraycount(rump_sysent
) == SYS_NSYSENT
);