Home | History | Annotate | Line # | Download | only in alpha
linux_syscallargs.h revision 1.1
      1  1.1  erh /*	$NetBSD: linux_syscallargs.h,v 1.1 1998/09/30 21:34:33 erh Exp $	*/
      2  1.1  erh 
      3  1.1  erh /*
      4  1.1  erh  * System call argument lists.
      5  1.1  erh  *
      6  1.1  erh  * DO NOT EDIT-- this file is automatically generated.
      7  1.1  erh  * created from	NetBSD: syscalls.master,v 1.1 1998/09/30 18:01:54 erh Exp
      8  1.1  erh  */
      9  1.1  erh 
     10  1.1  erh #define	syscallarg(x)	union { x datum; register_t pad; }
     11  1.1  erh 
     12  1.1  erh struct linux_sys_creat_args {
     13  1.1  erh 	syscallarg(char *) path;
     14  1.1  erh 	syscallarg(int) mode;
     15  1.1  erh };
     16  1.1  erh 
     17  1.1  erh struct linux_sys_unlink_args {
     18  1.1  erh 	syscallarg(char *) path;
     19  1.1  erh };
     20  1.1  erh 
     21  1.1  erh struct linux_sys_chdir_args {
     22  1.1  erh 	syscallarg(char *) path;
     23  1.1  erh };
     24  1.1  erh 
     25  1.1  erh struct linux_sys_mknod_args {
     26  1.1  erh 	syscallarg(char *) path;
     27  1.1  erh 	syscallarg(int) mode;
     28  1.1  erh 	syscallarg(int) dev;
     29  1.1  erh };
     30  1.1  erh 
     31  1.1  erh struct linux_sys_chmod_args {
     32  1.1  erh 	syscallarg(char *) path;
     33  1.1  erh 	syscallarg(int) mode;
     34  1.1  erh };
     35  1.1  erh 
     36  1.1  erh struct linux_sys_chown_args {
     37  1.1  erh 	syscallarg(char *) path;
     38  1.1  erh 	syscallarg(int) uid;
     39  1.1  erh 	syscallarg(int) gid;
     40  1.1  erh };
     41  1.1  erh 
     42  1.1  erh struct linux_sys_brk_args {
     43  1.1  erh 	syscallarg(char *) nsize;
     44  1.1  erh };
     45  1.1  erh 
     46  1.1  erh struct linux_sys_access_args {
     47  1.1  erh 	syscallarg(char *) path;
     48  1.1  erh 	syscallarg(int) flags;
     49  1.1  erh };
     50  1.1  erh 
     51  1.1  erh struct linux_sys_kill_args {
     52  1.1  erh 	syscallarg(int) pid;
     53  1.1  erh 	syscallarg(int) signum;
     54  1.1  erh };
     55  1.1  erh 
     56  1.1  erh struct linux_sys_open_args {
     57  1.1  erh 	syscallarg(char *) path;
     58  1.1  erh 	syscallarg(int) flags;
     59  1.1  erh 	syscallarg(int) mode;
     60  1.1  erh };
     61  1.1  erh 
     62  1.1  erh struct linux_sys_sigpending_args {
     63  1.1  erh 	syscallarg(linux_old_sigset_t *) set;
     64  1.1  erh };
     65  1.1  erh 
     66  1.1  erh struct linux_sys_ioctl_args {
     67  1.1  erh 	syscallarg(int) fd;
     68  1.1  erh 	syscallarg(u_long) com;
     69  1.1  erh 	syscallarg(caddr_t) data;
     70  1.1  erh };
     71  1.1  erh 
     72  1.1  erh struct linux_sys_symlink_args {
     73  1.1  erh 	syscallarg(char *) path;
     74  1.1  erh 	syscallarg(char *) to;
     75  1.1  erh };
     76  1.1  erh 
     77  1.1  erh struct linux_sys_readlink_args {
     78  1.1  erh 	syscallarg(char *) name;
     79  1.1  erh 	syscallarg(char *) buf;
     80  1.1  erh 	syscallarg(int) count;
     81  1.1  erh };
     82  1.1  erh 
     83  1.1  erh struct linux_sys_execve_args {
     84  1.1  erh 	syscallarg(char *) path;
     85  1.1  erh 	syscallarg(char **) argp;
     86  1.1  erh 	syscallarg(char **) envp;
     87  1.1  erh };
     88  1.1  erh 
     89  1.1  erh struct linux_sys_stat_args {
     90  1.1  erh 	syscallarg(char *) path;
     91  1.1  erh 	syscallarg(struct linux_stat *) sp;
     92  1.1  erh };
     93  1.1  erh 
     94  1.1  erh struct linux_sys_lstat_args {
     95  1.1  erh 	syscallarg(char *) path;
     96  1.1  erh 	syscallarg(struct linux_stat *) sp;
     97  1.1  erh };
     98  1.1  erh 
     99  1.1  erh struct linux_sys_mmap_args {
    100  1.1  erh 	syscallarg(unsigned long) addr;
    101  1.1  erh 	syscallarg(size_t) len;
    102  1.1  erh 	syscallarg(int) prot;
    103  1.1  erh 	syscallarg(int) flags;
    104  1.1  erh 	syscallarg(int) fd;
    105  1.1  erh 	syscallarg(off_t) offset;
    106  1.1  erh };
    107  1.1  erh 
    108  1.1  erh struct linux_sys_fstat_args {
    109  1.1  erh 	syscallarg(int) fd;
    110  1.1  erh 	syscallarg(struct linux_stat *) sp;
    111  1.1  erh };
    112  1.1  erh 
    113  1.1  erh struct linux_sys_fcntl_args {
    114  1.1  erh 	syscallarg(int) fd;
    115  1.1  erh 	syscallarg(int) cmd;
    116  1.1  erh 	syscallarg(void *) arg;
    117  1.1  erh };
    118  1.1  erh 
    119  1.1  erh struct linux_sys_socket_args {
    120  1.1  erh 	syscallarg(int) domain;
    121  1.1  erh 	syscallarg(int) type;
    122  1.1  erh 	syscallarg(int) protocol;
    123  1.1  erh };
    124  1.1  erh 
    125  1.1  erh struct linux_sys_sigreturn_args {
    126  1.1  erh 	syscallarg(struct linux_sigframe *) sfp;
    127  1.1  erh };
    128  1.1  erh 
    129  1.1  erh struct linux_sys_setsockopt_args {
    130  1.1  erh 	syscallarg(int) s;
    131  1.1  erh 	syscallarg(int) level;
    132  1.1  erh 	syscallarg(int) optname;
    133  1.1  erh 	syscallarg(void *) optval;
    134  1.1  erh 	syscallarg(int) optlen;
    135  1.1  erh };
    136  1.1  erh 
    137  1.1  erh struct linux_sys_sigsuspend_args {
    138  1.1  erh 	syscallarg(caddr_t) restart;
    139  1.1  erh 	syscallarg(int) oldmask;
    140  1.1  erh 	syscallarg(int) mask;
    141  1.1  erh };
    142  1.1  erh 
    143  1.1  erh struct linux_sys_getsockopt_args {
    144  1.1  erh 	syscallarg(int) s;
    145  1.1  erh 	syscallarg(int) level;
    146  1.1  erh 	syscallarg(int) optname;
    147  1.1  erh 	syscallarg(void *) optval;
    148  1.1  erh 	syscallarg(int *) optlen;
    149  1.1  erh };
    150  1.1  erh 
    151  1.1  erh struct linux_sys_fchown_args {
    152  1.1  erh 	syscallarg(int) fd;
    153  1.1  erh 	syscallarg(int) uid;
    154  1.1  erh 	syscallarg(int) gid;
    155  1.1  erh };
    156  1.1  erh 
    157  1.1  erh struct linux_sys_recvfrom_args {
    158  1.1  erh 	syscallarg(int) s;
    159  1.1  erh 	syscallarg(void *) buf;
    160  1.1  erh 	syscallarg(int) len;
    161  1.1  erh 	syscallarg(int) flags;
    162  1.1  erh 	syscallarg(struct sockaddr *) from;
    163  1.1  erh 	syscallarg(int *) fromlen;
    164  1.1  erh };
    165  1.1  erh 
    166  1.1  erh struct linux_sys_setreuid_args {
    167  1.1  erh 	syscallarg(int) ruid;
    168  1.1  erh 	syscallarg(int) euid;
    169  1.1  erh };
    170  1.1  erh 
    171  1.1  erh struct linux_sys_setregid_args {
    172  1.1  erh 	syscallarg(int) rgid;
    173  1.1  erh 	syscallarg(int) egid;
    174  1.1  erh };
    175  1.1  erh 
    176  1.1  erh struct linux_sys_rename_args {
    177  1.1  erh 	syscallarg(char *) from;
    178  1.1  erh 	syscallarg(char *) to;
    179  1.1  erh };
    180  1.1  erh 
    181  1.1  erh struct linux_sys_truncate_args {
    182  1.1  erh 	syscallarg(char *) path;
    183  1.1  erh 	syscallarg(long) length;
    184  1.1  erh };
    185  1.1  erh 
    186  1.1  erh struct linux_sys_sendto_args {
    187  1.1  erh 	syscallarg(int) s;
    188  1.1  erh 	syscallarg(void *) msg;
    189  1.1  erh 	syscallarg(int) len;
    190  1.1  erh 	syscallarg(int) flags;
    191  1.1  erh 	syscallarg(struct sockaddr *) to;
    192  1.1  erh 	syscallarg(int) tolen;
    193  1.1  erh };
    194  1.1  erh 
    195  1.1  erh struct linux_sys_socketpair_args {
    196  1.1  erh 	syscallarg(int) domain;
    197  1.1  erh 	syscallarg(int) type;
    198  1.1  erh 	syscallarg(int) protocol;
    199  1.1  erh 	syscallarg(int *) rsv;
    200  1.1  erh };
    201  1.1  erh 
    202  1.1  erh struct linux_sys_mkdir_args {
    203  1.1  erh 	syscallarg(char *) path;
    204  1.1  erh 	syscallarg(int) mode;
    205  1.1  erh };
    206  1.1  erh 
    207  1.1  erh struct linux_sys_rmdir_args {
    208  1.1  erh 	syscallarg(char *) path;
    209  1.1  erh };
    210  1.1  erh 
    211  1.1  erh struct linux_sys_sigaction_args {
    212  1.1  erh 	syscallarg(int) signum;
    213  1.1  erh 	syscallarg(const struct linux_old_sigaction *) nsa;
    214  1.1  erh 	syscallarg(struct linux_old_sigaction *) osa;
    215  1.1  erh };
    216  1.1  erh 
    217  1.1  erh struct linux_sys_olduname_args {
    218  1.1  erh 	syscallarg(struct linux_old_utsname *) up;
    219  1.1  erh };
    220  1.1  erh 
    221  1.1  erh struct linux_sys_lchown_args {
    222  1.1  erh 	syscallarg(char *) path;
    223  1.1  erh 	syscallarg(int) uid;
    224  1.1  erh 	syscallarg(int) gid;
    225  1.1  erh };
    226  1.1  erh 
    227  1.1  erh struct linux_sys_msync_args {
    228  1.1  erh 	syscallarg(caddr_t) addr;
    229  1.1  erh 	syscallarg(int) len;
    230  1.1  erh 	syscallarg(int) fl;
    231  1.1  erh };
    232  1.1  erh 
    233  1.1  erh struct linux_sys_getpgid_args {
    234  1.1  erh 	syscallarg(int) pid;
    235  1.1  erh };
    236  1.1  erh 
    237  1.1  erh struct linux_sys_fdatasync_args {
    238  1.1  erh 	syscallarg(int) fd;
    239  1.1  erh };
    240  1.1  erh 
    241  1.1  erh struct linux_sys_getdents_args {
    242  1.1  erh 	syscallarg(int) fd;
    243  1.1  erh 	syscallarg(struct linux_dirent *) dent;
    244  1.1  erh 	syscallarg(unsigned int) count;
    245  1.1  erh };
    246  1.1  erh 
    247  1.1  erh struct linux_sys_uselib_args {
    248  1.1  erh 	syscallarg(char *) path;
    249  1.1  erh };
    250  1.1  erh 
    251  1.1  erh struct linux_sys___sysctl_args {
    252  1.1  erh 	syscallarg(struct linux___sysctl *) lsp;
    253  1.1  erh };
    254  1.1  erh 
    255  1.1  erh struct linux_sys_times_args {
    256  1.1  erh 	syscallarg(struct times *) tms;
    257  1.1  erh };
    258  1.1  erh 
    259  1.1  erh struct linux_sys_personality_args {
    260  1.1  erh 	syscallarg(int) per;
    261  1.1  erh };
    262  1.1  erh 
    263  1.1  erh struct linux_sys_statfs_args {
    264  1.1  erh 	syscallarg(char *) path;
    265  1.1  erh 	syscallarg(struct linux_statfs *) sp;
    266  1.1  erh };
    267  1.1  erh 
    268  1.1  erh struct linux_sys_fstatfs_args {
    269  1.1  erh 	syscallarg(int) fd;
    270  1.1  erh 	syscallarg(struct linux_statfs *) sp;
    271  1.1  erh };
    272  1.1  erh 
    273  1.1  erh struct linux_sys_uname_args {
    274  1.1  erh 	syscallarg(struct linux_utsname *) up;
    275  1.1  erh };
    276  1.1  erh 
    277  1.1  erh struct linux_sys_mremap_args {
    278  1.1  erh 	syscallarg(void *) old_address;
    279  1.1  erh 	syscallarg(size_t) old_size;
    280  1.1  erh 	syscallarg(size_t) new_size;
    281  1.1  erh 	syscallarg(u_long) flags;
    282  1.1  erh };
    283  1.1  erh 
    284  1.1  erh struct linux_sys_rt_sigreturn_args {
    285  1.1  erh 	syscallarg(struct linux_rt_sigframe *) sfp;
    286  1.1  erh };
    287  1.1  erh 
    288  1.1  erh struct linux_sys_rt_sigaction_args {
    289  1.1  erh 	syscallarg(int) signum;
    290  1.1  erh 	syscallarg(const struct linux_sigaction *) nsa;
    291  1.1  erh 	syscallarg(struct linux_sigaction *) osa;
    292  1.1  erh 	syscallarg(size_t) sigsetsize;
    293  1.1  erh };
    294  1.1  erh 
    295  1.1  erh struct linux_sys_rt_sigprocmask_args {
    296  1.1  erh 	syscallarg(int) how;
    297  1.1  erh 	syscallarg(const linux_sigset_t *) set;
    298  1.1  erh 	syscallarg(linux_sigset_t *) oset;
    299  1.1  erh 	syscallarg(size_t) sigsetsize;
    300  1.1  erh };
    301  1.1  erh 
    302  1.1  erh struct linux_sys_rt_sigpending_args {
    303  1.1  erh 	syscallarg(linux_sigset_t *) set;
    304  1.1  erh 	syscallarg(size_t) sigsetsize;
    305  1.1  erh };
    306  1.1  erh 
    307  1.1  erh struct linux_sys_rt_queueinfo_args {
    308  1.1  erh 	syscallarg(int) pid;
    309  1.1  erh 	syscallarg(int) signum;
    310  1.1  erh 	syscallarg(siginfo_t *) uinfo;
    311  1.1  erh };
    312  1.1  erh 
    313  1.1  erh struct linux_sys_rt_sigsuspend_args {
    314  1.1  erh 	syscallarg(linux_sigset_t *) unewset;
    315  1.1  erh 	syscallarg(size_t) sigsetsize;
    316  1.1  erh };
    317  1.1  erh 
    318  1.1  erh struct linux_sys_select_args {
    319  1.1  erh 	syscallarg(int) nfds;
    320  1.1  erh 	syscallarg(fd_set *) readfds;
    321  1.1  erh 	syscallarg(fd_set *) writefds;
    322  1.1  erh 	syscallarg(fd_set *) exceptfds;
    323  1.1  erh 	syscallarg(struct timeval *) timeout;
    324  1.1  erh };
    325  1.1  erh 
    326  1.1  erh struct linux_sys_wait4_args {
    327  1.1  erh 	syscallarg(int) pid;
    328  1.1  erh 	syscallarg(int *) status;
    329  1.1  erh 	syscallarg(int) options;
    330  1.1  erh 	syscallarg(struct rusage *) rusage;
    331  1.1  erh };
    332  1.1  erh 
    333  1.1  erh /*
    334  1.1  erh  * System call prototypes.
    335  1.1  erh  */
    336  1.1  erh 
    337  1.1  erh int	sys_nosys	__P((struct proc *, void *, register_t *));
    338  1.1  erh int	sys_exit	__P((struct proc *, void *, register_t *));
    339  1.1  erh int	sys_fork	__P((struct proc *, void *, register_t *));
    340  1.1  erh int	sys_read	__P((struct proc *, void *, register_t *));
    341  1.1  erh int	sys_write	__P((struct proc *, void *, register_t *));
    342  1.1  erh int	sys_close	__P((struct proc *, void *, register_t *));
    343  1.1  erh int	linux_sys_creat	__P((struct proc *, void *, register_t *));
    344  1.1  erh int	sys_link	__P((struct proc *, void *, register_t *));
    345  1.1  erh int	linux_sys_unlink	__P((struct proc *, void *, register_t *));
    346  1.1  erh int	linux_sys_chdir	__P((struct proc *, void *, register_t *));
    347  1.1  erh int	sys_fchdir	__P((struct proc *, void *, register_t *));
    348  1.1  erh int	linux_sys_mknod	__P((struct proc *, void *, register_t *));
    349  1.1  erh int	linux_sys_chmod	__P((struct proc *, void *, register_t *));
    350  1.1  erh int	linux_sys_chown	__P((struct proc *, void *, register_t *));
    351  1.1  erh int	linux_sys_brk	__P((struct proc *, void *, register_t *));
    352  1.1  erh int	compat_43_sys_lseek	__P((struct proc *, void *, register_t *));
    353  1.1  erh int	sys_getpid	__P((struct proc *, void *, register_t *));
    354  1.1  erh int	sys_setuid	__P((struct proc *, void *, register_t *));
    355  1.1  erh int	sys_getuid	__P((struct proc *, void *, register_t *));
    356  1.1  erh int	linux_sys_access	__P((struct proc *, void *, register_t *));
    357  1.1  erh int	sys_sync	__P((struct proc *, void *, register_t *));
    358  1.1  erh int	linux_sys_kill	__P((struct proc *, void *, register_t *));
    359  1.1  erh int	sys_setpgid	__P((struct proc *, void *, register_t *));
    360  1.1  erh int	sys_dup	__P((struct proc *, void *, register_t *));
    361  1.1  erh int	linux_sys_pipe	__P((struct proc *, void *, register_t *));
    362  1.1  erh int	linux_sys_open	__P((struct proc *, void *, register_t *));
    363  1.1  erh int	sys_getgid	__P((struct proc *, void *, register_t *));
    364  1.1  erh int	sys_acct	__P((struct proc *, void *, register_t *));
    365  1.1  erh int	linux_sys_sigpending	__P((struct proc *, void *, register_t *));
    366  1.1  erh int	linux_sys_ioctl	__P((struct proc *, void *, register_t *));
    367  1.1  erh int	linux_sys_symlink	__P((struct proc *, void *, register_t *));
    368  1.1  erh int	linux_sys_readlink	__P((struct proc *, void *, register_t *));
    369  1.1  erh int	linux_sys_execve	__P((struct proc *, void *, register_t *));
    370  1.1  erh int	sys_umask	__P((struct proc *, void *, register_t *));
    371  1.1  erh int	sys_chroot	__P((struct proc *, void *, register_t *));
    372  1.1  erh int	sys_getpgrp	__P((struct proc *, void *, register_t *));
    373  1.1  erh int	compat_43_sys_getpagesize	__P((struct proc *, void *, register_t *));
    374  1.1  erh int	linux_sys_stat	__P((struct proc *, void *, register_t *));
    375  1.1  erh int	linux_sys_lstat	__P((struct proc *, void *, register_t *));
    376  1.1  erh int	linux_sys_mmap	__P((struct proc *, void *, register_t *));
    377  1.1  erh int	sys_munmap	__P((struct proc *, void *, register_t *));
    378  1.1  erh int	sys_mprotect	__P((struct proc *, void *, register_t *));
    379  1.1  erh int	sys_getgroups	__P((struct proc *, void *, register_t *));
    380  1.1  erh int	sys_setgroups	__P((struct proc *, void *, register_t *));
    381  1.1  erh int	compat_43_sys_gethostname	__P((struct proc *, void *, register_t *));
    382  1.1  erh int	compat_43_sys_sethostname	__P((struct proc *, void *, register_t *));
    383  1.1  erh int	sys_dup2	__P((struct proc *, void *, register_t *));
    384  1.1  erh int	linux_sys_fstat	__P((struct proc *, void *, register_t *));
    385  1.1  erh int	linux_sys_fcntl	__P((struct proc *, void *, register_t *));
    386  1.1  erh int	sys_fsync	__P((struct proc *, void *, register_t *));
    387  1.1  erh int	sys_setpriority	__P((struct proc *, void *, register_t *));
    388  1.1  erh int	linux_sys_socket	__P((struct proc *, void *, register_t *));
    389  1.1  erh int	sys_connect	__P((struct proc *, void *, register_t *));
    390  1.1  erh int	compat_43_sys_accept	__P((struct proc *, void *, register_t *));
    391  1.1  erh int	sys_getpriority	__P((struct proc *, void *, register_t *));
    392  1.1  erh int	compat_43_sys_send	__P((struct proc *, void *, register_t *));
    393  1.1  erh int	compat_43_sys_recv	__P((struct proc *, void *, register_t *));
    394  1.1  erh int	linux_sys_sigreturn	__P((struct proc *, void *, register_t *));
    395  1.1  erh int	sys_bind	__P((struct proc *, void *, register_t *));
    396  1.1  erh int	linux_sys_setsockopt	__P((struct proc *, void *, register_t *));
    397  1.1  erh int	sys_listen	__P((struct proc *, void *, register_t *));
    398  1.1  erh int	linux_sys_sigsuspend	__P((struct proc *, void *, register_t *));
    399  1.1  erh int	sys_recvmsg	__P((struct proc *, void *, register_t *));
    400  1.1  erh int	sys_sendmsg	__P((struct proc *, void *, register_t *));
    401  1.1  erh int	linux_sys_getsockopt	__P((struct proc *, void *, register_t *));
    402  1.1  erh int	sys_readv	__P((struct proc *, void *, register_t *));
    403  1.1  erh int	sys_writev	__P((struct proc *, void *, register_t *));
    404  1.1  erh int	linux_sys_fchown	__P((struct proc *, void *, register_t *));
    405  1.1  erh int	sys_fchmod	__P((struct proc *, void *, register_t *));
    406  1.1  erh int	linux_sys_recvfrom	__P((struct proc *, void *, register_t *));
    407  1.1  erh int	linux_sys_setreuid	__P((struct proc *, void *, register_t *));
    408  1.1  erh int	linux_sys_setregid	__P((struct proc *, void *, register_t *));
    409  1.1  erh int	linux_sys_rename	__P((struct proc *, void *, register_t *));
    410  1.1  erh int	linux_sys_truncate	__P((struct proc *, void *, register_t *));
    411  1.1  erh int	compat_43_sys_ftruncate	__P((struct proc *, void *, register_t *));
    412  1.1  erh int	sys_flock	__P((struct proc *, void *, register_t *));
    413  1.1  erh int	sys_setgid	__P((struct proc *, void *, register_t *));
    414  1.1  erh int	linux_sys_sendto	__P((struct proc *, void *, register_t *));
    415  1.1  erh int	sys_shutdown	__P((struct proc *, void *, register_t *));
    416  1.1  erh int	linux_sys_socketpair	__P((struct proc *, void *, register_t *));
    417  1.1  erh int	linux_sys_mkdir	__P((struct proc *, void *, register_t *));
    418  1.1  erh int	linux_sys_rmdir	__P((struct proc *, void *, register_t *));
    419  1.1  erh int	compat_43_sys_getpeername	__P((struct proc *, void *, register_t *));
    420  1.1  erh int	compat_43_sys_getrlimit	__P((struct proc *, void *, register_t *));
    421  1.1  erh int	compat_43_sys_setrlimit	__P((struct proc *, void *, register_t *));
    422  1.1  erh int	sys_setsid	__P((struct proc *, void *, register_t *));
    423  1.1  erh int	compat_43_sys_getsockname	__P((struct proc *, void *, register_t *));
    424  1.1  erh int	linux_sys_sigaction	__P((struct proc *, void *, register_t *));
    425  1.1  erh #ifdef SYSVMSG
    426  1.1  erh int	linux_sys_msgctl	__P((struct proc *, void *, register_t *));
    427  1.1  erh int	sys_msgget	__P((struct proc *, void *, register_t *));
    428  1.1  erh int	sys_msgrcv	__P((struct proc *, void *, register_t *));
    429  1.1  erh int	sys_msgsnd	__P((struct proc *, void *, register_t *));
    430  1.1  erh #else
    431  1.1  erh #endif
    432  1.1  erh #ifdef SYSVSEM
    433  1.1  erh int	linux_sys_semctl	__P((struct proc *, void *, register_t *));
    434  1.1  erh int	sys_semget	__P((struct proc *, void *, register_t *));
    435  1.1  erh int	sys_semop	__P((struct proc *, void *, register_t *));
    436  1.1  erh #else
    437  1.1  erh #endif
    438  1.1  erh int	linux_sys_olduname	__P((struct proc *, void *, register_t *));
    439  1.1  erh int	linux_sys_lchown	__P((struct proc *, void *, register_t *));
    440  1.1  erh #ifdef SYSVSHM
    441  1.1  erh int	linux_sys_shmat	__P((struct proc *, void *, register_t *));
    442  1.1  erh int	linux_sys_shmctl	__P((struct proc *, void *, register_t *));
    443  1.1  erh int	sys_shmdt	__P((struct proc *, void *, register_t *));
    444  1.1  erh int	sys_shmget	__P((struct proc *, void *, register_t *));
    445  1.1  erh #else
    446  1.1  erh #endif
    447  1.1  erh int	linux_sys_msync	__P((struct proc *, void *, register_t *));
    448  1.1  erh int	linux_sys_getpgid	__P((struct proc *, void *, register_t *));
    449  1.1  erh int	sys_getsid	__P((struct proc *, void *, register_t *));
    450  1.1  erh int	linux_sys_fdatasync	__P((struct proc *, void *, register_t *));
    451  1.1  erh int	linux_sys_getdents	__P((struct proc *, void *, register_t *));
    452  1.1  erh int	sys_reboot	__P((struct proc *, void *, register_t *));
    453  1.1  erh #ifdef EXEC_AOUT
    454  1.1  erh int	linux_sys_uselib	__P((struct proc *, void *, register_t *));
    455  1.1  erh #else
    456  1.1  erh #endif
    457  1.1  erh int	sys_mlock	__P((struct proc *, void *, register_t *));
    458  1.1  erh int	sys_munlock	__P((struct proc *, void *, register_t *));
    459  1.1  erh int	linux_sys___sysctl	__P((struct proc *, void *, register_t *));
    460  1.1  erh int	compat_12_sys_swapon	__P((struct proc *, void *, register_t *));
    461  1.1  erh int	linux_sys_times	__P((struct proc *, void *, register_t *));
    462  1.1  erh int	linux_sys_personality	__P((struct proc *, void *, register_t *));
    463  1.1  erh int	linux_sys_statfs	__P((struct proc *, void *, register_t *));
    464  1.1  erh int	linux_sys_fstatfs	__P((struct proc *, void *, register_t *));
    465  1.1  erh int	linux_sys_uname	__P((struct proc *, void *, register_t *));
    466  1.1  erh int	sys_nanosleep	__P((struct proc *, void *, register_t *));
    467  1.1  erh int	linux_sys_mremap	__P((struct proc *, void *, register_t *));
    468  1.1  erh int	linux_sys_rt_sigreturn	__P((struct proc *, void *, register_t *));
    469  1.1  erh int	linux_sys_rt_sigaction	__P((struct proc *, void *, register_t *));
    470  1.1  erh int	linux_sys_rt_sigprocmask	__P((struct proc *, void *, register_t *));
    471  1.1  erh int	linux_sys_rt_sigpending	__P((struct proc *, void *, register_t *));
    472  1.1  erh int	linux_sys_rt_queueinfo	__P((struct proc *, void *, register_t *));
    473  1.1  erh int	linux_sys_rt_sigsuspend	__P((struct proc *, void *, register_t *));
    474  1.1  erh int	linux_sys_select	__P((struct proc *, void *, register_t *));
    475  1.1  erh int	sys_gettimeofday	__P((struct proc *, void *, register_t *));
    476  1.1  erh int	sys_settimeofday	__P((struct proc *, void *, register_t *));
    477  1.1  erh int	sys_getitimer	__P((struct proc *, void *, register_t *));
    478  1.1  erh int	sys_setitimer	__P((struct proc *, void *, register_t *));
    479  1.1  erh int	sys_utimes	__P((struct proc *, void *, register_t *));
    480  1.1  erh int	sys_getrusage	__P((struct proc *, void *, register_t *));
    481  1.1  erh int	linux_sys_wait4	__P((struct proc *, void *, register_t *));
    482