4 * System call argument lists.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.38 2009/01/13 22:27:43 pooka Exp
10 #ifndef _DARWIN_SYS_SYSCALLARGS_H_
11 #define _DARWIN_SYS_SYSCALLARGS_H_
13 #define DARWIN_SYS_MAXSYSARGS 8
16 #define syscallarg(x) \
19 struct { x datum; } le; \
20 struct { /* LINTED zero array dimension */ \
21 int8_t pad[ /* CONSTCOND */ \
22 (sizeof (register_t) < sizeof (x)) \
24 : sizeof (register_t) - sizeof (x)]; \
29 #undef check_syscall_args
30 #define check_syscall_args(call) \
31 typedef char call##_check_args[sizeof (struct call##_args) \
32 <= DARWIN_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
34 struct sys_syscall_args
;
40 struct sys_write_args
;
44 struct sys_close_args
;
46 struct compat_50_sys_wait4_args
;
48 struct compat_43_sys_creat_args
;
52 struct sys_unlink_args
;
54 struct sys_chdir_args
;
56 struct sys_fchdir_args
;
58 struct darwin_sys_mknod_args
{
59 syscallarg(const char *) path
;
60 syscallarg(mode_t
) mode
;
61 syscallarg(darwin_dev_t
) dev
;
63 check_syscall_args(darwin_sys_mknod
)
65 struct sys_chmod_args
;
67 struct sys_chown_args
;
69 struct sys_obreak_args
;
71 struct darwin_sys_getfsstat_args
{
72 syscallarg(struct darwin_statfs
*) buf
;
73 syscallarg(long) bufsize
;
74 syscallarg(int) flags
;
76 check_syscall_args(darwin_sys_getfsstat
)
78 struct compat_43_sys_lseek_args
;
80 struct compat_40_sys_mount_args
;
82 struct sys_unmount_args
;
84 struct sys_setuid_args
;
89 struct darwin_sys_ptrace_args
{
91 syscallarg(pid_t
) pid
;
92 syscallarg(void *) addr
;
95 check_syscall_args(darwin_sys_ptrace
)
97 struct sys_recvmsg_args
;
99 struct sys_sendmsg_args
;
101 struct darwin_sys_recvfrom_args
{
103 syscallarg(void *) buf
;
104 syscallarg(size_t) len
;
105 syscallarg(int) flags
;
106 syscallarg(struct sockaddr
*) from
;
107 syscallarg(unsigned int *) fromlenaddr
;
109 check_syscall_args(darwin_sys_recvfrom
)
111 struct darwin_sys_accept_args
{
113 syscallarg(struct sockaddr
*) name
;
114 syscallarg(unsigned int *) anamelen
;
116 check_syscall_args(darwin_sys_accept
)
118 struct darwin_sys_getpeername_args
{
119 syscallarg(int) fdes
;
120 syscallarg(struct sockaddr
*) asa
;
121 syscallarg(unsigned int *) alen
;
123 check_syscall_args(darwin_sys_getpeername
)
125 struct darwin_sys_getsockname_args
{
126 syscallarg(int) fdes
;
127 syscallarg(struct sockaddr
*) asa
;
128 syscallarg(unsigned int *) alen
;
130 check_syscall_args(darwin_sys_getsockname
)
132 struct sys_access_args
;
134 struct sys_chflags_args
;
136 struct sys_fchflags_args
;
138 struct sys_kill_args
;
140 struct compat_43_sys_stat_args
;
142 struct compat_43_sys_lstat_args
;
146 struct sys_profil_args
;
147 #if defined(KTRACE) || !defined(_KERNEL)
149 struct sys_ktrace_args
;
153 struct darwin_sys_sigaction_args
{
154 syscallarg(int) signum
;
155 syscallarg(struct darwin___sigaction
*) nsa
;
156 syscallarg(struct sigaction13
*) osa
;
158 check_syscall_args(darwin_sys_sigaction
)
163 struct darwin_sys_sigprocmask_args
{
165 syscallarg(sigset13_t
*) set
;
166 syscallarg(sigset13_t
*) oset
;
168 check_syscall_args(darwin_sys_sigprocmask
)
170 struct sys___getlogin_args
;
172 struct sys___setlogin_args
;
174 struct sys_acct_args
;
176 struct compat_13_sys_sigaltstack_args
;
178 struct darwin_sys_ioctl_args
{
180 syscallarg(u_long
) com
;
181 syscallarg(void *) data
;
183 check_syscall_args(darwin_sys_ioctl
)
185 struct sys_reboot_args
;
187 struct sys_revoke_args
;
189 struct sys_symlink_args
;
191 struct sys_readlink_args
;
193 struct sys_execve_args
;
195 struct sys_umask_args
;
197 struct sys_chroot_args
;
199 struct compat_43_sys_fstat_args
;
201 struct compat_12_sys_msync_args
;
203 struct sys_sbrk_args
;
205 struct sys_sstk_args
;
207 struct sys_mmap_args
;
209 struct sys_ovadvise_args
;
211 struct sys_munmap_args
;
213 struct sys_mprotect_args
;
215 struct sys_madvise_args
;
217 struct sys_mincore_args
;
219 struct sys_getgroups_args
;
221 struct sys_setgroups_args
;
223 struct sys_setpgid_args
;
225 struct compat_50_sys_setitimer_args
;
227 struct compat_12_sys_swapon_args
;
229 struct compat_50_sys_getitimer_args
;
231 struct compat_43_sys_gethostname_args
;
233 struct compat_43_sys_sethostname_args
;
235 struct sys_dup2_args
;
237 struct sys_fcntl_args
;
239 struct compat_50_sys_select_args
;
241 struct sys_fsync_args
;
243 struct sys_setpriority_args
;
245 struct darwin_sys_socket_args
{
246 syscallarg(int) domain
;
247 syscallarg(int) type
;
248 syscallarg(int) protocol
;
250 check_syscall_args(darwin_sys_socket
)
252 struct darwin_sys_connect_args
{
254 syscallarg(const struct sockaddr
*) name
;
255 syscallarg(unsigned int) namelen
;
257 check_syscall_args(darwin_sys_connect
)
259 struct compat_43_sys_accept_args
;
261 struct sys_getpriority_args
;
263 struct compat_43_sys_send_args
;
265 struct compat_43_sys_recv_args
;
267 struct darwin_sys_sigreturn_x2_args
{
268 syscallarg(struct darwin_ucontext
*) uctx
;
270 check_syscall_args(darwin_sys_sigreturn_x2
)
272 struct darwin_sys_bind_args
{
274 syscallarg(const struct sockaddr
*) name
;
275 syscallarg(unsigned int) namelen
;
277 check_syscall_args(darwin_sys_bind
)
279 struct sys_setsockopt_args
;
281 struct sys_listen_args
;
283 struct compat_43_sys_sigvec_args
;
285 struct compat_43_sys_sigblock_args
;
287 struct compat_43_sys_sigsetmask_args
;
289 struct compat_13_sys_sigsuspend_args
;
291 struct compat_43_sys_sigstack_args
;
293 struct compat_43_sys_recvmsg_args
;
295 struct compat_43_sys_sendmsg_args
;
297 struct compat_50_sys_gettimeofday_args
;
299 struct compat_50_sys_getrusage_args
;
301 struct sys_getsockopt_args
;
303 struct sys_readv_args
;
305 struct sys_writev_args
;
307 struct compat_50_sys_settimeofday_args
;
309 struct sys_fchown_args
;
311 struct sys_fchmod_args
;
313 struct compat_43_sys_recvfrom_args
;
315 struct sys_setreuid_args
;
317 struct sys_setregid_args
;
319 struct sys_rename_args
;
321 struct compat_43_sys_truncate_args
;
323 struct compat_43_sys_ftruncate_args
;
325 struct sys_flock_args
;
327 struct sys_mkfifo_args
;
329 struct darwin_sys_sendto_args
{
331 syscallarg(const void *) buf
;
332 syscallarg(size_t) len
;
333 syscallarg(int) flags
;
334 syscallarg(const struct sockaddr
*) to
;
335 syscallarg(unsigned int) tolen
;
337 check_syscall_args(darwin_sys_sendto
)
339 struct sys_shutdown_args
;
341 struct sys_socketpair_args
;
343 struct sys_mkdir_args
;
345 struct sys_rmdir_args
;
347 struct compat_50_sys_utimes_args
;
349 struct compat_50_sys_adjtime_args
;
351 struct compat_43_sys_getpeername_args
;
353 struct compat_43_sys_getrlimit_args
;
355 struct compat_43_sys_setrlimit_args
;
357 struct compat_43_sys_killpg_args
;
359 struct compat_43_sys_getsockname_args
;
360 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
362 struct sys_nfssvc_args
;
366 struct compat_43_sys_getdirentries_args
;
368 struct darwin_sys_statfs_args
{
369 syscallarg(const char *) path
;
370 syscallarg(struct darwin_statfs
*) buf
;
372 check_syscall_args(darwin_sys_statfs
)
374 struct darwin_sys_fstatfs_args
{
376 syscallarg(struct darwin_statfs
*) buf
;
378 check_syscall_args(darwin_sys_fstatfs
)
379 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
381 struct compat_30_sys_getfh_args
;
385 struct compat_09_sys_getdomainname_args
;
387 struct compat_09_sys_setdomainname_args
;
389 struct darwin_sys_kdebug_trace_args
{
390 syscallarg(int) debugid
;
391 syscallarg(int) arg1
;
392 syscallarg(int) arg2
;
393 syscallarg(int) arg3
;
394 syscallarg(int) arg4
;
395 syscallarg(int) arg5
;
397 check_syscall_args(darwin_sys_kdebug_trace
)
399 struct sys_setgid_args
;
401 struct sys_setegid_args
;
403 struct sys_seteuid_args
;
405 struct darwin_sys_sigreturn_args
{
406 syscallarg(struct darwin_ucontext
*) uctx
;
407 syscallarg(int) ucvers
;
409 check_syscall_args(darwin_sys_sigreturn
)
411 struct darwin_sys_stat_args
{
412 syscallarg(const char *) path
;
413 syscallarg(struct stat12
*) ub
;
415 check_syscall_args(darwin_sys_stat
)
417 struct darwin_sys_fstat_args
{
419 syscallarg(struct stat12
*) sb
;
421 check_syscall_args(darwin_sys_fstat
)
423 struct darwin_sys_lstat_args
{
424 syscallarg(const char *) path
;
425 syscallarg(struct stat12
*) ub
;
427 check_syscall_args(darwin_sys_lstat
)
429 struct sys_pathconf_args
;
431 struct sys_fpathconf_args
;
433 struct sys_getrlimit_args
;
435 struct sys_setrlimit_args
;
437 struct compat_12_sys_getdirentries_args
;
439 struct sys_mmap_args
;
441 struct darwin_sys_lseek_args
{
443 syscallarg(long) off1
;
444 syscallarg(long) off2
;
445 syscallarg(int) whence
;
447 check_syscall_args(darwin_sys_lseek
)
449 struct sys_truncate_args
;
451 struct sys_ftruncate_args
;
453 struct darwin_sys___sysctl_args
{
454 syscallarg(int *) name
;
455 syscallarg(u_int
) namelen
;
456 syscallarg(void *) oldp
;
457 syscallarg(size_t *) oldlenp
;
458 syscallarg(void *) newp
;
459 syscallarg(size_t) newlen
;
461 check_syscall_args(darwin_sys___sysctl
)
463 struct sys_mlock_args
;
465 struct sys_munlock_args
;
467 struct sys_undelete_args
;
469 struct darwin_sys_getattrlist_args
{
470 syscallarg(const char *) path
;
471 syscallarg(struct darwin_attrlist
*) alist
;
472 syscallarg(void *) attributes
;
473 syscallarg(size_t) buflen
;
474 syscallarg(unsigned long) options
;
476 check_syscall_args(darwin_sys_getattrlist
)
478 struct darwin_sys_load_shared_file_args
{
479 syscallarg(char *) filename
;
480 syscallarg(void *) addr
;
481 syscallarg(u_long
) len
;
482 syscallarg(void **) base
;
483 syscallarg(int) count
;
484 syscallarg(mach_sf_mapping_t
*) mappings
;
485 syscallarg(int *) flags
;
487 check_syscall_args(darwin_sys_load_shared_file
)
489 struct darwin_sys_pthread_exit_args
{
490 syscallarg(void *) value_ptr
;
492 check_syscall_args(darwin_sys_pthread_exit
)
494 struct darwin_sys_utrace_args
{
495 syscallarg(void *) addr
;
496 syscallarg(size_t) len
;
498 check_syscall_args(darwin_sys_utrace
)
500 struct darwin_sys_audit_args
{
501 syscallarg(void *) record
;
504 check_syscall_args(darwin_sys_audit
)
506 struct darwin_sys_auditon_args
{
508 syscallarg(void *) data
;
511 check_syscall_args(darwin_sys_auditon
)
513 struct darwin_sys_getauid_args
{
514 syscallarg(darwin_au_id_t
*) auid
;
516 check_syscall_args(darwin_sys_getauid
)
518 struct darwin_sys_setauid_args
{
519 syscallarg(darwin_au_id_t
*) auid
;
521 check_syscall_args(darwin_sys_setauid
)
523 struct darwin_sys_getauditinfo_args
{
524 syscallarg(struct darwin_auditinfo
*) auditinfo
;
526 check_syscall_args(darwin_sys_getauditinfo
)
528 struct darwin_sys_setauditinfo_args
{
529 syscallarg(struct darwin_auditinfo
*) auditinfo
;
531 check_syscall_args(darwin_sys_setauditinfo
)
533 struct darwin_sys_getaudit_addr_args
{
534 syscallarg(struct darwin_auditinfo_addr
*) auditinfo_addr
;
537 check_syscall_args(darwin_sys_getaudit_addr
)
539 struct darwin_sys_setaudit_addr_args
{
540 syscallarg(struct darwin_auditinfo_addr
*) auditinfo_addr
;
543 check_syscall_args(darwin_sys_setaudit_addr
)
545 struct darwin_sys_auditctl_args
{
546 syscallarg(char *) path
;
548 check_syscall_args(darwin_sys_auditctl
)
551 * System call prototypes.
554 int sys_syscall(struct lwp
*, const struct sys_syscall_args
*, register_t
*);
556 int sys_exit(struct lwp
*, const struct sys_exit_args
*, register_t
*);
558 int darwin_sys_fork(struct lwp
*, const void *, register_t
*);
560 int sys_read(struct lwp
*, const struct sys_read_args
*, register_t
*);
562 int sys_write(struct lwp
*, const struct sys_write_args
*, register_t
*);
564 int sys_open(struct lwp
*, const struct sys_open_args
*, register_t
*);
566 int sys_close(struct lwp
*, const struct sys_close_args
*, register_t
*);
568 int compat_50_sys_wait4(struct lwp
*, const struct compat_50_sys_wait4_args
*, register_t
*);
570 int compat_43_sys_creat(struct lwp
*, const struct compat_43_sys_creat_args
*, register_t
*);
572 int sys_link(struct lwp
*, const struct sys_link_args
*, register_t
*);
574 int sys_unlink(struct lwp
*, const struct sys_unlink_args
*, register_t
*);
576 int sys_chdir(struct lwp
*, const struct sys_chdir_args
*, register_t
*);
578 int sys_fchdir(struct lwp
*, const struct sys_fchdir_args
*, register_t
*);
580 int darwin_sys_mknod(struct lwp
*, const struct darwin_sys_mknod_args
*, register_t
*);
582 int sys_chmod(struct lwp
*, const struct sys_chmod_args
*, register_t
*);
584 int sys_chown(struct lwp
*, const struct sys_chown_args
*, register_t
*);
586 int sys_obreak(struct lwp
*, const struct sys_obreak_args
*, register_t
*);
588 int darwin_sys_getfsstat(struct lwp
*, const struct darwin_sys_getfsstat_args
*, register_t
*);
590 int compat_43_sys_lseek(struct lwp
*, const struct compat_43_sys_lseek_args
*, register_t
*);
592 int darwin_sys_getpid(struct lwp
*, const void *, register_t
*);
594 int compat_40_sys_mount(struct lwp
*, const struct compat_40_sys_mount_args
*, register_t
*);
596 int sys_unmount(struct lwp
*, const struct sys_unmount_args
*, register_t
*);
598 int sys_setuid(struct lwp
*, const struct sys_setuid_args
*, register_t
*);
601 int sys_getuid_with_euid(struct lwp
*, const void *, register_t
*);
604 int sys_getuid(struct lwp
*, const void *, register_t
*);
607 int sys_geteuid(struct lwp
*, const void *, register_t
*);
609 int darwin_sys_ptrace(struct lwp
*, const struct darwin_sys_ptrace_args
*, register_t
*);
611 int sys_recvmsg(struct lwp
*, const struct sys_recvmsg_args
*, register_t
*);
613 int sys_sendmsg(struct lwp
*, const struct sys_sendmsg_args
*, register_t
*);
615 int darwin_sys_recvfrom(struct lwp
*, const struct darwin_sys_recvfrom_args
*, register_t
*);
617 int darwin_sys_accept(struct lwp
*, const struct darwin_sys_accept_args
*, register_t
*);
619 int darwin_sys_getpeername(struct lwp
*, const struct darwin_sys_getpeername_args
*, register_t
*);
621 int darwin_sys_getsockname(struct lwp
*, const struct darwin_sys_getsockname_args
*, register_t
*);
623 int sys_access(struct lwp
*, const struct sys_access_args
*, register_t
*);
625 int sys_chflags(struct lwp
*, const struct sys_chflags_args
*, register_t
*);
627 int sys_fchflags(struct lwp
*, const struct sys_fchflags_args
*, register_t
*);
629 int sys_sync(struct lwp
*, const void *, register_t
*);
631 int sys_kill(struct lwp
*, const struct sys_kill_args
*, register_t
*);
633 int compat_43_sys_stat(struct lwp
*, const struct compat_43_sys_stat_args
*, register_t
*);
635 int sys_getppid(struct lwp
*, const void *, register_t
*);
637 int compat_43_sys_lstat(struct lwp
*, const struct compat_43_sys_lstat_args
*, register_t
*);
639 int sys_dup(struct lwp
*, const struct sys_dup_args
*, register_t
*);
641 int sys_pipe(struct lwp
*, const void *, register_t
*);
643 int sys_getegid(struct lwp
*, const void *, register_t
*);
645 int sys_profil(struct lwp
*, const struct sys_profil_args
*, register_t
*);
647 #if defined(KTRACE) || !defined(_KERNEL)
648 int sys_ktrace(struct lwp
*, const struct sys_ktrace_args
*, register_t
*);
652 int darwin_sys_sigaction(struct lwp
*, const struct darwin_sys_sigaction_args
*, register_t
*);
655 int sys_getgid_with_egid(struct lwp
*, const void *, register_t
*);
658 int sys_getgid(struct lwp
*, const void *, register_t
*);
661 int darwin_sys_sigprocmask(struct lwp
*, const struct darwin_sys_sigprocmask_args
*, register_t
*);
663 int sys___getlogin(struct lwp
*, const struct sys___getlogin_args
*, register_t
*);
665 int sys___setlogin(struct lwp
*, const struct sys___setlogin_args
*, register_t
*);
667 int sys_acct(struct lwp
*, const struct sys_acct_args
*, register_t
*);
669 int compat_13_sys_sigpending(struct lwp
*, const void *, register_t
*);
671 int compat_13_sys_sigaltstack(struct lwp
*, const struct compat_13_sys_sigaltstack_args
*, register_t
*);
673 int darwin_sys_ioctl(struct lwp
*, const struct darwin_sys_ioctl_args
*, register_t
*);
675 int sys_reboot(struct lwp
*, const struct sys_reboot_args
*, register_t
*);
677 int sys_revoke(struct lwp
*, const struct sys_revoke_args
*, register_t
*);
679 int sys_symlink(struct lwp
*, const struct sys_symlink_args
*, register_t
*);
681 int sys_readlink(struct lwp
*, const struct sys_readlink_args
*, register_t
*);
683 int sys_execve(struct lwp
*, const struct sys_execve_args
*, register_t
*);
685 int sys_umask(struct lwp
*, const struct sys_umask_args
*, register_t
*);
687 int sys_chroot(struct lwp
*, const struct sys_chroot_args
*, register_t
*);
689 int compat_43_sys_fstat(struct lwp
*, const struct compat_43_sys_fstat_args
*, register_t
*);
691 int compat_43_sys_getpagesize(struct lwp
*, const void *, register_t
*);
693 int compat_12_sys_msync(struct lwp
*, const struct compat_12_sys_msync_args
*, register_t
*);
695 int darwin_sys_vfork(struct lwp
*, const void *, register_t
*);
697 int sys_sbrk(struct lwp
*, const struct sys_sbrk_args
*, register_t
*);
699 int sys_sstk(struct lwp
*, const struct sys_sstk_args
*, register_t
*);
701 int sys_mmap(struct lwp
*, const struct sys_mmap_args
*, register_t
*);
703 int sys_ovadvise(struct lwp
*, const struct sys_ovadvise_args
*, register_t
*);
705 int sys_munmap(struct lwp
*, const struct sys_munmap_args
*, register_t
*);
707 int sys_mprotect(struct lwp
*, const struct sys_mprotect_args
*, register_t
*);
709 int sys_madvise(struct lwp
*, const struct sys_madvise_args
*, register_t
*);
711 int sys_mincore(struct lwp
*, const struct sys_mincore_args
*, register_t
*);
713 int sys_getgroups(struct lwp
*, const struct sys_getgroups_args
*, register_t
*);
715 int sys_setgroups(struct lwp
*, const struct sys_setgroups_args
*, register_t
*);
717 int sys_getpgrp(struct lwp
*, const void *, register_t
*);
719 int sys_setpgid(struct lwp
*, const struct sys_setpgid_args
*, register_t
*);
721 int compat_50_sys_setitimer(struct lwp
*, const struct compat_50_sys_setitimer_args
*, register_t
*);
723 int compat_43_sys_wait(struct lwp
*, const void *, register_t
*);
725 int compat_12_sys_swapon(struct lwp
*, const struct compat_12_sys_swapon_args
*, register_t
*);
727 int compat_50_sys_getitimer(struct lwp
*, const struct compat_50_sys_getitimer_args
*, register_t
*);
729 int compat_43_sys_gethostname(struct lwp
*, const struct compat_43_sys_gethostname_args
*, register_t
*);
731 int compat_43_sys_sethostname(struct lwp
*, const struct compat_43_sys_sethostname_args
*, register_t
*);
733 int compat_43_sys_getdtablesize(struct lwp
*, const void *, register_t
*);
735 int sys_dup2(struct lwp
*, const struct sys_dup2_args
*, register_t
*);
737 int sys_fcntl(struct lwp
*, const struct sys_fcntl_args
*, register_t
*);
739 int compat_50_sys_select(struct lwp
*, const struct compat_50_sys_select_args
*, register_t
*);
741 int sys_fsync(struct lwp
*, const struct sys_fsync_args
*, register_t
*);
743 int sys_setpriority(struct lwp
*, const struct sys_setpriority_args
*, register_t
*);
745 int darwin_sys_socket(struct lwp
*, const struct darwin_sys_socket_args
*, register_t
*);
747 int darwin_sys_connect(struct lwp
*, const struct darwin_sys_connect_args
*, register_t
*);
749 int compat_43_sys_accept(struct lwp
*, const struct compat_43_sys_accept_args
*, register_t
*);
751 int sys_getpriority(struct lwp
*, const struct sys_getpriority_args
*, register_t
*);
753 int compat_43_sys_send(struct lwp
*, const struct compat_43_sys_send_args
*, register_t
*);
755 int compat_43_sys_recv(struct lwp
*, const struct compat_43_sys_recv_args
*, register_t
*);
757 int darwin_sys_sigreturn_x2(struct lwp
*, const struct darwin_sys_sigreturn_x2_args
*, register_t
*);
759 int darwin_sys_bind(struct lwp
*, const struct darwin_sys_bind_args
*, register_t
*);
761 int sys_setsockopt(struct lwp
*, const struct sys_setsockopt_args
*, register_t
*);
763 int sys_listen(struct lwp
*, const struct sys_listen_args
*, register_t
*);
765 int compat_43_sys_sigvec(struct lwp
*, const struct compat_43_sys_sigvec_args
*, register_t
*);
767 int compat_43_sys_sigblock(struct lwp
*, const struct compat_43_sys_sigblock_args
*, register_t
*);
769 int compat_43_sys_sigsetmask(struct lwp
*, const struct compat_43_sys_sigsetmask_args
*, register_t
*);
771 int compat_13_sys_sigsuspend(struct lwp
*, const struct compat_13_sys_sigsuspend_args
*, register_t
*);
773 int compat_43_sys_sigstack(struct lwp
*, const struct compat_43_sys_sigstack_args
*, register_t
*);
775 int compat_43_sys_recvmsg(struct lwp
*, const struct compat_43_sys_recvmsg_args
*, register_t
*);
777 int compat_43_sys_sendmsg(struct lwp
*, const struct compat_43_sys_sendmsg_args
*, register_t
*);
779 int compat_50_sys_gettimeofday(struct lwp
*, const struct compat_50_sys_gettimeofday_args
*, register_t
*);
781 int compat_50_sys_getrusage(struct lwp
*, const struct compat_50_sys_getrusage_args
*, register_t
*);
783 int sys_getsockopt(struct lwp
*, const struct sys_getsockopt_args
*, register_t
*);
785 int sys_readv(struct lwp
*, const struct sys_readv_args
*, register_t
*);
787 int sys_writev(struct lwp
*, const struct sys_writev_args
*, register_t
*);
789 int compat_50_sys_settimeofday(struct lwp
*, const struct compat_50_sys_settimeofday_args
*, register_t
*);
791 int sys_fchown(struct lwp
*, const struct sys_fchown_args
*, register_t
*);
793 int sys_fchmod(struct lwp
*, const struct sys_fchmod_args
*, register_t
*);
795 int compat_43_sys_recvfrom(struct lwp
*, const struct compat_43_sys_recvfrom_args
*, register_t
*);
797 int sys_setreuid(struct lwp
*, const struct sys_setreuid_args
*, register_t
*);
799 int sys_setregid(struct lwp
*, const struct sys_setregid_args
*, register_t
*);
801 int sys_rename(struct lwp
*, const struct sys_rename_args
*, register_t
*);
803 int compat_43_sys_truncate(struct lwp
*, const struct compat_43_sys_truncate_args
*, register_t
*);
805 int compat_43_sys_ftruncate(struct lwp
*, const struct compat_43_sys_ftruncate_args
*, register_t
*);
807 int sys_flock(struct lwp
*, const struct sys_flock_args
*, register_t
*);
809 int sys_mkfifo(struct lwp
*, const struct sys_mkfifo_args
*, register_t
*);
811 int darwin_sys_sendto(struct lwp
*, const struct darwin_sys_sendto_args
*, register_t
*);
813 int sys_shutdown(struct lwp
*, const struct sys_shutdown_args
*, register_t
*);
815 int sys_socketpair(struct lwp
*, const struct sys_socketpair_args
*, register_t
*);
817 int sys_mkdir(struct lwp
*, const struct sys_mkdir_args
*, register_t
*);
819 int sys_rmdir(struct lwp
*, const struct sys_rmdir_args
*, register_t
*);
821 int compat_50_sys_utimes(struct lwp
*, const struct compat_50_sys_utimes_args
*, register_t
*);
823 int compat_50_sys_adjtime(struct lwp
*, const struct compat_50_sys_adjtime_args
*, register_t
*);
825 int compat_43_sys_getpeername(struct lwp
*, const struct compat_43_sys_getpeername_args
*, register_t
*);
827 int compat_43_sys_gethostid(struct lwp
*, const void *, register_t
*);
829 int compat_43_sys_getrlimit(struct lwp
*, const struct compat_43_sys_getrlimit_args
*, register_t
*);
831 int compat_43_sys_setrlimit(struct lwp
*, const struct compat_43_sys_setrlimit_args
*, register_t
*);
833 int compat_43_sys_killpg(struct lwp
*, const struct compat_43_sys_killpg_args
*, register_t
*);
835 int sys_setsid(struct lwp
*, const void *, register_t
*);
837 int compat_43_sys_getsockname(struct lwp
*, const struct compat_43_sys_getsockname_args
*, register_t
*);
839 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
840 int sys_nfssvc(struct lwp
*, const struct sys_nfssvc_args
*, register_t
*);
844 int compat_43_sys_getdirentries(struct lwp
*, const struct compat_43_sys_getdirentries_args
*, register_t
*);
846 int darwin_sys_statfs(struct lwp
*, const struct darwin_sys_statfs_args
*, register_t
*);
848 int darwin_sys_fstatfs(struct lwp
*, const struct darwin_sys_fstatfs_args
*, register_t
*);
850 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
851 int compat_30_sys_getfh(struct lwp
*, const struct compat_30_sys_getfh_args
*, register_t
*);
855 int compat_09_sys_getdomainname(struct lwp
*, const struct compat_09_sys_getdomainname_args
*, register_t
*);
857 int compat_09_sys_setdomainname(struct lwp
*, const struct compat_09_sys_setdomainname_args
*, register_t
*);
859 int darwin_sys_kdebug_trace(struct lwp
*, const struct darwin_sys_kdebug_trace_args
*, register_t
*);
861 int sys_setgid(struct lwp
*, const struct sys_setgid_args
*, register_t
*);
863 int sys_setegid(struct lwp
*, const struct sys_setegid_args
*, register_t
*);
865 int sys_seteuid(struct lwp
*, const struct sys_seteuid_args
*, register_t
*);
867 int darwin_sys_sigreturn(struct lwp
*, const struct darwin_sys_sigreturn_args
*, register_t
*);
869 int darwin_sys_stat(struct lwp
*, const struct darwin_sys_stat_args
*, register_t
*);
871 int darwin_sys_fstat(struct lwp
*, const struct darwin_sys_fstat_args
*, register_t
*);
873 int darwin_sys_lstat(struct lwp
*, const struct darwin_sys_lstat_args
*, register_t
*);
875 int sys_pathconf(struct lwp
*, const struct sys_pathconf_args
*, register_t
*);
877 int sys_fpathconf(struct lwp
*, const struct sys_fpathconf_args
*, register_t
*);
879 int sys_getrlimit(struct lwp
*, const struct sys_getrlimit_args
*, register_t
*);
881 int sys_setrlimit(struct lwp
*, const struct sys_setrlimit_args
*, register_t
*);
883 int compat_12_sys_getdirentries(struct lwp
*, const struct compat_12_sys_getdirentries_args
*, register_t
*);
885 int darwin_sys_lseek(struct lwp
*, const struct darwin_sys_lseek_args
*, register_t
*);
887 int sys_truncate(struct lwp
*, const struct sys_truncate_args
*, register_t
*);
889 int sys_ftruncate(struct lwp
*, const struct sys_ftruncate_args
*, register_t
*);
891 int darwin_sys___sysctl(struct lwp
*, const struct darwin_sys___sysctl_args
*, register_t
*);
893 int sys_mlock(struct lwp
*, const struct sys_mlock_args
*, register_t
*);
895 int sys_munlock(struct lwp
*, const struct sys_munlock_args
*, register_t
*);
897 int sys_undelete(struct lwp
*, const struct sys_undelete_args
*, register_t
*);
899 int darwin_sys_getattrlist(struct lwp
*, const struct darwin_sys_getattrlist_args
*, register_t
*);
901 int darwin_sys_load_shared_file(struct lwp
*, const struct darwin_sys_load_shared_file_args
*, register_t
*);
903 int darwin_sys_pthread_exit(struct lwp
*, const struct darwin_sys_pthread_exit_args
*, register_t
*);
905 int darwin_sys_utrace(struct lwp
*, const struct darwin_sys_utrace_args
*, register_t
*);
907 int darwin_sys_audit(struct lwp
*, const struct darwin_sys_audit_args
*, register_t
*);
909 int darwin_sys_auditon(struct lwp
*, const struct darwin_sys_auditon_args
*, register_t
*);
911 int darwin_sys_getauid(struct lwp
*, const struct darwin_sys_getauid_args
*, register_t
*);
913 int darwin_sys_setauid(struct lwp
*, const struct darwin_sys_setauid_args
*, register_t
*);
915 int darwin_sys_getauditinfo(struct lwp
*, const struct darwin_sys_getauditinfo_args
*, register_t
*);
917 int darwin_sys_setauditinfo(struct lwp
*, const struct darwin_sys_setauditinfo_args
*, register_t
*);
919 int darwin_sys_getaudit_addr(struct lwp
*, const struct darwin_sys_getaudit_addr_args
*, register_t
*);
921 int darwin_sys_setaudit_addr(struct lwp
*, const struct darwin_sys_setaudit_addr_args
*, register_t
*);
923 int darwin_sys_auditctl(struct lwp
*, const struct darwin_sys_auditctl_args
*, register_t
*);
925 #endif /* _DARWIN_SYS_SYSCALLARGS_H_ */