Home | History | Annotate | Line # | Download | only in alpha
linux_syscallargs.h revision 1.16
      1   1.1      erh /*	$NetBSD: linux_syscallargs.h,v 1.16 2000/03/18 22:46:53 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.16      erh  * created from	NetBSD: syscalls.master,v 1.16 2000/03/18 20:43:33 erh Exp
      8   1.1      erh  */
      9   1.1      erh 
     10   1.7  thorpej #ifndef _LINUX_SYS__SYSCALLARGS_H_
     11   1.7  thorpej #define _LINUX_SYS__SYSCALLARGS_H_
     12   1.7  thorpej 
     13   1.3     fvdl #ifdef	syscallarg
     14   1.3     fvdl #undef	syscallarg
     15   1.3     fvdl #endif
     16   1.3     fvdl 
     17  1.12     tron #define	syscallarg(x)							\
     18  1.12     tron 	union {								\
     19  1.12     tron 		register_t pad;						\
     20  1.12     tron 		struct { x datum; } le;					\
     21  1.12     tron 		struct {						\
     22  1.12     tron 			int8_t pad[ (sizeof (register_t) < sizeof (x))	\
     23  1.12     tron 				? 0					\
     24  1.12     tron 				: sizeof (register_t) - sizeof (x)];	\
     25  1.12     tron 			x datum;					\
     26  1.12     tron 		} be;							\
     27  1.12     tron 	}
     28   1.1      erh 
     29   1.1      erh struct linux_sys_creat_args {
     30  1.15      erh 	syscallarg(const char *) path;
     31  1.15      erh 	syscallarg(mode_t) mode;
     32   1.1      erh };
     33   1.1      erh 
     34   1.1      erh struct linux_sys_unlink_args {
     35  1.15      erh 	syscallarg(const char *) path;
     36   1.1      erh };
     37   1.1      erh 
     38   1.1      erh struct linux_sys_chdir_args {
     39  1.15      erh 	syscallarg(const char *) path;
     40   1.1      erh };
     41   1.1      erh 
     42   1.1      erh struct linux_sys_mknod_args {
     43  1.15      erh 	syscallarg(const char *) path;
     44   1.1      erh 	syscallarg(int) mode;
     45   1.1      erh 	syscallarg(int) dev;
     46   1.1      erh };
     47   1.1      erh 
     48   1.1      erh struct linux_sys_chmod_args {
     49  1.15      erh 	syscallarg(const char *) path;
     50   1.1      erh 	syscallarg(int) mode;
     51   1.1      erh };
     52   1.1      erh 
     53   1.1      erh struct linux_sys_chown_args {
     54  1.15      erh 	syscallarg(const char *) path;
     55   1.1      erh 	syscallarg(int) uid;
     56   1.1      erh 	syscallarg(int) gid;
     57   1.1      erh };
     58   1.1      erh 
     59   1.1      erh struct linux_sys_brk_args {
     60   1.1      erh 	syscallarg(char *) nsize;
     61   1.1      erh };
     62   1.1      erh 
     63  1.14     tron struct linux_sys_ptrace_args {
     64  1.15      erh 	syscallarg(long) request;
     65  1.15      erh 	syscallarg(long) pid;
     66  1.15      erh 	syscallarg(long) addr;
     67  1.15      erh 	syscallarg(long) data;
     68  1.14     tron };
     69  1.14     tron 
     70   1.1      erh struct linux_sys_access_args {
     71  1.15      erh 	syscallarg(const char *) path;
     72   1.1      erh 	syscallarg(int) flags;
     73   1.1      erh };
     74   1.1      erh 
     75   1.1      erh struct linux_sys_kill_args {
     76   1.1      erh 	syscallarg(int) pid;
     77   1.1      erh 	syscallarg(int) signum;
     78   1.1      erh };
     79   1.1      erh 
     80   1.1      erh struct linux_sys_open_args {
     81  1.15      erh 	syscallarg(const char *) path;
     82   1.1      erh 	syscallarg(int) flags;
     83   1.1      erh 	syscallarg(int) mode;
     84   1.1      erh };
     85   1.1      erh 
     86   1.1      erh struct linux_sys_sigpending_args {
     87   1.1      erh 	syscallarg(linux_old_sigset_t *) set;
     88   1.1      erh };
     89   1.1      erh 
     90   1.1      erh struct linux_sys_ioctl_args {
     91   1.1      erh 	syscallarg(int) fd;
     92   1.1      erh 	syscallarg(u_long) com;
     93   1.1      erh 	syscallarg(caddr_t) data;
     94   1.1      erh };
     95   1.1      erh 
     96   1.1      erh struct linux_sys_symlink_args {
     97  1.15      erh 	syscallarg(const char *) path;
     98  1.15      erh 	syscallarg(const char *) to;
     99   1.1      erh };
    100   1.1      erh 
    101   1.1      erh struct linux_sys_readlink_args {
    102  1.15      erh 	syscallarg(const char *) name;
    103   1.1      erh 	syscallarg(char *) buf;
    104   1.1      erh 	syscallarg(int) count;
    105   1.1      erh };
    106   1.1      erh 
    107   1.1      erh struct linux_sys_execve_args {
    108  1.15      erh 	syscallarg(const char *) path;
    109   1.1      erh 	syscallarg(char **) argp;
    110   1.1      erh 	syscallarg(char **) envp;
    111   1.1      erh };
    112   1.1      erh 
    113   1.1      erh struct linux_sys_stat_args {
    114  1.15      erh 	syscallarg(const char *) path;
    115   1.1      erh 	syscallarg(struct linux_stat *) sp;
    116   1.1      erh };
    117   1.1      erh 
    118   1.1      erh struct linux_sys_lstat_args {
    119  1.15      erh 	syscallarg(const char *) path;
    120   1.1      erh 	syscallarg(struct linux_stat *) sp;
    121   1.1      erh };
    122   1.1      erh 
    123   1.1      erh struct linux_sys_fstat_args {
    124   1.1      erh 	syscallarg(int) fd;
    125   1.1      erh 	syscallarg(struct linux_stat *) sp;
    126   1.1      erh };
    127   1.1      erh 
    128   1.1      erh struct linux_sys_fcntl_args {
    129   1.1      erh 	syscallarg(int) fd;
    130   1.1      erh 	syscallarg(int) cmd;
    131   1.1      erh 	syscallarg(void *) arg;
    132   1.1      erh };
    133   1.1      erh 
    134   1.1      erh struct linux_sys_socket_args {
    135   1.1      erh 	syscallarg(int) domain;
    136   1.1      erh 	syscallarg(int) type;
    137   1.1      erh 	syscallarg(int) protocol;
    138   1.1      erh };
    139   1.1      erh 
    140  1.16      erh struct linux_sys_connect_args {
    141  1.16      erh 	syscallarg(int) s;
    142  1.16      erh 	syscallarg(const struct sockaddr *) name;
    143  1.16      erh 	syscallarg(unsigned int) namelen;
    144  1.16      erh };
    145  1.16      erh 
    146   1.1      erh struct linux_sys_sigreturn_args {
    147   1.1      erh 	syscallarg(struct linux_sigframe *) sfp;
    148   1.1      erh };
    149   1.1      erh 
    150   1.1      erh struct linux_sys_setsockopt_args {
    151   1.1      erh 	syscallarg(int) s;
    152   1.1      erh 	syscallarg(int) level;
    153   1.1      erh 	syscallarg(int) optname;
    154   1.1      erh 	syscallarg(void *) optval;
    155   1.1      erh 	syscallarg(int) optlen;
    156   1.1      erh };
    157   1.1      erh 
    158   1.1      erh struct linux_sys_sigsuspend_args {
    159   1.1      erh 	syscallarg(caddr_t) restart;
    160   1.1      erh 	syscallarg(int) oldmask;
    161   1.1      erh 	syscallarg(int) mask;
    162   1.1      erh };
    163   1.1      erh 
    164   1.1      erh struct linux_sys_getsockopt_args {
    165   1.1      erh 	syscallarg(int) s;
    166   1.1      erh 	syscallarg(int) level;
    167   1.1      erh 	syscallarg(int) optname;
    168   1.1      erh 	syscallarg(void *) optval;
    169   1.1      erh 	syscallarg(int *) optlen;
    170   1.1      erh };
    171   1.1      erh 
    172   1.1      erh struct linux_sys_fchown_args {
    173   1.1      erh 	syscallarg(int) fd;
    174   1.1      erh 	syscallarg(int) uid;
    175   1.1      erh 	syscallarg(int) gid;
    176   1.1      erh };
    177   1.1      erh 
    178   1.1      erh struct linux_sys_recvfrom_args {
    179   1.1      erh 	syscallarg(int) s;
    180   1.1      erh 	syscallarg(void *) buf;
    181   1.1      erh 	syscallarg(int) len;
    182   1.1      erh 	syscallarg(int) flags;
    183   1.1      erh 	syscallarg(struct sockaddr *) from;
    184   1.1      erh 	syscallarg(int *) fromlen;
    185   1.1      erh };
    186   1.1      erh 
    187   1.1      erh struct linux_sys_setreuid_args {
    188   1.1      erh 	syscallarg(int) ruid;
    189   1.1      erh 	syscallarg(int) euid;
    190   1.1      erh };
    191   1.1      erh 
    192   1.1      erh struct linux_sys_setregid_args {
    193   1.1      erh 	syscallarg(int) rgid;
    194   1.1      erh 	syscallarg(int) egid;
    195   1.1      erh };
    196   1.1      erh 
    197   1.1      erh struct linux_sys_rename_args {
    198  1.15      erh 	syscallarg(const char *) from;
    199  1.15      erh 	syscallarg(const char *) to;
    200   1.1      erh };
    201   1.1      erh 
    202   1.1      erh struct linux_sys_truncate_args {
    203  1.15      erh 	syscallarg(const char *) path;
    204   1.1      erh 	syscallarg(long) length;
    205   1.1      erh };
    206   1.1      erh 
    207   1.1      erh struct linux_sys_sendto_args {
    208   1.1      erh 	syscallarg(int) s;
    209   1.1      erh 	syscallarg(void *) msg;
    210   1.1      erh 	syscallarg(int) len;
    211   1.1      erh 	syscallarg(int) flags;
    212   1.1      erh 	syscallarg(struct sockaddr *) to;
    213   1.1      erh 	syscallarg(int) tolen;
    214   1.1      erh };
    215   1.1      erh 
    216   1.1      erh struct linux_sys_socketpair_args {
    217   1.1      erh 	syscallarg(int) domain;
    218   1.1      erh 	syscallarg(int) type;
    219   1.1      erh 	syscallarg(int) protocol;
    220   1.1      erh 	syscallarg(int *) rsv;
    221   1.1      erh };
    222   1.1      erh 
    223   1.1      erh struct linux_sys_mkdir_args {
    224  1.15      erh 	syscallarg(const char *) path;
    225   1.1      erh 	syscallarg(int) mode;
    226   1.1      erh };
    227   1.1      erh 
    228   1.1      erh struct linux_sys_rmdir_args {
    229  1.15      erh 	syscallarg(const char *) path;
    230   1.1      erh };
    231   1.1      erh 
    232   1.1      erh struct linux_sys_sigaction_args {
    233   1.1      erh 	syscallarg(int) signum;
    234   1.1      erh 	syscallarg(const struct linux_old_sigaction *) nsa;
    235   1.1      erh 	syscallarg(struct linux_old_sigaction *) osa;
    236   1.1      erh };
    237   1.1      erh 
    238   1.1      erh struct linux_sys_olduname_args {
    239   1.1      erh 	syscallarg(struct linux_old_utsname *) up;
    240   1.1      erh };
    241   1.1      erh 
    242   1.1      erh struct linux_sys_lchown_args {
    243   1.1      erh 	syscallarg(char *) path;
    244   1.1      erh 	syscallarg(int) uid;
    245   1.1      erh 	syscallarg(int) gid;
    246   1.1      erh };
    247   1.1      erh 
    248   1.1      erh struct linux_sys_msync_args {
    249   1.1      erh 	syscallarg(caddr_t) addr;
    250   1.1      erh 	syscallarg(int) len;
    251   1.1      erh 	syscallarg(int) fl;
    252   1.1      erh };
    253   1.1      erh 
    254   1.1      erh struct linux_sys_getpgid_args {
    255   1.1      erh 	syscallarg(int) pid;
    256   1.1      erh };
    257   1.1      erh 
    258   1.1      erh struct linux_sys_fdatasync_args {
    259   1.1      erh 	syscallarg(int) fd;
    260   1.1      erh };
    261   1.1      erh 
    262   1.1      erh struct linux_sys_getdents_args {
    263   1.1      erh 	syscallarg(int) fd;
    264   1.1      erh 	syscallarg(struct linux_dirent *) dent;
    265   1.1      erh 	syscallarg(unsigned int) count;
    266   1.1      erh };
    267   1.1      erh 
    268  1.16      erh struct linux_sys_reboot_args {
    269  1.16      erh 	syscallarg(int) magic1;
    270  1.16      erh 	syscallarg(int) magic2;
    271  1.16      erh 	syscallarg(int) cmd;
    272  1.16      erh 	syscallarg(void *) arg;
    273  1.16      erh };
    274  1.16      erh 
    275   1.1      erh struct linux_sys_uselib_args {
    276   1.1      erh 	syscallarg(char *) path;
    277   1.1      erh };
    278   1.1      erh 
    279   1.1      erh struct linux_sys___sysctl_args {
    280   1.1      erh 	syscallarg(struct linux___sysctl *) lsp;
    281   1.1      erh };
    282   1.1      erh 
    283   1.1      erh struct linux_sys_times_args {
    284   1.1      erh 	syscallarg(struct times *) tms;
    285   1.1      erh };
    286   1.1      erh 
    287   1.1      erh struct linux_sys_personality_args {
    288   1.1      erh 	syscallarg(int) per;
    289   1.1      erh };
    290   1.1      erh 
    291  1.15      erh struct linux_sys_setfsuid_args {
    292  1.15      erh 	syscallarg(uid_t) uid;
    293  1.15      erh };
    294  1.15      erh 
    295   1.1      erh struct linux_sys_statfs_args {
    296  1.15      erh 	syscallarg(const char *) path;
    297   1.1      erh 	syscallarg(struct linux_statfs *) sp;
    298   1.1      erh };
    299   1.1      erh 
    300   1.1      erh struct linux_sys_fstatfs_args {
    301   1.1      erh 	syscallarg(int) fd;
    302   1.1      erh 	syscallarg(struct linux_statfs *) sp;
    303   1.1      erh };
    304   1.1      erh 
    305  1.12     tron struct linux_sys_sched_setparam_args {
    306  1.12     tron 	syscallarg(pid_t) pid;
    307  1.12     tron 	syscallarg(const struct linux_sched_param *) sp;
    308  1.12     tron };
    309  1.12     tron 
    310  1.12     tron struct linux_sys_sched_getparam_args {
    311  1.12     tron 	syscallarg(pid_t) pid;
    312  1.12     tron 	syscallarg(struct linux_sched_param *) sp;
    313  1.12     tron };
    314  1.12     tron 
    315  1.12     tron struct linux_sys_sched_setscheduler_args {
    316  1.12     tron 	syscallarg(pid_t) pid;
    317  1.12     tron 	syscallarg(int) policy;
    318  1.12     tron 	syscallarg(const struct linux_sched_param *) sp;
    319  1.12     tron };
    320  1.12     tron 
    321  1.12     tron struct linux_sys_sched_getscheduler_args {
    322  1.12     tron 	syscallarg(pid_t) pid;
    323  1.12     tron };
    324  1.12     tron 
    325  1.12     tron struct linux_sys_sched_get_priority_max_args {
    326  1.12     tron 	syscallarg(int) policy;
    327  1.12     tron };
    328  1.12     tron 
    329  1.12     tron struct linux_sys_sched_get_priority_min_args {
    330  1.12     tron 	syscallarg(int) policy;
    331  1.12     tron };
    332  1.12     tron 
    333   1.1      erh struct linux_sys_uname_args {
    334   1.1      erh 	syscallarg(struct linux_utsname *) up;
    335   1.1      erh };
    336   1.1      erh 
    337   1.1      erh struct linux_sys_mremap_args {
    338   1.1      erh 	syscallarg(void *) old_address;
    339   1.1      erh 	syscallarg(size_t) old_size;
    340   1.1      erh 	syscallarg(size_t) new_size;
    341   1.1      erh 	syscallarg(u_long) flags;
    342   1.1      erh };
    343   1.1      erh 
    344  1.11  thorpej struct linux_sys_setresuid_args {
    345  1.11  thorpej 	syscallarg(uid_t) ruid;
    346  1.11  thorpej 	syscallarg(uid_t) euid;
    347  1.11  thorpej 	syscallarg(uid_t) suid;
    348  1.11  thorpej };
    349  1.11  thorpej 
    350  1.11  thorpej struct linux_sys_getresuid_args {
    351  1.11  thorpej 	syscallarg(uid_t *) ruid;
    352  1.11  thorpej 	syscallarg(uid_t *) euid;
    353  1.11  thorpej 	syscallarg(uid_t *) suid;
    354  1.11  thorpej };
    355  1.11  thorpej 
    356  1.13     tron struct linux_sys_pread_args {
    357  1.13     tron 	syscallarg(int) fd;
    358  1.13     tron 	syscallarg(char *) buf;
    359  1.13     tron 	syscallarg(size_t) nbyte;
    360  1.13     tron 	syscallarg(linux_off_t) offset;
    361  1.13     tron };
    362  1.13     tron 
    363  1.13     tron struct linux_sys_pwrite_args {
    364  1.13     tron 	syscallarg(int) fd;
    365  1.13     tron 	syscallarg(char *) buf;
    366  1.13     tron 	syscallarg(size_t) nbyte;
    367  1.13     tron 	syscallarg(linux_off_t) offset;
    368  1.13     tron };
    369  1.13     tron 
    370   1.1      erh struct linux_sys_rt_sigreturn_args {
    371   1.1      erh 	syscallarg(struct linux_rt_sigframe *) sfp;
    372   1.1      erh };
    373   1.1      erh 
    374   1.1      erh struct linux_sys_rt_sigaction_args {
    375   1.1      erh 	syscallarg(int) signum;
    376   1.1      erh 	syscallarg(const struct linux_sigaction *) nsa;
    377   1.1      erh 	syscallarg(struct linux_sigaction *) osa;
    378   1.1      erh 	syscallarg(size_t) sigsetsize;
    379   1.1      erh };
    380   1.1      erh 
    381   1.1      erh struct linux_sys_rt_sigprocmask_args {
    382   1.1      erh 	syscallarg(int) how;
    383   1.1      erh 	syscallarg(const linux_sigset_t *) set;
    384   1.1      erh 	syscallarg(linux_sigset_t *) oset;
    385   1.1      erh 	syscallarg(size_t) sigsetsize;
    386   1.1      erh };
    387   1.1      erh 
    388   1.1      erh struct linux_sys_rt_sigpending_args {
    389   1.1      erh 	syscallarg(linux_sigset_t *) set;
    390   1.1      erh 	syscallarg(size_t) sigsetsize;
    391   1.1      erh };
    392   1.1      erh 
    393   1.1      erh struct linux_sys_rt_queueinfo_args {
    394   1.1      erh 	syscallarg(int) pid;
    395   1.1      erh 	syscallarg(int) signum;
    396   1.4      erh 	syscallarg(linux_siginfo_t *) uinfo;
    397   1.1      erh };
    398   1.1      erh 
    399   1.1      erh struct linux_sys_rt_sigsuspend_args {
    400   1.1      erh 	syscallarg(linux_sigset_t *) unewset;
    401   1.1      erh 	syscallarg(size_t) sigsetsize;
    402   1.1      erh };
    403   1.1      erh 
    404   1.1      erh struct linux_sys_select_args {
    405   1.1      erh 	syscallarg(int) nfds;
    406   1.1      erh 	syscallarg(fd_set *) readfds;
    407   1.1      erh 	syscallarg(fd_set *) writefds;
    408   1.1      erh 	syscallarg(fd_set *) exceptfds;
    409   1.1      erh 	syscallarg(struct timeval *) timeout;
    410   1.1      erh };
    411   1.1      erh 
    412   1.1      erh struct linux_sys_wait4_args {
    413   1.1      erh 	syscallarg(int) pid;
    414   1.1      erh 	syscallarg(int *) status;
    415   1.1      erh 	syscallarg(int) options;
    416   1.1      erh 	syscallarg(struct rusage *) rusage;
    417   1.1      erh };
    418   1.1      erh 
    419   1.1      erh /*
    420   1.1      erh  * System call prototypes.
    421   1.1      erh  */
    422   1.1      erh 
    423   1.1      erh int	sys_nosys	__P((struct proc *, void *, register_t *));
    424   1.1      erh int	sys_exit	__P((struct proc *, void *, register_t *));
    425   1.1      erh int	sys_fork	__P((struct proc *, void *, register_t *));
    426   1.1      erh int	sys_read	__P((struct proc *, void *, register_t *));
    427   1.1      erh int	sys_write	__P((struct proc *, void *, register_t *));
    428   1.1      erh int	sys_close	__P((struct proc *, void *, register_t *));
    429   1.1      erh int	linux_sys_creat	__P((struct proc *, void *, register_t *));
    430   1.1      erh int	sys_link	__P((struct proc *, void *, register_t *));
    431   1.1      erh int	linux_sys_unlink	__P((struct proc *, void *, register_t *));
    432   1.1      erh int	linux_sys_chdir	__P((struct proc *, void *, register_t *));
    433   1.1      erh int	sys_fchdir	__P((struct proc *, void *, register_t *));
    434   1.1      erh int	linux_sys_mknod	__P((struct proc *, void *, register_t *));
    435   1.1      erh int	linux_sys_chmod	__P((struct proc *, void *, register_t *));
    436   1.1      erh int	linux_sys_chown	__P((struct proc *, void *, register_t *));
    437   1.1      erh int	linux_sys_brk	__P((struct proc *, void *, register_t *));
    438   1.1      erh int	compat_43_sys_lseek	__P((struct proc *, void *, register_t *));
    439   1.1      erh int	sys_getpid	__P((struct proc *, void *, register_t *));
    440   1.1      erh int	sys_setuid	__P((struct proc *, void *, register_t *));
    441   1.1      erh int	sys_getuid	__P((struct proc *, void *, register_t *));
    442  1.14     tron int	linux_sys_ptrace	__P((struct proc *, void *, register_t *));
    443   1.1      erh int	linux_sys_access	__P((struct proc *, void *, register_t *));
    444   1.1      erh int	sys_sync	__P((struct proc *, void *, register_t *));
    445   1.1      erh int	linux_sys_kill	__P((struct proc *, void *, register_t *));
    446   1.1      erh int	sys_setpgid	__P((struct proc *, void *, register_t *));
    447   1.1      erh int	sys_dup	__P((struct proc *, void *, register_t *));
    448   1.1      erh int	linux_sys_pipe	__P((struct proc *, void *, register_t *));
    449   1.1      erh int	linux_sys_open	__P((struct proc *, void *, register_t *));
    450   1.1      erh int	sys_getgid	__P((struct proc *, void *, register_t *));
    451   1.1      erh int	sys_acct	__P((struct proc *, void *, register_t *));
    452   1.1      erh int	linux_sys_sigpending	__P((struct proc *, void *, register_t *));
    453   1.1      erh int	linux_sys_ioctl	__P((struct proc *, void *, register_t *));
    454   1.1      erh int	linux_sys_symlink	__P((struct proc *, void *, register_t *));
    455   1.1      erh int	linux_sys_readlink	__P((struct proc *, void *, register_t *));
    456   1.1      erh int	linux_sys_execve	__P((struct proc *, void *, register_t *));
    457   1.1      erh int	sys_umask	__P((struct proc *, void *, register_t *));
    458   1.1      erh int	sys_chroot	__P((struct proc *, void *, register_t *));
    459   1.1      erh int	sys_getpgrp	__P((struct proc *, void *, register_t *));
    460   1.1      erh int	compat_43_sys_getpagesize	__P((struct proc *, void *, register_t *));
    461  1.11  thorpej int	sys___vfork14	__P((struct proc *, void *, register_t *));
    462   1.1      erh int	linux_sys_stat	__P((struct proc *, void *, register_t *));
    463   1.1      erh int	linux_sys_lstat	__P((struct proc *, void *, register_t *));
    464   1.1      erh int	linux_sys_mmap	__P((struct proc *, void *, register_t *));
    465   1.1      erh int	sys_munmap	__P((struct proc *, void *, register_t *));
    466   1.1      erh int	sys_mprotect	__P((struct proc *, void *, register_t *));
    467   1.1      erh int	sys_getgroups	__P((struct proc *, void *, register_t *));
    468   1.1      erh int	sys_setgroups	__P((struct proc *, void *, register_t *));
    469   1.1      erh int	compat_43_sys_gethostname	__P((struct proc *, void *, register_t *));
    470   1.1      erh int	compat_43_sys_sethostname	__P((struct proc *, void *, register_t *));
    471   1.1      erh int	sys_dup2	__P((struct proc *, void *, register_t *));
    472   1.1      erh int	linux_sys_fstat	__P((struct proc *, void *, register_t *));
    473   1.1      erh int	linux_sys_fcntl	__P((struct proc *, void *, register_t *));
    474   1.9     tron int	sys_poll	__P((struct proc *, void *, register_t *));
    475   1.1      erh int	sys_fsync	__P((struct proc *, void *, register_t *));
    476   1.1      erh int	sys_setpriority	__P((struct proc *, void *, register_t *));
    477   1.1      erh int	linux_sys_socket	__P((struct proc *, void *, register_t *));
    478  1.16      erh int	linux_sys_connect	__P((struct proc *, void *, register_t *));
    479   1.1      erh int	compat_43_sys_accept	__P((struct proc *, void *, register_t *));
    480   1.1      erh int	sys_getpriority	__P((struct proc *, void *, register_t *));
    481   1.1      erh int	compat_43_sys_send	__P((struct proc *, void *, register_t *));
    482   1.1      erh int	compat_43_sys_recv	__P((struct proc *, void *, register_t *));
    483   1.1      erh int	linux_sys_sigreturn	__P((struct proc *, void *, register_t *));
    484   1.1      erh int	sys_bind	__P((struct proc *, void *, register_t *));
    485   1.1      erh int	linux_sys_setsockopt	__P((struct proc *, void *, register_t *));
    486   1.1      erh int	sys_listen	__P((struct proc *, void *, register_t *));
    487   1.1      erh int	linux_sys_sigsuspend	__P((struct proc *, void *, register_t *));
    488   1.1      erh int	sys_recvmsg	__P((struct proc *, void *, register_t *));
    489   1.1      erh int	sys_sendmsg	__P((struct proc *, void *, register_t *));
    490   1.1      erh int	linux_sys_getsockopt	__P((struct proc *, void *, register_t *));
    491   1.1      erh int	sys_readv	__P((struct proc *, void *, register_t *));
    492   1.1      erh int	sys_writev	__P((struct proc *, void *, register_t *));
    493   1.1      erh int	linux_sys_fchown	__P((struct proc *, void *, register_t *));
    494   1.1      erh int	sys_fchmod	__P((struct proc *, void *, register_t *));
    495   1.1      erh int	linux_sys_recvfrom	__P((struct proc *, void *, register_t *));
    496   1.1      erh int	linux_sys_setreuid	__P((struct proc *, void *, register_t *));
    497   1.1      erh int	linux_sys_setregid	__P((struct proc *, void *, register_t *));
    498   1.1      erh int	linux_sys_rename	__P((struct proc *, void *, register_t *));
    499   1.1      erh int	linux_sys_truncate	__P((struct proc *, void *, register_t *));
    500   1.1      erh int	compat_43_sys_ftruncate	__P((struct proc *, void *, register_t *));
    501   1.1      erh int	sys_flock	__P((struct proc *, void *, register_t *));
    502   1.1      erh int	sys_setgid	__P((struct proc *, void *, register_t *));
    503   1.1      erh int	linux_sys_sendto	__P((struct proc *, void *, register_t *));
    504   1.1      erh int	sys_shutdown	__P((struct proc *, void *, register_t *));
    505   1.1      erh int	linux_sys_socketpair	__P((struct proc *, void *, register_t *));
    506   1.1      erh int	linux_sys_mkdir	__P((struct proc *, void *, register_t *));
    507   1.1      erh int	linux_sys_rmdir	__P((struct proc *, void *, register_t *));
    508   1.1      erh int	compat_43_sys_getpeername	__P((struct proc *, void *, register_t *));
    509   1.1      erh int	compat_43_sys_getrlimit	__P((struct proc *, void *, register_t *));
    510   1.1      erh int	compat_43_sys_setrlimit	__P((struct proc *, void *, register_t *));
    511   1.1      erh int	sys_setsid	__P((struct proc *, void *, register_t *));
    512   1.1      erh int	compat_43_sys_getsockname	__P((struct proc *, void *, register_t *));
    513   1.1      erh int	linux_sys_sigaction	__P((struct proc *, void *, register_t *));
    514   1.1      erh #ifdef SYSVMSG
    515   1.1      erh int	linux_sys_msgctl	__P((struct proc *, void *, register_t *));
    516   1.1      erh int	sys_msgget	__P((struct proc *, void *, register_t *));
    517   1.1      erh int	sys_msgrcv	__P((struct proc *, void *, register_t *));
    518   1.1      erh int	sys_msgsnd	__P((struct proc *, void *, register_t *));
    519   1.1      erh #else
    520   1.1      erh #endif
    521   1.1      erh #ifdef SYSVSEM
    522   1.1      erh int	linux_sys_semctl	__P((struct proc *, void *, register_t *));
    523   1.1      erh int	sys_semget	__P((struct proc *, void *, register_t *));
    524   1.1      erh int	sys_semop	__P((struct proc *, void *, register_t *));
    525   1.1      erh #else
    526   1.1      erh #endif
    527   1.1      erh int	linux_sys_olduname	__P((struct proc *, void *, register_t *));
    528   1.1      erh int	linux_sys_lchown	__P((struct proc *, void *, register_t *));
    529   1.1      erh #ifdef SYSVSHM
    530   1.1      erh int	linux_sys_shmat	__P((struct proc *, void *, register_t *));
    531   1.1      erh int	linux_sys_shmctl	__P((struct proc *, void *, register_t *));
    532   1.1      erh int	sys_shmdt	__P((struct proc *, void *, register_t *));
    533   1.1      erh int	sys_shmget	__P((struct proc *, void *, register_t *));
    534   1.1      erh #else
    535   1.1      erh #endif
    536   1.1      erh int	linux_sys_msync	__P((struct proc *, void *, register_t *));
    537   1.1      erh int	linux_sys_getpgid	__P((struct proc *, void *, register_t *));
    538   1.1      erh int	sys_getsid	__P((struct proc *, void *, register_t *));
    539   1.1      erh int	linux_sys_fdatasync	__P((struct proc *, void *, register_t *));
    540   1.1      erh int	linux_sys_getdents	__P((struct proc *, void *, register_t *));
    541  1.16      erh int	linux_sys_reboot	__P((struct proc *, void *, register_t *));
    542   1.1      erh #ifdef EXEC_AOUT
    543   1.1      erh int	linux_sys_uselib	__P((struct proc *, void *, register_t *));
    544   1.1      erh #else
    545   1.1      erh #endif
    546   1.1      erh int	sys_mlock	__P((struct proc *, void *, register_t *));
    547   1.1      erh int	sys_munlock	__P((struct proc *, void *, register_t *));
    548   1.1      erh int	linux_sys___sysctl	__P((struct proc *, void *, register_t *));
    549   1.1      erh int	compat_12_sys_swapon	__P((struct proc *, void *, register_t *));
    550   1.1      erh int	linux_sys_times	__P((struct proc *, void *, register_t *));
    551   1.1      erh int	linux_sys_personality	__P((struct proc *, void *, register_t *));
    552  1.15      erh int	linux_sys_setfsuid	__P((struct proc *, void *, register_t *));
    553   1.1      erh int	linux_sys_statfs	__P((struct proc *, void *, register_t *));
    554   1.1      erh int	linux_sys_fstatfs	__P((struct proc *, void *, register_t *));
    555  1.12     tron int	linux_sys_sched_setparam	__P((struct proc *, void *, register_t *));
    556  1.12     tron int	linux_sys_sched_getparam	__P((struct proc *, void *, register_t *));
    557  1.12     tron int	linux_sys_sched_setscheduler	__P((struct proc *, void *, register_t *));
    558  1.12     tron int	linux_sys_sched_getscheduler	__P((struct proc *, void *, register_t *));
    559  1.12     tron int	linux_sys_sched_yield	__P((struct proc *, void *, register_t *));
    560  1.12     tron int	linux_sys_sched_get_priority_max	__P((struct proc *, void *, register_t *));
    561  1.12     tron int	linux_sys_sched_get_priority_min	__P((struct proc *, void *, register_t *));
    562   1.1      erh int	linux_sys_uname	__P((struct proc *, void *, register_t *));
    563   1.1      erh int	sys_nanosleep	__P((struct proc *, void *, register_t *));
    564   1.1      erh int	linux_sys_mremap	__P((struct proc *, void *, register_t *));
    565  1.11  thorpej int	linux_sys_setresuid	__P((struct proc *, void *, register_t *));
    566  1.11  thorpej int	linux_sys_getresuid	__P((struct proc *, void *, register_t *));
    567  1.13     tron int	linux_sys_pread	__P((struct proc *, void *, register_t *));
    568  1.13     tron int	linux_sys_pwrite	__P((struct proc *, void *, register_t *));
    569   1.1      erh int	linux_sys_rt_sigreturn	__P((struct proc *, void *, register_t *));
    570   1.1      erh int	linux_sys_rt_sigaction	__P((struct proc *, void *, register_t *));
    571   1.1      erh int	linux_sys_rt_sigprocmask	__P((struct proc *, void *, register_t *));
    572   1.1      erh int	linux_sys_rt_sigpending	__P((struct proc *, void *, register_t *));
    573   1.1      erh int	linux_sys_rt_queueinfo	__P((struct proc *, void *, register_t *));
    574   1.1      erh int	linux_sys_rt_sigsuspend	__P((struct proc *, void *, register_t *));
    575   1.1      erh int	linux_sys_select	__P((struct proc *, void *, register_t *));
    576   1.1      erh int	sys_gettimeofday	__P((struct proc *, void *, register_t *));
    577   1.1      erh int	sys_settimeofday	__P((struct proc *, void *, register_t *));
    578   1.1      erh int	sys_getitimer	__P((struct proc *, void *, register_t *));
    579   1.1      erh int	sys_setitimer	__P((struct proc *, void *, register_t *));
    580   1.1      erh int	sys_utimes	__P((struct proc *, void *, register_t *));
    581   1.1      erh int	sys_getrusage	__P((struct proc *, void *, register_t *));
    582   1.1      erh int	linux_sys_wait4	__P((struct proc *, void *, register_t *));
    583   1.8     tron int	sys___getcwd	__P((struct proc *, void *, register_t *));
    584   1.7  thorpej #endif /* _LINUX_SYS__SYSCALLARGS_H_ */
    585