Home | History | Annotate | Line # | Download | only in freebsd
freebsd_syscallargs.h revision 1.86.4.1
      1  1.86.4.1  pgoyette /* $NetBSD: freebsd_syscallargs.h,v 1.86.4.1 2017/05/11 02:58:36 pgoyette Exp $ */
      2      1.16   thorpej 
      3       1.1   mycroft /*
      4       1.1   mycroft  * System call argument lists.
      5       1.1   mycroft  *
      6       1.1   mycroft  * DO NOT EDIT-- this file is automatically generated.
      7      1.82     njoly  * created from	NetBSD: syscalls.master,v 1.67 2013/11/07 19:37:18 njoly Exp
      8       1.1   mycroft  */
      9      1.26      tron 
     10      1.64  christos #ifndef _FREEBSD_SYS_SYSCALLARGS_H_
     11      1.64  christos #define	_FREEBSD_SYS_SYSCALLARGS_H_
     12      1.28  christos 
     13  1.86.4.1  pgoyette /* Forward declaration */
     14  1.86.4.1  pgoyette struct lwp;
     15  1.86.4.1  pgoyette 
     16      1.72       dsl #define	FREEBSD_SYS_MAXSYSARGS	8
     17      1.72       dsl 
     18      1.26      tron #undef	syscallarg
     19      1.31   thorpej #define	syscallarg(x)							\
     20      1.31   thorpej 	union {								\
     21      1.31   thorpej 		register_t pad;						\
     22      1.31   thorpej 		struct { x datum; } le;					\
     23      1.47     lukem 		struct { /* LINTED zero array dimension */		\
     24      1.47     lukem 			int8_t pad[  /* CONSTCOND */			\
     25      1.47     lukem 				(sizeof (register_t) < sizeof (x))	\
     26      1.31   thorpej 				? 0					\
     27      1.31   thorpej 				: sizeof (register_t) - sizeof (x)];	\
     28      1.31   thorpej 			x datum;					\
     29      1.31   thorpej 		} be;							\
     30      1.31   thorpej 	}
     31       1.1   mycroft 
     32      1.72       dsl #undef check_syscall_args
     33      1.80    bouyer #define check_syscall_args(call) /*LINTED*/ \
     34      1.72       dsl 	typedef char call##_check_args[sizeof (struct call##_args) \
     35      1.72       dsl 		<= FREEBSD_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
     36      1.72       dsl 
     37      1.72       dsl struct sys_exit_args;
     38      1.72       dsl 
     39      1.72       dsl struct sys_read_args;
     40      1.72       dsl 
     41      1.72       dsl struct sys_write_args;
     42      1.72       dsl 
     43      1.72       dsl struct sys_open_args;
     44      1.72       dsl 
     45      1.72       dsl struct sys_close_args;
     46      1.72       dsl 
     47      1.75  christos struct compat_50_sys_wait4_args;
     48      1.72       dsl 
     49      1.72       dsl struct compat_43_sys_creat_args;
     50      1.72       dsl 
     51      1.72       dsl struct sys_link_args;
     52      1.72       dsl 
     53      1.72       dsl struct sys_unlink_args;
     54      1.72       dsl 
     55      1.72       dsl struct sys_chdir_args;
     56      1.72       dsl 
     57      1.72       dsl struct sys_fchdir_args;
     58      1.72       dsl 
     59      1.75  christos struct compat_50_sys_mknod_args;
     60      1.72       dsl 
     61      1.72       dsl struct sys_chmod_args;
     62      1.72       dsl 
     63      1.72       dsl struct sys_chown_args;
     64      1.72       dsl 
     65      1.72       dsl struct sys_obreak_args;
     66      1.72       dsl 
     67      1.72       dsl struct compat_20_sys_getfsstat_args;
     68      1.72       dsl 
     69      1.72       dsl struct compat_43_sys_lseek_args;
     70      1.72       dsl 
     71       1.1   mycroft struct freebsd_sys_mount_args {
     72       1.1   mycroft 	syscallarg(int) type;
     73      1.28  christos 	syscallarg(const char *) path;
     74       1.1   mycroft 	syscallarg(int) flags;
     75      1.70  christos 	syscallarg(void *) data;
     76       1.1   mycroft };
     77      1.72       dsl check_syscall_args(freebsd_sys_mount)
     78      1.72       dsl 
     79      1.72       dsl struct sys_unmount_args;
     80      1.72       dsl 
     81      1.72       dsl struct sys_setuid_args;
     82       1.1   mycroft 
     83       1.1   mycroft struct freebsd_sys_ptrace_args {
     84       1.1   mycroft 	syscallarg(int) req;
     85       1.1   mycroft 	syscallarg(pid_t) pid;
     86      1.70  christos 	syscallarg(void *) addr;
     87       1.1   mycroft 	syscallarg(int) data;
     88       1.1   mycroft };
     89      1.72       dsl check_syscall_args(freebsd_sys_ptrace)
     90      1.72       dsl 
     91      1.72       dsl struct sys_recvmsg_args;
     92      1.72       dsl 
     93      1.72       dsl struct sys_sendmsg_args;
     94      1.72       dsl 
     95      1.72       dsl struct sys_recvfrom_args;
     96      1.72       dsl 
     97      1.72       dsl struct sys_accept_args;
     98      1.72       dsl 
     99      1.72       dsl struct sys_getpeername_args;
    100      1.72       dsl 
    101      1.72       dsl struct sys_getsockname_args;
    102      1.72       dsl 
    103      1.72       dsl struct sys_access_args;
    104      1.72       dsl 
    105      1.72       dsl struct sys_chflags_args;
    106      1.72       dsl 
    107      1.72       dsl struct sys_fchflags_args;
    108      1.72       dsl 
    109      1.72       dsl struct sys_kill_args;
    110      1.72       dsl 
    111      1.72       dsl struct compat_43_sys_stat_args;
    112      1.72       dsl 
    113      1.72       dsl struct compat_43_sys_lstat_args;
    114      1.72       dsl 
    115      1.72       dsl struct sys_dup_args;
    116      1.72       dsl 
    117      1.72       dsl struct sys_profil_args;
    118      1.53     pooka #ifdef KTRACE
    119      1.72       dsl 
    120      1.72       dsl struct sys_ktrace_args;
    121      1.53     pooka #else
    122      1.53     pooka #endif
    123       1.1   mycroft 
    124      1.72       dsl struct compat_13_sys_sigaction_args;
    125      1.72       dsl 
    126      1.72       dsl struct compat_13_sys_sigprocmask_args;
    127      1.72       dsl 
    128      1.72       dsl struct sys___getlogin_args;
    129      1.72       dsl 
    130      1.72       dsl struct sys___setlogin_args;
    131      1.72       dsl 
    132      1.72       dsl struct sys_acct_args;
    133      1.72       dsl 
    134      1.72       dsl struct compat_13_sys_sigaltstack_args;
    135      1.72       dsl 
    136       1.1   mycroft struct freebsd_sys_ioctl_args {
    137       1.1   mycroft 	syscallarg(int) fd;
    138       1.1   mycroft 	syscallarg(u_long) com;
    139      1.70  christos 	syscallarg(void *) data;
    140       1.1   mycroft };
    141      1.72       dsl check_syscall_args(freebsd_sys_ioctl)
    142      1.72       dsl 
    143      1.72       dsl struct sys_reboot_args;
    144      1.72       dsl 
    145      1.72       dsl struct sys_revoke_args;
    146      1.72       dsl 
    147      1.72       dsl struct sys_symlink_args;
    148      1.72       dsl 
    149      1.72       dsl struct sys_readlink_args;
    150      1.72       dsl 
    151      1.72       dsl struct sys_execve_args;
    152      1.72       dsl 
    153      1.72       dsl struct sys_umask_args;
    154      1.72       dsl 
    155      1.72       dsl struct sys_chroot_args;
    156      1.72       dsl 
    157      1.72       dsl struct compat_43_sys_fstat_args;
    158      1.72       dsl 
    159      1.72       dsl struct compat_43_sys_getkerninfo_args;
    160       1.1   mycroft 
    161       1.1   mycroft struct freebsd_sys_msync_args {
    162      1.70  christos 	syscallarg(void *) addr;
    163       1.1   mycroft 	syscallarg(size_t) len;
    164       1.1   mycroft 	syscallarg(int) flags;
    165       1.1   mycroft };
    166      1.72       dsl check_syscall_args(freebsd_sys_msync)
    167      1.72       dsl 
    168      1.72       dsl struct sys_sbrk_args;
    169      1.72       dsl 
    170      1.72       dsl struct sys_sstk_args;
    171      1.72       dsl 
    172      1.72       dsl struct compat_43_sys_mmap_args;
    173      1.72       dsl 
    174      1.72       dsl struct sys_ovadvise_args;
    175      1.72       dsl 
    176      1.72       dsl struct sys_munmap_args;
    177      1.72       dsl 
    178      1.72       dsl struct sys_mprotect_args;
    179      1.72       dsl 
    180      1.72       dsl struct sys_madvise_args;
    181      1.72       dsl 
    182      1.72       dsl struct sys_mincore_args;
    183      1.72       dsl 
    184      1.72       dsl struct sys_getgroups_args;
    185      1.72       dsl 
    186      1.72       dsl struct sys_setgroups_args;
    187      1.72       dsl 
    188      1.72       dsl struct sys_setpgid_args;
    189      1.72       dsl 
    190      1.75  christos struct compat_50_sys_setitimer_args;
    191      1.72       dsl 
    192      1.72       dsl struct compat_12_sys_swapon_args;
    193      1.72       dsl 
    194      1.75  christos struct compat_50_sys_getitimer_args;
    195      1.72       dsl 
    196      1.72       dsl struct compat_43_sys_gethostname_args;
    197      1.72       dsl 
    198      1.72       dsl struct compat_43_sys_sethostname_args;
    199      1.72       dsl 
    200      1.72       dsl struct sys_dup2_args;
    201      1.72       dsl 
    202      1.72       dsl struct sys_fcntl_args;
    203      1.72       dsl 
    204      1.75  christos struct compat_50_sys_select_args;
    205      1.72       dsl 
    206      1.72       dsl struct sys_fsync_args;
    207      1.72       dsl 
    208      1.72       dsl struct sys_setpriority_args;
    209      1.72       dsl 
    210      1.72       dsl struct compat_30_sys_socket_args;
    211      1.72       dsl 
    212      1.72       dsl struct sys_connect_args;
    213      1.72       dsl 
    214      1.72       dsl struct compat_43_sys_accept_args;
    215      1.72       dsl 
    216      1.72       dsl struct sys_getpriority_args;
    217      1.72       dsl 
    218      1.72       dsl struct compat_43_sys_send_args;
    219      1.72       dsl 
    220      1.72       dsl struct compat_43_sys_recv_args;
    221       1.1   mycroft 
    222       1.1   mycroft struct freebsd_sys_sigreturn_args {
    223       1.1   mycroft 	syscallarg(struct freebsd_sigcontext *) scp;
    224       1.1   mycroft };
    225      1.72       dsl check_syscall_args(freebsd_sys_sigreturn)
    226      1.72       dsl 
    227      1.72       dsl struct sys_bind_args;
    228      1.72       dsl 
    229      1.72       dsl struct sys_setsockopt_args;
    230      1.72       dsl 
    231      1.72       dsl struct sys_listen_args;
    232      1.72       dsl 
    233      1.72       dsl struct compat_43_sys_sigvec_args;
    234      1.72       dsl 
    235      1.72       dsl struct compat_43_sys_sigblock_args;
    236      1.72       dsl 
    237      1.72       dsl struct compat_43_sys_sigsetmask_args;
    238      1.72       dsl 
    239      1.72       dsl struct compat_13_sys_sigsuspend_args;
    240      1.72       dsl 
    241      1.72       dsl struct compat_43_sys_sigstack_args;
    242      1.72       dsl 
    243      1.72       dsl struct compat_43_sys_recvmsg_args;
    244      1.72       dsl 
    245      1.72       dsl struct compat_43_sys_sendmsg_args;
    246      1.53     pooka #ifdef TRACE
    247      1.72       dsl 
    248      1.72       dsl struct sys_vtrace_args;
    249      1.53     pooka #else
    250      1.53     pooka #endif
    251      1.72       dsl 
    252      1.75  christos struct compat_50_sys_gettimeofday_args;
    253      1.72       dsl 
    254      1.75  christos struct compat_50_sys_getrusage_args;
    255      1.72       dsl 
    256      1.72       dsl struct sys_getsockopt_args;
    257      1.72       dsl 
    258      1.72       dsl struct sys_readv_args;
    259      1.72       dsl 
    260      1.72       dsl struct sys_writev_args;
    261      1.72       dsl 
    262      1.75  christos struct compat_50_sys_settimeofday_args;
    263      1.72       dsl 
    264      1.72       dsl struct sys_fchown_args;
    265      1.72       dsl 
    266      1.72       dsl struct sys_fchmod_args;
    267      1.72       dsl 
    268      1.72       dsl struct compat_43_sys_recvfrom_args;
    269      1.72       dsl 
    270      1.72       dsl struct sys_setreuid_args;
    271      1.72       dsl 
    272      1.72       dsl struct sys_setregid_args;
    273      1.72       dsl 
    274      1.72       dsl struct sys_rename_args;
    275      1.72       dsl 
    276      1.72       dsl struct compat_43_sys_truncate_args;
    277      1.72       dsl 
    278      1.72       dsl struct compat_43_sys_ftruncate_args;
    279      1.72       dsl 
    280      1.72       dsl struct sys_flock_args;
    281      1.72       dsl 
    282      1.72       dsl struct sys_mkfifo_args;
    283      1.72       dsl 
    284      1.72       dsl struct sys_sendto_args;
    285      1.72       dsl 
    286      1.72       dsl struct sys_shutdown_args;
    287      1.72       dsl 
    288      1.72       dsl struct sys_socketpair_args;
    289      1.72       dsl 
    290      1.72       dsl struct sys_mkdir_args;
    291      1.72       dsl 
    292      1.72       dsl struct sys_rmdir_args;
    293      1.72       dsl 
    294      1.75  christos struct compat_50_sys_utimes_args;
    295      1.72       dsl 
    296      1.75  christos struct compat_50_sys_adjtime_args;
    297      1.72       dsl 
    298      1.72       dsl struct compat_43_sys_getpeername_args;
    299      1.72       dsl 
    300      1.72       dsl struct compat_43_sys_sethostid_args;
    301      1.72       dsl 
    302      1.72       dsl struct compat_43_sys_getrlimit_args;
    303      1.72       dsl 
    304      1.72       dsl struct compat_43_sys_setrlimit_args;
    305      1.72       dsl 
    306      1.72       dsl struct compat_43_sys_killpg_args;
    307      1.72       dsl 
    308      1.80    bouyer struct compat_50_sys_quotactl_args;
    309      1.72       dsl 
    310      1.72       dsl struct compat_43_sys_getsockname_args;
    311      1.72       dsl 
    312      1.72       dsl struct compat_43_sys_getdirentries_args;
    313      1.72       dsl 
    314      1.72       dsl struct compat_20_sys_statfs_args;
    315      1.72       dsl 
    316      1.72       dsl struct compat_20_sys_fstatfs_args;
    317      1.72       dsl 
    318      1.72       dsl struct compat_30_sys_getfh_args;
    319       1.1   mycroft 
    320      1.72       dsl struct compat_09_sys_getdomainname_args;
    321      1.72       dsl 
    322      1.72       dsl struct compat_09_sys_setdomainname_args;
    323      1.72       dsl 
    324      1.72       dsl struct compat_09_sys_uname_args;
    325      1.72       dsl 
    326      1.72       dsl struct sys_sysarch_args;
    327      1.72       dsl 
    328       1.1   mycroft struct freebsd_sys_rtprio_args {
    329       1.1   mycroft 	syscallarg(int) function;
    330       1.1   mycroft 	syscallarg(pid_t) pid;
    331       1.1   mycroft 	syscallarg(struct freebsd_rtprio *) rtp;
    332       1.1   mycroft };
    333      1.72       dsl check_syscall_args(freebsd_sys_rtprio)
    334      1.53     pooka #if defined(SYSVSEM) && !defined(_LP64)
    335       1.1   mycroft 
    336      1.17   mycroft struct freebsd_sys_semsys_args {
    337      1.17   mycroft 	syscallarg(int) which;
    338      1.17   mycroft 	syscallarg(int) a2;
    339      1.17   mycroft 	syscallarg(int) a3;
    340      1.17   mycroft 	syscallarg(int) a4;
    341      1.17   mycroft 	syscallarg(int) a5;
    342      1.17   mycroft };
    343      1.72       dsl check_syscall_args(freebsd_sys_semsys)
    344      1.53     pooka #else
    345      1.53     pooka #endif
    346      1.53     pooka #if defined(SYSVMSG) && !defined(_LP64)
    347      1.17   mycroft 
    348      1.17   mycroft struct freebsd_sys_msgsys_args {
    349      1.17   mycroft 	syscallarg(int) which;
    350      1.17   mycroft 	syscallarg(int) a2;
    351      1.17   mycroft 	syscallarg(int) a3;
    352      1.17   mycroft 	syscallarg(int) a4;
    353      1.17   mycroft 	syscallarg(int) a5;
    354      1.17   mycroft 	syscallarg(int) a6;
    355      1.17   mycroft };
    356      1.72       dsl check_syscall_args(freebsd_sys_msgsys)
    357      1.53     pooka #else
    358      1.53     pooka #endif
    359      1.53     pooka #if defined(SYSVSHM) && !defined(_LP64)
    360      1.17   mycroft 
    361      1.17   mycroft struct freebsd_sys_shmsys_args {
    362      1.17   mycroft 	syscallarg(int) which;
    363      1.17   mycroft 	syscallarg(int) a2;
    364      1.17   mycroft 	syscallarg(int) a3;
    365      1.17   mycroft 	syscallarg(int) a4;
    366      1.17   mycroft };
    367      1.72       dsl check_syscall_args(freebsd_sys_shmsys)
    368      1.53     pooka #else
    369      1.53     pooka #endif
    370      1.72       dsl 
    371      1.72       dsl struct sys_pread_args;
    372      1.72       dsl 
    373      1.72       dsl struct sys_pwrite_args;
    374      1.53     pooka #ifdef NTP
    375      1.17   mycroft 
    376       1.1   mycroft struct freebsd_ntp_adjtime_args {
    377       1.1   mycroft 	syscallarg(struct freebsd_timex *) tp;
    378       1.1   mycroft };
    379      1.72       dsl check_syscall_args(freebsd_ntp_adjtime)
    380      1.53     pooka #else
    381      1.53     pooka #endif
    382      1.72       dsl 
    383      1.72       dsl struct sys_setgid_args;
    384      1.72       dsl 
    385      1.72       dsl struct sys_setegid_args;
    386      1.72       dsl 
    387      1.72       dsl struct sys_seteuid_args;
    388       1.1   mycroft 
    389      1.72       dsl struct compat_12_sys_stat_args;
    390      1.72       dsl 
    391      1.72       dsl struct compat_12_sys_fstat_args;
    392      1.72       dsl 
    393      1.72       dsl struct compat_12_sys_lstat_args;
    394      1.72       dsl 
    395      1.72       dsl struct sys_pathconf_args;
    396      1.72       dsl 
    397      1.72       dsl struct sys_fpathconf_args;
    398      1.72       dsl 
    399      1.72       dsl struct sys_getrlimit_args;
    400      1.72       dsl 
    401      1.72       dsl struct sys_setrlimit_args;
    402      1.72       dsl 
    403      1.72       dsl struct compat_12_sys_getdirentries_args;
    404      1.72       dsl 
    405      1.53     pooka struct freebsd_sys_mmap_args {
    406      1.70  christos 	syscallarg(void *) addr;
    407      1.53     pooka 	syscallarg(size_t) len;
    408      1.53     pooka 	syscallarg(int) prot;
    409      1.53     pooka 	syscallarg(int) flags;
    410      1.53     pooka 	syscallarg(int) fd;
    411      1.53     pooka 	syscallarg(long) pad;
    412      1.53     pooka 	syscallarg(off_t) pos;
    413      1.53     pooka };
    414      1.72       dsl check_syscall_args(freebsd_sys_mmap)
    415      1.72       dsl 
    416      1.72       dsl struct sys_lseek_args;
    417      1.72       dsl 
    418      1.72       dsl struct sys_truncate_args;
    419      1.72       dsl 
    420      1.72       dsl struct sys_ftruncate_args;
    421      1.53     pooka 
    422      1.59      heas struct freebsd_sys_sysctl_args {
    423      1.59      heas 	syscallarg(int *) name;
    424      1.59      heas 	syscallarg(u_int) namelen;
    425      1.59      heas 	syscallarg(void *) old;
    426      1.59      heas 	syscallarg(size_t *) oldlenp;
    427      1.59      heas 	syscallarg(void *) new;
    428      1.59      heas 	syscallarg(size_t) newlen;
    429      1.59      heas };
    430      1.72       dsl check_syscall_args(freebsd_sys_sysctl)
    431      1.72       dsl 
    432      1.72       dsl struct sys_mlock_args;
    433      1.72       dsl 
    434      1.72       dsl struct sys_munlock_args;
    435      1.53     pooka #ifdef FREEBSD_BASED_ON_44LITE_R2
    436       1.1   mycroft 
    437       1.1   mycroft struct freebsd_sys_undelete_args {
    438       1.1   mycroft 	syscallarg(char *) path;
    439       1.1   mycroft };
    440      1.72       dsl check_syscall_args(freebsd_sys_undelete)
    441      1.53     pooka #else
    442      1.53     pooka #endif
    443      1.72       dsl 
    444      1.75  christos struct compat_50_sys_futimes_args;
    445      1.72       dsl 
    446      1.72       dsl struct sys_getpgid_args;
    447      1.53     pooka #if 0
    448      1.72       dsl 
    449      1.72       dsl struct sys_reboot_args;
    450      1.53     pooka #else
    451      1.53     pooka #endif
    452      1.72       dsl 
    453      1.72       dsl struct sys_poll_args;
    454      1.53     pooka #ifdef SYSVSEM
    455      1.72       dsl 
    456      1.72       dsl struct compat_14_sys___semctl_args;
    457      1.72       dsl 
    458      1.72       dsl struct sys_semget_args;
    459      1.72       dsl 
    460      1.72       dsl struct sys_semop_args;
    461      1.72       dsl 
    462      1.72       dsl struct sys_semconfig_args;
    463      1.53     pooka #else
    464      1.53     pooka #endif
    465      1.53     pooka #ifdef SYSVMSG
    466      1.72       dsl 
    467      1.72       dsl struct compat_14_sys_msgctl_args;
    468      1.72       dsl 
    469      1.72       dsl struct sys_msgget_args;
    470      1.72       dsl 
    471      1.72       dsl struct sys_msgsnd_args;
    472      1.72       dsl 
    473      1.72       dsl struct sys_msgrcv_args;
    474      1.53     pooka #else
    475      1.53     pooka #endif
    476      1.53     pooka #ifdef SYSVSHM
    477      1.72       dsl 
    478      1.72       dsl struct sys_shmat_args;
    479      1.72       dsl 
    480      1.72       dsl struct compat_14_sys_shmctl_args;
    481      1.72       dsl 
    482      1.72       dsl struct sys_shmdt_args;
    483      1.72       dsl 
    484      1.72       dsl struct sys_shmget_args;
    485      1.53     pooka #else
    486      1.53     pooka #endif
    487       1.1   mycroft 
    488      1.75  christos struct compat_50_sys_clock_gettime_args;
    489      1.72       dsl 
    490      1.75  christos struct compat_50_sys_clock_settime_args;
    491      1.72       dsl 
    492      1.75  christos struct compat_50_sys_clock_getres_args;
    493      1.72       dsl 
    494      1.75  christos struct compat_50_sys_nanosleep_args;
    495      1.72       dsl 
    496      1.72       dsl struct sys_minherit_args;
    497      1.72       dsl 
    498      1.49     pooka struct freebsd_sys_rfork_args {
    499      1.49     pooka 	syscallarg(int) flags;
    500      1.49     pooka };
    501      1.72       dsl check_syscall_args(freebsd_sys_rfork)
    502      1.72       dsl 
    503      1.72       dsl struct sys_lchown_args;
    504      1.72       dsl 
    505      1.72       dsl struct compat_30_sys_getdents_args;
    506      1.72       dsl 
    507      1.72       dsl struct sys_lchmod_args;
    508      1.72       dsl 
    509      1.72       dsl struct sys_lchown_args;
    510      1.72       dsl 
    511      1.75  christos struct compat_50_sys_lutimes_args;
    512      1.72       dsl 
    513      1.72       dsl struct sys___msync13_args;
    514      1.72       dsl 
    515      1.72       dsl struct compat_30_sys___stat13_args;
    516      1.72       dsl 
    517      1.72       dsl struct compat_30_sys___fstat13_args;
    518      1.72       dsl 
    519      1.72       dsl struct compat_30_sys___lstat13_args;
    520      1.72       dsl 
    521      1.72       dsl struct compat_20_sys_fhstatfs_args;
    522      1.72       dsl 
    523      1.72       dsl struct compat_30_sys_fhopen_args;
    524      1.72       dsl 
    525      1.72       dsl struct compat_30_sys_fhstat_args;
    526      1.72       dsl 
    527      1.72       dsl struct sys_getsid_args;
    528      1.72       dsl 
    529      1.72       dsl struct sys_mlockall_args;
    530      1.72       dsl 
    531      1.72       dsl struct sys___getcwd_args;
    532      1.49     pooka 
    533      1.50  gmcgarry struct freebsd_sys_sched_setparam_args {
    534      1.50  gmcgarry 	syscallarg(pid_t) pid;
    535      1.50  gmcgarry 	syscallarg(const struct freebsd_sched_param *) sp;
    536      1.50  gmcgarry };
    537      1.72       dsl check_syscall_args(freebsd_sys_sched_setparam)
    538      1.50  gmcgarry 
    539      1.50  gmcgarry struct freebsd_sys_sched_getparam_args {
    540      1.50  gmcgarry 	syscallarg(pid_t) pid;
    541      1.50  gmcgarry 	syscallarg(struct freebsd_sched_param *) sp;
    542      1.50  gmcgarry };
    543      1.72       dsl check_syscall_args(freebsd_sys_sched_getparam)
    544      1.50  gmcgarry 
    545      1.50  gmcgarry struct freebsd_sys_sched_setscheduler_args {
    546      1.50  gmcgarry 	syscallarg(pid_t) pid;
    547      1.50  gmcgarry 	syscallarg(int) policy;
    548      1.50  gmcgarry 	syscallarg(const struct sched_param *) sp;
    549      1.50  gmcgarry };
    550      1.72       dsl check_syscall_args(freebsd_sys_sched_setscheduler)
    551      1.50  gmcgarry 
    552      1.50  gmcgarry struct freebsd_sys_sched_getscheduler_args {
    553      1.50  gmcgarry 	syscallarg(pid_t) pid;
    554      1.50  gmcgarry };
    555      1.72       dsl check_syscall_args(freebsd_sys_sched_getscheduler)
    556      1.50  gmcgarry 
    557      1.50  gmcgarry struct freebsd_sys_sched_get_priority_max_args {
    558      1.50  gmcgarry 	syscallarg(int) policy;
    559      1.50  gmcgarry };
    560      1.72       dsl check_syscall_args(freebsd_sys_sched_get_priority_max)
    561      1.50  gmcgarry 
    562      1.50  gmcgarry struct freebsd_sys_sched_get_priority_min_args {
    563      1.50  gmcgarry 	syscallarg(int) policy;
    564      1.50  gmcgarry };
    565      1.72       dsl check_syscall_args(freebsd_sys_sched_get_priority_min)
    566      1.50  gmcgarry 
    567      1.43  jdolecek struct freebsd_sys_utrace_args {
    568      1.43  jdolecek 	syscallarg(void *) addr;
    569      1.43  jdolecek 	syscallarg(size_t) len;
    570      1.43  jdolecek };
    571      1.72       dsl check_syscall_args(freebsd_sys_utrace)
    572      1.72       dsl 
    573      1.72       dsl struct sys___sigprocmask14_args;
    574      1.72       dsl 
    575      1.72       dsl struct sys___sigsuspend14_args;
    576      1.43  jdolecek 
    577      1.34      onoe struct freebsd_sys_sigaction4_args {
    578      1.34      onoe 	syscallarg(int) signum;
    579      1.34      onoe 	syscallarg(const struct freebsd_sigaction4 *) nsa;
    580      1.34      onoe 	syscallarg(struct freebsd_sigaction4 *) osa;
    581      1.34      onoe };
    582      1.72       dsl check_syscall_args(freebsd_sys_sigaction4)
    583      1.72       dsl 
    584      1.72       dsl struct sys___sigpending14_args;
    585      1.72       dsl 
    586      1.72       dsl struct sys_lchflags_args;
    587      1.72       dsl 
    588      1.72       dsl struct sys_uuidgen_args;
    589      1.72       dsl 
    590      1.72       dsl struct sys__ksem_close_args;
    591      1.72       dsl 
    592      1.72       dsl struct sys__ksem_post_args;
    593      1.72       dsl 
    594      1.72       dsl struct sys__ksem_wait_args;
    595      1.72       dsl 
    596      1.72       dsl struct sys__ksem_trywait_args;
    597      1.72       dsl 
    598      1.72       dsl struct sys__ksem_unlink_args;
    599      1.72       dsl 
    600      1.72       dsl struct sys__ksem_getvalue_args;
    601      1.72       dsl 
    602      1.72       dsl struct sys__ksem_destroy_args;
    603      1.34      onoe 
    604       1.1   mycroft /*
    605       1.1   mycroft  * System call prototypes.
    606       1.1   mycroft  */
    607       1.1   mycroft 
    608      1.72       dsl int	sys_nosys(struct lwp *, const void *, register_t *);
    609      1.54  jdolecek 
    610      1.72       dsl int	sys_exit(struct lwp *, const struct sys_exit_args *, register_t *);
    611      1.54  jdolecek 
    612      1.72       dsl int	sys_fork(struct lwp *, const void *, register_t *);
    613      1.54  jdolecek 
    614      1.72       dsl int	sys_read(struct lwp *, const struct sys_read_args *, register_t *);
    615      1.54  jdolecek 
    616      1.72       dsl int	sys_write(struct lwp *, const struct sys_write_args *, register_t *);
    617      1.54  jdolecek 
    618      1.72       dsl int	sys_open(struct lwp *, const struct sys_open_args *, register_t *);
    619      1.54  jdolecek 
    620      1.72       dsl int	sys_close(struct lwp *, const struct sys_close_args *, register_t *);
    621      1.54  jdolecek 
    622      1.75  christos int	compat_50_sys_wait4(struct lwp *, const struct compat_50_sys_wait4_args *, register_t *);
    623      1.54  jdolecek 
    624      1.72       dsl int	compat_43_sys_creat(struct lwp *, const struct compat_43_sys_creat_args *, register_t *);
    625      1.54  jdolecek 
    626      1.72       dsl int	sys_link(struct lwp *, const struct sys_link_args *, register_t *);
    627      1.54  jdolecek 
    628      1.72       dsl int	sys_unlink(struct lwp *, const struct sys_unlink_args *, register_t *);
    629      1.54  jdolecek 
    630      1.72       dsl int	sys_chdir(struct lwp *, const struct sys_chdir_args *, register_t *);
    631      1.54  jdolecek 
    632      1.72       dsl int	sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *);
    633      1.54  jdolecek 
    634      1.75  christos int	compat_50_sys_mknod(struct lwp *, const struct compat_50_sys_mknod_args *, register_t *);
    635      1.54  jdolecek 
    636      1.72       dsl int	sys_chmod(struct lwp *, const struct sys_chmod_args *, register_t *);
    637      1.54  jdolecek 
    638      1.72       dsl int	sys_chown(struct lwp *, const struct sys_chown_args *, register_t *);
    639      1.54  jdolecek 
    640      1.72       dsl int	sys_obreak(struct lwp *, const struct sys_obreak_args *, register_t *);
    641      1.54  jdolecek 
    642      1.72       dsl int	compat_20_sys_getfsstat(struct lwp *, const struct compat_20_sys_getfsstat_args *, register_t *);
    643      1.54  jdolecek 
    644      1.72       dsl int	compat_43_sys_lseek(struct lwp *, const struct compat_43_sys_lseek_args *, register_t *);
    645      1.54  jdolecek 
    646      1.72       dsl int	sys_getpid_with_ppid(struct lwp *, const void *, register_t *);
    647      1.54  jdolecek 
    648      1.72       dsl int	freebsd_sys_mount(struct lwp *, const struct freebsd_sys_mount_args *, register_t *);
    649      1.54  jdolecek 
    650      1.72       dsl int	sys_unmount(struct lwp *, const struct sys_unmount_args *, register_t *);
    651      1.54  jdolecek 
    652      1.72       dsl int	sys_setuid(struct lwp *, const struct sys_setuid_args *, register_t *);
    653      1.54  jdolecek 
    654      1.72       dsl int	sys_getuid_with_euid(struct lwp *, const void *, register_t *);
    655      1.54  jdolecek 
    656      1.72       dsl int	sys_geteuid(struct lwp *, const void *, register_t *);
    657      1.54  jdolecek 
    658      1.72       dsl int	freebsd_sys_ptrace(struct lwp *, const struct freebsd_sys_ptrace_args *, register_t *);
    659      1.54  jdolecek 
    660      1.72       dsl int	sys_recvmsg(struct lwp *, const struct sys_recvmsg_args *, register_t *);
    661      1.54  jdolecek 
    662      1.72       dsl int	sys_sendmsg(struct lwp *, const struct sys_sendmsg_args *, register_t *);
    663      1.54  jdolecek 
    664      1.72       dsl int	sys_recvfrom(struct lwp *, const struct sys_recvfrom_args *, register_t *);
    665      1.54  jdolecek 
    666      1.72       dsl int	sys_accept(struct lwp *, const struct sys_accept_args *, register_t *);
    667      1.54  jdolecek 
    668      1.72       dsl int	sys_getpeername(struct lwp *, const struct sys_getpeername_args *, register_t *);
    669      1.54  jdolecek 
    670      1.72       dsl int	sys_getsockname(struct lwp *, const struct sys_getsockname_args *, register_t *);
    671      1.54  jdolecek 
    672      1.72       dsl int	sys_access(struct lwp *, const struct sys_access_args *, register_t *);
    673      1.54  jdolecek 
    674      1.72       dsl int	sys_chflags(struct lwp *, const struct sys_chflags_args *, register_t *);
    675      1.54  jdolecek 
    676      1.72       dsl int	sys_fchflags(struct lwp *, const struct sys_fchflags_args *, register_t *);
    677      1.54  jdolecek 
    678      1.72       dsl int	sys_sync(struct lwp *, const void *, register_t *);
    679      1.54  jdolecek 
    680      1.72       dsl int	sys_kill(struct lwp *, const struct sys_kill_args *, register_t *);
    681      1.54  jdolecek 
    682      1.72       dsl int	compat_43_sys_stat(struct lwp *, const struct compat_43_sys_stat_args *, register_t *);
    683      1.54  jdolecek 
    684      1.72       dsl int	sys_getppid(struct lwp *, const void *, register_t *);
    685      1.54  jdolecek 
    686      1.72       dsl int	compat_43_sys_lstat(struct lwp *, const struct compat_43_sys_lstat_args *, register_t *);
    687      1.54  jdolecek 
    688      1.72       dsl int	sys_dup(struct lwp *, const struct sys_dup_args *, register_t *);
    689      1.54  jdolecek 
    690      1.72       dsl int	sys_pipe(struct lwp *, const void *, register_t *);
    691      1.54  jdolecek 
    692      1.72       dsl int	sys_getegid(struct lwp *, const void *, register_t *);
    693      1.54  jdolecek 
    694      1.72       dsl int	sys_profil(struct lwp *, const struct sys_profil_args *, register_t *);
    695      1.54  jdolecek 
    696       1.1   mycroft #ifdef KTRACE
    697      1.72       dsl int	sys_ktrace(struct lwp *, const struct sys_ktrace_args *, register_t *);
    698      1.54  jdolecek 
    699       1.1   mycroft #else
    700       1.1   mycroft #endif
    701      1.72       dsl int	compat_13_sys_sigaction(struct lwp *, const struct compat_13_sys_sigaction_args *, register_t *);
    702      1.54  jdolecek 
    703      1.72       dsl int	sys_getgid_with_egid(struct lwp *, const void *, register_t *);
    704      1.54  jdolecek 
    705      1.72       dsl int	compat_13_sys_sigprocmask(struct lwp *, const struct compat_13_sys_sigprocmask_args *, register_t *);
    706      1.54  jdolecek 
    707      1.72       dsl int	sys___getlogin(struct lwp *, const struct sys___getlogin_args *, register_t *);
    708      1.54  jdolecek 
    709      1.72       dsl int	sys___setlogin(struct lwp *, const struct sys___setlogin_args *, register_t *);
    710      1.54  jdolecek 
    711      1.72       dsl int	sys_acct(struct lwp *, const struct sys_acct_args *, register_t *);
    712      1.54  jdolecek 
    713      1.72       dsl int	compat_13_sys_sigpending(struct lwp *, const void *, register_t *);
    714      1.54  jdolecek 
    715      1.72       dsl int	compat_13_sys_sigaltstack(struct lwp *, const struct compat_13_sys_sigaltstack_args *, register_t *);
    716      1.54  jdolecek 
    717      1.72       dsl int	freebsd_sys_ioctl(struct lwp *, const struct freebsd_sys_ioctl_args *, register_t *);
    718      1.54  jdolecek 
    719      1.72       dsl int	sys_reboot(struct lwp *, const struct sys_reboot_args *, register_t *);
    720      1.54  jdolecek 
    721      1.72       dsl int	sys_revoke(struct lwp *, const struct sys_revoke_args *, register_t *);
    722      1.54  jdolecek 
    723      1.72       dsl int	sys_symlink(struct lwp *, const struct sys_symlink_args *, register_t *);
    724      1.54  jdolecek 
    725      1.72       dsl int	sys_readlink(struct lwp *, const struct sys_readlink_args *, register_t *);
    726      1.54  jdolecek 
    727      1.72       dsl int	sys_execve(struct lwp *, const struct sys_execve_args *, register_t *);
    728      1.54  jdolecek 
    729      1.72       dsl int	sys_umask(struct lwp *, const struct sys_umask_args *, register_t *);
    730      1.54  jdolecek 
    731      1.72       dsl int	sys_chroot(struct lwp *, const struct sys_chroot_args *, register_t *);
    732      1.54  jdolecek 
    733      1.72       dsl int	compat_43_sys_fstat(struct lwp *, const struct compat_43_sys_fstat_args *, register_t *);
    734      1.54  jdolecek 
    735      1.72       dsl int	compat_43_sys_getkerninfo(struct lwp *, const struct compat_43_sys_getkerninfo_args *, register_t *);
    736      1.54  jdolecek 
    737      1.72       dsl int	compat_43_sys_getpagesize(struct lwp *, const void *, register_t *);
    738      1.54  jdolecek 
    739      1.72       dsl int	freebsd_sys_msync(struct lwp *, const struct freebsd_sys_msync_args *, register_t *);
    740      1.54  jdolecek 
    741      1.72       dsl int	sys_vfork(struct lwp *, const void *, register_t *);
    742      1.54  jdolecek 
    743      1.72       dsl int	sys_sbrk(struct lwp *, const struct sys_sbrk_args *, register_t *);
    744      1.54  jdolecek 
    745      1.72       dsl int	sys_sstk(struct lwp *, const struct sys_sstk_args *, register_t *);
    746      1.54  jdolecek 
    747      1.72       dsl int	compat_43_sys_mmap(struct lwp *, const struct compat_43_sys_mmap_args *, register_t *);
    748      1.54  jdolecek 
    749      1.72       dsl int	sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *);
    750      1.54  jdolecek 
    751      1.72       dsl int	sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *);
    752      1.54  jdolecek 
    753      1.72       dsl int	sys_mprotect(struct lwp *, const struct sys_mprotect_args *, register_t *);
    754      1.54  jdolecek 
    755      1.72       dsl int	sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *);
    756      1.54  jdolecek 
    757      1.72       dsl int	sys_mincore(struct lwp *, const struct sys_mincore_args *, register_t *);
    758      1.54  jdolecek 
    759      1.72       dsl int	sys_getgroups(struct lwp *, const struct sys_getgroups_args *, register_t *);
    760      1.54  jdolecek 
    761      1.72       dsl int	sys_setgroups(struct lwp *, const struct sys_setgroups_args *, register_t *);
    762      1.54  jdolecek 
    763      1.72       dsl int	sys_getpgrp(struct lwp *, const void *, register_t *);
    764      1.54  jdolecek 
    765      1.72       dsl int	sys_setpgid(struct lwp *, const struct sys_setpgid_args *, register_t *);
    766      1.54  jdolecek 
    767      1.75  christos int	compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *);
    768      1.54  jdolecek 
    769      1.72       dsl int	compat_43_sys_wait(struct lwp *, const void *, register_t *);
    770      1.54  jdolecek 
    771      1.72       dsl int	compat_12_sys_swapon(struct lwp *, const struct compat_12_sys_swapon_args *, register_t *);
    772      1.54  jdolecek 
    773      1.75  christos int	compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *);
    774      1.54  jdolecek 
    775      1.72       dsl int	compat_43_sys_gethostname(struct lwp *, const struct compat_43_sys_gethostname_args *, register_t *);
    776      1.54  jdolecek 
    777      1.72       dsl int	compat_43_sys_sethostname(struct lwp *, const struct compat_43_sys_sethostname_args *, register_t *);
    778      1.54  jdolecek 
    779      1.72       dsl int	compat_43_sys_getdtablesize(struct lwp *, const void *, register_t *);
    780      1.54  jdolecek 
    781      1.72       dsl int	sys_dup2(struct lwp *, const struct sys_dup2_args *, register_t *);
    782      1.54  jdolecek 
    783      1.72       dsl int	sys_fcntl(struct lwp *, const struct sys_fcntl_args *, register_t *);
    784      1.54  jdolecek 
    785      1.75  christos int	compat_50_sys_select(struct lwp *, const struct compat_50_sys_select_args *, register_t *);
    786      1.54  jdolecek 
    787      1.72       dsl int	sys_fsync(struct lwp *, const struct sys_fsync_args *, register_t *);
    788      1.54  jdolecek 
    789      1.72       dsl int	sys_setpriority(struct lwp *, const struct sys_setpriority_args *, register_t *);
    790      1.54  jdolecek 
    791      1.72       dsl int	compat_30_sys_socket(struct lwp *, const struct compat_30_sys_socket_args *, register_t *);
    792      1.54  jdolecek 
    793      1.72       dsl int	sys_connect(struct lwp *, const struct sys_connect_args *, register_t *);
    794      1.54  jdolecek 
    795      1.72       dsl int	compat_43_sys_accept(struct lwp *, const struct compat_43_sys_accept_args *, register_t *);
    796      1.54  jdolecek 
    797      1.72       dsl int	sys_getpriority(struct lwp *, const struct sys_getpriority_args *, register_t *);
    798      1.54  jdolecek 
    799      1.72       dsl int	compat_43_sys_send(struct lwp *, const struct compat_43_sys_send_args *, register_t *);
    800      1.54  jdolecek 
    801      1.72       dsl int	compat_43_sys_recv(struct lwp *, const struct compat_43_sys_recv_args *, register_t *);
    802      1.54  jdolecek 
    803      1.72       dsl int	freebsd_sys_sigreturn(struct lwp *, const struct freebsd_sys_sigreturn_args *, register_t *);
    804      1.54  jdolecek 
    805      1.72       dsl int	sys_bind(struct lwp *, const struct sys_bind_args *, register_t *);
    806      1.54  jdolecek 
    807      1.72       dsl int	sys_setsockopt(struct lwp *, const struct sys_setsockopt_args *, register_t *);
    808      1.54  jdolecek 
    809      1.72       dsl int	sys_listen(struct lwp *, const struct sys_listen_args *, register_t *);
    810      1.54  jdolecek 
    811      1.72       dsl int	compat_43_sys_sigvec(struct lwp *, const struct compat_43_sys_sigvec_args *, register_t *);
    812      1.54  jdolecek 
    813      1.72       dsl int	compat_43_sys_sigblock(struct lwp *, const struct compat_43_sys_sigblock_args *, register_t *);
    814      1.54  jdolecek 
    815      1.72       dsl int	compat_43_sys_sigsetmask(struct lwp *, const struct compat_43_sys_sigsetmask_args *, register_t *);
    816      1.54  jdolecek 
    817      1.72       dsl int	compat_13_sys_sigsuspend(struct lwp *, const struct compat_13_sys_sigsuspend_args *, register_t *);
    818      1.54  jdolecek 
    819      1.72       dsl int	compat_43_sys_sigstack(struct lwp *, const struct compat_43_sys_sigstack_args *, register_t *);
    820      1.54  jdolecek 
    821      1.72       dsl int	compat_43_sys_recvmsg(struct lwp *, const struct compat_43_sys_recvmsg_args *, register_t *);
    822      1.54  jdolecek 
    823      1.72       dsl int	compat_43_sys_sendmsg(struct lwp *, const struct compat_43_sys_sendmsg_args *, register_t *);
    824      1.54  jdolecek 
    825       1.1   mycroft #ifdef TRACE
    826      1.72       dsl int	sys_vtrace(struct lwp *, const struct sys_vtrace_args *, register_t *);
    827      1.54  jdolecek 
    828       1.1   mycroft #else
    829       1.1   mycroft #endif
    830      1.75  christos int	compat_50_sys_gettimeofday(struct lwp *, const struct compat_50_sys_gettimeofday_args *, register_t *);
    831      1.54  jdolecek 
    832      1.75  christos int	compat_50_sys_getrusage(struct lwp *, const struct compat_50_sys_getrusage_args *, register_t *);
    833      1.54  jdolecek 
    834      1.72       dsl int	sys_getsockopt(struct lwp *, const struct sys_getsockopt_args *, register_t *);
    835      1.54  jdolecek 
    836      1.72       dsl int	sys_readv(struct lwp *, const struct sys_readv_args *, register_t *);
    837      1.54  jdolecek 
    838      1.72       dsl int	sys_writev(struct lwp *, const struct sys_writev_args *, register_t *);
    839      1.54  jdolecek 
    840      1.75  christos int	compat_50_sys_settimeofday(struct lwp *, const struct compat_50_sys_settimeofday_args *, register_t *);
    841      1.54  jdolecek 
    842      1.72       dsl int	sys_fchown(struct lwp *, const struct sys_fchown_args *, register_t *);
    843      1.54  jdolecek 
    844      1.72       dsl int	sys_fchmod(struct lwp *, const struct sys_fchmod_args *, register_t *);
    845      1.54  jdolecek 
    846      1.72       dsl int	compat_43_sys_recvfrom(struct lwp *, const struct compat_43_sys_recvfrom_args *, register_t *);
    847      1.54  jdolecek 
    848      1.72       dsl int	sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *);
    849      1.54  jdolecek 
    850      1.72       dsl int	sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *);
    851      1.54  jdolecek 
    852      1.72       dsl int	sys_rename(struct lwp *, const struct sys_rename_args *, register_t *);
    853      1.54  jdolecek 
    854      1.72       dsl int	compat_43_sys_truncate(struct lwp *, const struct compat_43_sys_truncate_args *, register_t *);
    855      1.54  jdolecek 
    856      1.72       dsl int	compat_43_sys_ftruncate(struct lwp *, const struct compat_43_sys_ftruncate_args *, register_t *);
    857      1.54  jdolecek 
    858      1.72       dsl int	sys_flock(struct lwp *, const struct sys_flock_args *, register_t *);
    859      1.54  jdolecek 
    860      1.72       dsl int	sys_mkfifo(struct lwp *, const struct sys_mkfifo_args *, register_t *);
    861      1.54  jdolecek 
    862      1.72       dsl int	sys_sendto(struct lwp *, const struct sys_sendto_args *, register_t *);
    863      1.54  jdolecek 
    864      1.72       dsl int	sys_shutdown(struct lwp *, const struct sys_shutdown_args *, register_t *);
    865      1.54  jdolecek 
    866      1.72       dsl int	sys_socketpair(struct lwp *, const struct sys_socketpair_args *, register_t *);
    867      1.54  jdolecek 
    868      1.72       dsl int	sys_mkdir(struct lwp *, const struct sys_mkdir_args *, register_t *);
    869      1.54  jdolecek 
    870      1.72       dsl int	sys_rmdir(struct lwp *, const struct sys_rmdir_args *, register_t *);
    871      1.54  jdolecek 
    872      1.75  christos int	compat_50_sys_utimes(struct lwp *, const struct compat_50_sys_utimes_args *, register_t *);
    873      1.54  jdolecek 
    874      1.75  christos int	compat_50_sys_adjtime(struct lwp *, const struct compat_50_sys_adjtime_args *, register_t *);
    875      1.54  jdolecek 
    876      1.72       dsl int	compat_43_sys_getpeername(struct lwp *, const struct compat_43_sys_getpeername_args *, register_t *);
    877      1.54  jdolecek 
    878      1.72       dsl int	compat_43_sys_gethostid(struct lwp *, const void *, register_t *);
    879      1.54  jdolecek 
    880      1.72       dsl int	compat_43_sys_sethostid(struct lwp *, const struct compat_43_sys_sethostid_args *, register_t *);
    881      1.54  jdolecek 
    882      1.72       dsl int	compat_43_sys_getrlimit(struct lwp *, const struct compat_43_sys_getrlimit_args *, register_t *);
    883      1.54  jdolecek 
    884      1.72       dsl int	compat_43_sys_setrlimit(struct lwp *, const struct compat_43_sys_setrlimit_args *, register_t *);
    885      1.54  jdolecek 
    886      1.72       dsl int	compat_43_sys_killpg(struct lwp *, const struct compat_43_sys_killpg_args *, register_t *);
    887      1.54  jdolecek 
    888      1.72       dsl int	sys_setsid(struct lwp *, const void *, register_t *);
    889      1.54  jdolecek 
    890      1.80    bouyer int	compat_50_sys_quotactl(struct lwp *, const struct compat_50_sys_quotactl_args *, register_t *);
    891      1.54  jdolecek 
    892      1.72       dsl int	compat_43_sys_quota(struct lwp *, const void *, register_t *);
    893      1.54  jdolecek 
    894      1.72       dsl int	compat_43_sys_getsockname(struct lwp *, const struct compat_43_sys_getsockname_args *, register_t *);
    895      1.54  jdolecek 
    896      1.72       dsl int	compat_43_sys_getdirentries(struct lwp *, const struct compat_43_sys_getdirentries_args *, register_t *);
    897      1.54  jdolecek 
    898      1.72       dsl int	compat_20_sys_statfs(struct lwp *, const struct compat_20_sys_statfs_args *, register_t *);
    899      1.54  jdolecek 
    900      1.72       dsl int	compat_20_sys_fstatfs(struct lwp *, const struct compat_20_sys_fstatfs_args *, register_t *);
    901      1.54  jdolecek 
    902      1.72       dsl int	compat_30_sys_getfh(struct lwp *, const struct compat_30_sys_getfh_args *, register_t *);
    903      1.54  jdolecek 
    904      1.72       dsl int	compat_09_sys_getdomainname(struct lwp *, const struct compat_09_sys_getdomainname_args *, register_t *);
    905      1.54  jdolecek 
    906      1.72       dsl int	compat_09_sys_setdomainname(struct lwp *, const struct compat_09_sys_setdomainname_args *, register_t *);
    907      1.54  jdolecek 
    908      1.72       dsl int	compat_09_sys_uname(struct lwp *, const struct compat_09_sys_uname_args *, register_t *);
    909      1.54  jdolecek 
    910      1.72       dsl int	sys_sysarch(struct lwp *, const struct sys_sysarch_args *, register_t *);
    911      1.54  jdolecek 
    912      1.72       dsl int	freebsd_sys_rtprio(struct lwp *, const struct freebsd_sys_rtprio_args *, register_t *);
    913      1.54  jdolecek 
    914      1.48       eeh #if defined(SYSVSEM) && !defined(_LP64)
    915      1.72       dsl int	freebsd_sys_semsys(struct lwp *, const struct freebsd_sys_semsys_args *, register_t *);
    916      1.54  jdolecek 
    917       1.1   mycroft #else
    918       1.1   mycroft #endif
    919      1.48       eeh #if defined(SYSVMSG) && !defined(_LP64)
    920      1.72       dsl int	freebsd_sys_msgsys(struct lwp *, const struct freebsd_sys_msgsys_args *, register_t *);
    921      1.54  jdolecek 
    922       1.1   mycroft #else
    923       1.1   mycroft #endif
    924      1.48       eeh #if defined(SYSVSHM) && !defined(_LP64)
    925      1.72       dsl int	freebsd_sys_shmsys(struct lwp *, const struct freebsd_sys_shmsys_args *, register_t *);
    926      1.54  jdolecek 
    927       1.1   mycroft #else
    928       1.1   mycroft #endif
    929      1.72       dsl int	sys_pread(struct lwp *, const struct sys_pread_args *, register_t *);
    930      1.54  jdolecek 
    931      1.72       dsl int	sys_pwrite(struct lwp *, const struct sys_pwrite_args *, register_t *);
    932      1.54  jdolecek 
    933      1.36    itojun #ifdef NTP
    934      1.72       dsl int	freebsd_ntp_adjtime(struct lwp *, const struct freebsd_ntp_adjtime_args *, register_t *);
    935      1.54  jdolecek 
    936      1.35     bjh21 #else
    937      1.35     bjh21 #endif
    938      1.72       dsl int	sys_setgid(struct lwp *, const struct sys_setgid_args *, register_t *);
    939      1.54  jdolecek 
    940      1.72       dsl int	sys_setegid(struct lwp *, const struct sys_setegid_args *, register_t *);
    941      1.54  jdolecek 
    942      1.72       dsl int	sys_seteuid(struct lwp *, const struct sys_seteuid_args *, register_t *);
    943      1.54  jdolecek 
    944      1.72       dsl int	compat_12_sys_stat(struct lwp *, const struct compat_12_sys_stat_args *, register_t *);
    945      1.54  jdolecek 
    946      1.72       dsl int	compat_12_sys_fstat(struct lwp *, const struct compat_12_sys_fstat_args *, register_t *);
    947      1.54  jdolecek 
    948      1.72       dsl int	compat_12_sys_lstat(struct lwp *, const struct compat_12_sys_lstat_args *, register_t *);
    949      1.54  jdolecek 
    950      1.72       dsl int	sys_pathconf(struct lwp *, const struct sys_pathconf_args *, register_t *);
    951      1.54  jdolecek 
    952      1.72       dsl int	sys_fpathconf(struct lwp *, const struct sys_fpathconf_args *, register_t *);
    953      1.54  jdolecek 
    954      1.72       dsl int	sys_getrlimit(struct lwp *, const struct sys_getrlimit_args *, register_t *);
    955      1.54  jdolecek 
    956      1.72       dsl int	sys_setrlimit(struct lwp *, const struct sys_setrlimit_args *, register_t *);
    957      1.54  jdolecek 
    958      1.72       dsl int	compat_12_sys_getdirentries(struct lwp *, const struct compat_12_sys_getdirentries_args *, register_t *);
    959      1.54  jdolecek 
    960      1.72       dsl int	freebsd_sys_mmap(struct lwp *, const struct freebsd_sys_mmap_args *, register_t *);
    961      1.54  jdolecek 
    962      1.72       dsl int	sys_lseek(struct lwp *, const struct sys_lseek_args *, register_t *);
    963      1.54  jdolecek 
    964      1.72       dsl int	sys_truncate(struct lwp *, const struct sys_truncate_args *, register_t *);
    965      1.54  jdolecek 
    966      1.72       dsl int	sys_ftruncate(struct lwp *, const struct sys_ftruncate_args *, register_t *);
    967      1.54  jdolecek 
    968      1.72       dsl int	freebsd_sys_sysctl(struct lwp *, const struct freebsd_sys_sysctl_args *, register_t *);
    969      1.54  jdolecek 
    970      1.72       dsl int	sys_mlock(struct lwp *, const struct sys_mlock_args *, register_t *);
    971      1.54  jdolecek 
    972      1.72       dsl int	sys_munlock(struct lwp *, const struct sys_munlock_args *, register_t *);
    973      1.54  jdolecek 
    974       1.1   mycroft #ifdef FREEBSD_BASED_ON_44LITE_R2
    975      1.72       dsl int	freebsd_sys_undelete(struct lwp *, const struct freebsd_sys_undelete_args *, register_t *);
    976      1.54  jdolecek 
    977       1.1   mycroft #else
    978       1.1   mycroft #endif
    979      1.75  christos int	compat_50_sys_futimes(struct lwp *, const struct compat_50_sys_futimes_args *, register_t *);
    980      1.54  jdolecek 
    981      1.72       dsl int	sys_getpgid(struct lwp *, const struct sys_getpgid_args *, register_t *);
    982      1.54  jdolecek 
    983      1.28  christos #if 0
    984      1.28  christos #else
    985      1.28  christos #endif
    986      1.72       dsl int	sys_poll(struct lwp *, const struct sys_poll_args *, register_t *);
    987      1.54  jdolecek 
    988      1.28  christos #ifdef SYSVSEM
    989      1.72       dsl int	compat_14_sys___semctl(struct lwp *, const struct compat_14_sys___semctl_args *, register_t *);
    990      1.54  jdolecek 
    991      1.72       dsl int	sys_semget(struct lwp *, const struct sys_semget_args *, register_t *);
    992      1.54  jdolecek 
    993      1.72       dsl int	sys_semop(struct lwp *, const struct sys_semop_args *, register_t *);
    994      1.54  jdolecek 
    995      1.72       dsl int	sys_semconfig(struct lwp *, const struct sys_semconfig_args *, register_t *);
    996      1.54  jdolecek 
    997      1.28  christos #else
    998      1.28  christos #endif
    999      1.28  christos #ifdef SYSVMSG
   1000      1.72       dsl int	compat_14_sys_msgctl(struct lwp *, const struct compat_14_sys_msgctl_args *, register_t *);
   1001      1.54  jdolecek 
   1002      1.72       dsl int	sys_msgget(struct lwp *, const struct sys_msgget_args *, register_t *);
   1003      1.54  jdolecek 
   1004      1.72       dsl int	sys_msgsnd(struct lwp *, const struct sys_msgsnd_args *, register_t *);
   1005      1.54  jdolecek 
   1006      1.72       dsl int	sys_msgrcv(struct lwp *, const struct sys_msgrcv_args *, register_t *);
   1007      1.54  jdolecek 
   1008      1.28  christos #else
   1009      1.28  christos #endif
   1010      1.28  christos #ifdef SYSVSHM
   1011      1.72       dsl int	sys_shmat(struct lwp *, const struct sys_shmat_args *, register_t *);
   1012      1.54  jdolecek 
   1013      1.72       dsl int	compat_14_sys_shmctl(struct lwp *, const struct compat_14_sys_shmctl_args *, register_t *);
   1014      1.54  jdolecek 
   1015      1.72       dsl int	sys_shmdt(struct lwp *, const struct sys_shmdt_args *, register_t *);
   1016      1.54  jdolecek 
   1017      1.72       dsl int	sys_shmget(struct lwp *, const struct sys_shmget_args *, register_t *);
   1018      1.54  jdolecek 
   1019      1.51   thorpej #else
   1020      1.51   thorpej #endif
   1021      1.75  christos int	compat_50_sys_clock_gettime(struct lwp *, const struct compat_50_sys_clock_gettime_args *, register_t *);
   1022      1.54  jdolecek 
   1023      1.75  christos int	compat_50_sys_clock_settime(struct lwp *, const struct compat_50_sys_clock_settime_args *, register_t *);
   1024      1.54  jdolecek 
   1025      1.75  christos int	compat_50_sys_clock_getres(struct lwp *, const struct compat_50_sys_clock_getres_args *, register_t *);
   1026      1.54  jdolecek 
   1027      1.75  christos int	compat_50_sys_nanosleep(struct lwp *, const struct compat_50_sys_nanosleep_args *, register_t *);
   1028      1.54  jdolecek 
   1029      1.72       dsl int	sys_minherit(struct lwp *, const struct sys_minherit_args *, register_t *);
   1030      1.54  jdolecek 
   1031      1.72       dsl int	freebsd_sys_rfork(struct lwp *, const struct freebsd_sys_rfork_args *, register_t *);
   1032      1.54  jdolecek 
   1033      1.72       dsl int	sys_issetugid(struct lwp *, const void *, register_t *);
   1034      1.54  jdolecek 
   1035      1.72       dsl int	sys_lchown(struct lwp *, const struct sys_lchown_args *, register_t *);
   1036      1.54  jdolecek 
   1037      1.72       dsl int	compat_30_sys_getdents(struct lwp *, const struct compat_30_sys_getdents_args *, register_t *);
   1038      1.54  jdolecek 
   1039      1.72       dsl int	sys_lchmod(struct lwp *, const struct sys_lchmod_args *, register_t *);
   1040      1.54  jdolecek 
   1041      1.75  christos int	compat_50_sys_lutimes(struct lwp *, const struct compat_50_sys_lutimes_args *, register_t *);
   1042      1.54  jdolecek 
   1043      1.72       dsl int	sys___msync13(struct lwp *, const struct sys___msync13_args *, register_t *);
   1044      1.54  jdolecek 
   1045      1.72       dsl int	compat_30_sys___stat13(struct lwp *, const struct compat_30_sys___stat13_args *, register_t *);
   1046      1.54  jdolecek 
   1047      1.72       dsl int	compat_30_sys___fstat13(struct lwp *, const struct compat_30_sys___fstat13_args *, register_t *);
   1048      1.54  jdolecek 
   1049      1.72       dsl int	compat_30_sys___lstat13(struct lwp *, const struct compat_30_sys___lstat13_args *, register_t *);
   1050      1.54  jdolecek 
   1051      1.72       dsl int	compat_20_sys_fhstatfs(struct lwp *, const struct compat_20_sys_fhstatfs_args *, register_t *);
   1052      1.54  jdolecek 
   1053      1.72       dsl int	compat_30_sys_fhopen(struct lwp *, const struct compat_30_sys_fhopen_args *, register_t *);
   1054      1.54  jdolecek 
   1055      1.72       dsl int	compat_30_sys_fhstat(struct lwp *, const struct compat_30_sys_fhstat_args *, register_t *);
   1056      1.54  jdolecek 
   1057      1.72       dsl int	sys_getsid(struct lwp *, const struct sys_getsid_args *, register_t *);
   1058      1.54  jdolecek 
   1059      1.72       dsl int	freebsd_sys_yield(struct lwp *, const void *, register_t *);
   1060      1.54  jdolecek 
   1061      1.72       dsl int	sys_mlockall(struct lwp *, const struct sys_mlockall_args *, register_t *);
   1062      1.54  jdolecek 
   1063      1.72       dsl int	sys_munlockall(struct lwp *, const void *, register_t *);
   1064      1.54  jdolecek 
   1065      1.72       dsl int	sys___getcwd(struct lwp *, const struct sys___getcwd_args *, register_t *);
   1066      1.54  jdolecek 
   1067      1.72       dsl int	freebsd_sys_sched_setparam(struct lwp *, const struct freebsd_sys_sched_setparam_args *, register_t *);
   1068      1.54  jdolecek 
   1069      1.72       dsl int	freebsd_sys_sched_getparam(struct lwp *, const struct freebsd_sys_sched_getparam_args *, register_t *);
   1070      1.54  jdolecek 
   1071      1.72       dsl int	freebsd_sys_sched_setscheduler(struct lwp *, const struct freebsd_sys_sched_setscheduler_args *, register_t *);
   1072      1.54  jdolecek 
   1073      1.72       dsl int	freebsd_sys_sched_getscheduler(struct lwp *, const struct freebsd_sys_sched_getscheduler_args *, register_t *);
   1074      1.54  jdolecek 
   1075      1.72       dsl int	freebsd_sys_sched_yield(struct lwp *, const void *, register_t *);
   1076      1.54  jdolecek 
   1077      1.72       dsl int	freebsd_sys_sched_get_priority_max(struct lwp *, const struct freebsd_sys_sched_get_priority_max_args *, register_t *);
   1078      1.54  jdolecek 
   1079      1.72       dsl int	freebsd_sys_sched_get_priority_min(struct lwp *, const struct freebsd_sys_sched_get_priority_min_args *, register_t *);
   1080      1.54  jdolecek 
   1081      1.72       dsl int	freebsd_sys_utrace(struct lwp *, const struct freebsd_sys_utrace_args *, register_t *);
   1082      1.54  jdolecek 
   1083      1.72       dsl int	sys___sigprocmask14(struct lwp *, const struct sys___sigprocmask14_args *, register_t *);
   1084      1.54  jdolecek 
   1085      1.72       dsl int	sys___sigsuspend14(struct lwp *, const struct sys___sigsuspend14_args *, register_t *);
   1086      1.54  jdolecek 
   1087      1.72       dsl int	freebsd_sys_sigaction4(struct lwp *, const struct freebsd_sys_sigaction4_args *, register_t *);
   1088      1.54  jdolecek 
   1089      1.72       dsl int	sys___sigpending14(struct lwp *, const struct sys___sigpending14_args *, register_t *);
   1090      1.54  jdolecek 
   1091      1.72       dsl int	sys_lchflags(struct lwp *, const struct sys_lchflags_args *, register_t *);
   1092      1.54  jdolecek 
   1093      1.72       dsl int	sys_uuidgen(struct lwp *, const struct sys_uuidgen_args *, register_t *);
   1094      1.55    tsarna 
   1095      1.72       dsl int	sys__ksem_close(struct lwp *, const struct sys__ksem_close_args *, register_t *);
   1096      1.54  jdolecek 
   1097      1.72       dsl int	sys__ksem_post(struct lwp *, const struct sys__ksem_post_args *, register_t *);
   1098      1.54  jdolecek 
   1099      1.72       dsl int	sys__ksem_wait(struct lwp *, const struct sys__ksem_wait_args *, register_t *);
   1100      1.54  jdolecek 
   1101      1.72       dsl int	sys__ksem_trywait(struct lwp *, const struct sys__ksem_trywait_args *, register_t *);
   1102      1.54  jdolecek 
   1103      1.72       dsl int	sys__ksem_unlink(struct lwp *, const struct sys__ksem_unlink_args *, register_t *);
   1104      1.54  jdolecek 
   1105      1.72       dsl int	sys__ksem_getvalue(struct lwp *, const struct sys__ksem_getvalue_args *, register_t *);
   1106      1.54  jdolecek 
   1107      1.72       dsl int	sys__ksem_destroy(struct lwp *, const struct sys__ksem_destroy_args *, register_t *);
   1108      1.54  jdolecek 
   1109      1.64  christos #endif /* _FREEBSD_SYS_SYSCALLARGS_H_ */
   1110