Home | History | Annotate | Line # | Download | only in alpha
linux_syscallargs.h revision 1.34.2.4
      1  1.34.2.4   nathanw /* $NetBSD: linux_syscallargs.h,v 1.34.2.4 2001/08/30 23:43:44 nathanw 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.34.2.4   nathanw  * created from	NetBSD: syscalls.master,v 1.31.2.3 2001/08/24 00:08:47 nathanw Exp
      8       1.1       erh  */
      9       1.1       erh 
     10       1.7   thorpej #ifndef _LINUX_SYS__SYSCALLARGS_H_
     11  1.34.2.2   nathanw #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.23       erh struct osf1_sys_wait4_args {
     30      1.23       erh 	syscallarg(int) pid;
     31      1.23       erh 	syscallarg(int *) status;
     32      1.23       erh 	syscallarg(int) options;
     33      1.23       erh 	syscallarg(struct osf1_rusage *) rusage;
     34      1.23       erh };
     35      1.23       erh 
     36       1.1       erh struct linux_sys_creat_args {
     37      1.15       erh 	syscallarg(const char *) path;
     38      1.15       erh 	syscallarg(mode_t) mode;
     39       1.1       erh };
     40       1.1       erh 
     41      1.33      fvdl struct linux_sys_link_args {
     42      1.33      fvdl 	syscallarg(const char *) path;
     43      1.33      fvdl 	syscallarg(const char *) link;
     44      1.33      fvdl };
     45      1.33      fvdl 
     46       1.1       erh struct linux_sys_unlink_args {
     47      1.15       erh 	syscallarg(const char *) path;
     48       1.1       erh };
     49       1.1       erh 
     50       1.1       erh struct linux_sys_chdir_args {
     51      1.15       erh 	syscallarg(const char *) path;
     52       1.1       erh };
     53       1.1       erh 
     54       1.1       erh struct linux_sys_mknod_args {
     55      1.15       erh 	syscallarg(const char *) path;
     56       1.1       erh 	syscallarg(int) mode;
     57       1.1       erh 	syscallarg(int) dev;
     58       1.1       erh };
     59       1.1       erh 
     60       1.1       erh struct linux_sys_chmod_args {
     61      1.15       erh 	syscallarg(const char *) path;
     62       1.1       erh 	syscallarg(int) mode;
     63       1.1       erh };
     64       1.1       erh 
     65       1.1       erh struct linux_sys_brk_args {
     66       1.1       erh 	syscallarg(char *) nsize;
     67       1.1       erh };
     68       1.1       erh 
     69      1.23       erh struct osf1_sys_mount_args {
     70      1.23       erh 	syscallarg(int) type;
     71      1.23       erh 	syscallarg(const char *) path;
     72      1.23       erh 	syscallarg(int) flags;
     73      1.23       erh 	syscallarg(caddr_t) data;
     74      1.23       erh };
     75      1.23       erh 
     76      1.14      tron struct linux_sys_ptrace_args {
     77      1.15       erh 	syscallarg(long) request;
     78      1.15       erh 	syscallarg(long) pid;
     79      1.15       erh 	syscallarg(long) addr;
     80      1.15       erh 	syscallarg(long) data;
     81      1.14      tron };
     82      1.14      tron 
     83       1.1       erh struct linux_sys_access_args {
     84      1.15       erh 	syscallarg(const char *) path;
     85       1.1       erh 	syscallarg(int) flags;
     86       1.1       erh };
     87       1.1       erh 
     88       1.1       erh struct linux_sys_kill_args {
     89       1.1       erh 	syscallarg(int) pid;
     90       1.1       erh 	syscallarg(int) signum;
     91       1.1       erh };
     92       1.1       erh 
     93      1.23       erh struct osf1_sys_set_program_attributes_args {
     94      1.23       erh 	syscallarg(caddr_t) taddr;
     95      1.23       erh 	syscallarg(unsigned long) tsize;
     96      1.23       erh 	syscallarg(caddr_t) daddr;
     97      1.23       erh 	syscallarg(unsigned long) dsize;
     98      1.23       erh };
     99      1.23       erh 
    100       1.1       erh struct linux_sys_open_args {
    101      1.15       erh 	syscallarg(const char *) path;
    102       1.1       erh 	syscallarg(int) flags;
    103       1.1       erh 	syscallarg(int) mode;
    104       1.1       erh };
    105       1.1       erh 
    106       1.1       erh struct linux_sys_sigpending_args {
    107       1.1       erh 	syscallarg(linux_old_sigset_t *) set;
    108       1.1       erh };
    109       1.1       erh 
    110       1.1       erh struct linux_sys_ioctl_args {
    111       1.1       erh 	syscallarg(int) fd;
    112       1.1       erh 	syscallarg(u_long) com;
    113       1.1       erh 	syscallarg(caddr_t) data;
    114       1.1       erh };
    115       1.1       erh 
    116       1.1       erh struct linux_sys_symlink_args {
    117      1.15       erh 	syscallarg(const char *) path;
    118      1.15       erh 	syscallarg(const char *) to;
    119       1.1       erh };
    120       1.1       erh 
    121       1.1       erh struct linux_sys_readlink_args {
    122      1.15       erh 	syscallarg(const char *) name;
    123       1.1       erh 	syscallarg(char *) buf;
    124       1.1       erh 	syscallarg(int) count;
    125       1.1       erh };
    126       1.1       erh 
    127       1.1       erh struct linux_sys_execve_args {
    128      1.15       erh 	syscallarg(const char *) path;
    129       1.1       erh 	syscallarg(char **) argp;
    130       1.1       erh 	syscallarg(char **) envp;
    131       1.1       erh };
    132       1.1       erh 
    133       1.1       erh struct linux_sys_stat_args {
    134      1.15       erh 	syscallarg(const char *) path;
    135       1.1       erh 	syscallarg(struct linux_stat *) sp;
    136       1.1       erh };
    137       1.1       erh 
    138       1.1       erh struct linux_sys_lstat_args {
    139      1.15       erh 	syscallarg(const char *) path;
    140       1.1       erh 	syscallarg(struct linux_stat *) sp;
    141       1.1       erh };
    142       1.1       erh 
    143      1.23       erh struct osf1_sys_setitimer_args {
    144      1.23       erh 	syscallarg(u_int) which;
    145      1.23       erh 	syscallarg(struct osf1_itimerval *) itv;
    146      1.23       erh 	syscallarg(struct osf1_itimerval *) oitv;
    147      1.23       erh };
    148      1.23       erh 
    149       1.1       erh struct linux_sys_fstat_args {
    150       1.1       erh 	syscallarg(int) fd;
    151       1.1       erh 	syscallarg(struct linux_stat *) sp;
    152       1.1       erh };
    153       1.1       erh 
    154       1.1       erh struct linux_sys_fcntl_args {
    155       1.1       erh 	syscallarg(int) fd;
    156       1.1       erh 	syscallarg(int) cmd;
    157       1.1       erh 	syscallarg(void *) arg;
    158       1.1       erh };
    159       1.1       erh 
    160      1.23       erh struct osf1_sys_select_args {
    161      1.23       erh 	syscallarg(u_int) nd;
    162      1.23       erh 	syscallarg(fd_set *) in;
    163      1.23       erh 	syscallarg(fd_set *) ou;
    164      1.23       erh 	syscallarg(fd_set *) ex;
    165      1.23       erh 	syscallarg(struct osf1_timeval *) tv;
    166      1.23       erh };
    167      1.23       erh 
    168       1.1       erh struct linux_sys_socket_args {
    169       1.1       erh 	syscallarg(int) domain;
    170       1.1       erh 	syscallarg(int) type;
    171       1.1       erh 	syscallarg(int) protocol;
    172       1.1       erh };
    173       1.1       erh 
    174      1.16       erh struct linux_sys_connect_args {
    175      1.16       erh 	syscallarg(int) s;
    176  1.34.2.3   nathanw 	syscallarg(const struct osockaddr *) name;
    177      1.16       erh 	syscallarg(unsigned int) namelen;
    178      1.16       erh };
    179      1.16       erh 
    180  1.34.2.3   nathanw struct linux_sys_accept_args {
    181  1.34.2.3   nathanw 	syscallarg(int) s;
    182  1.34.2.3   nathanw 	syscallarg(struct osockaddr *) name;
    183  1.34.2.3   nathanw 	syscallarg(int *) anamelen;
    184  1.34.2.3   nathanw };
    185  1.34.2.3   nathanw 
    186  1.34.2.3   nathanw struct linux_sys_send_args {
    187  1.34.2.3   nathanw 	syscallarg(int) s;
    188  1.34.2.3   nathanw 	syscallarg(caddr_t) buf;
    189  1.34.2.3   nathanw 	syscallarg(int) len;
    190  1.34.2.3   nathanw 	syscallarg(int) flags;
    191  1.34.2.3   nathanw };
    192  1.34.2.3   nathanw 
    193  1.34.2.3   nathanw struct linux_sys_recv_args {
    194  1.34.2.3   nathanw 	syscallarg(int) s;
    195  1.34.2.3   nathanw 	syscallarg(caddr_t) buf;
    196  1.34.2.3   nathanw 	syscallarg(int) len;
    197  1.34.2.3   nathanw 	syscallarg(int) flags;
    198  1.34.2.3   nathanw };
    199  1.34.2.3   nathanw 
    200       1.1       erh struct linux_sys_sigreturn_args {
    201       1.1       erh 	syscallarg(struct linux_sigframe *) sfp;
    202       1.1       erh };
    203       1.1       erh 
    204  1.34.2.3   nathanw struct linux_sys_bind_args {
    205  1.34.2.3   nathanw 	syscallarg(int) s;
    206  1.34.2.3   nathanw 	syscallarg(const struct osockaddr *) name;
    207  1.34.2.3   nathanw 	syscallarg(unsigned int) namelen;
    208  1.34.2.3   nathanw };
    209  1.34.2.3   nathanw 
    210       1.1       erh struct linux_sys_setsockopt_args {
    211       1.1       erh 	syscallarg(int) s;
    212       1.1       erh 	syscallarg(int) level;
    213       1.1       erh 	syscallarg(int) optname;
    214       1.1       erh 	syscallarg(void *) optval;
    215       1.1       erh 	syscallarg(int) optlen;
    216       1.1       erh };
    217       1.1       erh 
    218       1.1       erh struct linux_sys_sigsuspend_args {
    219       1.1       erh 	syscallarg(caddr_t) restart;
    220       1.1       erh 	syscallarg(int) oldmask;
    221       1.1       erh 	syscallarg(int) mask;
    222       1.1       erh };
    223       1.1       erh 
    224  1.34.2.3   nathanw struct linux_sys_recvmsg_args {
    225  1.34.2.3   nathanw 	syscallarg(int) s;
    226  1.34.2.3   nathanw 	syscallarg(struct msghdr *) msg;
    227  1.34.2.3   nathanw 	syscallarg(int) flags;
    228  1.34.2.3   nathanw };
    229  1.34.2.3   nathanw 
    230  1.34.2.3   nathanw struct linux_sys_sendmsg_args {
    231  1.34.2.3   nathanw 	syscallarg(int) s;
    232  1.34.2.3   nathanw 	syscallarg(const struct msghdr *) msg;
    233  1.34.2.3   nathanw 	syscallarg(int) flags;
    234  1.34.2.3   nathanw };
    235  1.34.2.3   nathanw 
    236      1.23       erh struct osf1_sys_gettimeofday_args {
    237      1.23       erh 	syscallarg(struct osf1_timeval *) tv;
    238      1.23       erh 	syscallarg(struct osf1_timezone *) tzp;
    239      1.23       erh };
    240      1.23       erh 
    241      1.23       erh struct osf1_sys_getrusage_args {
    242      1.23       erh 	syscallarg(int) who;
    243      1.23       erh 	syscallarg(struct osf1_rusage *) rusage;
    244      1.23       erh };
    245      1.23       erh 
    246       1.1       erh struct linux_sys_getsockopt_args {
    247       1.1       erh 	syscallarg(int) s;
    248       1.1       erh 	syscallarg(int) level;
    249       1.1       erh 	syscallarg(int) optname;
    250       1.1       erh 	syscallarg(void *) optval;
    251       1.1       erh 	syscallarg(int *) optlen;
    252       1.1       erh };
    253       1.1       erh 
    254      1.23       erh struct osf1_sys_settimeofday_args {
    255      1.23       erh 	syscallarg(struct osf1_timeval *) tv;
    256      1.23       erh 	syscallarg(struct osf1_timezone *) tzp;
    257      1.23       erh };
    258      1.23       erh 
    259       1.1       erh struct linux_sys_recvfrom_args {
    260       1.1       erh 	syscallarg(int) s;
    261       1.1       erh 	syscallarg(void *) buf;
    262       1.1       erh 	syscallarg(int) len;
    263       1.1       erh 	syscallarg(int) flags;
    264  1.34.2.3   nathanw 	syscallarg(struct osockaddr *) from;
    265  1.34.2.3   nathanw 	syscallarg(int *) fromlenaddr;
    266       1.1       erh };
    267       1.1       erh 
    268       1.1       erh struct linux_sys_rename_args {
    269      1.15       erh 	syscallarg(const char *) from;
    270      1.15       erh 	syscallarg(const char *) to;
    271       1.1       erh };
    272       1.1       erh 
    273       1.1       erh struct linux_sys_truncate_args {
    274      1.15       erh 	syscallarg(const char *) path;
    275       1.1       erh 	syscallarg(long) length;
    276       1.1       erh };
    277       1.1       erh 
    278       1.1       erh struct linux_sys_sendto_args {
    279       1.1       erh 	syscallarg(int) s;
    280       1.1       erh 	syscallarg(void *) msg;
    281       1.1       erh 	syscallarg(int) len;
    282       1.1       erh 	syscallarg(int) flags;
    283  1.34.2.3   nathanw 	syscallarg(struct osockaddr *) to;
    284       1.1       erh 	syscallarg(int) tolen;
    285       1.1       erh };
    286       1.1       erh 
    287       1.1       erh struct linux_sys_socketpair_args {
    288       1.1       erh 	syscallarg(int) domain;
    289       1.1       erh 	syscallarg(int) type;
    290       1.1       erh 	syscallarg(int) protocol;
    291       1.1       erh 	syscallarg(int *) rsv;
    292       1.1       erh };
    293       1.1       erh 
    294       1.1       erh struct linux_sys_mkdir_args {
    295      1.15       erh 	syscallarg(const char *) path;
    296       1.1       erh 	syscallarg(int) mode;
    297       1.1       erh };
    298       1.1       erh 
    299       1.1       erh struct linux_sys_rmdir_args {
    300      1.15       erh 	syscallarg(const char *) path;
    301       1.1       erh };
    302       1.1       erh 
    303      1.23       erh struct osf1_sys_utimes_args {
    304      1.23       erh 	syscallarg(const char *) path;
    305      1.23       erh 	syscallarg(const struct osf1_timeval *) tptr;
    306      1.23       erh };
    307      1.23       erh 
    308  1.34.2.3   nathanw struct linux_sys_getpeername_args {
    309  1.34.2.3   nathanw 	syscallarg(int) fdes;
    310  1.34.2.3   nathanw 	syscallarg(caddr_t) asa;
    311  1.34.2.3   nathanw 	syscallarg(int *) alen;
    312  1.34.2.3   nathanw };
    313  1.34.2.3   nathanw 
    314  1.34.2.3   nathanw struct linux_sys_getsockname_args {
    315  1.34.2.3   nathanw 	syscallarg(int) fdec;
    316  1.34.2.3   nathanw 	syscallarg(caddr_t) asa;
    317  1.34.2.3   nathanw 	syscallarg(int *) alen;
    318  1.34.2.3   nathanw };
    319  1.34.2.3   nathanw 
    320       1.1       erh struct linux_sys_sigaction_args {
    321       1.1       erh 	syscallarg(int) signum;
    322       1.1       erh 	syscallarg(const struct linux_old_sigaction *) nsa;
    323       1.1       erh 	syscallarg(struct linux_old_sigaction *) osa;
    324       1.1       erh };
    325       1.1       erh 
    326      1.23       erh struct osf1_sys_statfs_args {
    327      1.23       erh 	syscallarg(const char *) path;
    328      1.23       erh 	syscallarg(struct osf1_statfs *) buf;
    329      1.23       erh 	syscallarg(int) len;
    330      1.23       erh };
    331      1.23       erh 
    332      1.23       erh struct osf1_sys_fstatfs_args {
    333      1.23       erh 	syscallarg(int) fd;
    334      1.23       erh 	syscallarg(struct osf1_statfs *) buf;
    335      1.23       erh 	syscallarg(int) len;
    336      1.23       erh };
    337      1.23       erh 
    338      1.24  jdolecek struct linux_sys_setdomainname_args {
    339      1.24  jdolecek 	syscallarg(char *) domainname;
    340      1.24  jdolecek 	syscallarg(int) len;
    341      1.24  jdolecek };
    342      1.24  jdolecek 
    343       1.1       erh struct linux_sys_olduname_args {
    344       1.1       erh 	syscallarg(struct linux_old_utsname *) up;
    345       1.1       erh };
    346       1.1       erh 
    347       1.1       erh struct linux_sys_msync_args {
    348       1.1       erh 	syscallarg(caddr_t) addr;
    349       1.1       erh 	syscallarg(int) len;
    350       1.1       erh 	syscallarg(int) fl;
    351       1.1       erh };
    352       1.1       erh 
    353       1.1       erh struct linux_sys_getpgid_args {
    354       1.1       erh 	syscallarg(int) pid;
    355       1.1       erh };
    356       1.1       erh 
    357      1.23       erh struct osf1_sys_sysinfo_args {
    358      1.23       erh 	syscallarg(int) cmd;
    359      1.23       erh 	syscallarg(char) buf;
    360      1.23       erh 	syscallarg(long) len;
    361      1.23       erh };
    362      1.23       erh 
    363      1.23       erh struct osf1_sys_usleep_thread_args {
    364      1.23       erh 	syscallarg(struct osf1_timeval *) sleep;
    365      1.23       erh 	syscallarg(struct osf1_timeval *) slept;
    366      1.23       erh };
    367      1.23       erh 
    368      1.23       erh struct osf1_sys_getsysinfo_args {
    369      1.23       erh 	syscallarg(u_long) op;
    370      1.23       erh 	syscallarg(caddr_t) buffer;
    371      1.23       erh 	syscallarg(u_long) nbytes;
    372      1.23       erh 	syscallarg(caddr_t) arg;
    373      1.23       erh 	syscallarg(u_long) flag;
    374      1.23       erh };
    375      1.23       erh 
    376      1.23       erh struct osf1_sys_setsysinfo_args {
    377      1.23       erh 	syscallarg(u_long) op;
    378      1.23       erh 	syscallarg(caddr_t) buffer;
    379      1.23       erh 	syscallarg(u_long) nbytes;
    380      1.23       erh 	syscallarg(caddr_t) arg;
    381      1.23       erh 	syscallarg(u_long) flag;
    382      1.23       erh };
    383      1.23       erh 
    384       1.1       erh struct linux_sys_fdatasync_args {
    385       1.1       erh 	syscallarg(int) fd;
    386       1.1       erh };
    387       1.1       erh 
    388      1.25  jdolecek struct linux_sys_swapoff_args {
    389      1.25  jdolecek 	syscallarg(const char *) path;
    390      1.25  jdolecek };
    391      1.25  jdolecek 
    392       1.1       erh struct linux_sys_getdents_args {
    393       1.1       erh 	syscallarg(int) fd;
    394       1.1       erh 	syscallarg(struct linux_dirent *) dent;
    395       1.1       erh 	syscallarg(unsigned int) count;
    396       1.1       erh };
    397       1.1       erh 
    398      1.16       erh struct linux_sys_reboot_args {
    399      1.16       erh 	syscallarg(int) magic1;
    400      1.16       erh 	syscallarg(int) magic2;
    401      1.16       erh 	syscallarg(int) cmd;
    402      1.16       erh 	syscallarg(void *) arg;
    403      1.16       erh };
    404      1.16       erh 
    405      1.18       erh struct linux_sys_clone_args {
    406      1.18       erh 	syscallarg(int) flags;
    407      1.18       erh 	syscallarg(void *) stack;
    408      1.18       erh };
    409      1.18       erh 
    410       1.1       erh struct linux_sys_uselib_args {
    411      1.24  jdolecek 	syscallarg(const char *) path;
    412       1.1       erh };
    413       1.1       erh 
    414      1.31  jdolecek struct linux_sys_sysinfo_args {
    415      1.31  jdolecek 	syscallarg(struct linux_sysinfo *) arg;
    416      1.31  jdolecek };
    417      1.31  jdolecek 
    418       1.1       erh struct linux_sys___sysctl_args {
    419       1.1       erh 	syscallarg(struct linux___sysctl *) lsp;
    420       1.1       erh };
    421       1.1       erh 
    422      1.24  jdolecek struct linux_sys_swapon_args {
    423      1.24  jdolecek 	syscallarg(const char *) name;
    424      1.24  jdolecek };
    425      1.24  jdolecek 
    426       1.1       erh struct linux_sys_times_args {
    427       1.1       erh 	syscallarg(struct times *) tms;
    428       1.1       erh };
    429       1.1       erh 
    430       1.1       erh struct linux_sys_personality_args {
    431       1.1       erh 	syscallarg(int) per;
    432       1.1       erh };
    433       1.1       erh 
    434      1.15       erh struct linux_sys_setfsuid_args {
    435      1.15       erh 	syscallarg(uid_t) uid;
    436      1.15       erh };
    437      1.15       erh 
    438       1.1       erh struct linux_sys_statfs_args {
    439      1.15       erh 	syscallarg(const char *) path;
    440       1.1       erh 	syscallarg(struct linux_statfs *) sp;
    441       1.1       erh };
    442       1.1       erh 
    443       1.1       erh struct linux_sys_fstatfs_args {
    444       1.1       erh 	syscallarg(int) fd;
    445       1.1       erh 	syscallarg(struct linux_statfs *) sp;
    446       1.1       erh };
    447       1.1       erh 
    448      1.12      tron struct linux_sys_sched_setparam_args {
    449      1.12      tron 	syscallarg(pid_t) pid;
    450      1.12      tron 	syscallarg(const struct linux_sched_param *) sp;
    451      1.12      tron };
    452      1.12      tron 
    453      1.12      tron struct linux_sys_sched_getparam_args {
    454      1.12      tron 	syscallarg(pid_t) pid;
    455      1.12      tron 	syscallarg(struct linux_sched_param *) sp;
    456      1.12      tron };
    457      1.12      tron 
    458      1.12      tron struct linux_sys_sched_setscheduler_args {
    459      1.12      tron 	syscallarg(pid_t) pid;
    460      1.12      tron 	syscallarg(int) policy;
    461      1.12      tron 	syscallarg(const struct linux_sched_param *) sp;
    462      1.12      tron };
    463      1.12      tron 
    464      1.12      tron struct linux_sys_sched_getscheduler_args {
    465      1.12      tron 	syscallarg(pid_t) pid;
    466      1.12      tron };
    467      1.12      tron 
    468      1.12      tron struct linux_sys_sched_get_priority_max_args {
    469      1.12      tron 	syscallarg(int) policy;
    470      1.12      tron };
    471      1.12      tron 
    472      1.12      tron struct linux_sys_sched_get_priority_min_args {
    473      1.12      tron 	syscallarg(int) policy;
    474      1.12      tron };
    475      1.12      tron 
    476       1.1       erh struct linux_sys_uname_args {
    477       1.1       erh 	syscallarg(struct linux_utsname *) up;
    478       1.1       erh };
    479       1.1       erh 
    480       1.1       erh struct linux_sys_mremap_args {
    481       1.1       erh 	syscallarg(void *) old_address;
    482       1.1       erh 	syscallarg(size_t) old_size;
    483       1.1       erh 	syscallarg(size_t) new_size;
    484       1.1       erh 	syscallarg(u_long) flags;
    485       1.1       erh };
    486       1.1       erh 
    487      1.11   thorpej struct linux_sys_setresuid_args {
    488      1.11   thorpej 	syscallarg(uid_t) ruid;
    489      1.11   thorpej 	syscallarg(uid_t) euid;
    490      1.11   thorpej 	syscallarg(uid_t) suid;
    491      1.11   thorpej };
    492      1.11   thorpej 
    493      1.11   thorpej struct linux_sys_getresuid_args {
    494      1.11   thorpej 	syscallarg(uid_t *) ruid;
    495      1.11   thorpej 	syscallarg(uid_t *) euid;
    496      1.11   thorpej 	syscallarg(uid_t *) suid;
    497      1.11   thorpej };
    498      1.11   thorpej 
    499      1.13      tron struct linux_sys_pread_args {
    500      1.13      tron 	syscallarg(int) fd;
    501      1.13      tron 	syscallarg(char *) buf;
    502      1.13      tron 	syscallarg(size_t) nbyte;
    503      1.13      tron 	syscallarg(linux_off_t) offset;
    504      1.13      tron };
    505      1.13      tron 
    506      1.13      tron struct linux_sys_pwrite_args {
    507      1.13      tron 	syscallarg(int) fd;
    508      1.13      tron 	syscallarg(char *) buf;
    509      1.13      tron 	syscallarg(size_t) nbyte;
    510      1.13      tron 	syscallarg(linux_off_t) offset;
    511      1.13      tron };
    512      1.13      tron 
    513       1.1       erh struct linux_sys_rt_sigreturn_args {
    514       1.1       erh 	syscallarg(struct linux_rt_sigframe *) sfp;
    515       1.1       erh };
    516       1.1       erh 
    517       1.1       erh struct linux_sys_rt_sigaction_args {
    518       1.1       erh 	syscallarg(int) signum;
    519       1.1       erh 	syscallarg(const struct linux_sigaction *) nsa;
    520       1.1       erh 	syscallarg(struct linux_sigaction *) osa;
    521       1.1       erh 	syscallarg(size_t) sigsetsize;
    522       1.1       erh };
    523       1.1       erh 
    524       1.1       erh struct linux_sys_rt_sigprocmask_args {
    525       1.1       erh 	syscallarg(int) how;
    526       1.1       erh 	syscallarg(const linux_sigset_t *) set;
    527       1.1       erh 	syscallarg(linux_sigset_t *) oset;
    528       1.1       erh 	syscallarg(size_t) sigsetsize;
    529       1.1       erh };
    530       1.1       erh 
    531       1.1       erh struct linux_sys_rt_sigpending_args {
    532       1.1       erh 	syscallarg(linux_sigset_t *) set;
    533       1.1       erh 	syscallarg(size_t) sigsetsize;
    534       1.1       erh };
    535       1.1       erh 
    536       1.1       erh struct linux_sys_rt_queueinfo_args {
    537       1.1       erh 	syscallarg(int) pid;
    538       1.1       erh 	syscallarg(int) signum;
    539       1.4       erh 	syscallarg(linux_siginfo_t *) uinfo;
    540       1.1       erh };
    541       1.1       erh 
    542       1.1       erh struct linux_sys_rt_sigsuspend_args {
    543       1.1       erh 	syscallarg(linux_sigset_t *) unewset;
    544       1.1       erh 	syscallarg(size_t) sigsetsize;
    545       1.1       erh };
    546       1.1       erh 
    547       1.1       erh struct linux_sys_select_args {
    548       1.1       erh 	syscallarg(int) nfds;
    549       1.1       erh 	syscallarg(fd_set *) readfds;
    550       1.1       erh 	syscallarg(fd_set *) writefds;
    551       1.1       erh 	syscallarg(fd_set *) exceptfds;
    552       1.1       erh 	syscallarg(struct timeval *) timeout;
    553       1.1       erh };
    554       1.1       erh 
    555       1.1       erh struct linux_sys_wait4_args {
    556       1.1       erh 	syscallarg(int) pid;
    557       1.1       erh 	syscallarg(int *) status;
    558       1.1       erh 	syscallarg(int) options;
    559       1.1       erh 	syscallarg(struct rusage *) rusage;
    560       1.1       erh };
    561       1.1       erh 
    562       1.1       erh /*
    563       1.1       erh  * System call prototypes.
    564       1.1       erh  */
    565       1.1       erh 
    566  1.34.2.4   nathanw int	linux_sys_nosys(struct lwp *, void *, register_t *);
    567  1.34.2.4   nathanw int	sys_exit(struct lwp *, void *, register_t *);
    568  1.34.2.4   nathanw int	sys_fork(struct lwp *, void *, register_t *);
    569  1.34.2.4   nathanw int	sys_read(struct lwp *, void *, register_t *);
    570  1.34.2.4   nathanw int	sys_write(struct lwp *, void *, register_t *);
    571  1.34.2.4   nathanw int	sys_close(struct lwp *, void *, register_t *);
    572  1.34.2.4   nathanw int	osf1_sys_wait4(struct lwp *, void *, register_t *);
    573  1.34.2.4   nathanw int	linux_sys_creat(struct lwp *, void *, register_t *);
    574  1.34.2.4   nathanw int	linux_sys_link(struct lwp *, void *, register_t *);
    575  1.34.2.4   nathanw int	linux_sys_unlink(struct lwp *, void *, register_t *);
    576  1.34.2.4   nathanw int	linux_sys_chdir(struct lwp *, void *, register_t *);
    577  1.34.2.4   nathanw int	sys_fchdir(struct lwp *, void *, register_t *);
    578  1.34.2.4   nathanw int	linux_sys_mknod(struct lwp *, void *, register_t *);
    579  1.34.2.4   nathanw int	linux_sys_chmod(struct lwp *, void *, register_t *);
    580  1.34.2.4   nathanw int	sys___posix_chown(struct lwp *, void *, register_t *);
    581  1.34.2.4   nathanw int	linux_sys_brk(struct lwp *, void *, register_t *);
    582  1.34.2.4   nathanw int	compat_43_sys_lseek(struct lwp *, void *, register_t *);
    583  1.34.2.4   nathanw int	sys_getpid_with_ppid(struct lwp *, void *, register_t *);
    584  1.34.2.4   nathanw int	osf1_sys_mount(struct lwp *, void *, register_t *);
    585  1.34.2.4   nathanw int	sys_setuid(struct lwp *, void *, register_t *);
    586  1.34.2.4   nathanw int	sys_getuid_with_euid(struct lwp *, void *, register_t *);
    587  1.34.2.4   nathanw int	linux_sys_ptrace(struct lwp *, void *, register_t *);
    588  1.34.2.4   nathanw int	linux_sys_access(struct lwp *, void *, register_t *);
    589  1.34.2.4   nathanw int	sys_sync(struct lwp *, void *, register_t *);
    590  1.34.2.4   nathanw int	linux_sys_kill(struct lwp *, void *, register_t *);
    591  1.34.2.4   nathanw int	sys_setpgid(struct lwp *, void *, register_t *);
    592  1.34.2.4   nathanw int	sys_dup(struct lwp *, void *, register_t *);
    593  1.34.2.4   nathanw int	linux_sys_pipe(struct lwp *, void *, register_t *);
    594  1.34.2.4   nathanw int	osf1_sys_set_program_attributes(struct lwp *, void *, register_t *);
    595  1.34.2.4   nathanw int	linux_sys_open(struct lwp *, void *, register_t *);
    596  1.34.2.4   nathanw int	sys_getgid_with_egid(struct lwp *, void *, register_t *);
    597  1.34.2.4   nathanw int	compat_13_sys_sigprocmask(struct lwp *, void *, register_t *);
    598  1.34.2.4   nathanw int	sys_acct(struct lwp *, void *, register_t *);
    599  1.34.2.4   nathanw int	linux_sys_sigpending(struct lwp *, void *, register_t *);
    600  1.34.2.4   nathanw int	linux_sys_ioctl(struct lwp *, void *, register_t *);
    601  1.34.2.4   nathanw int	linux_sys_symlink(struct lwp *, void *, register_t *);
    602  1.34.2.4   nathanw int	linux_sys_readlink(struct lwp *, void *, register_t *);
    603  1.34.2.4   nathanw int	linux_sys_execve(struct lwp *, void *, register_t *);
    604  1.34.2.4   nathanw int	sys_umask(struct lwp *, void *, register_t *);
    605  1.34.2.4   nathanw int	sys_chroot(struct lwp *, void *, register_t *);
    606  1.34.2.4   nathanw int	sys_getpgrp(struct lwp *, void *, register_t *);
    607  1.34.2.4   nathanw int	compat_43_sys_getpagesize(struct lwp *, void *, register_t *);
    608  1.34.2.4   nathanw int	sys___vfork14(struct lwp *, void *, register_t *);
    609  1.34.2.4   nathanw int	linux_sys_stat(struct lwp *, void *, register_t *);
    610  1.34.2.4   nathanw int	linux_sys_lstat(struct lwp *, void *, register_t *);
    611  1.34.2.4   nathanw int	linux_sys_mmap(struct lwp *, void *, register_t *);
    612  1.34.2.4   nathanw int	sys_munmap(struct lwp *, void *, register_t *);
    613  1.34.2.4   nathanw int	sys_mprotect(struct lwp *, void *, register_t *);
    614  1.34.2.4   nathanw int	sys_getgroups(struct lwp *, void *, register_t *);
    615  1.34.2.4   nathanw int	sys_setgroups(struct lwp *, void *, register_t *);
    616  1.34.2.4   nathanw int	osf1_sys_setitimer(struct lwp *, void *, register_t *);
    617  1.34.2.4   nathanw int	compat_43_sys_gethostname(struct lwp *, void *, register_t *);
    618  1.34.2.4   nathanw int	compat_43_sys_sethostname(struct lwp *, void *, register_t *);
    619  1.34.2.4   nathanw int	sys_dup2(struct lwp *, void *, register_t *);
    620  1.34.2.4   nathanw int	linux_sys_fstat(struct lwp *, void *, register_t *);
    621  1.34.2.4   nathanw int	linux_sys_fcntl(struct lwp *, void *, register_t *);
    622  1.34.2.4   nathanw int	osf1_sys_select(struct lwp *, void *, register_t *);
    623  1.34.2.4   nathanw int	sys_poll(struct lwp *, void *, register_t *);
    624  1.34.2.4   nathanw int	sys_fsync(struct lwp *, void *, register_t *);
    625  1.34.2.4   nathanw int	sys_setpriority(struct lwp *, void *, register_t *);
    626  1.34.2.4   nathanw int	linux_sys_socket(struct lwp *, void *, register_t *);
    627  1.34.2.4   nathanw int	linux_sys_connect(struct lwp *, void *, register_t *);
    628  1.34.2.4   nathanw int	linux_sys_accept(struct lwp *, void *, register_t *);
    629  1.34.2.4   nathanw int	sys_getpriority(struct lwp *, void *, register_t *);
    630  1.34.2.4   nathanw int	linux_sys_send(struct lwp *, void *, register_t *);
    631  1.34.2.4   nathanw int	linux_sys_recv(struct lwp *, void *, register_t *);
    632  1.34.2.4   nathanw int	linux_sys_sigreturn(struct lwp *, void *, register_t *);
    633  1.34.2.4   nathanw int	linux_sys_bind(struct lwp *, void *, register_t *);
    634  1.34.2.4   nathanw int	linux_sys_setsockopt(struct lwp *, void *, register_t *);
    635  1.34.2.4   nathanw int	sys_listen(struct lwp *, void *, register_t *);
    636  1.34.2.4   nathanw int	linux_sys_sigsuspend(struct lwp *, void *, register_t *);
    637  1.34.2.4   nathanw int	compat_43_sys_sigstack(struct lwp *, void *, register_t *);
    638  1.34.2.4   nathanw int	linux_sys_recvmsg(struct lwp *, void *, register_t *);
    639  1.34.2.4   nathanw int	linux_sys_sendmsg(struct lwp *, void *, register_t *);
    640  1.34.2.4   nathanw int	osf1_sys_gettimeofday(struct lwp *, void *, register_t *);
    641  1.34.2.4   nathanw int	osf1_sys_getrusage(struct lwp *, void *, register_t *);
    642  1.34.2.4   nathanw int	linux_sys_getsockopt(struct lwp *, void *, register_t *);
    643  1.34.2.4   nathanw int	sys_readv(struct lwp *, void *, register_t *);
    644  1.34.2.4   nathanw int	sys_writev(struct lwp *, void *, register_t *);
    645  1.34.2.4   nathanw int	osf1_sys_settimeofday(struct lwp *, void *, register_t *);
    646  1.34.2.4   nathanw int	sys___posix_fchown(struct lwp *, void *, register_t *);
    647  1.34.2.4   nathanw int	sys_fchmod(struct lwp *, void *, register_t *);
    648  1.34.2.4   nathanw int	linux_sys_recvfrom(struct lwp *, void *, register_t *);
    649  1.34.2.4   nathanw int	sys_setreuid(struct lwp *, void *, register_t *);
    650  1.34.2.4   nathanw int	sys_setregid(struct lwp *, void *, register_t *);
    651  1.34.2.4   nathanw int	linux_sys_rename(struct lwp *, void *, register_t *);
    652  1.34.2.4   nathanw int	linux_sys_truncate(struct lwp *, void *, register_t *);
    653  1.34.2.4   nathanw int	compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
    654  1.34.2.4   nathanw int	sys_flock(struct lwp *, void *, register_t *);
    655  1.34.2.4   nathanw int	sys_setgid(struct lwp *, void *, register_t *);
    656  1.34.2.4   nathanw int	linux_sys_sendto(struct lwp *, void *, register_t *);
    657  1.34.2.4   nathanw int	sys_shutdown(struct lwp *, void *, register_t *);
    658  1.34.2.4   nathanw int	linux_sys_socketpair(struct lwp *, void *, register_t *);
    659  1.34.2.4   nathanw int	linux_sys_mkdir(struct lwp *, void *, register_t *);
    660  1.34.2.4   nathanw int	linux_sys_rmdir(struct lwp *, void *, register_t *);
    661  1.34.2.4   nathanw int	osf1_sys_utimes(struct lwp *, void *, register_t *);
    662  1.34.2.4   nathanw int	linux_sys_getpeername(struct lwp *, void *, register_t *);
    663  1.34.2.4   nathanw int	compat_43_sys_getrlimit(struct lwp *, void *, register_t *);
    664  1.34.2.4   nathanw int	compat_43_sys_setrlimit(struct lwp *, void *, register_t *);
    665  1.34.2.4   nathanw int	sys_setsid(struct lwp *, void *, register_t *);
    666  1.34.2.4   nathanw int	linux_sys_getsockname(struct lwp *, void *, register_t *);
    667  1.34.2.4   nathanw int	linux_sys_sigaction(struct lwp *, void *, register_t *);
    668  1.34.2.4   nathanw int	compat_43_sys_getdirentries(struct lwp *, void *, register_t *);
    669  1.34.2.4   nathanw int	osf1_sys_statfs(struct lwp *, void *, register_t *);
    670  1.34.2.4   nathanw int	osf1_sys_fstatfs(struct lwp *, void *, register_t *);
    671  1.34.2.4   nathanw int	compat_09_sys_getdomainname(struct lwp *, void *, register_t *);
    672  1.34.2.4   nathanw int	linux_sys_setdomainname(struct lwp *, void *, register_t *);
    673       1.1       erh #ifdef SYSVMSG
    674  1.34.2.4   nathanw int	linux_sys_msgctl(struct lwp *, void *, register_t *);
    675  1.34.2.4   nathanw int	sys_msgget(struct lwp *, void *, register_t *);
    676  1.34.2.4   nathanw int	sys_msgrcv(struct lwp *, void *, register_t *);
    677  1.34.2.4   nathanw int	sys_msgsnd(struct lwp *, void *, register_t *);
    678       1.1       erh #else
    679       1.1       erh #endif
    680       1.1       erh #ifdef SYSVSEM
    681  1.34.2.4   nathanw int	linux_sys_semctl(struct lwp *, void *, register_t *);
    682  1.34.2.4   nathanw int	sys_semget(struct lwp *, void *, register_t *);
    683  1.34.2.4   nathanw int	sys_semop(struct lwp *, void *, register_t *);
    684       1.1       erh #else
    685       1.1       erh #endif
    686  1.34.2.4   nathanw int	linux_sys_olduname(struct lwp *, void *, register_t *);
    687  1.34.2.4   nathanw int	sys___posix_lchown(struct lwp *, void *, register_t *);
    688       1.1       erh #ifdef SYSVSHM
    689  1.34.2.4   nathanw int	linux_sys_shmat(struct lwp *, void *, register_t *);
    690  1.34.2.4   nathanw int	linux_sys_shmctl(struct lwp *, void *, register_t *);
    691  1.34.2.4   nathanw int	sys_shmdt(struct lwp *, void *, register_t *);
    692  1.34.2.4   nathanw int	sys_shmget(struct lwp *, void *, register_t *);
    693       1.1       erh #else
    694       1.1       erh #endif
    695  1.34.2.4   nathanw int	linux_sys_msync(struct lwp *, void *, register_t *);
    696  1.34.2.4   nathanw int	linux_sys_getpgid(struct lwp *, void *, register_t *);
    697  1.34.2.4   nathanw int	sys_getsid(struct lwp *, void *, register_t *);
    698  1.34.2.4   nathanw int	osf1_sys_sysinfo(struct lwp *, void *, register_t *);
    699  1.34.2.4   nathanw int	osf1_sys_usleep_thread(struct lwp *, void *, register_t *);
    700  1.34.2.4   nathanw int	osf1_sys_getsysinfo(struct lwp *, void *, register_t *);
    701  1.34.2.4   nathanw int	osf1_sys_setsysinfo(struct lwp *, void *, register_t *);
    702  1.34.2.4   nathanw int	linux_sys_fdatasync(struct lwp *, void *, register_t *);
    703  1.34.2.4   nathanw int	linux_sys_swapoff(struct lwp *, void *, register_t *);
    704  1.34.2.4   nathanw int	linux_sys_getdents(struct lwp *, void *, register_t *);
    705  1.34.2.4   nathanw int	linux_sys_reboot(struct lwp *, void *, register_t *);
    706  1.34.2.4   nathanw int	linux_sys_clone(struct lwp *, void *, register_t *);
    707       1.1       erh #ifdef EXEC_AOUT
    708  1.34.2.4   nathanw int	linux_sys_uselib(struct lwp *, void *, register_t *);
    709       1.1       erh #else
    710       1.1       erh #endif
    711  1.34.2.4   nathanw int	sys_mlock(struct lwp *, void *, register_t *);
    712  1.34.2.4   nathanw int	sys_munlock(struct lwp *, void *, register_t *);
    713  1.34.2.4   nathanw int	sys_mlockall(struct lwp *, void *, register_t *);
    714  1.34.2.4   nathanw int	sys_munlockall(struct lwp *, void *, register_t *);
    715  1.34.2.4   nathanw int	linux_sys_sysinfo(struct lwp *, void *, register_t *);
    716  1.34.2.4   nathanw int	linux_sys___sysctl(struct lwp *, void *, register_t *);
    717  1.34.2.4   nathanw int	linux_sys_swapon(struct lwp *, void *, register_t *);
    718  1.34.2.4   nathanw int	linux_sys_times(struct lwp *, void *, register_t *);
    719  1.34.2.4   nathanw int	linux_sys_personality(struct lwp *, void *, register_t *);
    720  1.34.2.4   nathanw int	linux_sys_setfsuid(struct lwp *, void *, register_t *);
    721  1.34.2.4   nathanw int	linux_sys_statfs(struct lwp *, void *, register_t *);
    722  1.34.2.4   nathanw int	linux_sys_fstatfs(struct lwp *, void *, register_t *);
    723  1.34.2.4   nathanw int	linux_sys_sched_setparam(struct lwp *, void *, register_t *);
    724  1.34.2.4   nathanw int	linux_sys_sched_getparam(struct lwp *, void *, register_t *);
    725  1.34.2.4   nathanw int	linux_sys_sched_setscheduler(struct lwp *, void *, register_t *);
    726  1.34.2.4   nathanw int	linux_sys_sched_getscheduler(struct lwp *, void *, register_t *);
    727  1.34.2.4   nathanw int	linux_sys_sched_yield(struct lwp *, void *, register_t *);
    728  1.34.2.4   nathanw int	linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
    729  1.34.2.4   nathanw int	linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
    730  1.34.2.4   nathanw int	linux_sys_uname(struct lwp *, void *, register_t *);
    731  1.34.2.4   nathanw int	sys_nanosleep(struct lwp *, void *, register_t *);
    732  1.34.2.4   nathanw int	linux_sys_mremap(struct lwp *, void *, register_t *);
    733  1.34.2.4   nathanw int	linux_sys_setresuid(struct lwp *, void *, register_t *);
    734  1.34.2.4   nathanw int	linux_sys_getresuid(struct lwp *, void *, register_t *);
    735  1.34.2.4   nathanw int	linux_sys_pread(struct lwp *, void *, register_t *);
    736  1.34.2.4   nathanw int	linux_sys_pwrite(struct lwp *, void *, register_t *);
    737  1.34.2.4   nathanw int	linux_sys_rt_sigreturn(struct lwp *, void *, register_t *);
    738  1.34.2.4   nathanw int	linux_sys_rt_sigaction(struct lwp *, void *, register_t *);
    739  1.34.2.4   nathanw int	linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
    740  1.34.2.4   nathanw int	linux_sys_rt_sigpending(struct lwp *, void *, register_t *);
    741  1.34.2.4   nathanw int	linux_sys_rt_queueinfo(struct lwp *, void *, register_t *);
    742  1.34.2.4   nathanw int	linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
    743  1.34.2.4   nathanw int	linux_sys_select(struct lwp *, void *, register_t *);
    744  1.34.2.4   nathanw int	sys_gettimeofday(struct lwp *, void *, register_t *);
    745  1.34.2.4   nathanw int	sys_settimeofday(struct lwp *, void *, register_t *);
    746  1.34.2.4   nathanw int	sys_getitimer(struct lwp *, void *, register_t *);
    747  1.34.2.4   nathanw int	sys_setitimer(struct lwp *, void *, register_t *);
    748  1.34.2.4   nathanw int	sys_utimes(struct lwp *, void *, register_t *);
    749  1.34.2.4   nathanw int	sys_getrusage(struct lwp *, void *, register_t *);
    750  1.34.2.4   nathanw int	linux_sys_wait4(struct lwp *, void *, register_t *);
    751  1.34.2.4   nathanw int	sys___getcwd(struct lwp *, void *, register_t *);
    752       1.7   thorpej #endif /* _LINUX_SYS__SYSCALLARGS_H_ */
    753