Home | History | Annotate | Line # | Download | only in alpha
linux_syscallargs.h revision 1.59
      1  1.58  christos /* $NetBSD: linux_syscallargs.h,v 1.59 2006/08/30 11:19:23 matt 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.59      matt  * created from	NetBSD: syscalls.master,v 1.54 2006/08/30 11:14:39 matt Exp
      8   1.1       erh  */
      9   1.1       erh 
     10  1.58  christos #ifndef _LINUX_SYS_SYSCALLARGS_H_
     11  1.58  christos #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.40     lukem 		struct { /* LINTED zero array dimension */		\
     22  1.40     lukem 			int8_t pad[  /* CONSTCOND */			\
     23  1.40     lukem 				(sizeof (register_t) < sizeof (x))	\
     24  1.12      tron 				? 0					\
     25  1.12      tron 				: sizeof (register_t) - sizeof (x)];	\
     26  1.12      tron 			x datum;					\
     27  1.12      tron 		} be;							\
     28  1.12      tron 	}
     29   1.1       erh 
     30  1.23       erh struct osf1_sys_wait4_args {
     31  1.23       erh 	syscallarg(int) pid;
     32  1.23       erh 	syscallarg(int *) status;
     33  1.23       erh 	syscallarg(int) options;
     34  1.23       erh 	syscallarg(struct osf1_rusage *) rusage;
     35  1.23       erh };
     36  1.23       erh 
     37   1.1       erh struct linux_sys_creat_args {
     38  1.15       erh 	syscallarg(const char *) path;
     39  1.15       erh 	syscallarg(mode_t) mode;
     40   1.1       erh };
     41   1.1       erh 
     42  1.33      fvdl struct linux_sys_link_args {
     43  1.33      fvdl 	syscallarg(const char *) path;
     44  1.33      fvdl 	syscallarg(const char *) link;
     45  1.33      fvdl };
     46  1.33      fvdl 
     47   1.1       erh struct linux_sys_unlink_args {
     48  1.15       erh 	syscallarg(const char *) path;
     49   1.1       erh };
     50   1.1       erh 
     51   1.1       erh struct linux_sys_chdir_args {
     52  1.15       erh 	syscallarg(const char *) path;
     53   1.1       erh };
     54   1.1       erh 
     55   1.1       erh struct linux_sys_mknod_args {
     56  1.15       erh 	syscallarg(const char *) path;
     57   1.1       erh 	syscallarg(int) mode;
     58   1.1       erh 	syscallarg(int) dev;
     59   1.1       erh };
     60   1.1       erh 
     61   1.1       erh struct linux_sys_chmod_args {
     62  1.15       erh 	syscallarg(const char *) path;
     63   1.1       erh 	syscallarg(int) mode;
     64   1.1       erh };
     65   1.1       erh 
     66   1.1       erh struct linux_sys_brk_args {
     67   1.1       erh 	syscallarg(char *) nsize;
     68   1.1       erh };
     69   1.1       erh 
     70  1.23       erh struct osf1_sys_mount_args {
     71  1.23       erh 	syscallarg(int) type;
     72  1.23       erh 	syscallarg(const char *) path;
     73  1.23       erh 	syscallarg(int) flags;
     74  1.23       erh 	syscallarg(caddr_t) data;
     75  1.23       erh };
     76  1.59      matt #ifdef PTRACE
     77  1.23       erh 
     78  1.14      tron struct linux_sys_ptrace_args {
     79  1.15       erh 	syscallarg(long) request;
     80  1.15       erh 	syscallarg(long) pid;
     81  1.15       erh 	syscallarg(long) addr;
     82  1.15       erh 	syscallarg(long) data;
     83  1.14      tron };
     84  1.59      matt #else
     85  1.59      matt #endif
     86  1.14      tron 
     87   1.1       erh struct linux_sys_access_args {
     88  1.15       erh 	syscallarg(const char *) path;
     89   1.1       erh 	syscallarg(int) flags;
     90   1.1       erh };
     91   1.1       erh 
     92   1.1       erh struct linux_sys_kill_args {
     93   1.1       erh 	syscallarg(int) pid;
     94   1.1       erh 	syscallarg(int) signum;
     95   1.1       erh };
     96   1.1       erh 
     97  1.23       erh struct osf1_sys_set_program_attributes_args {
     98  1.23       erh 	syscallarg(caddr_t) taddr;
     99  1.23       erh 	syscallarg(unsigned long) tsize;
    100  1.23       erh 	syscallarg(caddr_t) daddr;
    101  1.23       erh 	syscallarg(unsigned long) dsize;
    102  1.23       erh };
    103  1.23       erh 
    104   1.1       erh struct linux_sys_open_args {
    105  1.15       erh 	syscallarg(const char *) path;
    106   1.1       erh 	syscallarg(int) flags;
    107   1.1       erh 	syscallarg(int) mode;
    108   1.1       erh };
    109   1.1       erh 
    110   1.1       erh struct linux_sys_sigpending_args {
    111   1.1       erh 	syscallarg(linux_old_sigset_t *) set;
    112   1.1       erh };
    113   1.1       erh 
    114   1.1       erh struct linux_sys_ioctl_args {
    115   1.1       erh 	syscallarg(int) fd;
    116   1.1       erh 	syscallarg(u_long) com;
    117   1.1       erh 	syscallarg(caddr_t) data;
    118   1.1       erh };
    119   1.1       erh 
    120   1.1       erh struct linux_sys_symlink_args {
    121  1.15       erh 	syscallarg(const char *) path;
    122  1.15       erh 	syscallarg(const char *) to;
    123   1.1       erh };
    124   1.1       erh 
    125   1.1       erh struct linux_sys_readlink_args {
    126  1.15       erh 	syscallarg(const char *) name;
    127   1.1       erh 	syscallarg(char *) buf;
    128   1.1       erh 	syscallarg(int) count;
    129   1.1       erh };
    130   1.1       erh 
    131   1.1       erh struct linux_sys_execve_args {
    132  1.15       erh 	syscallarg(const char *) path;
    133   1.1       erh 	syscallarg(char **) argp;
    134   1.1       erh 	syscallarg(char **) envp;
    135   1.1       erh };
    136   1.1       erh 
    137   1.1       erh struct linux_sys_stat_args {
    138  1.15       erh 	syscallarg(const char *) path;
    139   1.1       erh 	syscallarg(struct linux_stat *) sp;
    140   1.1       erh };
    141   1.1       erh 
    142   1.1       erh struct linux_sys_lstat_args {
    143  1.15       erh 	syscallarg(const char *) path;
    144   1.1       erh 	syscallarg(struct linux_stat *) sp;
    145   1.1       erh };
    146   1.1       erh 
    147  1.44  christos struct linux_sys_mprotect_args {
    148  1.44  christos 	syscallarg(const void *) start;
    149  1.44  christos 	syscallarg(unsigned long) len;
    150  1.44  christos 	syscallarg(int) prot;
    151  1.44  christos };
    152  1.44  christos 
    153  1.23       erh struct osf1_sys_setitimer_args {
    154  1.23       erh 	syscallarg(u_int) which;
    155  1.23       erh 	syscallarg(struct osf1_itimerval *) itv;
    156  1.23       erh 	syscallarg(struct osf1_itimerval *) oitv;
    157  1.23       erh };
    158  1.23       erh 
    159   1.1       erh struct linux_sys_fstat_args {
    160   1.1       erh 	syscallarg(int) fd;
    161   1.1       erh 	syscallarg(struct linux_stat *) sp;
    162   1.1       erh };
    163   1.1       erh 
    164   1.1       erh struct linux_sys_fcntl_args {
    165   1.1       erh 	syscallarg(int) fd;
    166   1.1       erh 	syscallarg(int) cmd;
    167   1.1       erh 	syscallarg(void *) arg;
    168   1.1       erh };
    169   1.1       erh 
    170  1.23       erh struct osf1_sys_select_args {
    171  1.23       erh 	syscallarg(u_int) nd;
    172  1.23       erh 	syscallarg(fd_set *) in;
    173  1.23       erh 	syscallarg(fd_set *) ou;
    174  1.23       erh 	syscallarg(fd_set *) ex;
    175  1.23       erh 	syscallarg(struct osf1_timeval *) tv;
    176  1.23       erh };
    177  1.23       erh 
    178   1.1       erh struct linux_sys_socket_args {
    179   1.1       erh 	syscallarg(int) domain;
    180   1.1       erh 	syscallarg(int) type;
    181   1.1       erh 	syscallarg(int) protocol;
    182   1.1       erh };
    183   1.1       erh 
    184  1.16       erh struct linux_sys_connect_args {
    185  1.16       erh 	syscallarg(int) s;
    186  1.39  jdolecek 	syscallarg(const struct osockaddr *) name;
    187  1.16       erh 	syscallarg(unsigned int) namelen;
    188  1.16       erh };
    189  1.16       erh 
    190  1.39  jdolecek struct linux_sys_accept_args {
    191  1.39  jdolecek 	syscallarg(int) s;
    192  1.39  jdolecek 	syscallarg(struct osockaddr *) name;
    193  1.39  jdolecek 	syscallarg(int *) anamelen;
    194  1.39  jdolecek };
    195  1.39  jdolecek 
    196  1.58  christos struct linux_sys_getpriority_args {
    197  1.58  christos 	syscallarg(int) which;
    198  1.58  christos 	syscallarg(int) who;
    199  1.58  christos };
    200  1.58  christos 
    201  1.39  jdolecek struct linux_sys_send_args {
    202  1.39  jdolecek 	syscallarg(int) s;
    203  1.39  jdolecek 	syscallarg(caddr_t) buf;
    204  1.39  jdolecek 	syscallarg(int) len;
    205  1.39  jdolecek 	syscallarg(int) flags;
    206  1.39  jdolecek };
    207  1.39  jdolecek 
    208  1.39  jdolecek struct linux_sys_recv_args {
    209  1.39  jdolecek 	syscallarg(int) s;
    210  1.39  jdolecek 	syscallarg(caddr_t) buf;
    211  1.39  jdolecek 	syscallarg(int) len;
    212  1.39  jdolecek 	syscallarg(int) flags;
    213  1.39  jdolecek };
    214  1.39  jdolecek 
    215   1.1       erh struct linux_sys_sigreturn_args {
    216   1.1       erh 	syscallarg(struct linux_sigframe *) sfp;
    217   1.1       erh };
    218   1.1       erh 
    219  1.39  jdolecek struct linux_sys_bind_args {
    220  1.39  jdolecek 	syscallarg(int) s;
    221  1.39  jdolecek 	syscallarg(const struct osockaddr *) name;
    222  1.39  jdolecek 	syscallarg(unsigned int) namelen;
    223  1.39  jdolecek };
    224  1.39  jdolecek 
    225   1.1       erh struct linux_sys_setsockopt_args {
    226   1.1       erh 	syscallarg(int) s;
    227   1.1       erh 	syscallarg(int) level;
    228   1.1       erh 	syscallarg(int) optname;
    229   1.1       erh 	syscallarg(void *) optval;
    230   1.1       erh 	syscallarg(int) optlen;
    231   1.1       erh };
    232   1.1       erh 
    233   1.1       erh struct linux_sys_sigsuspend_args {
    234   1.1       erh 	syscallarg(caddr_t) restart;
    235   1.1       erh 	syscallarg(int) oldmask;
    236   1.1       erh 	syscallarg(int) mask;
    237   1.1       erh };
    238   1.1       erh 
    239  1.39  jdolecek struct linux_sys_recvmsg_args {
    240  1.39  jdolecek 	syscallarg(int) s;
    241  1.39  jdolecek 	syscallarg(struct msghdr *) msg;
    242  1.39  jdolecek 	syscallarg(int) flags;
    243  1.39  jdolecek };
    244  1.39  jdolecek 
    245  1.39  jdolecek struct linux_sys_sendmsg_args {
    246  1.39  jdolecek 	syscallarg(int) s;
    247  1.39  jdolecek 	syscallarg(const struct msghdr *) msg;
    248  1.39  jdolecek 	syscallarg(int) flags;
    249  1.39  jdolecek };
    250  1.39  jdolecek 
    251  1.23       erh struct osf1_sys_gettimeofday_args {
    252  1.23       erh 	syscallarg(struct osf1_timeval *) tv;
    253  1.23       erh 	syscallarg(struct osf1_timezone *) tzp;
    254  1.23       erh };
    255  1.23       erh 
    256  1.23       erh struct osf1_sys_getrusage_args {
    257  1.23       erh 	syscallarg(int) who;
    258  1.23       erh 	syscallarg(struct osf1_rusage *) rusage;
    259  1.23       erh };
    260  1.23       erh 
    261   1.1       erh struct linux_sys_getsockopt_args {
    262   1.1       erh 	syscallarg(int) s;
    263   1.1       erh 	syscallarg(int) level;
    264   1.1       erh 	syscallarg(int) optname;
    265   1.1       erh 	syscallarg(void *) optval;
    266   1.1       erh 	syscallarg(int *) optlen;
    267   1.1       erh };
    268   1.1       erh 
    269  1.23       erh struct osf1_sys_settimeofday_args {
    270  1.23       erh 	syscallarg(struct osf1_timeval *) tv;
    271  1.23       erh 	syscallarg(struct osf1_timezone *) tzp;
    272  1.23       erh };
    273  1.23       erh 
    274   1.1       erh struct linux_sys_recvfrom_args {
    275   1.1       erh 	syscallarg(int) s;
    276   1.1       erh 	syscallarg(void *) buf;
    277   1.1       erh 	syscallarg(int) len;
    278   1.1       erh 	syscallarg(int) flags;
    279  1.39  jdolecek 	syscallarg(struct osockaddr *) from;
    280  1.39  jdolecek 	syscallarg(int *) fromlenaddr;
    281   1.1       erh };
    282   1.1       erh 
    283   1.1       erh struct linux_sys_rename_args {
    284  1.15       erh 	syscallarg(const char *) from;
    285  1.15       erh 	syscallarg(const char *) to;
    286   1.1       erh };
    287   1.1       erh 
    288   1.1       erh struct linux_sys_truncate_args {
    289  1.15       erh 	syscallarg(const char *) path;
    290   1.1       erh 	syscallarg(long) length;
    291   1.1       erh };
    292   1.1       erh 
    293   1.1       erh struct linux_sys_sendto_args {
    294   1.1       erh 	syscallarg(int) s;
    295   1.1       erh 	syscallarg(void *) msg;
    296   1.1       erh 	syscallarg(int) len;
    297   1.1       erh 	syscallarg(int) flags;
    298  1.39  jdolecek 	syscallarg(struct osockaddr *) to;
    299   1.1       erh 	syscallarg(int) tolen;
    300   1.1       erh };
    301   1.1       erh 
    302   1.1       erh struct linux_sys_socketpair_args {
    303   1.1       erh 	syscallarg(int) domain;
    304   1.1       erh 	syscallarg(int) type;
    305   1.1       erh 	syscallarg(int) protocol;
    306   1.1       erh 	syscallarg(int *) rsv;
    307   1.1       erh };
    308   1.1       erh 
    309   1.1       erh struct linux_sys_mkdir_args {
    310  1.15       erh 	syscallarg(const char *) path;
    311   1.1       erh 	syscallarg(int) mode;
    312   1.1       erh };
    313   1.1       erh 
    314   1.1       erh struct linux_sys_rmdir_args {
    315  1.15       erh 	syscallarg(const char *) path;
    316   1.1       erh };
    317   1.1       erh 
    318  1.23       erh struct osf1_sys_utimes_args {
    319  1.23       erh 	syscallarg(const char *) path;
    320  1.23       erh 	syscallarg(const struct osf1_timeval *) tptr;
    321  1.23       erh };
    322  1.23       erh 
    323  1.39  jdolecek struct linux_sys_getpeername_args {
    324  1.39  jdolecek 	syscallarg(int) fdes;
    325  1.39  jdolecek 	syscallarg(caddr_t) asa;
    326  1.39  jdolecek 	syscallarg(int *) alen;
    327  1.39  jdolecek };
    328  1.39  jdolecek 
    329  1.43  christos struct linux_sys_getrlimit_args {
    330  1.43  christos 	syscallarg(int) which;
    331  1.43  christos 	syscallarg(struct orlimit *) rlp;
    332  1.43  christos };
    333  1.43  christos 
    334  1.43  christos struct linux_sys_setrlimit_args {
    335  1.43  christos 	syscallarg(int) which;
    336  1.43  christos 	syscallarg(const struct orlimit *) rlp;
    337  1.43  christos };
    338  1.43  christos 
    339  1.39  jdolecek struct linux_sys_getsockname_args {
    340  1.39  jdolecek 	syscallarg(int) fdec;
    341  1.39  jdolecek 	syscallarg(caddr_t) asa;
    342  1.39  jdolecek 	syscallarg(int *) alen;
    343  1.39  jdolecek };
    344  1.39  jdolecek 
    345   1.1       erh struct linux_sys_sigaction_args {
    346   1.1       erh 	syscallarg(int) signum;
    347   1.1       erh 	syscallarg(const struct linux_old_sigaction *) nsa;
    348   1.1       erh 	syscallarg(struct linux_old_sigaction *) osa;
    349   1.1       erh };
    350   1.1       erh 
    351  1.23       erh struct osf1_sys_statfs_args {
    352  1.23       erh 	syscallarg(const char *) path;
    353  1.23       erh 	syscallarg(struct osf1_statfs *) buf;
    354  1.23       erh 	syscallarg(int) len;
    355  1.23       erh };
    356  1.23       erh 
    357  1.23       erh struct osf1_sys_fstatfs_args {
    358  1.23       erh 	syscallarg(int) fd;
    359  1.23       erh 	syscallarg(struct osf1_statfs *) buf;
    360  1.23       erh 	syscallarg(int) len;
    361  1.23       erh };
    362  1.23       erh 
    363  1.24  jdolecek struct linux_sys_setdomainname_args {
    364  1.24  jdolecek 	syscallarg(char *) domainname;
    365  1.24  jdolecek 	syscallarg(int) len;
    366  1.24  jdolecek };
    367  1.24  jdolecek 
    368  1.42  christos struct linux_sys_ugetrlimit_args {
    369  1.42  christos 	syscallarg(int) which;
    370  1.42  christos 	syscallarg(struct rlimit *) rlp;
    371  1.42  christos };
    372  1.48  jdolecek #ifdef SYSVMSG
    373  1.48  jdolecek #else
    374  1.48  jdolecek #endif
    375  1.48  jdolecek #ifdef SYSVSEM
    376  1.48  jdolecek #else
    377  1.48  jdolecek #endif
    378  1.42  christos 
    379   1.1       erh struct linux_sys_olduname_args {
    380   1.1       erh 	syscallarg(struct linux_old_utsname *) up;
    381   1.1       erh };
    382  1.48  jdolecek #ifdef SYSVSHM
    383  1.52  jdolecek 
    384  1.52  jdolecek struct linux_sys_shmget_args {
    385  1.52  jdolecek 	syscallarg(key_t) key;
    386  1.52  jdolecek 	syscallarg(size_t) size;
    387  1.52  jdolecek 	syscallarg(int) shmflg;
    388  1.52  jdolecek };
    389  1.48  jdolecek #else
    390  1.48  jdolecek #endif
    391   1.1       erh 
    392   1.1       erh struct linux_sys_msync_args {
    393   1.1       erh 	syscallarg(caddr_t) addr;
    394   1.1       erh 	syscallarg(int) len;
    395   1.1       erh 	syscallarg(int) fl;
    396   1.1       erh };
    397   1.1       erh 
    398   1.1       erh struct linux_sys_getpgid_args {
    399   1.1       erh 	syscallarg(int) pid;
    400   1.1       erh };
    401   1.1       erh 
    402  1.23       erh struct osf1_sys_sysinfo_args {
    403  1.23       erh 	syscallarg(int) cmd;
    404  1.23       erh 	syscallarg(char) buf;
    405  1.23       erh 	syscallarg(long) len;
    406  1.23       erh };
    407  1.23       erh 
    408  1.23       erh struct osf1_sys_usleep_thread_args {
    409  1.23       erh 	syscallarg(struct osf1_timeval *) sleep;
    410  1.23       erh 	syscallarg(struct osf1_timeval *) slept;
    411  1.23       erh };
    412  1.23       erh 
    413  1.23       erh struct osf1_sys_getsysinfo_args {
    414  1.23       erh 	syscallarg(u_long) op;
    415  1.23       erh 	syscallarg(caddr_t) buffer;
    416  1.23       erh 	syscallarg(u_long) nbytes;
    417  1.23       erh 	syscallarg(caddr_t) arg;
    418  1.23       erh 	syscallarg(u_long) flag;
    419  1.23       erh };
    420  1.23       erh 
    421  1.23       erh struct osf1_sys_setsysinfo_args {
    422  1.23       erh 	syscallarg(u_long) op;
    423  1.23       erh 	syscallarg(caddr_t) buffer;
    424  1.23       erh 	syscallarg(u_long) nbytes;
    425  1.23       erh 	syscallarg(caddr_t) arg;
    426  1.23       erh 	syscallarg(u_long) flag;
    427  1.23       erh };
    428  1.23       erh 
    429   1.1       erh struct linux_sys_fdatasync_args {
    430   1.1       erh 	syscallarg(int) fd;
    431   1.1       erh };
    432   1.1       erh 
    433  1.25  jdolecek struct linux_sys_swapoff_args {
    434  1.25  jdolecek 	syscallarg(const char *) path;
    435  1.25  jdolecek };
    436  1.25  jdolecek 
    437   1.1       erh struct linux_sys_getdents_args {
    438   1.1       erh 	syscallarg(int) fd;
    439   1.1       erh 	syscallarg(struct linux_dirent *) dent;
    440   1.1       erh 	syscallarg(unsigned int) count;
    441   1.1       erh };
    442   1.1       erh 
    443  1.16       erh struct linux_sys_reboot_args {
    444  1.16       erh 	syscallarg(int) magic1;
    445  1.16       erh 	syscallarg(int) magic2;
    446  1.16       erh 	syscallarg(int) cmd;
    447  1.16       erh 	syscallarg(void *) arg;
    448  1.16       erh };
    449  1.16       erh 
    450  1.18       erh struct linux_sys_clone_args {
    451  1.18       erh 	syscallarg(int) flags;
    452  1.18       erh 	syscallarg(void *) stack;
    453  1.18       erh };
    454  1.48  jdolecek #ifdef EXEC_AOUT
    455  1.18       erh 
    456   1.1       erh struct linux_sys_uselib_args {
    457  1.24  jdolecek 	syscallarg(const char *) path;
    458   1.1       erh };
    459  1.48  jdolecek #else
    460  1.48  jdolecek #endif
    461   1.1       erh 
    462  1.31  jdolecek struct linux_sys_sysinfo_args {
    463  1.31  jdolecek 	syscallarg(struct linux_sysinfo *) arg;
    464  1.31  jdolecek };
    465  1.31  jdolecek 
    466   1.1       erh struct linux_sys___sysctl_args {
    467   1.1       erh 	syscallarg(struct linux___sysctl *) lsp;
    468   1.1       erh };
    469   1.1       erh 
    470  1.24  jdolecek struct linux_sys_swapon_args {
    471  1.24  jdolecek 	syscallarg(const char *) name;
    472  1.24  jdolecek };
    473  1.24  jdolecek 
    474   1.1       erh struct linux_sys_times_args {
    475   1.1       erh 	syscallarg(struct times *) tms;
    476   1.1       erh };
    477   1.1       erh 
    478   1.1       erh struct linux_sys_personality_args {
    479   1.1       erh 	syscallarg(int) per;
    480   1.1       erh };
    481   1.1       erh 
    482  1.15       erh struct linux_sys_setfsuid_args {
    483  1.15       erh 	syscallarg(uid_t) uid;
    484  1.15       erh };
    485  1.15       erh 
    486   1.1       erh struct linux_sys_statfs_args {
    487  1.15       erh 	syscallarg(const char *) path;
    488   1.1       erh 	syscallarg(struct linux_statfs *) sp;
    489   1.1       erh };
    490   1.1       erh 
    491   1.1       erh struct linux_sys_fstatfs_args {
    492   1.1       erh 	syscallarg(int) fd;
    493   1.1       erh 	syscallarg(struct linux_statfs *) sp;
    494   1.1       erh };
    495   1.1       erh 
    496  1.12      tron struct linux_sys_sched_setparam_args {
    497  1.12      tron 	syscallarg(pid_t) pid;
    498  1.12      tron 	syscallarg(const struct linux_sched_param *) sp;
    499  1.12      tron };
    500  1.12      tron 
    501  1.12      tron struct linux_sys_sched_getparam_args {
    502  1.12      tron 	syscallarg(pid_t) pid;
    503  1.12      tron 	syscallarg(struct linux_sched_param *) sp;
    504  1.12      tron };
    505  1.12      tron 
    506  1.12      tron struct linux_sys_sched_setscheduler_args {
    507  1.12      tron 	syscallarg(pid_t) pid;
    508  1.12      tron 	syscallarg(int) policy;
    509  1.12      tron 	syscallarg(const struct linux_sched_param *) sp;
    510  1.12      tron };
    511  1.12      tron 
    512  1.12      tron struct linux_sys_sched_getscheduler_args {
    513  1.12      tron 	syscallarg(pid_t) pid;
    514  1.12      tron };
    515  1.12      tron 
    516  1.12      tron struct linux_sys_sched_get_priority_max_args {
    517  1.12      tron 	syscallarg(int) policy;
    518  1.12      tron };
    519  1.12      tron 
    520  1.12      tron struct linux_sys_sched_get_priority_min_args {
    521  1.12      tron 	syscallarg(int) policy;
    522  1.12      tron };
    523  1.12      tron 
    524   1.1       erh struct linux_sys_uname_args {
    525   1.1       erh 	syscallarg(struct linux_utsname *) up;
    526   1.1       erh };
    527   1.1       erh 
    528   1.1       erh struct linux_sys_mremap_args {
    529   1.1       erh 	syscallarg(void *) old_address;
    530   1.1       erh 	syscallarg(size_t) old_size;
    531   1.1       erh 	syscallarg(size_t) new_size;
    532   1.1       erh 	syscallarg(u_long) flags;
    533   1.1       erh };
    534   1.1       erh 
    535  1.11   thorpej struct linux_sys_setresuid_args {
    536  1.11   thorpej 	syscallarg(uid_t) ruid;
    537  1.11   thorpej 	syscallarg(uid_t) euid;
    538  1.11   thorpej 	syscallarg(uid_t) suid;
    539  1.11   thorpej };
    540  1.11   thorpej 
    541  1.11   thorpej struct linux_sys_getresuid_args {
    542  1.11   thorpej 	syscallarg(uid_t *) ruid;
    543  1.11   thorpej 	syscallarg(uid_t *) euid;
    544  1.11   thorpej 	syscallarg(uid_t *) suid;
    545  1.11   thorpej };
    546  1.11   thorpej 
    547  1.13      tron struct linux_sys_pread_args {
    548  1.13      tron 	syscallarg(int) fd;
    549  1.13      tron 	syscallarg(char *) buf;
    550  1.13      tron 	syscallarg(size_t) nbyte;
    551  1.13      tron 	syscallarg(linux_off_t) offset;
    552  1.13      tron };
    553  1.13      tron 
    554  1.13      tron struct linux_sys_pwrite_args {
    555  1.13      tron 	syscallarg(int) fd;
    556  1.13      tron 	syscallarg(char *) buf;
    557  1.13      tron 	syscallarg(size_t) nbyte;
    558  1.13      tron 	syscallarg(linux_off_t) offset;
    559  1.13      tron };
    560  1.13      tron 
    561   1.1       erh struct linux_sys_rt_sigreturn_args {
    562   1.1       erh 	syscallarg(struct linux_rt_sigframe *) sfp;
    563   1.1       erh };
    564   1.1       erh 
    565   1.1       erh struct linux_sys_rt_sigaction_args {
    566   1.1       erh 	syscallarg(int) signum;
    567   1.1       erh 	syscallarg(const struct linux_sigaction *) nsa;
    568   1.1       erh 	syscallarg(struct linux_sigaction *) osa;
    569   1.1       erh 	syscallarg(size_t) sigsetsize;
    570   1.1       erh };
    571   1.1       erh 
    572   1.1       erh struct linux_sys_rt_sigprocmask_args {
    573   1.1       erh 	syscallarg(int) how;
    574   1.1       erh 	syscallarg(const linux_sigset_t *) set;
    575   1.1       erh 	syscallarg(linux_sigset_t *) oset;
    576   1.1       erh 	syscallarg(size_t) sigsetsize;
    577   1.1       erh };
    578   1.1       erh 
    579   1.1       erh struct linux_sys_rt_sigpending_args {
    580   1.1       erh 	syscallarg(linux_sigset_t *) set;
    581   1.1       erh 	syscallarg(size_t) sigsetsize;
    582   1.1       erh };
    583   1.1       erh 
    584   1.1       erh struct linux_sys_rt_queueinfo_args {
    585   1.1       erh 	syscallarg(int) pid;
    586   1.1       erh 	syscallarg(int) signum;
    587   1.4       erh 	syscallarg(linux_siginfo_t *) uinfo;
    588   1.1       erh };
    589   1.1       erh 
    590   1.1       erh struct linux_sys_rt_sigsuspend_args {
    591   1.1       erh 	syscallarg(linux_sigset_t *) unewset;
    592   1.1       erh 	syscallarg(size_t) sigsetsize;
    593   1.1       erh };
    594   1.1       erh 
    595   1.1       erh struct linux_sys_select_args {
    596   1.1       erh 	syscallarg(int) nfds;
    597   1.1       erh 	syscallarg(fd_set *) readfds;
    598   1.1       erh 	syscallarg(fd_set *) writefds;
    599   1.1       erh 	syscallarg(fd_set *) exceptfds;
    600   1.1       erh 	syscallarg(struct timeval *) timeout;
    601   1.1       erh };
    602   1.1       erh 
    603   1.1       erh struct linux_sys_wait4_args {
    604   1.1       erh 	syscallarg(int) pid;
    605   1.1       erh 	syscallarg(int *) status;
    606   1.1       erh 	syscallarg(int) options;
    607   1.1       erh 	syscallarg(struct rusage *) rusage;
    608   1.1       erh };
    609   1.1       erh 
    610  1.45  christos struct linux_sys_getdents64_args {
    611  1.45  christos 	syscallarg(int) fd;
    612  1.45  christos 	syscallarg(struct linux_dirent64 *) dent;
    613  1.45  christos 	syscallarg(unsigned int) count;
    614  1.45  christos };
    615  1.45  christos 
    616  1.55      fvdl struct linux_sys_setxattr_args {
    617  1.55      fvdl 	syscallarg(char *) path;
    618  1.55      fvdl 	syscallarg(char *) name;
    619  1.55      fvdl 	syscallarg(void *) value;
    620  1.55      fvdl 	syscallarg(size_t) size;
    621  1.55      fvdl 	syscallarg(int) flags;
    622  1.55      fvdl };
    623  1.55      fvdl 
    624  1.55      fvdl struct linux_sys_lsetxattr_args {
    625  1.55      fvdl 	syscallarg(char *) path;
    626  1.55      fvdl 	syscallarg(char *) name;
    627  1.55      fvdl 	syscallarg(void *) value;
    628  1.55      fvdl 	syscallarg(size_t) size;
    629  1.55      fvdl 	syscallarg(int) flags;
    630  1.55      fvdl };
    631  1.55      fvdl 
    632  1.55      fvdl struct linux_sys_fsetxattr_args {
    633  1.55      fvdl 	syscallarg(int) fd;
    634  1.55      fvdl 	syscallarg(char *) name;
    635  1.55      fvdl 	syscallarg(void *) value;
    636  1.55      fvdl 	syscallarg(size_t) size;
    637  1.55      fvdl 	syscallarg(int) flags;
    638  1.55      fvdl };
    639  1.55      fvdl 
    640  1.55      fvdl struct linux_sys_getxattr_args {
    641  1.55      fvdl 	syscallarg(char *) path;
    642  1.55      fvdl 	syscallarg(char *) name;
    643  1.55      fvdl 	syscallarg(void *) value;
    644  1.55      fvdl 	syscallarg(size_t) size;
    645  1.55      fvdl };
    646  1.55      fvdl 
    647  1.55      fvdl struct linux_sys_lgetxattr_args {
    648  1.55      fvdl 	syscallarg(char *) path;
    649  1.55      fvdl 	syscallarg(char *) name;
    650  1.55      fvdl 	syscallarg(void *) value;
    651  1.55      fvdl 	syscallarg(size_t) size;
    652  1.55      fvdl };
    653  1.55      fvdl 
    654  1.55      fvdl struct linux_sys_fgetxattr_args {
    655  1.55      fvdl 	syscallarg(int) fd;
    656  1.55      fvdl 	syscallarg(char *) name;
    657  1.55      fvdl 	syscallarg(void *) value;
    658  1.55      fvdl 	syscallarg(size_t) size;
    659  1.55      fvdl };
    660  1.55      fvdl 
    661  1.55      fvdl struct linux_sys_listxattr_args {
    662  1.55      fvdl 	syscallarg(char *) path;
    663  1.55      fvdl 	syscallarg(char *) list;
    664  1.55      fvdl 	syscallarg(size_t) size;
    665  1.55      fvdl };
    666  1.55      fvdl 
    667  1.55      fvdl struct linux_sys_llistxattr_args {
    668  1.55      fvdl 	syscallarg(char *) path;
    669  1.55      fvdl 	syscallarg(char *) list;
    670  1.55      fvdl 	syscallarg(size_t) size;
    671  1.55      fvdl };
    672  1.55      fvdl 
    673  1.55      fvdl struct linux_sys_flistxattr_args {
    674  1.55      fvdl 	syscallarg(int) fd;
    675  1.55      fvdl 	syscallarg(char *) list;
    676  1.55      fvdl 	syscallarg(size_t) size;
    677  1.55      fvdl };
    678  1.55      fvdl 
    679  1.55      fvdl struct linux_sys_removexattr_args {
    680  1.55      fvdl 	syscallarg(char *) path;
    681  1.55      fvdl 	syscallarg(char *) name;
    682  1.55      fvdl };
    683  1.55      fvdl 
    684  1.55      fvdl struct linux_sys_lremovexattr_args {
    685  1.55      fvdl 	syscallarg(char *) path;
    686  1.55      fvdl 	syscallarg(char *) name;
    687  1.55      fvdl };
    688  1.55      fvdl 
    689  1.55      fvdl struct linux_sys_fremovexattr_args {
    690  1.55      fvdl 	syscallarg(int) fd;
    691  1.55      fvdl 	syscallarg(char *) name;
    692  1.55      fvdl };
    693  1.55      fvdl 
    694  1.50  jdolecek struct linux_sys_exit_group_args {
    695  1.50  jdolecek 	syscallarg(int) error_code;
    696  1.50  jdolecek };
    697  1.50  jdolecek 
    698  1.56      fvdl struct linux_sys_clock_settime_args {
    699  1.56      fvdl 	syscallarg(clockid_t) which;
    700  1.56      fvdl 	syscallarg(struct linux_timespec *) tp;
    701  1.56      fvdl };
    702  1.56      fvdl 
    703  1.56      fvdl struct linux_sys_clock_gettime_args {
    704  1.56      fvdl 	syscallarg(clockid_t) which;
    705  1.56      fvdl 	syscallarg(struct linux_timespec *) tp;
    706  1.56      fvdl };
    707  1.56      fvdl 
    708  1.56      fvdl struct linux_sys_clock_getres_args {
    709  1.56      fvdl 	syscallarg(clockid_t) which;
    710  1.56      fvdl 	syscallarg(struct linux_timespec *) tp;
    711  1.56      fvdl };
    712  1.56      fvdl 
    713  1.56      fvdl struct linux_sys_clock_nanosleep_args {
    714  1.56      fvdl 	syscallarg(clockid_t) which;
    715  1.56      fvdl 	syscallarg(int) flags;
    716  1.56      fvdl 	syscallarg(struct linux_timespec *) rqtp;
    717  1.56      fvdl 	syscallarg(struct linux_timespec *) rmtp;
    718  1.56      fvdl };
    719  1.56      fvdl 
    720   1.1       erh /*
    721   1.1       erh  * System call prototypes.
    722   1.1       erh  */
    723   1.1       erh 
    724  1.46   thorpej int	linux_sys_nosys(struct lwp *, void *, register_t *);
    725  1.48  jdolecek 
    726  1.46   thorpej int	sys_exit(struct lwp *, void *, register_t *);
    727  1.48  jdolecek 
    728  1.46   thorpej int	sys_fork(struct lwp *, void *, register_t *);
    729  1.48  jdolecek 
    730  1.46   thorpej int	sys_read(struct lwp *, void *, register_t *);
    731  1.48  jdolecek 
    732  1.46   thorpej int	sys_write(struct lwp *, void *, register_t *);
    733  1.48  jdolecek 
    734  1.46   thorpej int	sys_close(struct lwp *, void *, register_t *);
    735  1.48  jdolecek 
    736  1.46   thorpej int	osf1_sys_wait4(struct lwp *, void *, register_t *);
    737  1.48  jdolecek 
    738  1.46   thorpej int	linux_sys_creat(struct lwp *, void *, register_t *);
    739  1.48  jdolecek 
    740  1.46   thorpej int	linux_sys_link(struct lwp *, void *, register_t *);
    741  1.48  jdolecek 
    742  1.46   thorpej int	linux_sys_unlink(struct lwp *, void *, register_t *);
    743  1.48  jdolecek 
    744  1.46   thorpej int	linux_sys_chdir(struct lwp *, void *, register_t *);
    745  1.48  jdolecek 
    746  1.46   thorpej int	sys_fchdir(struct lwp *, void *, register_t *);
    747  1.48  jdolecek 
    748  1.46   thorpej int	linux_sys_mknod(struct lwp *, void *, register_t *);
    749  1.48  jdolecek 
    750  1.46   thorpej int	linux_sys_chmod(struct lwp *, void *, register_t *);
    751  1.48  jdolecek 
    752  1.46   thorpej int	sys___posix_chown(struct lwp *, void *, register_t *);
    753  1.48  jdolecek 
    754  1.46   thorpej int	linux_sys_brk(struct lwp *, void *, register_t *);
    755  1.48  jdolecek 
    756  1.46   thorpej int	compat_43_sys_lseek(struct lwp *, void *, register_t *);
    757  1.48  jdolecek 
    758  1.46   thorpej int	sys_getpid_with_ppid(struct lwp *, void *, register_t *);
    759  1.48  jdolecek 
    760  1.46   thorpej int	osf1_sys_mount(struct lwp *, void *, register_t *);
    761  1.48  jdolecek 
    762  1.46   thorpej int	sys_setuid(struct lwp *, void *, register_t *);
    763  1.48  jdolecek 
    764  1.46   thorpej int	sys_getuid_with_euid(struct lwp *, void *, register_t *);
    765  1.48  jdolecek 
    766  1.59      matt #ifdef PTRACE
    767  1.46   thorpej int	linux_sys_ptrace(struct lwp *, void *, register_t *);
    768  1.48  jdolecek 
    769  1.59      matt #else
    770  1.59      matt #endif
    771  1.46   thorpej int	linux_sys_access(struct lwp *, void *, register_t *);
    772  1.48  jdolecek 
    773  1.46   thorpej int	sys_sync(struct lwp *, void *, register_t *);
    774  1.48  jdolecek 
    775  1.46   thorpej int	linux_sys_kill(struct lwp *, void *, register_t *);
    776  1.48  jdolecek 
    777  1.46   thorpej int	sys_setpgid(struct lwp *, void *, register_t *);
    778  1.48  jdolecek 
    779  1.46   thorpej int	sys_dup(struct lwp *, void *, register_t *);
    780  1.48  jdolecek 
    781  1.46   thorpej int	linux_sys_pipe(struct lwp *, void *, register_t *);
    782  1.48  jdolecek 
    783  1.46   thorpej int	osf1_sys_set_program_attributes(struct lwp *, void *, register_t *);
    784  1.48  jdolecek 
    785  1.46   thorpej int	linux_sys_open(struct lwp *, void *, register_t *);
    786  1.48  jdolecek 
    787  1.46   thorpej int	sys_getgid_with_egid(struct lwp *, void *, register_t *);
    788  1.48  jdolecek 
    789  1.46   thorpej int	compat_13_sys_sigprocmask(struct lwp *, void *, register_t *);
    790  1.48  jdolecek 
    791  1.46   thorpej int	sys_acct(struct lwp *, void *, register_t *);
    792  1.48  jdolecek 
    793  1.46   thorpej int	linux_sys_sigpending(struct lwp *, void *, register_t *);
    794  1.48  jdolecek 
    795  1.46   thorpej int	linux_sys_ioctl(struct lwp *, void *, register_t *);
    796  1.48  jdolecek 
    797  1.46   thorpej int	linux_sys_symlink(struct lwp *, void *, register_t *);
    798  1.48  jdolecek 
    799  1.46   thorpej int	linux_sys_readlink(struct lwp *, void *, register_t *);
    800  1.48  jdolecek 
    801  1.46   thorpej int	linux_sys_execve(struct lwp *, void *, register_t *);
    802  1.48  jdolecek 
    803  1.46   thorpej int	sys_umask(struct lwp *, void *, register_t *);
    804  1.48  jdolecek 
    805  1.46   thorpej int	sys_chroot(struct lwp *, void *, register_t *);
    806  1.48  jdolecek 
    807  1.46   thorpej int	sys_getpgrp(struct lwp *, void *, register_t *);
    808  1.48  jdolecek 
    809  1.46   thorpej int	compat_43_sys_getpagesize(struct lwp *, void *, register_t *);
    810  1.48  jdolecek 
    811  1.46   thorpej int	sys___vfork14(struct lwp *, void *, register_t *);
    812  1.48  jdolecek 
    813  1.46   thorpej int	linux_sys_stat(struct lwp *, void *, register_t *);
    814  1.48  jdolecek 
    815  1.46   thorpej int	linux_sys_lstat(struct lwp *, void *, register_t *);
    816  1.48  jdolecek 
    817  1.46   thorpej int	linux_sys_mmap(struct lwp *, void *, register_t *);
    818  1.48  jdolecek 
    819  1.46   thorpej int	sys_munmap(struct lwp *, void *, register_t *);
    820  1.48  jdolecek 
    821  1.46   thorpej int	linux_sys_mprotect(struct lwp *, void *, register_t *);
    822  1.48  jdolecek 
    823  1.48  jdolecek int	sys_madvise(struct lwp *, void *, register_t *);
    824  1.48  jdolecek 
    825  1.46   thorpej int	sys_getgroups(struct lwp *, void *, register_t *);
    826  1.48  jdolecek 
    827  1.46   thorpej int	sys_setgroups(struct lwp *, void *, register_t *);
    828  1.48  jdolecek 
    829  1.46   thorpej int	osf1_sys_setitimer(struct lwp *, void *, register_t *);
    830  1.48  jdolecek 
    831  1.46   thorpej int	compat_43_sys_gethostname(struct lwp *, void *, register_t *);
    832  1.48  jdolecek 
    833  1.46   thorpej int	compat_43_sys_sethostname(struct lwp *, void *, register_t *);
    834  1.48  jdolecek 
    835  1.46   thorpej int	sys_dup2(struct lwp *, void *, register_t *);
    836  1.48  jdolecek 
    837  1.46   thorpej int	linux_sys_fstat(struct lwp *, void *, register_t *);
    838  1.48  jdolecek 
    839  1.46   thorpej int	linux_sys_fcntl(struct lwp *, void *, register_t *);
    840  1.48  jdolecek 
    841  1.46   thorpej int	osf1_sys_select(struct lwp *, void *, register_t *);
    842  1.48  jdolecek 
    843  1.46   thorpej int	sys_poll(struct lwp *, void *, register_t *);
    844  1.48  jdolecek 
    845  1.46   thorpej int	sys_fsync(struct lwp *, void *, register_t *);
    846  1.48  jdolecek 
    847  1.46   thorpej int	sys_setpriority(struct lwp *, void *, register_t *);
    848  1.48  jdolecek 
    849  1.46   thorpej int	linux_sys_socket(struct lwp *, void *, register_t *);
    850  1.48  jdolecek 
    851  1.46   thorpej int	linux_sys_connect(struct lwp *, void *, register_t *);
    852  1.48  jdolecek 
    853  1.46   thorpej int	linux_sys_accept(struct lwp *, void *, register_t *);
    854  1.48  jdolecek 
    855  1.58  christos int	linux_sys_getpriority(struct lwp *, void *, register_t *);
    856  1.48  jdolecek 
    857  1.46   thorpej int	linux_sys_send(struct lwp *, void *, register_t *);
    858  1.48  jdolecek 
    859  1.46   thorpej int	linux_sys_recv(struct lwp *, void *, register_t *);
    860  1.48  jdolecek 
    861  1.46   thorpej int	linux_sys_sigreturn(struct lwp *, void *, register_t *);
    862  1.48  jdolecek 
    863  1.46   thorpej int	linux_sys_bind(struct lwp *, void *, register_t *);
    864  1.48  jdolecek 
    865  1.46   thorpej int	linux_sys_setsockopt(struct lwp *, void *, register_t *);
    866  1.48  jdolecek 
    867  1.46   thorpej int	sys_listen(struct lwp *, void *, register_t *);
    868  1.48  jdolecek 
    869  1.46   thorpej int	linux_sys_sigsuspend(struct lwp *, void *, register_t *);
    870  1.48  jdolecek 
    871  1.46   thorpej int	compat_43_sys_sigstack(struct lwp *, void *, register_t *);
    872  1.48  jdolecek 
    873  1.46   thorpej int	linux_sys_recvmsg(struct lwp *, void *, register_t *);
    874  1.48  jdolecek 
    875  1.46   thorpej int	linux_sys_sendmsg(struct lwp *, void *, register_t *);
    876  1.48  jdolecek 
    877  1.46   thorpej int	osf1_sys_gettimeofday(struct lwp *, void *, register_t *);
    878  1.48  jdolecek 
    879  1.46   thorpej int	osf1_sys_getrusage(struct lwp *, void *, register_t *);
    880  1.48  jdolecek 
    881  1.46   thorpej int	linux_sys_getsockopt(struct lwp *, void *, register_t *);
    882  1.48  jdolecek 
    883  1.46   thorpej int	sys_readv(struct lwp *, void *, register_t *);
    884  1.48  jdolecek 
    885  1.46   thorpej int	sys_writev(struct lwp *, void *, register_t *);
    886  1.48  jdolecek 
    887  1.46   thorpej int	osf1_sys_settimeofday(struct lwp *, void *, register_t *);
    888  1.48  jdolecek 
    889  1.46   thorpej int	sys___posix_fchown(struct lwp *, void *, register_t *);
    890  1.48  jdolecek 
    891  1.46   thorpej int	sys_fchmod(struct lwp *, void *, register_t *);
    892  1.48  jdolecek 
    893  1.46   thorpej int	linux_sys_recvfrom(struct lwp *, void *, register_t *);
    894  1.48  jdolecek 
    895  1.46   thorpej int	sys_setreuid(struct lwp *, void *, register_t *);
    896  1.48  jdolecek 
    897  1.46   thorpej int	sys_setregid(struct lwp *, void *, register_t *);
    898  1.48  jdolecek 
    899  1.46   thorpej int	linux_sys_rename(struct lwp *, void *, register_t *);
    900  1.48  jdolecek 
    901  1.46   thorpej int	linux_sys_truncate(struct lwp *, void *, register_t *);
    902  1.48  jdolecek 
    903  1.46   thorpej int	compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
    904  1.48  jdolecek 
    905  1.46   thorpej int	sys_flock(struct lwp *, void *, register_t *);
    906  1.48  jdolecek 
    907  1.46   thorpej int	sys_setgid(struct lwp *, void *, register_t *);
    908  1.48  jdolecek 
    909  1.46   thorpej int	linux_sys_sendto(struct lwp *, void *, register_t *);
    910  1.48  jdolecek 
    911  1.46   thorpej int	sys_shutdown(struct lwp *, void *, register_t *);
    912  1.48  jdolecek 
    913  1.46   thorpej int	linux_sys_socketpair(struct lwp *, void *, register_t *);
    914  1.48  jdolecek 
    915  1.46   thorpej int	linux_sys_mkdir(struct lwp *, void *, register_t *);
    916  1.48  jdolecek 
    917  1.46   thorpej int	linux_sys_rmdir(struct lwp *, void *, register_t *);
    918  1.48  jdolecek 
    919  1.46   thorpej int	osf1_sys_utimes(struct lwp *, void *, register_t *);
    920  1.48  jdolecek 
    921  1.46   thorpej int	linux_sys_getpeername(struct lwp *, void *, register_t *);
    922  1.48  jdolecek 
    923  1.46   thorpej int	linux_sys_getrlimit(struct lwp *, void *, register_t *);
    924  1.48  jdolecek 
    925  1.46   thorpej int	linux_sys_setrlimit(struct lwp *, void *, register_t *);
    926  1.48  jdolecek 
    927  1.46   thorpej int	sys_setsid(struct lwp *, void *, register_t *);
    928  1.48  jdolecek 
    929  1.46   thorpej int	linux_sys_getsockname(struct lwp *, void *, register_t *);
    930  1.48  jdolecek 
    931  1.46   thorpej int	linux_sys_sigaction(struct lwp *, void *, register_t *);
    932  1.48  jdolecek 
    933  1.46   thorpej int	compat_43_sys_getdirentries(struct lwp *, void *, register_t *);
    934  1.48  jdolecek 
    935  1.46   thorpej int	osf1_sys_statfs(struct lwp *, void *, register_t *);
    936  1.48  jdolecek 
    937  1.46   thorpej int	osf1_sys_fstatfs(struct lwp *, void *, register_t *);
    938  1.48  jdolecek 
    939  1.46   thorpej int	compat_09_sys_getdomainname(struct lwp *, void *, register_t *);
    940  1.48  jdolecek 
    941  1.46   thorpej int	linux_sys_setdomainname(struct lwp *, void *, register_t *);
    942  1.48  jdolecek 
    943  1.46   thorpej int	linux_sys_ugetrlimit(struct lwp *, void *, register_t *);
    944  1.48  jdolecek 
    945   1.1       erh #ifdef SYSVMSG
    946  1.46   thorpej int	linux_sys_msgctl(struct lwp *, void *, register_t *);
    947  1.48  jdolecek 
    948  1.46   thorpej int	sys_msgget(struct lwp *, void *, register_t *);
    949  1.48  jdolecek 
    950  1.46   thorpej int	sys_msgrcv(struct lwp *, void *, register_t *);
    951  1.48  jdolecek 
    952  1.46   thorpej int	sys_msgsnd(struct lwp *, void *, register_t *);
    953  1.48  jdolecek 
    954   1.1       erh #else
    955   1.1       erh #endif
    956   1.1       erh #ifdef SYSVSEM
    957  1.46   thorpej int	linux_sys_semctl(struct lwp *, void *, register_t *);
    958  1.48  jdolecek 
    959  1.46   thorpej int	sys_semget(struct lwp *, void *, register_t *);
    960  1.48  jdolecek 
    961  1.46   thorpej int	sys_semop(struct lwp *, void *, register_t *);
    962  1.48  jdolecek 
    963   1.1       erh #else
    964   1.1       erh #endif
    965  1.46   thorpej int	linux_sys_olduname(struct lwp *, void *, register_t *);
    966  1.48  jdolecek 
    967  1.46   thorpej int	sys___posix_lchown(struct lwp *, void *, register_t *);
    968  1.48  jdolecek 
    969   1.1       erh #ifdef SYSVSHM
    970  1.46   thorpej int	linux_sys_shmat(struct lwp *, void *, register_t *);
    971  1.48  jdolecek 
    972  1.46   thorpej int	linux_sys_shmctl(struct lwp *, void *, register_t *);
    973  1.48  jdolecek 
    974  1.46   thorpej int	sys_shmdt(struct lwp *, void *, register_t *);
    975  1.48  jdolecek 
    976  1.51  jdolecek int	linux_sys_shmget(struct lwp *, void *, register_t *);
    977  1.48  jdolecek 
    978   1.1       erh #else
    979   1.1       erh #endif
    980  1.46   thorpej int	linux_sys_msync(struct lwp *, void *, register_t *);
    981  1.48  jdolecek 
    982  1.46   thorpej int	linux_sys_getpgid(struct lwp *, void *, register_t *);
    983  1.48  jdolecek 
    984  1.46   thorpej int	sys_getsid(struct lwp *, void *, register_t *);
    985  1.48  jdolecek 
    986  1.46   thorpej int	osf1_sys_sysinfo(struct lwp *, void *, register_t *);
    987  1.48  jdolecek 
    988  1.46   thorpej int	osf1_sys_usleep_thread(struct lwp *, void *, register_t *);
    989  1.48  jdolecek 
    990  1.46   thorpej int	osf1_sys_getsysinfo(struct lwp *, void *, register_t *);
    991  1.48  jdolecek 
    992  1.46   thorpej int	osf1_sys_setsysinfo(struct lwp *, void *, register_t *);
    993  1.48  jdolecek 
    994  1.46   thorpej int	linux_sys_fdatasync(struct lwp *, void *, register_t *);
    995  1.48  jdolecek 
    996  1.46   thorpej int	linux_sys_swapoff(struct lwp *, void *, register_t *);
    997  1.48  jdolecek 
    998  1.46   thorpej int	linux_sys_getdents(struct lwp *, void *, register_t *);
    999  1.48  jdolecek 
   1000  1.46   thorpej int	linux_sys_reboot(struct lwp *, void *, register_t *);
   1001  1.48  jdolecek 
   1002  1.46   thorpej int	linux_sys_clone(struct lwp *, void *, register_t *);
   1003  1.48  jdolecek 
   1004   1.1       erh #ifdef EXEC_AOUT
   1005  1.46   thorpej int	linux_sys_uselib(struct lwp *, void *, register_t *);
   1006  1.48  jdolecek 
   1007   1.1       erh #else
   1008   1.1       erh #endif
   1009  1.46   thorpej int	sys_mlock(struct lwp *, void *, register_t *);
   1010  1.48  jdolecek 
   1011  1.46   thorpej int	sys_munlock(struct lwp *, void *, register_t *);
   1012  1.48  jdolecek 
   1013  1.46   thorpej int	sys_mlockall(struct lwp *, void *, register_t *);
   1014  1.48  jdolecek 
   1015  1.46   thorpej int	sys_munlockall(struct lwp *, void *, register_t *);
   1016  1.48  jdolecek 
   1017  1.46   thorpej int	linux_sys_sysinfo(struct lwp *, void *, register_t *);
   1018  1.48  jdolecek 
   1019  1.46   thorpej int	linux_sys___sysctl(struct lwp *, void *, register_t *);
   1020  1.48  jdolecek 
   1021  1.46   thorpej int	linux_sys_swapon(struct lwp *, void *, register_t *);
   1022  1.48  jdolecek 
   1023  1.46   thorpej int	linux_sys_times(struct lwp *, void *, register_t *);
   1024  1.48  jdolecek 
   1025  1.46   thorpej int	linux_sys_personality(struct lwp *, void *, register_t *);
   1026  1.48  jdolecek 
   1027  1.46   thorpej int	linux_sys_setfsuid(struct lwp *, void *, register_t *);
   1028  1.48  jdolecek 
   1029  1.46   thorpej int	linux_sys_statfs(struct lwp *, void *, register_t *);
   1030  1.48  jdolecek 
   1031  1.46   thorpej int	linux_sys_fstatfs(struct lwp *, void *, register_t *);
   1032  1.48  jdolecek 
   1033  1.46   thorpej int	linux_sys_sched_setparam(struct lwp *, void *, register_t *);
   1034  1.48  jdolecek 
   1035  1.46   thorpej int	linux_sys_sched_getparam(struct lwp *, void *, register_t *);
   1036  1.48  jdolecek 
   1037  1.46   thorpej int	linux_sys_sched_setscheduler(struct lwp *, void *, register_t *);
   1038  1.48  jdolecek 
   1039  1.46   thorpej int	linux_sys_sched_getscheduler(struct lwp *, void *, register_t *);
   1040  1.48  jdolecek 
   1041  1.46   thorpej int	linux_sys_sched_yield(struct lwp *, void *, register_t *);
   1042  1.48  jdolecek 
   1043  1.46   thorpej int	linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
   1044  1.48  jdolecek 
   1045  1.46   thorpej int	linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
   1046  1.48  jdolecek 
   1047  1.46   thorpej int	linux_sys_uname(struct lwp *, void *, register_t *);
   1048  1.48  jdolecek 
   1049  1.46   thorpej int	sys_nanosleep(struct lwp *, void *, register_t *);
   1050  1.48  jdolecek 
   1051  1.46   thorpej int	linux_sys_mremap(struct lwp *, void *, register_t *);
   1052  1.48  jdolecek 
   1053  1.46   thorpej int	linux_sys_setresuid(struct lwp *, void *, register_t *);
   1054  1.48  jdolecek 
   1055  1.46   thorpej int	linux_sys_getresuid(struct lwp *, void *, register_t *);
   1056  1.48  jdolecek 
   1057  1.46   thorpej int	linux_sys_pread(struct lwp *, void *, register_t *);
   1058  1.48  jdolecek 
   1059  1.46   thorpej int	linux_sys_pwrite(struct lwp *, void *, register_t *);
   1060  1.48  jdolecek 
   1061  1.46   thorpej int	linux_sys_rt_sigreturn(struct lwp *, void *, register_t *);
   1062  1.48  jdolecek 
   1063  1.46   thorpej int	linux_sys_rt_sigaction(struct lwp *, void *, register_t *);
   1064  1.48  jdolecek 
   1065  1.46   thorpej int	linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
   1066  1.48  jdolecek 
   1067  1.46   thorpej int	linux_sys_rt_sigpending(struct lwp *, void *, register_t *);
   1068  1.48  jdolecek 
   1069  1.46   thorpej int	linux_sys_rt_queueinfo(struct lwp *, void *, register_t *);
   1070  1.48  jdolecek 
   1071  1.46   thorpej int	linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
   1072  1.48  jdolecek 
   1073  1.46   thorpej int	linux_sys_select(struct lwp *, void *, register_t *);
   1074  1.48  jdolecek 
   1075  1.46   thorpej int	sys_gettimeofday(struct lwp *, void *, register_t *);
   1076  1.48  jdolecek 
   1077  1.46   thorpej int	sys_settimeofday(struct lwp *, void *, register_t *);
   1078  1.48  jdolecek 
   1079  1.46   thorpej int	sys_getitimer(struct lwp *, void *, register_t *);
   1080  1.48  jdolecek 
   1081  1.46   thorpej int	sys_setitimer(struct lwp *, void *, register_t *);
   1082  1.48  jdolecek 
   1083  1.46   thorpej int	sys_utimes(struct lwp *, void *, register_t *);
   1084  1.48  jdolecek 
   1085  1.46   thorpej int	sys_getrusage(struct lwp *, void *, register_t *);
   1086  1.48  jdolecek 
   1087  1.46   thorpej int	linux_sys_wait4(struct lwp *, void *, register_t *);
   1088  1.48  jdolecek 
   1089  1.46   thorpej int	sys___getcwd(struct lwp *, void *, register_t *);
   1090  1.48  jdolecek 
   1091  1.48  jdolecek int	sys_mincore(struct lwp *, void *, register_t *);
   1092  1.48  jdolecek 
   1093  1.46   thorpej int	linux_sys_getdents64(struct lwp *, void *, register_t *);
   1094  1.48  jdolecek 
   1095  1.55      fvdl int	linux_sys_setxattr(struct lwp *, void *, register_t *);
   1096  1.55      fvdl 
   1097  1.55      fvdl int	linux_sys_lsetxattr(struct lwp *, void *, register_t *);
   1098  1.55      fvdl 
   1099  1.55      fvdl int	linux_sys_fsetxattr(struct lwp *, void *, register_t *);
   1100  1.55      fvdl 
   1101  1.55      fvdl int	linux_sys_getxattr(struct lwp *, void *, register_t *);
   1102  1.55      fvdl 
   1103  1.55      fvdl int	linux_sys_lgetxattr(struct lwp *, void *, register_t *);
   1104  1.55      fvdl 
   1105  1.55      fvdl int	linux_sys_fgetxattr(struct lwp *, void *, register_t *);
   1106  1.55      fvdl 
   1107  1.55      fvdl int	linux_sys_listxattr(struct lwp *, void *, register_t *);
   1108  1.55      fvdl 
   1109  1.55      fvdl int	linux_sys_llistxattr(struct lwp *, void *, register_t *);
   1110  1.55      fvdl 
   1111  1.55      fvdl int	linux_sys_flistxattr(struct lwp *, void *, register_t *);
   1112  1.55      fvdl 
   1113  1.55      fvdl int	linux_sys_removexattr(struct lwp *, void *, register_t *);
   1114  1.55      fvdl 
   1115  1.55      fvdl int	linux_sys_lremovexattr(struct lwp *, void *, register_t *);
   1116  1.55      fvdl 
   1117  1.55      fvdl int	linux_sys_fremovexattr(struct lwp *, void *, register_t *);
   1118  1.55      fvdl 
   1119  1.50  jdolecek int	linux_sys_exit_group(struct lwp *, void *, register_t *);
   1120  1.50  jdolecek 
   1121  1.56      fvdl int	linux_sys_clock_settime(struct lwp *, void *, register_t *);
   1122  1.56      fvdl 
   1123  1.56      fvdl int	linux_sys_clock_gettime(struct lwp *, void *, register_t *);
   1124  1.56      fvdl 
   1125  1.56      fvdl int	linux_sys_clock_getres(struct lwp *, void *, register_t *);
   1126  1.56      fvdl 
   1127  1.56      fvdl int	linux_sys_clock_nanosleep(struct lwp *, void *, register_t *);
   1128  1.56      fvdl 
   1129  1.58  christos #endif /* _LINUX_SYS_SYSCALLARGS_H_ */
   1130