Home | History | Annotate | Line # | Download | only in freebsd
freebsd_syscallargs.h revision 1.3.4.1
      1      1.1  mycroft /*
      2      1.1  mycroft  * System call argument lists.
      3      1.1  mycroft  *
      4      1.1  mycroft  * DO NOT EDIT-- this file is automatically generated.
      5  1.3.4.1  mycroft  * created from	NetBSD: syscalls.master,v 1.3.4.1 1996/12/10 08:07:01 mycroft Exp
      6      1.1  mycroft  */
      7      1.1  mycroft 
      8      1.1  mycroft #define	syscallarg(x)	union { x datum; register_t pad; }
      9      1.1  mycroft 
     10      1.1  mycroft struct freebsd_sys_open_args {
     11      1.1  mycroft 	syscallarg(char *) path;
     12      1.1  mycroft 	syscallarg(int) flags;
     13      1.1  mycroft 	syscallarg(int) mode;
     14      1.1  mycroft };
     15      1.1  mycroft 
     16      1.1  mycroft struct compat_43_freebsd_sys_creat_args {
     17      1.1  mycroft 	syscallarg(char *) path;
     18      1.1  mycroft 	syscallarg(int) mode;
     19      1.1  mycroft };
     20      1.1  mycroft 
     21      1.1  mycroft struct freebsd_sys_link_args {
     22      1.1  mycroft 	syscallarg(char *) path;
     23      1.1  mycroft 	syscallarg(char *) link;
     24      1.1  mycroft };
     25      1.1  mycroft 
     26      1.1  mycroft struct freebsd_sys_unlink_args {
     27      1.1  mycroft 	syscallarg(char *) path;
     28      1.1  mycroft };
     29      1.1  mycroft 
     30      1.1  mycroft struct freebsd_sys_chdir_args {
     31      1.1  mycroft 	syscallarg(char *) path;
     32      1.1  mycroft };
     33      1.1  mycroft 
     34      1.1  mycroft struct freebsd_sys_mknod_args {
     35      1.1  mycroft 	syscallarg(char *) path;
     36      1.1  mycroft 	syscallarg(int) mode;
     37      1.1  mycroft 	syscallarg(int) dev;
     38      1.1  mycroft };
     39      1.1  mycroft 
     40      1.1  mycroft struct freebsd_sys_chmod_args {
     41      1.1  mycroft 	syscallarg(char *) path;
     42      1.1  mycroft 	syscallarg(int) mode;
     43      1.1  mycroft };
     44      1.1  mycroft 
     45      1.1  mycroft struct freebsd_sys_chown_args {
     46      1.1  mycroft 	syscallarg(char *) path;
     47      1.1  mycroft 	syscallarg(int) uid;
     48      1.1  mycroft 	syscallarg(int) gid;
     49      1.1  mycroft };
     50      1.1  mycroft 
     51      1.1  mycroft struct freebsd_sys_mount_args {
     52      1.1  mycroft 	syscallarg(int) type;
     53      1.1  mycroft 	syscallarg(char *) path;
     54      1.1  mycroft 	syscallarg(int) flags;
     55      1.1  mycroft 	syscallarg(caddr_t) data;
     56      1.1  mycroft };
     57      1.1  mycroft 
     58      1.1  mycroft struct freebsd_sys_unmount_args {
     59      1.1  mycroft 	syscallarg(char *) path;
     60      1.1  mycroft 	syscallarg(int) flags;
     61      1.1  mycroft };
     62      1.1  mycroft 
     63      1.1  mycroft struct freebsd_sys_ptrace_args {
     64      1.1  mycroft 	syscallarg(int) req;
     65      1.1  mycroft 	syscallarg(pid_t) pid;
     66      1.1  mycroft 	syscallarg(caddr_t) addr;
     67      1.1  mycroft 	syscallarg(int) data;
     68      1.1  mycroft };
     69      1.1  mycroft 
     70      1.1  mycroft struct freebsd_sys_access_args {
     71      1.1  mycroft 	syscallarg(char *) path;
     72      1.1  mycroft 	syscallarg(int) flags;
     73      1.1  mycroft };
     74      1.1  mycroft 
     75      1.1  mycroft struct freebsd_sys_chflags_args {
     76      1.1  mycroft 	syscallarg(char *) path;
     77      1.1  mycroft 	syscallarg(int) flags;
     78      1.1  mycroft };
     79      1.1  mycroft 
     80      1.1  mycroft struct compat_43_freebsd_sys_stat_args {
     81      1.1  mycroft 	syscallarg(char *) path;
     82      1.1  mycroft 	syscallarg(struct ostat *) ub;
     83      1.1  mycroft };
     84      1.1  mycroft 
     85      1.1  mycroft struct compat_43_freebsd_sys_lstat_args {
     86      1.1  mycroft 	syscallarg(char *) path;
     87      1.1  mycroft 	syscallarg(struct ostat *) ub;
     88      1.1  mycroft };
     89      1.1  mycroft 
     90      1.1  mycroft struct freebsd_sys_ioctl_args {
     91      1.1  mycroft 	syscallarg(int) fd;
     92      1.1  mycroft 	syscallarg(u_long) com;
     93      1.1  mycroft 	syscallarg(caddr_t) data;
     94      1.1  mycroft };
     95      1.1  mycroft 
     96      1.1  mycroft struct freebsd_sys_revoke_args {
     97      1.1  mycroft 	syscallarg(char *) path;
     98      1.1  mycroft };
     99      1.1  mycroft 
    100      1.1  mycroft struct freebsd_sys_symlink_args {
    101      1.1  mycroft 	syscallarg(char *) path;
    102      1.1  mycroft 	syscallarg(char *) link;
    103      1.1  mycroft };
    104      1.1  mycroft 
    105      1.1  mycroft struct freebsd_sys_readlink_args {
    106      1.1  mycroft 	syscallarg(char *) path;
    107      1.1  mycroft 	syscallarg(char *) buf;
    108      1.1  mycroft 	syscallarg(int) count;
    109      1.1  mycroft };
    110      1.1  mycroft 
    111      1.1  mycroft struct freebsd_sys_execve_args {
    112      1.1  mycroft 	syscallarg(char *) path;
    113      1.1  mycroft 	syscallarg(char **) argp;
    114      1.1  mycroft 	syscallarg(char **) envp;
    115      1.1  mycroft };
    116      1.1  mycroft 
    117      1.1  mycroft struct freebsd_sys_chroot_args {
    118      1.1  mycroft 	syscallarg(char *) path;
    119      1.1  mycroft };
    120      1.1  mycroft 
    121      1.1  mycroft struct freebsd_sys_msync_args {
    122      1.1  mycroft 	syscallarg(caddr_t) addr;
    123      1.1  mycroft 	syscallarg(size_t) len;
    124      1.1  mycroft 	syscallarg(int) flags;
    125      1.1  mycroft };
    126      1.1  mycroft 
    127      1.1  mycroft struct freebsd_sys_sigreturn_args {
    128      1.1  mycroft 	syscallarg(struct freebsd_sigcontext *) scp;
    129      1.1  mycroft };
    130      1.1  mycroft 
    131      1.1  mycroft struct freebsd_sys_rename_args {
    132      1.1  mycroft 	syscallarg(char *) from;
    133      1.1  mycroft 	syscallarg(char *) to;
    134      1.1  mycroft };
    135      1.1  mycroft 
    136      1.1  mycroft struct compat_43_freebsd_sys_truncate_args {
    137      1.1  mycroft 	syscallarg(char *) path;
    138      1.1  mycroft 	syscallarg(long) length;
    139      1.1  mycroft };
    140      1.1  mycroft 
    141      1.1  mycroft struct freebsd_sys_mkfifo_args {
    142      1.1  mycroft 	syscallarg(char *) path;
    143      1.1  mycroft 	syscallarg(int) mode;
    144      1.1  mycroft };
    145      1.1  mycroft 
    146      1.1  mycroft struct freebsd_sys_mkdir_args {
    147      1.1  mycroft 	syscallarg(char *) path;
    148      1.1  mycroft 	syscallarg(int) mode;
    149      1.1  mycroft };
    150      1.1  mycroft 
    151      1.1  mycroft struct freebsd_sys_rmdir_args {
    152      1.1  mycroft 	syscallarg(char *) path;
    153      1.1  mycroft };
    154      1.1  mycroft 
    155      1.1  mycroft struct freebsd_sys_statfs_args {
    156      1.1  mycroft 	syscallarg(char *) path;
    157      1.1  mycroft 	syscallarg(struct statfs *) buf;
    158      1.1  mycroft };
    159      1.1  mycroft 
    160      1.1  mycroft struct freebsd_sys_getfh_args {
    161      1.1  mycroft 	syscallarg(char *) fname;
    162      1.1  mycroft 	syscallarg(fhandle_t *) fhp;
    163      1.1  mycroft };
    164      1.1  mycroft 
    165      1.1  mycroft struct freebsd_sys_rtprio_args {
    166      1.1  mycroft 	syscallarg(int) function;
    167      1.1  mycroft 	syscallarg(pid_t) pid;
    168      1.1  mycroft 	syscallarg(struct freebsd_rtprio *) rtp;
    169      1.1  mycroft };
    170      1.1  mycroft 
    171      1.1  mycroft struct freebsd_ntp_adjtime_args {
    172      1.1  mycroft 	syscallarg(struct freebsd_timex *) tp;
    173      1.1  mycroft };
    174      1.1  mycroft 
    175      1.1  mycroft struct freebsd_sys_stat_args {
    176      1.1  mycroft 	syscallarg(char *) path;
    177      1.1  mycroft 	syscallarg(struct stat *) ub;
    178      1.1  mycroft };
    179      1.1  mycroft 
    180      1.1  mycroft struct freebsd_sys_lstat_args {
    181      1.1  mycroft 	syscallarg(char *) path;
    182      1.1  mycroft 	syscallarg(struct stat *) ub;
    183      1.1  mycroft };
    184      1.1  mycroft 
    185      1.1  mycroft struct freebsd_sys_pathconf_args {
    186      1.1  mycroft 	syscallarg(char *) path;
    187      1.1  mycroft 	syscallarg(int) name;
    188      1.1  mycroft };
    189      1.1  mycroft 
    190      1.1  mycroft struct freebsd_sys_truncate_args {
    191      1.1  mycroft 	syscallarg(char *) path;
    192      1.1  mycroft 	syscallarg(int) pad;
    193      1.1  mycroft 	syscallarg(off_t) length;
    194      1.1  mycroft };
    195      1.1  mycroft 
    196      1.1  mycroft struct freebsd_sys_undelete_args {
    197      1.1  mycroft 	syscallarg(char *) path;
    198      1.1  mycroft };
    199      1.1  mycroft 
    200      1.1  mycroft /*
    201      1.1  mycroft  * System call prototypes.
    202      1.1  mycroft  */
    203      1.1  mycroft 
    204      1.1  mycroft int	sys_nosys	__P((struct proc *, void *, register_t *));
    205      1.1  mycroft int	sys_exit	__P((struct proc *, void *, register_t *));
    206      1.1  mycroft int	sys_fork	__P((struct proc *, void *, register_t *));
    207      1.1  mycroft int	sys_read	__P((struct proc *, void *, register_t *));
    208      1.1  mycroft int	sys_write	__P((struct proc *, void *, register_t *));
    209      1.1  mycroft int	freebsd_sys_open	__P((struct proc *, void *, register_t *));
    210      1.1  mycroft int	sys_close	__P((struct proc *, void *, register_t *));
    211      1.1  mycroft int	sys_wait4	__P((struct proc *, void *, register_t *));
    212      1.1  mycroft int	compat_43_freebsd_sys_creat	__P((struct proc *, void *, register_t *));
    213      1.1  mycroft int	freebsd_sys_link	__P((struct proc *, void *, register_t *));
    214      1.1  mycroft int	freebsd_sys_unlink	__P((struct proc *, void *, register_t *));
    215      1.1  mycroft int	freebsd_sys_chdir	__P((struct proc *, void *, register_t *));
    216      1.1  mycroft int	sys_fchdir	__P((struct proc *, void *, register_t *));
    217      1.1  mycroft int	freebsd_sys_mknod	__P((struct proc *, void *, register_t *));
    218      1.1  mycroft int	freebsd_sys_chmod	__P((struct proc *, void *, register_t *));
    219      1.1  mycroft int	freebsd_sys_chown	__P((struct proc *, void *, register_t *));
    220      1.1  mycroft int	sys_obreak	__P((struct proc *, void *, register_t *));
    221      1.1  mycroft int	sys_getfsstat	__P((struct proc *, void *, register_t *));
    222      1.1  mycroft int	compat_43_sys_lseek	__P((struct proc *, void *, register_t *));
    223      1.1  mycroft int	sys_getpid	__P((struct proc *, void *, register_t *));
    224      1.1  mycroft int	freebsd_sys_mount	__P((struct proc *, void *, register_t *));
    225      1.1  mycroft int	freebsd_sys_unmount	__P((struct proc *, void *, register_t *));
    226      1.1  mycroft int	sys_setuid	__P((struct proc *, void *, register_t *));
    227      1.1  mycroft int	sys_getuid	__P((struct proc *, void *, register_t *));
    228      1.1  mycroft int	sys_geteuid	__P((struct proc *, void *, register_t *));
    229      1.1  mycroft int	freebsd_sys_ptrace	__P((struct proc *, void *, register_t *));
    230      1.1  mycroft int	sys_recvmsg	__P((struct proc *, void *, register_t *));
    231      1.1  mycroft int	sys_sendmsg	__P((struct proc *, void *, register_t *));
    232      1.1  mycroft int	sys_recvfrom	__P((struct proc *, void *, register_t *));
    233      1.1  mycroft int	sys_accept	__P((struct proc *, void *, register_t *));
    234      1.1  mycroft int	sys_getpeername	__P((struct proc *, void *, register_t *));
    235      1.1  mycroft int	sys_getsockname	__P((struct proc *, void *, register_t *));
    236      1.1  mycroft int	freebsd_sys_access	__P((struct proc *, void *, register_t *));
    237      1.1  mycroft int	freebsd_sys_chflags	__P((struct proc *, void *, register_t *));
    238      1.1  mycroft int	sys_fchflags	__P((struct proc *, void *, register_t *));
    239      1.1  mycroft int	sys_sync	__P((struct proc *, void *, register_t *));
    240      1.1  mycroft int	sys_kill	__P((struct proc *, void *, register_t *));
    241      1.1  mycroft int	compat_43_freebsd_sys_stat	__P((struct proc *, void *, register_t *));
    242      1.3  mycroft int	sys_getppid	__P((struct proc *, void *, register_t *));
    243      1.1  mycroft int	compat_43_freebsd_sys_lstat	__P((struct proc *, void *, register_t *));
    244      1.1  mycroft int	sys_dup	__P((struct proc *, void *, register_t *));
    245      1.1  mycroft int	sys_pipe	__P((struct proc *, void *, register_t *));
    246      1.1  mycroft int	sys_getegid	__P((struct proc *, void *, register_t *));
    247      1.1  mycroft int	sys_profil	__P((struct proc *, void *, register_t *));
    248      1.1  mycroft #ifdef KTRACE
    249      1.1  mycroft int	sys_ktrace	__P((struct proc *, void *, register_t *));
    250      1.1  mycroft #else
    251      1.1  mycroft #endif
    252      1.1  mycroft int	sys_sigaction	__P((struct proc *, void *, register_t *));
    253      1.1  mycroft int	sys_getgid	__P((struct proc *, void *, register_t *));
    254      1.1  mycroft int	sys_sigprocmask	__P((struct proc *, void *, register_t *));
    255      1.1  mycroft int	sys_getlogin	__P((struct proc *, void *, register_t *));
    256      1.1  mycroft int	sys_setlogin	__P((struct proc *, void *, register_t *));
    257      1.1  mycroft int	sys_acct	__P((struct proc *, void *, register_t *));
    258      1.1  mycroft int	sys_sigpending	__P((struct proc *, void *, register_t *));
    259      1.1  mycroft int	sys_sigaltstack	__P((struct proc *, void *, register_t *));
    260      1.1  mycroft int	freebsd_sys_ioctl	__P((struct proc *, void *, register_t *));
    261      1.1  mycroft int	sys_reboot	__P((struct proc *, void *, register_t *));
    262      1.1  mycroft int	freebsd_sys_revoke	__P((struct proc *, void *, register_t *));
    263      1.1  mycroft int	freebsd_sys_symlink	__P((struct proc *, void *, register_t *));
    264      1.1  mycroft int	freebsd_sys_readlink	__P((struct proc *, void *, register_t *));
    265      1.1  mycroft int	freebsd_sys_execve	__P((struct proc *, void *, register_t *));
    266      1.1  mycroft int	sys_umask	__P((struct proc *, void *, register_t *));
    267      1.1  mycroft int	freebsd_sys_chroot	__P((struct proc *, void *, register_t *));
    268      1.1  mycroft int	compat_43_sys_fstat	__P((struct proc *, void *, register_t *));
    269      1.1  mycroft int	compat_43_sys_getkerninfo	__P((struct proc *, void *, register_t *));
    270      1.1  mycroft int	compat_43_sys_getpagesize	__P((struct proc *, void *, register_t *));
    271      1.1  mycroft int	freebsd_sys_msync	__P((struct proc *, void *, register_t *));
    272      1.1  mycroft int	sys_vfork	__P((struct proc *, void *, register_t *));
    273      1.1  mycroft int	sys_sbrk	__P((struct proc *, void *, register_t *));
    274      1.1  mycroft int	sys_sstk	__P((struct proc *, void *, register_t *));
    275      1.1  mycroft int	compat_43_sys_mmap	__P((struct proc *, void *, register_t *));
    276      1.1  mycroft int	sys_ovadvise	__P((struct proc *, void *, register_t *));
    277      1.1  mycroft int	sys_munmap	__P((struct proc *, void *, register_t *));
    278      1.1  mycroft int	sys_mprotect	__P((struct proc *, void *, register_t *));
    279      1.1  mycroft int	sys_madvise	__P((struct proc *, void *, register_t *));
    280      1.1  mycroft int	sys_mincore	__P((struct proc *, void *, register_t *));
    281      1.1  mycroft int	sys_getgroups	__P((struct proc *, void *, register_t *));
    282      1.1  mycroft int	sys_setgroups	__P((struct proc *, void *, register_t *));
    283      1.1  mycroft int	sys_getpgrp	__P((struct proc *, void *, register_t *));
    284      1.1  mycroft int	sys_setpgid	__P((struct proc *, void *, register_t *));
    285      1.1  mycroft int	sys_setitimer	__P((struct proc *, void *, register_t *));
    286      1.1  mycroft int	compat_43_sys_wait	__P((struct proc *, void *, register_t *));
    287      1.1  mycroft int	sys_swapon	__P((struct proc *, void *, register_t *));
    288      1.1  mycroft int	sys_getitimer	__P((struct proc *, void *, register_t *));
    289      1.1  mycroft int	compat_43_sys_gethostname	__P((struct proc *, void *, register_t *));
    290      1.1  mycroft int	compat_43_sys_sethostname	__P((struct proc *, void *, register_t *));
    291      1.1  mycroft int	compat_43_sys_getdtablesize	__P((struct proc *, void *, register_t *));
    292      1.1  mycroft int	sys_dup2	__P((struct proc *, void *, register_t *));
    293      1.1  mycroft int	sys_fcntl	__P((struct proc *, void *, register_t *));
    294      1.1  mycroft int	sys_select	__P((struct proc *, void *, register_t *));
    295      1.1  mycroft int	sys_fsync	__P((struct proc *, void *, register_t *));
    296      1.1  mycroft int	sys_setpriority	__P((struct proc *, void *, register_t *));
    297      1.1  mycroft int	sys_socket	__P((struct proc *, void *, register_t *));
    298      1.1  mycroft int	sys_connect	__P((struct proc *, void *, register_t *));
    299      1.1  mycroft int	compat_43_sys_accept	__P((struct proc *, void *, register_t *));
    300      1.1  mycroft int	sys_getpriority	__P((struct proc *, void *, register_t *));
    301      1.1  mycroft int	compat_43_sys_send	__P((struct proc *, void *, register_t *));
    302      1.1  mycroft int	compat_43_sys_recv	__P((struct proc *, void *, register_t *));
    303      1.1  mycroft int	freebsd_sys_sigreturn	__P((struct proc *, void *, register_t *));
    304      1.1  mycroft int	sys_bind	__P((struct proc *, void *, register_t *));
    305      1.1  mycroft int	sys_setsockopt	__P((struct proc *, void *, register_t *));
    306      1.1  mycroft int	sys_listen	__P((struct proc *, void *, register_t *));
    307      1.1  mycroft int	compat_43_sys_sigvec	__P((struct proc *, void *, register_t *));
    308      1.1  mycroft int	compat_43_sys_sigblock	__P((struct proc *, void *, register_t *));
    309      1.1  mycroft int	compat_43_sys_sigsetmask	__P((struct proc *, void *, register_t *));
    310      1.1  mycroft int	sys_sigsuspend	__P((struct proc *, void *, register_t *));
    311      1.1  mycroft int	compat_43_sys_sigstack	__P((struct proc *, void *, register_t *));
    312      1.1  mycroft int	compat_43_sys_recvmsg	__P((struct proc *, void *, register_t *));
    313      1.1  mycroft int	compat_43_sys_sendmsg	__P((struct proc *, void *, register_t *));
    314      1.1  mycroft #ifdef TRACE
    315      1.1  mycroft int	sys_vtrace	__P((struct proc *, void *, register_t *));
    316      1.1  mycroft #else
    317      1.1  mycroft #endif
    318      1.1  mycroft int	sys_gettimeofday	__P((struct proc *, void *, register_t *));
    319      1.1  mycroft int	sys_getrusage	__P((struct proc *, void *, register_t *));
    320      1.1  mycroft int	sys_getsockopt	__P((struct proc *, void *, register_t *));
    321      1.1  mycroft int	sys_readv	__P((struct proc *, void *, register_t *));
    322      1.1  mycroft int	sys_writev	__P((struct proc *, void *, register_t *));
    323      1.1  mycroft int	sys_settimeofday	__P((struct proc *, void *, register_t *));
    324      1.1  mycroft int	sys_fchown	__P((struct proc *, void *, register_t *));
    325      1.1  mycroft int	sys_fchmod	__P((struct proc *, void *, register_t *));
    326      1.1  mycroft int	compat_43_sys_recvfrom	__P((struct proc *, void *, register_t *));
    327  1.3.4.1  mycroft int	sys_setreuid	__P((struct proc *, void *, register_t *));
    328  1.3.4.1  mycroft int	sys_setregid	__P((struct proc *, void *, register_t *));
    329      1.1  mycroft int	freebsd_sys_rename	__P((struct proc *, void *, register_t *));
    330      1.1  mycroft int	compat_43_freebsd_sys_truncate	__P((struct proc *, void *, register_t *));
    331      1.1  mycroft int	compat_43_sys_ftruncate	__P((struct proc *, void *, register_t *));
    332      1.1  mycroft int	sys_flock	__P((struct proc *, void *, register_t *));
    333      1.1  mycroft int	freebsd_sys_mkfifo	__P((struct proc *, void *, register_t *));
    334      1.1  mycroft int	sys_sendto	__P((struct proc *, void *, register_t *));
    335      1.1  mycroft int	sys_shutdown	__P((struct proc *, void *, register_t *));
    336      1.1  mycroft int	sys_socketpair	__P((struct proc *, void *, register_t *));
    337      1.1  mycroft int	freebsd_sys_mkdir	__P((struct proc *, void *, register_t *));
    338      1.1  mycroft int	freebsd_sys_rmdir	__P((struct proc *, void *, register_t *));
    339      1.1  mycroft int	sys_utimes	__P((struct proc *, void *, register_t *));
    340      1.1  mycroft int	sys_adjtime	__P((struct proc *, void *, register_t *));
    341      1.1  mycroft int	compat_43_sys_getpeername	__P((struct proc *, void *, register_t *));
    342      1.1  mycroft int	compat_43_sys_gethostid	__P((struct proc *, void *, register_t *));
    343      1.1  mycroft int	compat_43_sys_sethostid	__P((struct proc *, void *, register_t *));
    344      1.1  mycroft int	compat_43_sys_getrlimit	__P((struct proc *, void *, register_t *));
    345      1.1  mycroft int	compat_43_sys_setrlimit	__P((struct proc *, void *, register_t *));
    346      1.1  mycroft int	compat_43_sys_killpg	__P((struct proc *, void *, register_t *));
    347      1.1  mycroft int	sys_setsid	__P((struct proc *, void *, register_t *));
    348      1.1  mycroft int	sys_quotactl	__P((struct proc *, void *, register_t *));
    349      1.1  mycroft int	compat_43_sys_quota	__P((struct proc *, void *, register_t *));
    350      1.1  mycroft int	compat_43_sys_getsockname	__P((struct proc *, void *, register_t *));
    351      1.1  mycroft #if defined(NFSCLIENT) || defined(NFSSERVER)
    352      1.1  mycroft int	sys_nfssvc	__P((struct proc *, void *, register_t *));
    353      1.1  mycroft #else
    354      1.1  mycroft #endif
    355      1.1  mycroft int	compat_43_sys_getdirentries	__P((struct proc *, void *, register_t *));
    356      1.1  mycroft int	freebsd_sys_statfs	__P((struct proc *, void *, register_t *));
    357      1.1  mycroft int	sys_fstatfs	__P((struct proc *, void *, register_t *));
    358      1.1  mycroft #ifdef NFSCLIENT
    359      1.1  mycroft int	freebsd_sys_getfh	__P((struct proc *, void *, register_t *));
    360      1.1  mycroft #else
    361      1.1  mycroft #endif
    362      1.1  mycroft int	compat_09_sys_getdomainname	__P((struct proc *, void *, register_t *));
    363      1.1  mycroft int	compat_09_sys_setdomainname	__P((struct proc *, void *, register_t *));
    364      1.1  mycroft int	compat_09_sys_uname	__P((struct proc *, void *, register_t *));
    365      1.1  mycroft int	sys_sysarch	__P((struct proc *, void *, register_t *));
    366      1.1  mycroft int	freebsd_sys_rtprio	__P((struct proc *, void *, register_t *));
    367      1.1  mycroft #if defined(SYSVSEM) && !defined(alpha)
    368      1.1  mycroft int	compat_10_sys_semsys	__P((struct proc *, void *, register_t *));
    369      1.1  mycroft #else
    370      1.1  mycroft #endif
    371      1.1  mycroft #if defined(SYSVMSG) && !defined(alpha)
    372      1.1  mycroft int	compat_10_sys_msgsys	__P((struct proc *, void *, register_t *));
    373      1.1  mycroft #else
    374      1.1  mycroft #endif
    375      1.1  mycroft #if defined(SYSVSHM) && !defined(alpha)
    376      1.1  mycroft int	compat_10_sys_shmsys	__P((struct proc *, void *, register_t *));
    377      1.1  mycroft #else
    378      1.1  mycroft #endif
    379      1.1  mycroft int	freebsd_ntp_adjtime	__P((struct proc *, void *, register_t *));
    380      1.1  mycroft int	sys_setgid	__P((struct proc *, void *, register_t *));
    381      1.1  mycroft int	sys_setegid	__P((struct proc *, void *, register_t *));
    382      1.1  mycroft int	sys_seteuid	__P((struct proc *, void *, register_t *));
    383      1.1  mycroft #ifdef LFS
    384      1.1  mycroft int	lfs_bmapv	__P((struct proc *, void *, register_t *));
    385      1.1  mycroft int	lfs_markv	__P((struct proc *, void *, register_t *));
    386      1.1  mycroft int	lfs_segclean	__P((struct proc *, void *, register_t *));
    387      1.1  mycroft int	lfs_segwait	__P((struct proc *, void *, register_t *));
    388      1.1  mycroft #else
    389      1.1  mycroft #endif
    390      1.1  mycroft int	freebsd_sys_stat	__P((struct proc *, void *, register_t *));
    391      1.1  mycroft int	sys_fstat	__P((struct proc *, void *, register_t *));
    392      1.1  mycroft int	freebsd_sys_lstat	__P((struct proc *, void *, register_t *));
    393      1.1  mycroft int	freebsd_sys_pathconf	__P((struct proc *, void *, register_t *));
    394      1.1  mycroft int	sys_fpathconf	__P((struct proc *, void *, register_t *));
    395      1.1  mycroft int	sys_getrlimit	__P((struct proc *, void *, register_t *));
    396      1.1  mycroft int	sys_setrlimit	__P((struct proc *, void *, register_t *));
    397      1.1  mycroft int	sys_getdirentries	__P((struct proc *, void *, register_t *));
    398      1.1  mycroft int	sys_mmap	__P((struct proc *, void *, register_t *));
    399      1.1  mycroft int	sys_nosys	__P((struct proc *, void *, register_t *));
    400      1.1  mycroft int	sys_lseek	__P((struct proc *, void *, register_t *));
    401      1.1  mycroft int	freebsd_sys_truncate	__P((struct proc *, void *, register_t *));
    402      1.1  mycroft int	sys_ftruncate	__P((struct proc *, void *, register_t *));
    403      1.1  mycroft int	sys___sysctl	__P((struct proc *, void *, register_t *));
    404      1.1  mycroft int	sys_mlock	__P((struct proc *, void *, register_t *));
    405      1.1  mycroft int	sys_munlock	__P((struct proc *, void *, register_t *));
    406      1.1  mycroft #ifdef FREEBSD_BASED_ON_44LITE_R2
    407      1.1  mycroft int	freebsd_sys_undelete	__P((struct proc *, void *, register_t *));
    408      1.1  mycroft #else
    409      1.1  mycroft #endif
    410