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