Home | History | Annotate | Line # | Download | only in i386
linux_syscallargs.h revision 1.57.2.3
      1  1.57.2.3      yamt /* $NetBSD: linux_syscallargs.h,v 1.57.2.3 2007/09/03 14:32:16 yamt 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.57.2.3      yamt  * created from	NetBSD: syscalls.master,v 1.84 2007/06/13 20:57:33 christos Exp
      8       1.1       erh  */
      9       1.1       erh 
     10  1.57.2.1      yamt #ifndef _LINUX_SYS_SYSCALLARGS_H_
     11  1.57.2.1      yamt #define	_LINUX_SYS_SYSCALLARGS_H_
     12       1.5  christos 
     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.1       erh struct linux_sys_open_args {
     31       1.5  christos 	syscallarg(const char *) path;
     32       1.1       erh 	syscallarg(int) flags;
     33       1.1       erh 	syscallarg(int) mode;
     34       1.1       erh };
     35       1.1       erh 
     36       1.1       erh struct linux_sys_waitpid_args {
     37       1.1       erh 	syscallarg(int) pid;
     38       1.1       erh 	syscallarg(int *) status;
     39       1.1       erh 	syscallarg(int) options;
     40       1.1       erh };
     41       1.1       erh 
     42       1.1       erh struct linux_sys_creat_args {
     43       1.5  christos 	syscallarg(const char *) path;
     44       1.1       erh 	syscallarg(int) mode;
     45       1.1       erh };
     46       1.1       erh 
     47      1.32      fvdl struct linux_sys_link_args {
     48      1.32      fvdl 	syscallarg(const char *) path;
     49      1.32      fvdl 	syscallarg(const char *) link;
     50      1.32      fvdl };
     51      1.32      fvdl 
     52       1.1       erh struct linux_sys_unlink_args {
     53       1.5  christos 	syscallarg(const char *) path;
     54       1.1       erh };
     55       1.1       erh 
     56       1.1       erh struct linux_sys_execve_args {
     57       1.5  christos 	syscallarg(const char *) path;
     58       1.1       erh 	syscallarg(char **) argp;
     59       1.1       erh 	syscallarg(char **) envp;
     60       1.1       erh };
     61       1.1       erh 
     62       1.1       erh struct linux_sys_chdir_args {
     63       1.5  christos 	syscallarg(const char *) path;
     64       1.1       erh };
     65       1.1       erh 
     66       1.1       erh struct linux_sys_time_args {
     67       1.1       erh 	syscallarg(linux_time_t *) t;
     68       1.1       erh };
     69       1.1       erh 
     70       1.1       erh struct linux_sys_mknod_args {
     71       1.5  christos 	syscallarg(const char *) path;
     72       1.1       erh 	syscallarg(int) mode;
     73       1.1       erh 	syscallarg(int) dev;
     74       1.1       erh };
     75       1.1       erh 
     76       1.1       erh struct linux_sys_chmod_args {
     77       1.5  christos 	syscallarg(const char *) path;
     78       1.1       erh 	syscallarg(int) mode;
     79       1.1       erh };
     80       1.1       erh 
     81      1.30      fvdl struct linux_sys_lchown16_args {
     82       1.5  christos 	syscallarg(const char *) path;
     83       1.1       erh 	syscallarg(int) uid;
     84       1.1       erh 	syscallarg(int) gid;
     85       1.1       erh };
     86       1.1       erh 
     87       1.1       erh struct linux_sys_break_args {
     88       1.1       erh 	syscallarg(char *) nsize;
     89       1.1       erh };
     90  1.57.2.3      yamt #ifdef	LINUX_NPTL
     91  1.57.2.3      yamt #else
     92  1.57.2.3      yamt #endif
     93       1.1       erh 
     94      1.11      tron struct linux_sys_stime_args {
     95      1.11      tron 	syscallarg(linux_time_t *) t;
     96      1.11      tron };
     97      1.11      tron 
     98      1.15      tron struct linux_sys_ptrace_args {
     99      1.15      tron 	syscallarg(int) request;
    100      1.15      tron 	syscallarg(int) pid;
    101      1.15      tron 	syscallarg(int) addr;
    102      1.15      tron 	syscallarg(int) data;
    103      1.15      tron };
    104      1.15      tron 
    105       1.1       erh struct linux_sys_alarm_args {
    106       1.1       erh 	syscallarg(unsigned int) secs;
    107       1.1       erh };
    108       1.1       erh 
    109       1.1       erh struct linux_sys_utime_args {
    110       1.5  christos 	syscallarg(const char *) path;
    111       1.1       erh 	syscallarg(struct linux_utimbuf *) times;
    112       1.1       erh };
    113       1.1       erh 
    114       1.1       erh struct linux_sys_access_args {
    115       1.5  christos 	syscallarg(const char *) path;
    116       1.1       erh 	syscallarg(int) flags;
    117       1.1       erh };
    118       1.1       erh 
    119       1.1       erh struct linux_sys_nice_args {
    120       1.1       erh 	syscallarg(int) incr;
    121       1.1       erh };
    122       1.1       erh 
    123       1.1       erh struct linux_sys_kill_args {
    124       1.1       erh 	syscallarg(int) pid;
    125       1.1       erh 	syscallarg(int) signum;
    126       1.1       erh };
    127       1.1       erh 
    128       1.1       erh struct linux_sys_rename_args {
    129       1.5  christos 	syscallarg(const char *) from;
    130       1.5  christos 	syscallarg(const char *) to;
    131       1.1       erh };
    132       1.1       erh 
    133       1.1       erh struct linux_sys_mkdir_args {
    134       1.5  christos 	syscallarg(const char *) path;
    135       1.1       erh 	syscallarg(int) mode;
    136       1.1       erh };
    137       1.1       erh 
    138       1.1       erh struct linux_sys_rmdir_args {
    139       1.5  christos 	syscallarg(const char *) path;
    140       1.1       erh };
    141       1.1       erh 
    142       1.1       erh struct linux_sys_pipe_args {
    143       1.1       erh 	syscallarg(int *) pfds;
    144       1.1       erh };
    145       1.1       erh 
    146       1.1       erh struct linux_sys_times_args {
    147       1.1       erh 	syscallarg(struct times *) tms;
    148       1.1       erh };
    149       1.1       erh 
    150       1.1       erh struct linux_sys_brk_args {
    151       1.1       erh 	syscallarg(char *) nsize;
    152       1.1       erh };
    153       1.1       erh 
    154       1.1       erh struct linux_sys_signal_args {
    155      1.13      tron 	syscallarg(int) signum;
    156       1.1       erh 	syscallarg(linux_handler_t) handler;
    157       1.1       erh };
    158       1.1       erh 
    159       1.1       erh struct linux_sys_ioctl_args {
    160       1.1       erh 	syscallarg(int) fd;
    161       1.1       erh 	syscallarg(u_long) com;
    162  1.57.2.3      yamt 	syscallarg(void *) data;
    163       1.1       erh };
    164       1.1       erh 
    165       1.1       erh struct linux_sys_fcntl_args {
    166       1.1       erh 	syscallarg(int) fd;
    167       1.1       erh 	syscallarg(int) cmd;
    168       1.1       erh 	syscallarg(void *) arg;
    169       1.1       erh };
    170       1.1       erh 
    171       1.1       erh struct linux_sys_oldolduname_args {
    172       1.1       erh 	syscallarg(struct linux_oldold_utsname *) up;
    173       1.1       erh };
    174  1.57.2.3      yamt #ifdef LINUX_NPTL
    175  1.57.2.3      yamt #else
    176  1.57.2.3      yamt #endif
    177       1.1       erh 
    178       1.1       erh struct linux_sys_sigaction_args {
    179       1.1       erh 	syscallarg(int) signum;
    180       1.1       erh 	syscallarg(const struct linux_old_sigaction *) nsa;
    181       1.1       erh 	syscallarg(struct linux_old_sigaction *) osa;
    182       1.1       erh };
    183       1.1       erh 
    184       1.1       erh struct linux_sys_sigsetmask_args {
    185       1.1       erh 	syscallarg(linux_old_sigset_t) mask;
    186       1.1       erh };
    187       1.1       erh 
    188      1.30      fvdl struct linux_sys_setreuid16_args {
    189       1.1       erh 	syscallarg(int) ruid;
    190       1.1       erh 	syscallarg(int) euid;
    191       1.1       erh };
    192       1.1       erh 
    193      1.30      fvdl struct linux_sys_setregid16_args {
    194       1.1       erh 	syscallarg(int) rgid;
    195       1.1       erh 	syscallarg(int) egid;
    196       1.1       erh };
    197       1.1       erh 
    198       1.1       erh struct linux_sys_sigsuspend_args {
    199  1.57.2.3      yamt 	syscallarg(void *) restart;
    200       1.1       erh 	syscallarg(int) oldmask;
    201       1.1       erh 	syscallarg(int) mask;
    202       1.1       erh };
    203       1.1       erh 
    204       1.1       erh struct linux_sys_sigpending_args {
    205       1.1       erh 	syscallarg(linux_old_sigset_t *) set;
    206       1.1       erh };
    207       1.1       erh 
    208      1.41  christos struct linux_sys_setrlimit_args {
    209      1.41  christos 	syscallarg(u_int) which;
    210      1.41  christos 	syscallarg(struct orlimit *) rlp;
    211      1.41  christos };
    212      1.41  christos 
    213      1.41  christos struct linux_sys_getrlimit_args {
    214      1.41  christos 	syscallarg(u_int) which;
    215      1.41  christos 	syscallarg(struct orlimit *) rlp;
    216      1.41  christos };
    217      1.41  christos 
    218      1.37      manu struct linux_sys_gettimeofday_args {
    219      1.37      manu 	syscallarg(struct timeval *) tp;
    220      1.37      manu 	syscallarg(struct timezone *) tzp;
    221      1.37      manu };
    222      1.37      manu 
    223      1.37      manu struct linux_sys_settimeofday_args {
    224      1.37      manu 	syscallarg(struct timeval *) tp;
    225      1.37      manu 	syscallarg(struct timezone *) tzp;
    226      1.37      manu };
    227      1.37      manu 
    228      1.31      fvdl struct linux_sys_getgroups16_args {
    229      1.31      fvdl 	syscallarg(int) gidsetsize;
    230      1.31      fvdl 	syscallarg(linux_gid_t *) gidset;
    231      1.31      fvdl };
    232      1.31      fvdl 
    233      1.31      fvdl struct linux_sys_setgroups16_args {
    234      1.31      fvdl 	syscallarg(int) gidsetsize;
    235      1.31      fvdl 	syscallarg(linux_gid_t *) gidset;
    236      1.31      fvdl };
    237      1.31      fvdl 
    238       1.1       erh struct linux_sys_oldselect_args {
    239       1.1       erh 	syscallarg(struct linux_oldselect *) lsp;
    240       1.1       erh };
    241       1.1       erh 
    242       1.1       erh struct linux_sys_symlink_args {
    243       1.5  christos 	syscallarg(const char *) path;
    244       1.5  christos 	syscallarg(const char *) to;
    245       1.1       erh };
    246       1.1       erh 
    247       1.1       erh struct linux_sys_readlink_args {
    248       1.5  christos 	syscallarg(const char *) name;
    249       1.1       erh 	syscallarg(char *) buf;
    250       1.1       erh 	syscallarg(int) count;
    251       1.1       erh };
    252  1.57.2.1      yamt #ifdef EXEC_AOUT
    253       1.1       erh 
    254       1.1       erh struct linux_sys_uselib_args {
    255       1.5  christos 	syscallarg(const char *) path;
    256       1.1       erh };
    257  1.57.2.1      yamt #else
    258  1.57.2.1      yamt #endif
    259       1.1       erh 
    260      1.22  jdolecek struct linux_sys_swapon_args {
    261      1.22  jdolecek 	syscallarg(char *) name;
    262      1.22  jdolecek };
    263      1.22  jdolecek 
    264      1.17       erh struct linux_sys_reboot_args {
    265      1.17       erh 	syscallarg(int) magic1;
    266      1.17       erh 	syscallarg(int) magic2;
    267      1.17       erh 	syscallarg(int) cmd;
    268      1.17       erh 	syscallarg(void *) arg;
    269      1.17       erh };
    270      1.17       erh 
    271       1.1       erh struct linux_sys_readdir_args {
    272       1.1       erh 	syscallarg(int) fd;
    273  1.57.2.3      yamt 	syscallarg(void *) dent;
    274       1.1       erh 	syscallarg(unsigned int) count;
    275       1.1       erh };
    276       1.1       erh 
    277       1.1       erh struct linux_sys_old_mmap_args {
    278       1.1       erh 	syscallarg(struct linux_oldmmap *) lmp;
    279       1.1       erh };
    280       1.1       erh 
    281       1.1       erh struct linux_sys_truncate_args {
    282       1.5  christos 	syscallarg(const char *) path;
    283       1.1       erh 	syscallarg(long) length;
    284       1.1       erh };
    285       1.1       erh 
    286      1.30      fvdl struct linux_sys_fchown16_args {
    287       1.1       erh 	syscallarg(int) fd;
    288       1.1       erh 	syscallarg(int) uid;
    289       1.1       erh 	syscallarg(int) gid;
    290       1.1       erh };
    291       1.1       erh 
    292  1.57.2.1      yamt struct linux_sys_getpriority_args {
    293  1.57.2.1      yamt 	syscallarg(int) which;
    294  1.57.2.1      yamt 	syscallarg(int) who;
    295  1.57.2.1      yamt };
    296  1.57.2.1      yamt 
    297       1.1       erh struct linux_sys_statfs_args {
    298       1.5  christos 	syscallarg(const char *) path;
    299       1.1       erh 	syscallarg(struct linux_statfs *) sp;
    300       1.1       erh };
    301       1.1       erh 
    302       1.1       erh struct linux_sys_fstatfs_args {
    303       1.1       erh 	syscallarg(int) fd;
    304       1.1       erh 	syscallarg(struct linux_statfs *) sp;
    305       1.1       erh };
    306       1.1       erh 
    307       1.1       erh struct linux_sys_ioperm_args {
    308       1.1       erh 	syscallarg(unsigned int) lo;
    309       1.1       erh 	syscallarg(unsigned int) hi;
    310       1.1       erh 	syscallarg(int) val;
    311       1.1       erh };
    312       1.1       erh 
    313       1.1       erh struct linux_sys_socketcall_args {
    314       1.1       erh 	syscallarg(int) what;
    315       1.1       erh 	syscallarg(void *) args;
    316       1.1       erh };
    317       1.1       erh 
    318       1.1       erh struct linux_sys_stat_args {
    319       1.5  christos 	syscallarg(const char *) path;
    320       1.1       erh 	syscallarg(struct linux_stat *) sp;
    321       1.1       erh };
    322       1.1       erh 
    323       1.1       erh struct linux_sys_lstat_args {
    324       1.5  christos 	syscallarg(const char *) path;
    325       1.1       erh 	syscallarg(struct linux_stat *) sp;
    326       1.1       erh };
    327       1.1       erh 
    328       1.1       erh struct linux_sys_fstat_args {
    329       1.1       erh 	syscallarg(int) fd;
    330       1.1       erh 	syscallarg(struct linux_stat *) sp;
    331       1.1       erh };
    332       1.1       erh 
    333       1.1       erh struct linux_sys_olduname_args {
    334       1.1       erh 	syscallarg(struct linux_old_utsname *) up;
    335       1.1       erh };
    336       1.1       erh 
    337       1.1       erh struct linux_sys_iopl_args {
    338       1.1       erh 	syscallarg(int) level;
    339       1.1       erh };
    340       1.1       erh 
    341       1.1       erh struct linux_sys_wait4_args {
    342       1.1       erh 	syscallarg(int) pid;
    343       1.1       erh 	syscallarg(int *) status;
    344       1.1       erh 	syscallarg(int) options;
    345       1.1       erh 	syscallarg(struct rusage *) rusage;
    346       1.1       erh };
    347       1.1       erh 
    348      1.23  jdolecek struct linux_sys_swapoff_args {
    349      1.23  jdolecek 	syscallarg(const char *) path;
    350      1.23  jdolecek };
    351      1.23  jdolecek 
    352      1.29  augustss struct linux_sys_sysinfo_args {
    353      1.29  augustss 	syscallarg(struct linux_sysinfo *) arg;
    354      1.29  augustss };
    355      1.29  augustss 
    356       1.1       erh struct linux_sys_ipc_args {
    357       1.1       erh 	syscallarg(int) what;
    358       1.1       erh 	syscallarg(int) a1;
    359       1.1       erh 	syscallarg(int) a2;
    360       1.1       erh 	syscallarg(int) a3;
    361  1.57.2.3      yamt 	syscallarg(void *) ptr;
    362       1.1       erh };
    363       1.1       erh 
    364       1.1       erh struct linux_sys_sigreturn_args {
    365       1.1       erh 	syscallarg(struct linux_sigcontext *) scp;
    366       1.1       erh };
    367       1.1       erh 
    368       1.9   thorpej struct linux_sys_clone_args {
    369       1.9   thorpej 	syscallarg(int) flags;
    370       1.9   thorpej 	syscallarg(void *) stack;
    371  1.57.2.3      yamt 	syscallarg(void *) parent_tidptr;
    372  1.57.2.3      yamt 	syscallarg(void *) child_tidptr;
    373       1.9   thorpej };
    374       1.9   thorpej 
    375      1.22  jdolecek struct linux_sys_setdomainname_args {
    376      1.22  jdolecek 	syscallarg(char *) domainname;
    377      1.22  jdolecek 	syscallarg(int) len;
    378      1.22  jdolecek };
    379      1.22  jdolecek 
    380       1.1       erh struct linux_sys_uname_args {
    381       1.1       erh 	syscallarg(struct linux_utsname *) up;
    382       1.1       erh };
    383       1.1       erh 
    384       1.1       erh struct linux_sys_modify_ldt_args {
    385       1.1       erh 	syscallarg(int) func;
    386       1.1       erh 	syscallarg(void *) ptr;
    387       1.1       erh 	syscallarg(size_t) bytecount;
    388       1.1       erh };
    389       1.1       erh 
    390      1.43  christos struct linux_sys_mprotect_args {
    391      1.43  christos 	syscallarg(const void *) start;
    392      1.43  christos 	syscallarg(unsigned long) len;
    393      1.43  christos 	syscallarg(int) prot;
    394      1.43  christos };
    395      1.43  christos 
    396       1.1       erh struct linux_sys_sigprocmask_args {
    397       1.1       erh 	syscallarg(int) how;
    398       1.1       erh 	syscallarg(const linux_old_sigset_t *) set;
    399       1.1       erh 	syscallarg(linux_old_sigset_t *) oset;
    400       1.1       erh };
    401       1.1       erh 
    402       1.1       erh struct linux_sys_getpgid_args {
    403       1.1       erh 	syscallarg(int) pid;
    404       1.1       erh };
    405       1.1       erh 
    406       1.1       erh struct linux_sys_personality_args {
    407       1.1       erh 	syscallarg(int) per;
    408       1.1       erh };
    409       1.1       erh 
    410       1.1       erh struct linux_sys_llseek_args {
    411       1.1       erh 	syscallarg(int) fd;
    412       1.1       erh 	syscallarg(u_int32_t) ohigh;
    413       1.1       erh 	syscallarg(u_int32_t) olow;
    414  1.57.2.3      yamt 	syscallarg(void *) res;
    415       1.1       erh 	syscallarg(int) whence;
    416       1.1       erh };
    417       1.1       erh 
    418       1.1       erh struct linux_sys_getdents_args {
    419       1.1       erh 	syscallarg(int) fd;
    420       1.1       erh 	syscallarg(struct linux_dirent *) dent;
    421       1.1       erh 	syscallarg(unsigned int) count;
    422       1.1       erh };
    423       1.1       erh 
    424       1.1       erh struct linux_sys_select_args {
    425       1.1       erh 	syscallarg(int) nfds;
    426       1.1       erh 	syscallarg(fd_set *) readfds;
    427       1.1       erh 	syscallarg(fd_set *) writefds;
    428       1.1       erh 	syscallarg(fd_set *) exceptfds;
    429       1.1       erh 	syscallarg(struct timeval *) timeout;
    430       1.1       erh };
    431       1.1       erh 
    432       1.1       erh struct linux_sys_msync_args {
    433  1.57.2.3      yamt 	syscallarg(void *) addr;
    434       1.1       erh 	syscallarg(int) len;
    435       1.1       erh 	syscallarg(int) fl;
    436       1.1       erh };
    437       1.1       erh 
    438       1.1       erh struct linux_sys_fdatasync_args {
    439       1.1       erh 	syscallarg(int) fd;
    440       1.1       erh };
    441       1.1       erh 
    442       1.1       erh struct linux_sys___sysctl_args {
    443       1.1       erh 	syscallarg(struct linux___sysctl *) lsp;
    444       1.1       erh };
    445       1.1       erh 
    446      1.12      tron struct linux_sys_sched_setparam_args {
    447      1.12      tron 	syscallarg(pid_t) pid;
    448      1.12      tron 	syscallarg(const struct linux_sched_param *) sp;
    449      1.12      tron };
    450      1.12      tron 
    451      1.12      tron struct linux_sys_sched_getparam_args {
    452      1.12      tron 	syscallarg(pid_t) pid;
    453      1.12      tron 	syscallarg(struct linux_sched_param *) sp;
    454      1.12      tron };
    455      1.12      tron 
    456      1.12      tron struct linux_sys_sched_setscheduler_args {
    457      1.12      tron 	syscallarg(pid_t) pid;
    458      1.12      tron 	syscallarg(int) policy;
    459      1.12      tron 	syscallarg(const struct linux_sched_param *) sp;
    460      1.12      tron };
    461      1.12      tron 
    462      1.12      tron struct linux_sys_sched_getscheduler_args {
    463      1.12      tron 	syscallarg(pid_t) pid;
    464      1.12      tron };
    465      1.12      tron 
    466      1.12      tron struct linux_sys_sched_get_priority_max_args {
    467      1.12      tron 	syscallarg(int) policy;
    468      1.12      tron };
    469      1.12      tron 
    470      1.12      tron struct linux_sys_sched_get_priority_min_args {
    471      1.12      tron 	syscallarg(int) policy;
    472      1.12      tron };
    473      1.12      tron 
    474       1.1       erh struct linux_sys_mremap_args {
    475       1.1       erh 	syscallarg(void *) old_address;
    476       1.1       erh 	syscallarg(size_t) old_size;
    477       1.1       erh 	syscallarg(size_t) new_size;
    478       1.1       erh 	syscallarg(u_long) flags;
    479       1.1       erh };
    480       1.1       erh 
    481      1.31      fvdl struct linux_sys_setresuid16_args {
    482      1.10   thorpej 	syscallarg(uid_t) ruid;
    483      1.10   thorpej 	syscallarg(uid_t) euid;
    484      1.10   thorpej 	syscallarg(uid_t) suid;
    485      1.10   thorpej };
    486      1.10   thorpej 
    487      1.31      fvdl struct linux_sys_setresgid16_args {
    488      1.10   thorpej 	syscallarg(gid_t) rgid;
    489      1.10   thorpej 	syscallarg(gid_t) egid;
    490      1.10   thorpej 	syscallarg(gid_t) sgid;
    491      1.10   thorpej };
    492      1.10   thorpej 
    493       1.1       erh struct linux_sys_rt_sigreturn_args {
    494      1.48  christos 	syscallarg(struct linux_ucontext *) ucp;
    495       1.1       erh };
    496       1.1       erh 
    497       1.1       erh struct linux_sys_rt_sigaction_args {
    498       1.1       erh 	syscallarg(int) signum;
    499       1.1       erh 	syscallarg(const struct linux_sigaction *) nsa;
    500       1.1       erh 	syscallarg(struct linux_sigaction *) osa;
    501       1.1       erh 	syscallarg(size_t) sigsetsize;
    502       1.1       erh };
    503       1.1       erh 
    504       1.1       erh struct linux_sys_rt_sigprocmask_args {
    505       1.1       erh 	syscallarg(int) how;
    506       1.1       erh 	syscallarg(const linux_sigset_t *) set;
    507       1.1       erh 	syscallarg(linux_sigset_t *) oset;
    508       1.1       erh 	syscallarg(size_t) sigsetsize;
    509       1.1       erh };
    510       1.1       erh 
    511       1.1       erh struct linux_sys_rt_sigpending_args {
    512       1.1       erh 	syscallarg(linux_sigset_t *) set;
    513       1.1       erh 	syscallarg(size_t) sigsetsize;
    514       1.1       erh };
    515       1.1       erh 
    516       1.1       erh struct linux_sys_rt_queueinfo_args {
    517       1.1       erh 	syscallarg(int) pid;
    518       1.1       erh 	syscallarg(int) signum;
    519       1.1       erh 	syscallarg(void *) uinfo;
    520       1.1       erh };
    521       1.1       erh 
    522       1.1       erh struct linux_sys_rt_sigsuspend_args {
    523       1.1       erh 	syscallarg(linux_sigset_t *) unewset;
    524       1.1       erh 	syscallarg(size_t) sigsetsize;
    525       1.1       erh };
    526       1.1       erh 
    527      1.14      tron struct linux_sys_pread_args {
    528      1.14      tron 	syscallarg(int) fd;
    529      1.14      tron 	syscallarg(char *) buf;
    530      1.14      tron 	syscallarg(size_t) nbyte;
    531      1.14      tron 	syscallarg(linux_off_t) offset;
    532      1.14      tron };
    533      1.14      tron 
    534      1.14      tron struct linux_sys_pwrite_args {
    535      1.14      tron 	syscallarg(int) fd;
    536      1.14      tron 	syscallarg(char *) buf;
    537      1.14      tron 	syscallarg(size_t) nbyte;
    538      1.14      tron 	syscallarg(linux_off_t) offset;
    539      1.14      tron };
    540      1.14      tron 
    541      1.30      fvdl struct linux_sys_chown16_args {
    542       1.5  christos 	syscallarg(const char *) path;
    543       1.1       erh 	syscallarg(int) uid;
    544       1.1       erh 	syscallarg(int) gid;
    545       1.1       erh };
    546       1.1       erh 
    547      1.20  christos struct linux_sys_sigaltstack_args {
    548      1.20  christos 	syscallarg(const struct linux_sigaltstack *) ss;
    549      1.20  christos 	syscallarg(struct linux_sigaltstack *) oss;
    550      1.20  christos };
    551      1.20  christos 
    552      1.41  christos struct linux_sys_ugetrlimit_args {
    553      1.41  christos 	syscallarg(int) which;
    554      1.41  christos 	syscallarg(struct orlimit *) rlp;
    555      1.41  christos };
    556      1.41  christos 
    557      1.28  jdolecek struct linux_sys_truncate64_args {
    558      1.28  jdolecek 	syscallarg(const char *) path;
    559      1.28  jdolecek 	syscallarg(off_t) length;
    560      1.28  jdolecek };
    561      1.28  jdolecek 
    562      1.49  jdolecek struct linux_sys_ftruncate64_args {
    563      1.49  jdolecek 	syscallarg(unsigned int) fd;
    564      1.49  jdolecek 	syscallarg(off_t) length;
    565      1.49  jdolecek };
    566      1.49  jdolecek 
    567      1.27  jdolecek struct linux_sys_stat64_args {
    568      1.27  jdolecek 	syscallarg(const char *) path;
    569      1.27  jdolecek 	syscallarg(struct linux_stat64 *) sp;
    570      1.27  jdolecek };
    571      1.27  jdolecek 
    572      1.27  jdolecek struct linux_sys_lstat64_args {
    573      1.27  jdolecek 	syscallarg(const char *) path;
    574      1.27  jdolecek 	syscallarg(struct linux_stat64 *) sp;
    575      1.27  jdolecek };
    576      1.27  jdolecek 
    577      1.27  jdolecek struct linux_sys_fstat64_args {
    578      1.27  jdolecek 	syscallarg(int) fd;
    579      1.27  jdolecek 	syscallarg(struct linux_stat64 *) sp;
    580      1.27  jdolecek };
    581      1.27  jdolecek 
    582      1.31      fvdl struct linux_sys_lchown_args {
    583      1.31      fvdl 	syscallarg(const char *) path;
    584      1.31      fvdl 	syscallarg(uid_t) uid;
    585      1.31      fvdl 	syscallarg(gid_t) gid;
    586      1.31      fvdl };
    587      1.31      fvdl 
    588      1.31      fvdl struct linux_sys_setresuid_args {
    589      1.31      fvdl 	syscallarg(uid_t) ruid;
    590      1.31      fvdl 	syscallarg(uid_t) euid;
    591      1.31      fvdl 	syscallarg(uid_t) suid;
    592      1.31      fvdl };
    593      1.31      fvdl 
    594      1.31      fvdl struct linux_sys_getresuid_args {
    595      1.31      fvdl 	syscallarg(uid_t *) ruid;
    596      1.31      fvdl 	syscallarg(uid_t *) euid;
    597      1.31      fvdl 	syscallarg(uid_t *) suid;
    598      1.31      fvdl };
    599      1.31      fvdl 
    600      1.31      fvdl struct linux_sys_setresgid_args {
    601      1.31      fvdl 	syscallarg(gid_t) rgid;
    602      1.31      fvdl 	syscallarg(gid_t) egid;
    603      1.31      fvdl 	syscallarg(gid_t) sgid;
    604      1.31      fvdl };
    605      1.31      fvdl 
    606      1.31      fvdl struct linux_sys_getresgid_args {
    607      1.31      fvdl 	syscallarg(gid_t *) rgid;
    608      1.31      fvdl 	syscallarg(gid_t *) egid;
    609      1.31      fvdl 	syscallarg(gid_t *) sgid;
    610      1.31      fvdl };
    611      1.31      fvdl 
    612      1.31      fvdl struct linux_sys_chown_args {
    613      1.31      fvdl 	syscallarg(const char *) path;
    614      1.31      fvdl 	syscallarg(uid_t) uid;
    615      1.31      fvdl 	syscallarg(gid_t) gid;
    616      1.31      fvdl };
    617      1.31      fvdl 
    618      1.31      fvdl struct linux_sys_setfsuid_args {
    619      1.31      fvdl 	syscallarg(uid_t) uid;
    620      1.31      fvdl };
    621      1.31      fvdl 
    622      1.44  christos struct linux_sys_getdents64_args {
    623      1.44  christos 	syscallarg(int) fd;
    624      1.44  christos 	syscallarg(struct linux_dirent64 *) dent;
    625      1.44  christos 	syscallarg(unsigned int) count;
    626      1.44  christos };
    627      1.44  christos 
    628      1.43  christos struct linux_sys_fcntl64_args {
    629      1.43  christos 	syscallarg(int) fd;
    630      1.43  christos 	syscallarg(int) cmd;
    631      1.43  christos 	syscallarg(void *) arg;
    632      1.43  christos };
    633  1.57.2.3      yamt #ifdef LINUX_NPTL
    634  1.57.2.3      yamt #else
    635  1.57.2.3      yamt #endif
    636      1.43  christos 
    637      1.56      fvdl struct linux_sys_setxattr_args {
    638      1.56      fvdl 	syscallarg(char *) path;
    639      1.56      fvdl 	syscallarg(char *) name;
    640      1.56      fvdl 	syscallarg(void *) value;
    641      1.56      fvdl 	syscallarg(size_t) size;
    642      1.56      fvdl 	syscallarg(int) flags;
    643      1.56      fvdl };
    644      1.56      fvdl 
    645      1.56      fvdl struct linux_sys_lsetxattr_args {
    646      1.56      fvdl 	syscallarg(char *) path;
    647      1.56      fvdl 	syscallarg(char *) name;
    648      1.56      fvdl 	syscallarg(void *) value;
    649      1.56      fvdl 	syscallarg(size_t) size;
    650      1.56      fvdl 	syscallarg(int) flags;
    651      1.56      fvdl };
    652      1.56      fvdl 
    653      1.56      fvdl struct linux_sys_fsetxattr_args {
    654      1.56      fvdl 	syscallarg(int) fd;
    655      1.56      fvdl 	syscallarg(char *) name;
    656      1.56      fvdl 	syscallarg(void *) value;
    657      1.56      fvdl 	syscallarg(size_t) size;
    658      1.56      fvdl 	syscallarg(int) flags;
    659      1.56      fvdl };
    660      1.56      fvdl 
    661      1.56      fvdl struct linux_sys_getxattr_args {
    662      1.56      fvdl 	syscallarg(char *) path;
    663      1.56      fvdl 	syscallarg(char *) name;
    664      1.56      fvdl 	syscallarg(void *) value;
    665      1.56      fvdl 	syscallarg(size_t) size;
    666      1.56      fvdl };
    667      1.56      fvdl 
    668      1.56      fvdl struct linux_sys_lgetxattr_args {
    669      1.56      fvdl 	syscallarg(char *) path;
    670      1.56      fvdl 	syscallarg(char *) name;
    671      1.56      fvdl 	syscallarg(void *) value;
    672      1.56      fvdl 	syscallarg(size_t) size;
    673      1.56      fvdl };
    674      1.56      fvdl 
    675      1.56      fvdl struct linux_sys_fgetxattr_args {
    676      1.56      fvdl 	syscallarg(int) fd;
    677      1.56      fvdl 	syscallarg(char *) name;
    678      1.56      fvdl 	syscallarg(void *) value;
    679      1.56      fvdl 	syscallarg(size_t) size;
    680      1.56      fvdl };
    681      1.56      fvdl 
    682      1.56      fvdl struct linux_sys_listxattr_args {
    683      1.56      fvdl 	syscallarg(char *) path;
    684      1.56      fvdl 	syscallarg(char *) list;
    685      1.56      fvdl 	syscallarg(size_t) size;
    686      1.56      fvdl };
    687      1.56      fvdl 
    688      1.56      fvdl struct linux_sys_llistxattr_args {
    689      1.56      fvdl 	syscallarg(char *) path;
    690      1.56      fvdl 	syscallarg(char *) list;
    691      1.56      fvdl 	syscallarg(size_t) size;
    692      1.56      fvdl };
    693      1.56      fvdl 
    694      1.56      fvdl struct linux_sys_flistxattr_args {
    695      1.56      fvdl 	syscallarg(int) fd;
    696      1.56      fvdl 	syscallarg(char *) list;
    697      1.56      fvdl 	syscallarg(size_t) size;
    698      1.56      fvdl };
    699      1.56      fvdl 
    700      1.56      fvdl struct linux_sys_removexattr_args {
    701      1.56      fvdl 	syscallarg(char *) path;
    702      1.56      fvdl 	syscallarg(char *) name;
    703      1.56      fvdl };
    704      1.56      fvdl 
    705      1.56      fvdl struct linux_sys_lremovexattr_args {
    706      1.56      fvdl 	syscallarg(char *) path;
    707      1.56      fvdl 	syscallarg(char *) name;
    708      1.56      fvdl };
    709      1.56      fvdl 
    710      1.56      fvdl struct linux_sys_fremovexattr_args {
    711      1.56      fvdl 	syscallarg(int) fd;
    712      1.56      fvdl 	syscallarg(char *) name;
    713      1.56      fvdl };
    714  1.57.2.3      yamt #ifdef LINUX_NPTL
    715  1.57.2.3      yamt 
    716  1.57.2.3      yamt struct linux_sys_tkill_args {
    717  1.57.2.3      yamt 	syscallarg(int) tid;
    718  1.57.2.3      yamt 	syscallarg(int) sig;
    719  1.57.2.3      yamt };
    720  1.57.2.3      yamt #else
    721  1.57.2.3      yamt #endif
    722  1.57.2.3      yamt 
    723  1.57.2.3      yamt struct linux_sys_futex_args {
    724  1.57.2.3      yamt 	syscallarg(int *) uaddr;
    725  1.57.2.3      yamt 	syscallarg(int) op;
    726  1.57.2.3      yamt 	syscallarg(int) val;
    727  1.57.2.3      yamt 	syscallarg(const struct timespec *) timeout;
    728  1.57.2.3      yamt 	syscallarg(int *) uaddr2;
    729  1.57.2.3      yamt 	syscallarg(int) val3;
    730  1.57.2.3      yamt };
    731  1.57.2.3      yamt #ifdef LINUX_NPTL
    732  1.57.2.3      yamt 
    733  1.57.2.3      yamt struct linux_sys_sched_setaffinity_args {
    734  1.57.2.3      yamt 	syscallarg(pid_t) pid;
    735  1.57.2.3      yamt 	syscallarg(unsigned int) len;
    736  1.57.2.3      yamt 	syscallarg(unsigned long *) mask;
    737  1.57.2.3      yamt };
    738  1.57.2.3      yamt 
    739  1.57.2.3      yamt struct linux_sys_sched_getaffinity_args {
    740  1.57.2.3      yamt 	syscallarg(pid_t) pid;
    741  1.57.2.3      yamt 	syscallarg(unsigned int) len;
    742  1.57.2.3      yamt 	syscallarg(unsigned long *) mask;
    743  1.57.2.3      yamt };
    744  1.57.2.3      yamt #else
    745  1.57.2.3      yamt #endif
    746      1.56      fvdl 
    747      1.53  jdolecek struct linux_sys_exit_group_args {
    748      1.53  jdolecek 	syscallarg(int) error_code;
    749      1.53  jdolecek };
    750  1.57.2.3      yamt #ifdef LINUX_NPTL
    751  1.57.2.3      yamt 
    752  1.57.2.3      yamt struct linux_sys_set_tid_address_args {
    753  1.57.2.3      yamt 	syscallarg(int *) tid;
    754  1.57.2.3      yamt };
    755  1.57.2.3      yamt #else
    756  1.57.2.3      yamt #endif
    757      1.53  jdolecek 
    758      1.57      fvdl struct linux_sys_clock_settime_args {
    759      1.57      fvdl 	syscallarg(clockid_t) which;
    760      1.57      fvdl 	syscallarg(struct linux_timespec *) tp;
    761      1.57      fvdl };
    762      1.57      fvdl 
    763      1.57      fvdl struct linux_sys_clock_gettime_args {
    764      1.57      fvdl 	syscallarg(clockid_t) which;
    765      1.57      fvdl 	syscallarg(struct linux_timespec *) tp;
    766      1.57      fvdl };
    767      1.57      fvdl 
    768      1.57      fvdl struct linux_sys_clock_getres_args {
    769      1.57      fvdl 	syscallarg(clockid_t) which;
    770      1.57      fvdl 	syscallarg(struct linux_timespec *) tp;
    771      1.57      fvdl };
    772      1.57      fvdl 
    773      1.57      fvdl struct linux_sys_clock_nanosleep_args {
    774      1.57      fvdl 	syscallarg(clockid_t) which;
    775      1.57      fvdl 	syscallarg(int) flags;
    776      1.57      fvdl 	syscallarg(struct linux_timespec *) rqtp;
    777      1.57      fvdl 	syscallarg(struct linux_timespec *) rmtp;
    778      1.57      fvdl };
    779      1.57      fvdl 
    780      1.54  jdolecek struct linux_sys_statfs64_args {
    781      1.54  jdolecek 	syscallarg(const char *) path;
    782      1.54  jdolecek 	syscallarg(size_t) sz;
    783      1.54  jdolecek 	syscallarg(struct linux_statfs64 *) sp;
    784      1.54  jdolecek };
    785      1.54  jdolecek 
    786      1.54  jdolecek struct linux_sys_fstatfs64_args {
    787      1.54  jdolecek 	syscallarg(int) fd;
    788      1.54  jdolecek 	syscallarg(size_t) sz;
    789      1.54  jdolecek 	syscallarg(struct linux_statfs64 *) sp;
    790      1.54  jdolecek };
    791  1.57.2.3      yamt #ifdef LINUX_NPTL
    792  1.57.2.3      yamt 
    793  1.57.2.3      yamt struct linux_sys_tgkill_args {
    794  1.57.2.3      yamt 	syscallarg(int) tgid;
    795  1.57.2.3      yamt 	syscallarg(int) tid;
    796  1.57.2.3      yamt 	syscallarg(int) sig;
    797  1.57.2.3      yamt };
    798  1.57.2.3      yamt #else
    799  1.57.2.3      yamt #endif
    800      1.54  jdolecek 
    801       1.1       erh /*
    802       1.1       erh  * System call prototypes.
    803       1.1       erh  */
    804       1.1       erh 
    805      1.45   thorpej int	linux_sys_nosys(struct lwp *, void *, register_t *);
    806      1.50  jdolecek 
    807      1.45   thorpej int	sys_exit(struct lwp *, void *, register_t *);
    808      1.50  jdolecek 
    809      1.45   thorpej int	sys_fork(struct lwp *, void *, register_t *);
    810      1.50  jdolecek 
    811      1.45   thorpej int	sys_read(struct lwp *, void *, register_t *);
    812      1.50  jdolecek 
    813      1.45   thorpej int	sys_write(struct lwp *, void *, register_t *);
    814      1.50  jdolecek 
    815      1.45   thorpej int	linux_sys_open(struct lwp *, void *, register_t *);
    816      1.50  jdolecek 
    817      1.45   thorpej int	sys_close(struct lwp *, void *, register_t *);
    818      1.50  jdolecek 
    819      1.45   thorpej int	linux_sys_waitpid(struct lwp *, void *, register_t *);
    820      1.50  jdolecek 
    821      1.45   thorpej int	linux_sys_creat(struct lwp *, void *, register_t *);
    822      1.50  jdolecek 
    823      1.45   thorpej int	linux_sys_link(struct lwp *, void *, register_t *);
    824      1.50  jdolecek 
    825      1.45   thorpej int	linux_sys_unlink(struct lwp *, void *, register_t *);
    826      1.50  jdolecek 
    827      1.45   thorpej int	linux_sys_execve(struct lwp *, void *, register_t *);
    828      1.50  jdolecek 
    829      1.45   thorpej int	linux_sys_chdir(struct lwp *, void *, register_t *);
    830      1.50  jdolecek 
    831      1.45   thorpej int	linux_sys_time(struct lwp *, void *, register_t *);
    832      1.50  jdolecek 
    833      1.45   thorpej int	linux_sys_mknod(struct lwp *, void *, register_t *);
    834      1.50  jdolecek 
    835      1.45   thorpej int	linux_sys_chmod(struct lwp *, void *, register_t *);
    836      1.50  jdolecek 
    837      1.45   thorpej int	linux_sys_lchown16(struct lwp *, void *, register_t *);
    838      1.50  jdolecek 
    839      1.45   thorpej int	linux_sys_break(struct lwp *, void *, register_t *);
    840      1.50  jdolecek 
    841      1.45   thorpej int	compat_43_sys_lseek(struct lwp *, void *, register_t *);
    842      1.50  jdolecek 
    843  1.57.2.3      yamt #ifdef	LINUX_NPTL
    844  1.57.2.3      yamt int	linux_sys_getpid(struct lwp *, void *, register_t *);
    845  1.57.2.3      yamt 
    846  1.57.2.3      yamt #else
    847      1.45   thorpej int	sys_getpid(struct lwp *, void *, register_t *);
    848      1.50  jdolecek 
    849  1.57.2.3      yamt #endif
    850      1.45   thorpej int	sys_setuid(struct lwp *, void *, register_t *);
    851      1.50  jdolecek 
    852      1.45   thorpej int	sys_getuid(struct lwp *, void *, register_t *);
    853      1.50  jdolecek 
    854      1.45   thorpej int	linux_sys_stime(struct lwp *, void *, register_t *);
    855      1.50  jdolecek 
    856      1.45   thorpej int	linux_sys_ptrace(struct lwp *, void *, register_t *);
    857      1.50  jdolecek 
    858      1.45   thorpej int	linux_sys_alarm(struct lwp *, void *, register_t *);
    859      1.50  jdolecek 
    860      1.45   thorpej int	linux_sys_pause(struct lwp *, void *, register_t *);
    861      1.50  jdolecek 
    862      1.45   thorpej int	linux_sys_utime(struct lwp *, void *, register_t *);
    863      1.50  jdolecek 
    864      1.45   thorpej int	linux_sys_access(struct lwp *, void *, register_t *);
    865      1.50  jdolecek 
    866      1.45   thorpej int	linux_sys_nice(struct lwp *, void *, register_t *);
    867      1.50  jdolecek 
    868      1.45   thorpej int	sys_sync(struct lwp *, void *, register_t *);
    869      1.50  jdolecek 
    870      1.45   thorpej int	linux_sys_kill(struct lwp *, void *, register_t *);
    871      1.50  jdolecek 
    872      1.45   thorpej int	linux_sys_rename(struct lwp *, void *, register_t *);
    873      1.50  jdolecek 
    874      1.45   thorpej int	linux_sys_mkdir(struct lwp *, void *, register_t *);
    875      1.50  jdolecek 
    876      1.45   thorpej int	linux_sys_rmdir(struct lwp *, void *, register_t *);
    877      1.50  jdolecek 
    878      1.45   thorpej int	sys_dup(struct lwp *, void *, register_t *);
    879      1.50  jdolecek 
    880      1.45   thorpej int	linux_sys_pipe(struct lwp *, void *, register_t *);
    881      1.50  jdolecek 
    882      1.45   thorpej int	linux_sys_times(struct lwp *, void *, register_t *);
    883      1.50  jdolecek 
    884      1.45   thorpej int	linux_sys_brk(struct lwp *, void *, register_t *);
    885      1.50  jdolecek 
    886      1.45   thorpej int	sys_setgid(struct lwp *, void *, register_t *);
    887      1.50  jdolecek 
    888      1.45   thorpej int	sys_getgid(struct lwp *, void *, register_t *);
    889      1.50  jdolecek 
    890      1.45   thorpej int	linux_sys_signal(struct lwp *, void *, register_t *);
    891      1.50  jdolecek 
    892      1.45   thorpej int	sys_geteuid(struct lwp *, void *, register_t *);
    893      1.50  jdolecek 
    894      1.45   thorpej int	sys_getegid(struct lwp *, void *, register_t *);
    895      1.50  jdolecek 
    896      1.45   thorpej int	sys_acct(struct lwp *, void *, register_t *);
    897      1.50  jdolecek 
    898      1.45   thorpej int	linux_sys_ioctl(struct lwp *, void *, register_t *);
    899      1.50  jdolecek 
    900      1.45   thorpej int	linux_sys_fcntl(struct lwp *, void *, register_t *);
    901      1.50  jdolecek 
    902      1.45   thorpej int	sys_setpgid(struct lwp *, void *, register_t *);
    903      1.50  jdolecek 
    904      1.45   thorpej int	linux_sys_oldolduname(struct lwp *, void *, register_t *);
    905      1.50  jdolecek 
    906      1.45   thorpej int	sys_umask(struct lwp *, void *, register_t *);
    907      1.50  jdolecek 
    908      1.45   thorpej int	sys_chroot(struct lwp *, void *, register_t *);
    909      1.50  jdolecek 
    910      1.45   thorpej int	sys_dup2(struct lwp *, void *, register_t *);
    911      1.50  jdolecek 
    912  1.57.2.3      yamt #ifdef LINUX_NPTL
    913  1.57.2.3      yamt int	linux_sys_getppid(struct lwp *, void *, register_t *);
    914  1.57.2.3      yamt 
    915  1.57.2.3      yamt #else
    916      1.45   thorpej int	sys_getppid(struct lwp *, void *, register_t *);
    917      1.50  jdolecek 
    918  1.57.2.3      yamt #endif
    919      1.45   thorpej int	sys_getpgrp(struct lwp *, void *, register_t *);
    920      1.50  jdolecek 
    921      1.45   thorpej int	sys_setsid(struct lwp *, void *, register_t *);
    922      1.50  jdolecek 
    923      1.45   thorpej int	linux_sys_sigaction(struct lwp *, void *, register_t *);
    924      1.50  jdolecek 
    925      1.45   thorpej int	linux_sys_siggetmask(struct lwp *, void *, register_t *);
    926      1.50  jdolecek 
    927      1.45   thorpej int	linux_sys_sigsetmask(struct lwp *, void *, register_t *);
    928      1.50  jdolecek 
    929      1.45   thorpej int	linux_sys_setreuid16(struct lwp *, void *, register_t *);
    930      1.50  jdolecek 
    931      1.45   thorpej int	linux_sys_setregid16(struct lwp *, void *, register_t *);
    932      1.50  jdolecek 
    933      1.45   thorpej int	linux_sys_sigsuspend(struct lwp *, void *, register_t *);
    934      1.50  jdolecek 
    935      1.45   thorpej int	linux_sys_sigpending(struct lwp *, void *, register_t *);
    936      1.50  jdolecek 
    937      1.45   thorpej int	compat_43_sys_sethostname(struct lwp *, void *, register_t *);
    938      1.50  jdolecek 
    939      1.45   thorpej int	linux_sys_setrlimit(struct lwp *, void *, register_t *);
    940      1.50  jdolecek 
    941      1.45   thorpej int	linux_sys_getrlimit(struct lwp *, void *, register_t *);
    942      1.50  jdolecek 
    943      1.45   thorpej int	sys_getrusage(struct lwp *, void *, register_t *);
    944      1.50  jdolecek 
    945      1.45   thorpej int	linux_sys_gettimeofday(struct lwp *, void *, register_t *);
    946      1.50  jdolecek 
    947      1.45   thorpej int	linux_sys_settimeofday(struct lwp *, void *, register_t *);
    948      1.50  jdolecek 
    949      1.45   thorpej int	linux_sys_getgroups16(struct lwp *, void *, register_t *);
    950      1.50  jdolecek 
    951      1.45   thorpej int	linux_sys_setgroups16(struct lwp *, void *, register_t *);
    952      1.50  jdolecek 
    953      1.45   thorpej int	linux_sys_oldselect(struct lwp *, void *, register_t *);
    954      1.50  jdolecek 
    955      1.45   thorpej int	linux_sys_symlink(struct lwp *, void *, register_t *);
    956      1.50  jdolecek 
    957      1.45   thorpej int	compat_43_sys_lstat(struct lwp *, void *, register_t *);
    958      1.50  jdolecek 
    959      1.45   thorpej int	linux_sys_readlink(struct lwp *, void *, register_t *);
    960      1.50  jdolecek 
    961  1.57.2.1      yamt #ifdef EXEC_AOUT
    962      1.45   thorpej int	linux_sys_uselib(struct lwp *, void *, register_t *);
    963      1.50  jdolecek 
    964  1.57.2.1      yamt #else
    965  1.57.2.1      yamt #endif
    966      1.45   thorpej int	linux_sys_swapon(struct lwp *, void *, register_t *);
    967      1.50  jdolecek 
    968      1.45   thorpej int	linux_sys_reboot(struct lwp *, void *, register_t *);
    969      1.50  jdolecek 
    970      1.45   thorpej int	linux_sys_readdir(struct lwp *, void *, register_t *);
    971      1.50  jdolecek 
    972      1.45   thorpej int	linux_sys_old_mmap(struct lwp *, void *, register_t *);
    973      1.50  jdolecek 
    974      1.45   thorpej int	sys_munmap(struct lwp *, void *, register_t *);
    975      1.50  jdolecek 
    976      1.45   thorpej int	linux_sys_truncate(struct lwp *, void *, register_t *);
    977      1.50  jdolecek 
    978      1.45   thorpej int	compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
    979      1.50  jdolecek 
    980      1.45   thorpej int	sys_fchmod(struct lwp *, void *, register_t *);
    981      1.50  jdolecek 
    982      1.45   thorpej int	linux_sys_fchown16(struct lwp *, void *, register_t *);
    983      1.50  jdolecek 
    984  1.57.2.1      yamt int	linux_sys_getpriority(struct lwp *, void *, register_t *);
    985      1.50  jdolecek 
    986      1.45   thorpej int	sys_setpriority(struct lwp *, void *, register_t *);
    987      1.50  jdolecek 
    988      1.45   thorpej int	sys_profil(struct lwp *, void *, register_t *);
    989      1.50  jdolecek 
    990      1.45   thorpej int	linux_sys_statfs(struct lwp *, void *, register_t *);
    991      1.50  jdolecek 
    992      1.45   thorpej int	linux_sys_fstatfs(struct lwp *, void *, register_t *);
    993      1.50  jdolecek 
    994      1.45   thorpej int	linux_sys_ioperm(struct lwp *, void *, register_t *);
    995      1.50  jdolecek 
    996      1.45   thorpej int	linux_sys_socketcall(struct lwp *, void *, register_t *);
    997      1.50  jdolecek 
    998      1.45   thorpej int	sys_setitimer(struct lwp *, void *, register_t *);
    999      1.50  jdolecek 
   1000      1.45   thorpej int	sys_getitimer(struct lwp *, void *, register_t *);
   1001      1.50  jdolecek 
   1002      1.45   thorpej int	linux_sys_stat(struct lwp *, void *, register_t *);
   1003      1.50  jdolecek 
   1004      1.45   thorpej int	linux_sys_lstat(struct lwp *, void *, register_t *);
   1005      1.50  jdolecek 
   1006      1.45   thorpej int	linux_sys_fstat(struct lwp *, void *, register_t *);
   1007      1.50  jdolecek 
   1008      1.45   thorpej int	linux_sys_olduname(struct lwp *, void *, register_t *);
   1009      1.50  jdolecek 
   1010      1.45   thorpej int	linux_sys_iopl(struct lwp *, void *, register_t *);
   1011      1.50  jdolecek 
   1012      1.45   thorpej int	linux_sys_wait4(struct lwp *, void *, register_t *);
   1013      1.50  jdolecek 
   1014      1.45   thorpej int	linux_sys_swapoff(struct lwp *, void *, register_t *);
   1015      1.50  jdolecek 
   1016      1.45   thorpej int	linux_sys_sysinfo(struct lwp *, void *, register_t *);
   1017      1.50  jdolecek 
   1018      1.45   thorpej int	linux_sys_ipc(struct lwp *, void *, register_t *);
   1019      1.50  jdolecek 
   1020      1.45   thorpej int	sys_fsync(struct lwp *, void *, register_t *);
   1021      1.50  jdolecek 
   1022      1.45   thorpej int	linux_sys_sigreturn(struct lwp *, void *, register_t *);
   1023      1.50  jdolecek 
   1024      1.45   thorpej int	linux_sys_clone(struct lwp *, void *, register_t *);
   1025      1.50  jdolecek 
   1026      1.45   thorpej int	linux_sys_setdomainname(struct lwp *, void *, register_t *);
   1027      1.50  jdolecek 
   1028      1.45   thorpej int	linux_sys_uname(struct lwp *, void *, register_t *);
   1029      1.50  jdolecek 
   1030      1.45   thorpej int	linux_sys_modify_ldt(struct lwp *, void *, register_t *);
   1031      1.50  jdolecek 
   1032      1.45   thorpej int	linux_sys_mprotect(struct lwp *, void *, register_t *);
   1033      1.50  jdolecek 
   1034      1.45   thorpej int	linux_sys_sigprocmask(struct lwp *, void *, register_t *);
   1035      1.50  jdolecek 
   1036      1.45   thorpej int	linux_sys_getpgid(struct lwp *, void *, register_t *);
   1037      1.50  jdolecek 
   1038      1.45   thorpej int	sys_fchdir(struct lwp *, void *, register_t *);
   1039      1.50  jdolecek 
   1040      1.45   thorpej int	linux_sys_personality(struct lwp *, void *, register_t *);
   1041      1.50  jdolecek 
   1042      1.45   thorpej int	linux_sys_setfsuid(struct lwp *, void *, register_t *);
   1043      1.50  jdolecek 
   1044      1.45   thorpej int	linux_sys_getfsuid(struct lwp *, void *, register_t *);
   1045      1.50  jdolecek 
   1046      1.45   thorpej int	linux_sys_llseek(struct lwp *, void *, register_t *);
   1047      1.50  jdolecek 
   1048      1.45   thorpej int	linux_sys_getdents(struct lwp *, void *, register_t *);
   1049      1.50  jdolecek 
   1050      1.45   thorpej int	linux_sys_select(struct lwp *, void *, register_t *);
   1051      1.50  jdolecek 
   1052      1.45   thorpej int	sys_flock(struct lwp *, void *, register_t *);
   1053      1.50  jdolecek 
   1054      1.45   thorpej int	linux_sys_msync(struct lwp *, void *, register_t *);
   1055      1.50  jdolecek 
   1056      1.45   thorpej int	sys_readv(struct lwp *, void *, register_t *);
   1057      1.50  jdolecek 
   1058      1.45   thorpej int	sys_writev(struct lwp *, void *, register_t *);
   1059      1.50  jdolecek 
   1060      1.45   thorpej int	sys_getsid(struct lwp *, void *, register_t *);
   1061      1.50  jdolecek 
   1062      1.45   thorpej int	linux_sys_fdatasync(struct lwp *, void *, register_t *);
   1063      1.50  jdolecek 
   1064      1.45   thorpej int	linux_sys___sysctl(struct lwp *, void *, register_t *);
   1065      1.50  jdolecek 
   1066      1.45   thorpej int	sys_mlock(struct lwp *, void *, register_t *);
   1067      1.50  jdolecek 
   1068      1.45   thorpej int	sys_munlock(struct lwp *, void *, register_t *);
   1069      1.50  jdolecek 
   1070      1.45   thorpej int	sys_mlockall(struct lwp *, void *, register_t *);
   1071      1.50  jdolecek 
   1072      1.45   thorpej int	sys_munlockall(struct lwp *, void *, register_t *);
   1073      1.50  jdolecek 
   1074      1.45   thorpej int	linux_sys_sched_setparam(struct lwp *, void *, register_t *);
   1075      1.50  jdolecek 
   1076      1.45   thorpej int	linux_sys_sched_getparam(struct lwp *, void *, register_t *);
   1077      1.50  jdolecek 
   1078      1.45   thorpej int	linux_sys_sched_setscheduler(struct lwp *, void *, register_t *);
   1079      1.50  jdolecek 
   1080      1.45   thorpej int	linux_sys_sched_getscheduler(struct lwp *, void *, register_t *);
   1081      1.50  jdolecek 
   1082      1.45   thorpej int	linux_sys_sched_yield(struct lwp *, void *, register_t *);
   1083      1.50  jdolecek 
   1084      1.45   thorpej int	linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
   1085      1.50  jdolecek 
   1086      1.45   thorpej int	linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
   1087      1.50  jdolecek 
   1088      1.45   thorpej int	sys_nanosleep(struct lwp *, void *, register_t *);
   1089      1.50  jdolecek 
   1090      1.45   thorpej int	linux_sys_mremap(struct lwp *, void *, register_t *);
   1091      1.50  jdolecek 
   1092      1.45   thorpej int	linux_sys_setresuid16(struct lwp *, void *, register_t *);
   1093      1.50  jdolecek 
   1094      1.45   thorpej int	linux_sys_getresuid(struct lwp *, void *, register_t *);
   1095      1.50  jdolecek 
   1096      1.45   thorpej int	sys_poll(struct lwp *, void *, register_t *);
   1097      1.50  jdolecek 
   1098      1.45   thorpej int	linux_sys_setresgid16(struct lwp *, void *, register_t *);
   1099      1.50  jdolecek 
   1100      1.45   thorpej int	linux_sys_getresgid(struct lwp *, void *, register_t *);
   1101      1.50  jdolecek 
   1102      1.45   thorpej int	linux_sys_rt_sigreturn(struct lwp *, void *, register_t *);
   1103      1.50  jdolecek 
   1104      1.45   thorpej int	linux_sys_rt_sigaction(struct lwp *, void *, register_t *);
   1105      1.50  jdolecek 
   1106      1.45   thorpej int	linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
   1107      1.50  jdolecek 
   1108      1.45   thorpej int	linux_sys_rt_sigpending(struct lwp *, void *, register_t *);
   1109      1.50  jdolecek 
   1110      1.45   thorpej int	linux_sys_rt_queueinfo(struct lwp *, void *, register_t *);
   1111      1.50  jdolecek 
   1112      1.45   thorpej int	linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
   1113      1.50  jdolecek 
   1114      1.45   thorpej int	linux_sys_pread(struct lwp *, void *, register_t *);
   1115      1.50  jdolecek 
   1116      1.45   thorpej int	linux_sys_pwrite(struct lwp *, void *, register_t *);
   1117      1.50  jdolecek 
   1118      1.45   thorpej int	linux_sys_chown16(struct lwp *, void *, register_t *);
   1119      1.50  jdolecek 
   1120      1.45   thorpej int	sys___getcwd(struct lwp *, void *, register_t *);
   1121      1.50  jdolecek 
   1122      1.45   thorpej int	linux_sys_sigaltstack(struct lwp *, void *, register_t *);
   1123      1.50  jdolecek 
   1124      1.45   thorpej int	sys___vfork14(struct lwp *, void *, register_t *);
   1125      1.50  jdolecek 
   1126      1.45   thorpej int	linux_sys_ugetrlimit(struct lwp *, void *, register_t *);
   1127      1.50  jdolecek 
   1128      1.47  christos int	linux_sys_mmap2(struct lwp *, void *, register_t *);
   1129      1.50  jdolecek 
   1130      1.45   thorpej int	linux_sys_truncate64(struct lwp *, void *, register_t *);
   1131      1.50  jdolecek 
   1132      1.49  jdolecek int	linux_sys_ftruncate64(struct lwp *, void *, register_t *);
   1133      1.50  jdolecek 
   1134      1.45   thorpej int	linux_sys_stat64(struct lwp *, void *, register_t *);
   1135      1.50  jdolecek 
   1136      1.45   thorpej int	linux_sys_lstat64(struct lwp *, void *, register_t *);
   1137      1.50  jdolecek 
   1138      1.45   thorpej int	linux_sys_fstat64(struct lwp *, void *, register_t *);
   1139      1.50  jdolecek 
   1140      1.45   thorpej int	linux_sys_lchown(struct lwp *, void *, register_t *);
   1141      1.50  jdolecek 
   1142      1.45   thorpej int	sys_setreuid(struct lwp *, void *, register_t *);
   1143      1.50  jdolecek 
   1144      1.45   thorpej int	sys_setregid(struct lwp *, void *, register_t *);
   1145      1.50  jdolecek 
   1146      1.45   thorpej int	sys_getgroups(struct lwp *, void *, register_t *);
   1147      1.50  jdolecek 
   1148      1.45   thorpej int	sys_setgroups(struct lwp *, void *, register_t *);
   1149      1.50  jdolecek 
   1150      1.45   thorpej int	sys___posix_fchown(struct lwp *, void *, register_t *);
   1151      1.50  jdolecek 
   1152      1.45   thorpej int	linux_sys_setresuid(struct lwp *, void *, register_t *);
   1153      1.50  jdolecek 
   1154      1.45   thorpej int	linux_sys_setresgid(struct lwp *, void *, register_t *);
   1155      1.50  jdolecek 
   1156      1.45   thorpej int	linux_sys_chown(struct lwp *, void *, register_t *);
   1157      1.50  jdolecek 
   1158      1.50  jdolecek int	sys_mincore(struct lwp *, void *, register_t *);
   1159      1.50  jdolecek 
   1160      1.50  jdolecek int	sys_madvise(struct lwp *, void *, register_t *);
   1161      1.50  jdolecek 
   1162      1.45   thorpej int	linux_sys_getdents64(struct lwp *, void *, register_t *);
   1163      1.50  jdolecek 
   1164      1.45   thorpej int	linux_sys_fcntl64(struct lwp *, void *, register_t *);
   1165      1.50  jdolecek 
   1166  1.57.2.3      yamt #ifdef LINUX_NPTL
   1167  1.57.2.3      yamt int	linux_sys_gettid(struct lwp *, void *, register_t *);
   1168  1.57.2.3      yamt 
   1169  1.57.2.3      yamt #else
   1170  1.57.2.3      yamt #endif
   1171      1.56      fvdl int	linux_sys_setxattr(struct lwp *, void *, register_t *);
   1172      1.56      fvdl 
   1173      1.56      fvdl int	linux_sys_lsetxattr(struct lwp *, void *, register_t *);
   1174      1.56      fvdl 
   1175      1.56      fvdl int	linux_sys_fsetxattr(struct lwp *, void *, register_t *);
   1176      1.56      fvdl 
   1177      1.56      fvdl int	linux_sys_getxattr(struct lwp *, void *, register_t *);
   1178      1.56      fvdl 
   1179      1.56      fvdl int	linux_sys_lgetxattr(struct lwp *, void *, register_t *);
   1180      1.56      fvdl 
   1181      1.56      fvdl int	linux_sys_fgetxattr(struct lwp *, void *, register_t *);
   1182      1.56      fvdl 
   1183      1.56      fvdl int	linux_sys_listxattr(struct lwp *, void *, register_t *);
   1184      1.56      fvdl 
   1185      1.56      fvdl int	linux_sys_llistxattr(struct lwp *, void *, register_t *);
   1186      1.56      fvdl 
   1187      1.56      fvdl int	linux_sys_flistxattr(struct lwp *, void *, register_t *);
   1188      1.56      fvdl 
   1189      1.56      fvdl int	linux_sys_removexattr(struct lwp *, void *, register_t *);
   1190      1.56      fvdl 
   1191      1.56      fvdl int	linux_sys_lremovexattr(struct lwp *, void *, register_t *);
   1192      1.56      fvdl 
   1193      1.56      fvdl int	linux_sys_fremovexattr(struct lwp *, void *, register_t *);
   1194      1.56      fvdl 
   1195  1.57.2.3      yamt #ifdef LINUX_NPTL
   1196  1.57.2.3      yamt int	linux_sys_tkill(struct lwp *, void *, register_t *);
   1197  1.57.2.3      yamt 
   1198  1.57.2.3      yamt #else
   1199  1.57.2.3      yamt #endif
   1200  1.57.2.3      yamt int	linux_sys_futex(struct lwp *, void *, register_t *);
   1201  1.57.2.3      yamt 
   1202  1.57.2.3      yamt #ifdef LINUX_NPTL
   1203  1.57.2.3      yamt int	linux_sys_sched_setaffinity(struct lwp *, void *, register_t *);
   1204  1.57.2.3      yamt 
   1205  1.57.2.3      yamt int	linux_sys_sched_getaffinity(struct lwp *, void *, register_t *);
   1206  1.57.2.3      yamt 
   1207  1.57.2.3      yamt #else
   1208  1.57.2.3      yamt #endif
   1209      1.53  jdolecek int	linux_sys_exit_group(struct lwp *, void *, register_t *);
   1210      1.53  jdolecek 
   1211  1.57.2.3      yamt #ifdef LINUX_NPTL
   1212  1.57.2.3      yamt int	linux_sys_set_tid_address(struct lwp *, void *, register_t *);
   1213  1.57.2.3      yamt 
   1214  1.57.2.3      yamt #else
   1215  1.57.2.3      yamt #endif
   1216      1.57      fvdl int	linux_sys_clock_settime(struct lwp *, void *, register_t *);
   1217      1.57      fvdl 
   1218      1.57      fvdl int	linux_sys_clock_gettime(struct lwp *, void *, register_t *);
   1219      1.57      fvdl 
   1220      1.57      fvdl int	linux_sys_clock_getres(struct lwp *, void *, register_t *);
   1221      1.57      fvdl 
   1222      1.57      fvdl int	linux_sys_clock_nanosleep(struct lwp *, void *, register_t *);
   1223      1.57      fvdl 
   1224      1.54  jdolecek int	linux_sys_statfs64(struct lwp *, void *, register_t *);
   1225      1.54  jdolecek 
   1226      1.54  jdolecek int	linux_sys_fstatfs64(struct lwp *, void *, register_t *);
   1227      1.54  jdolecek 
   1228  1.57.2.3      yamt #ifdef LINUX_NPTL
   1229  1.57.2.3      yamt int	linux_sys_tgkill(struct lwp *, void *, register_t *);
   1230  1.57.2.3      yamt 
   1231  1.57.2.3      yamt #else
   1232  1.57.2.3      yamt #endif
   1233  1.57.2.1      yamt #endif /* _LINUX_SYS_SYSCALLARGS_H_ */
   1234