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