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