Home | History | Annotate | Line # | Download | only in amd64
linux32_syscallargs.h revision 1.83
      1  1.49     pooka /* $NetBSD: linux32_syscallargs.h,v 1.83 2021/09/19 23:52:08 thorpej Exp $ */
      2   1.1      manu 
      3   1.1      manu /*
      4   1.1      manu  * System call argument lists.
      5   1.1      manu  *
      6   1.1      manu  * DO NOT EDIT-- this file is automatically generated.
      7  1.83   thorpej  * created from	NetBSD: syscalls.master,v 1.73 2021/09/19 23:51:37 thorpej Exp
      8   1.1      manu  */
      9   1.1      manu 
     10   1.1      manu #ifndef _LINUX32_SYS_SYSCALLARGS_H_
     11   1.1      manu #define	_LINUX32_SYS_SYSCALLARGS_H_
     12   1.1      manu 
     13  1.78  riastrad /* Forward declaration */
     14  1.78  riastrad struct lwp;
     15  1.78  riastrad 
     16  1.22  christos #define	LINUX32_SYS_MAXSYSARGS	8
     17  1.22  christos 
     18   1.1      manu #undef	syscallarg
     19   1.1      manu #define	syscallarg(x)							\
     20   1.1      manu 	union {								\
     21   1.1      manu 		register32_t pad;						\
     22   1.1      manu 		struct { x datum; } le;					\
     23   1.1      manu 		struct { /* LINTED zero array dimension */		\
     24   1.1      manu 			int8_t pad[  /* CONSTCOND */			\
     25   1.1      manu 				(sizeof (register32_t) < sizeof (x))	\
     26   1.1      manu 				? 0					\
     27   1.1      manu 				: sizeof (register32_t) - sizeof (x)];	\
     28   1.1      manu 			x datum;					\
     29   1.1      manu 		} be;							\
     30   1.1      manu 	}
     31   1.1      manu 
     32  1.22  christos #undef check_syscall_args
     33  1.61  christos #define check_syscall_args(call) /*LINTED*/ \
     34  1.22  christos 	typedef char call##_check_args[sizeof (struct call##_args) \
     35  1.22  christos 		<= LINUX32_SYS_MAXSYSARGS * sizeof (register32_t) ? 1 : -1];
     36  1.22  christos 
     37  1.59       chs struct linux32_sys_exit_args {
     38  1.59       chs 	syscallarg(int) rval;
     39  1.59       chs };
     40  1.59       chs check_syscall_args(linux32_sys_exit)
     41  1.24       dsl 
     42  1.24       dsl struct netbsd32_read_args;
     43  1.24       dsl 
     44  1.24       dsl struct netbsd32_write_args;
     45  1.24       dsl 
     46   1.1      manu struct linux32_sys_open_args {
     47  1.41     njoly 	syscallarg(netbsd32_charp) path;
     48   1.1      manu 	syscallarg(int) flags;
     49  1.69       chs 	syscallarg(linux_umode_t) mode;
     50   1.1      manu };
     51  1.22  christos check_syscall_args(linux32_sys_open)
     52   1.1      manu 
     53  1.24       dsl struct netbsd32_close_args;
     54  1.24       dsl 
     55   1.1      manu struct linux32_sys_waitpid_args {
     56   1.1      manu 	syscallarg(int) pid;
     57   1.1      manu 	syscallarg(netbsd32_intp) status;
     58   1.1      manu 	syscallarg(int) options;
     59   1.1      manu };
     60  1.22  christos check_syscall_args(linux32_sys_waitpid)
     61   1.1      manu 
     62   1.1      manu struct linux32_sys_creat_args {
     63  1.41     njoly 	syscallarg(netbsd32_charp) path;
     64  1.69       chs 	syscallarg(linux_umode_t) mode;
     65   1.1      manu };
     66  1.22  christos check_syscall_args(linux32_sys_creat)
     67   1.1      manu 
     68  1.24       dsl struct netbsd32_link_args;
     69  1.24       dsl 
     70   1.1      manu struct linux32_sys_unlink_args {
     71  1.41     njoly 	syscallarg(netbsd32_charp) path;
     72   1.1      manu };
     73  1.22  christos check_syscall_args(linux32_sys_unlink)
     74   1.1      manu 
     75  1.24       dsl struct netbsd32_execve_args;
     76  1.24       dsl 
     77  1.24       dsl struct netbsd32_chdir_args;
     78  1.24       dsl 
     79   1.1      manu struct linux32_sys_time_args {
     80   1.1      manu 	syscallarg(linux32_timep_t) t;
     81   1.1      manu };
     82  1.22  christos check_syscall_args(linux32_sys_time)
     83   1.1      manu 
     84   1.1      manu struct linux32_sys_mknod_args {
     85  1.41     njoly 	syscallarg(netbsd32_charp) path;
     86  1.69       chs 	syscallarg(linux_umode_t) mode;
     87  1.69       chs 	syscallarg(unsigned) dev;
     88   1.1      manu };
     89  1.22  christos check_syscall_args(linux32_sys_mknod)
     90   1.1      manu 
     91  1.24       dsl struct netbsd32_chmod_args;
     92  1.24       dsl 
     93   1.1      manu struct linux32_sys_lchown16_args {
     94  1.41     njoly 	syscallarg(netbsd32_charp) path;
     95  1.30     njoly 	syscallarg(linux32_uid16_t) uid;
     96  1.30     njoly 	syscallarg(linux32_gid16_t) gid;
     97   1.1      manu };
     98  1.22  christos check_syscall_args(linux32_sys_lchown16)
     99   1.1      manu 
    100   1.1      manu struct linux32_sys_break_args {
    101   1.1      manu 	syscallarg(netbsd32_charp) nsize;
    102   1.1      manu };
    103  1.22  christos check_syscall_args(linux32_sys_break)
    104   1.1      manu 
    105  1.24       dsl struct compat_43_netbsd32_olseek_args;
    106  1.24       dsl 
    107  1.24       dsl struct netbsd32_setuid_args;
    108  1.24       dsl 
    109   1.1      manu struct linux32_sys_stime_args {
    110   1.1      manu 	syscallarg(linux32_timep_t) t;
    111   1.1      manu };
    112  1.22  christos check_syscall_args(linux32_sys_stime)
    113   1.1      manu 
    114  1.38  christos struct linux32_sys_ptrace_args {
    115  1.38  christos 	syscallarg(int) request;
    116  1.38  christos 	syscallarg(int) pid;
    117  1.38  christos 	syscallarg(int) addr;
    118  1.38  christos 	syscallarg(int) data;
    119  1.38  christos };
    120  1.38  christos check_syscall_args(linux32_sys_ptrace)
    121  1.38  christos 
    122  1.21     njoly struct linux32_sys_alarm_args {
    123  1.21     njoly 	syscallarg(unsigned int) secs;
    124  1.21     njoly };
    125  1.22  christos check_syscall_args(linux32_sys_alarm)
    126  1.21     njoly 
    127   1.1      manu struct linux32_sys_utime_args {
    128  1.41     njoly 	syscallarg(netbsd32_charp) path;
    129   1.1      manu 	syscallarg(linux32_utimbufp_t) times;
    130   1.1      manu };
    131  1.22  christos check_syscall_args(linux32_sys_utime)
    132   1.1      manu 
    133  1.24       dsl struct netbsd32_access_args;
    134  1.24       dsl 
    135  1.21     njoly struct linux32_sys_nice_args {
    136  1.21     njoly 	syscallarg(int) incr;
    137  1.21     njoly };
    138  1.22  christos check_syscall_args(linux32_sys_nice)
    139  1.21     njoly 
    140   1.1      manu struct linux32_sys_kill_args {
    141   1.1      manu 	syscallarg(int) pid;
    142   1.1      manu 	syscallarg(int) signum;
    143   1.1      manu };
    144  1.22  christos check_syscall_args(linux32_sys_kill)
    145   1.1      manu 
    146  1.40     njoly struct netbsd32___posix_rename_args;
    147   1.1      manu 
    148  1.24       dsl struct netbsd32_mkdir_args;
    149  1.24       dsl 
    150  1.24       dsl struct netbsd32_rmdir_args;
    151  1.24       dsl 
    152  1.24       dsl struct netbsd32_dup_args;
    153  1.24       dsl 
    154   1.1      manu struct linux32_sys_pipe_args {
    155   1.1      manu 	syscallarg(netbsd32_intp) fd;
    156   1.1      manu };
    157  1.22  christos check_syscall_args(linux32_sys_pipe)
    158   1.1      manu 
    159   1.1      manu struct linux32_sys_times_args {
    160   1.1      manu 	syscallarg(linux32_tmsp_t) tms;
    161   1.1      manu };
    162  1.22  christos check_syscall_args(linux32_sys_times)
    163   1.1      manu 
    164   1.1      manu struct linux32_sys_brk_args {
    165   1.1      manu 	syscallarg(netbsd32_charp) nsize;
    166   1.1      manu };
    167  1.22  christos check_syscall_args(linux32_sys_brk)
    168   1.1      manu 
    169  1.24       dsl struct netbsd32_setgid_args;
    170  1.24       dsl 
    171   1.1      manu struct linux32_sys_signal_args {
    172   1.1      manu 	syscallarg(int) signum;
    173  1.75  christos 	syscallarg(linux32_handlerp_t) handler;
    174   1.1      manu };
    175  1.22  christos check_syscall_args(linux32_sys_signal)
    176   1.1      manu 
    177  1.24       dsl struct netbsd32_acct_args;
    178  1.24       dsl 
    179   1.1      manu struct linux32_sys_ioctl_args {
    180   1.1      manu 	syscallarg(int) fd;
    181   1.1      manu 	syscallarg(netbsd32_u_long) com;
    182   1.1      manu 	syscallarg(netbsd32_charp) data;
    183   1.1      manu };
    184  1.22  christos check_syscall_args(linux32_sys_ioctl)
    185   1.1      manu 
    186   1.1      manu struct linux32_sys_fcntl_args {
    187   1.1      manu 	syscallarg(int) fd;
    188   1.1      manu 	syscallarg(int) cmd;
    189   1.1      manu 	syscallarg(netbsd32_voidp) arg;
    190   1.1      manu };
    191  1.22  christos check_syscall_args(linux32_sys_fcntl)
    192   1.1      manu 
    193  1.24       dsl struct netbsd32_setpgid_args;
    194  1.24       dsl 
    195   1.1      manu struct linux32_sys_oldolduname_args {
    196   1.1      manu 	syscallarg(linux32_oldold_utsnamep_t) up;
    197   1.1      manu };
    198  1.22  christos check_syscall_args(linux32_sys_oldolduname)
    199   1.1      manu 
    200  1.24       dsl struct netbsd32_umask_args;
    201  1.24       dsl 
    202  1.24       dsl struct netbsd32_chroot_args;
    203  1.24       dsl 
    204  1.24       dsl struct netbsd32_dup2_args;
    205  1.24       dsl 
    206  1.54     njoly struct linux32_sys_sigsetmask_args {
    207  1.54     njoly 	syscallarg(linux32_old_sigset_t) mask;
    208  1.54     njoly };
    209  1.54     njoly check_syscall_args(linux32_sys_sigsetmask)
    210  1.54     njoly 
    211  1.21     njoly struct linux32_sys_setreuid16_args {
    212  1.30     njoly 	syscallarg(linux32_uid16_t) ruid;
    213  1.30     njoly 	syscallarg(linux32_uid16_t) euid;
    214   1.1      manu };
    215  1.22  christos check_syscall_args(linux32_sys_setreuid16)
    216   1.1      manu 
    217  1.21     njoly struct linux32_sys_setregid16_args {
    218  1.30     njoly 	syscallarg(linux32_gid16_t) rgid;
    219  1.30     njoly 	syscallarg(linux32_gid16_t) egid;
    220   1.1      manu };
    221  1.22  christos check_syscall_args(linux32_sys_setregid16)
    222   1.1      manu 
    223  1.24       dsl struct compat_43_netbsd32_osethostname_args;
    224  1.24       dsl 
    225   1.1      manu struct linux32_sys_setrlimit_args {
    226   1.1      manu 	syscallarg(u_int) which;
    227   1.1      manu 	syscallarg(netbsd32_orlimitp_t) rlp;
    228   1.1      manu };
    229  1.22  christos check_syscall_args(linux32_sys_setrlimit)
    230   1.1      manu 
    231   1.1      manu struct linux32_sys_getrlimit_args {
    232   1.1      manu 	syscallarg(u_int) which;
    233   1.1      manu 	syscallarg(netbsd32_orlimitp_t) rlp;
    234   1.1      manu };
    235  1.22  christos check_syscall_args(linux32_sys_getrlimit)
    236   1.1      manu 
    237  1.48  christos struct compat_50_netbsd32_getrusage_args;
    238  1.24       dsl 
    239   1.1      manu struct linux32_sys_gettimeofday_args {
    240  1.50     njoly 	syscallarg(netbsd32_timeval50p_t) tp;
    241   1.1      manu 	syscallarg(netbsd32_timezonep_t) tzp;
    242   1.1      manu };
    243  1.22  christos check_syscall_args(linux32_sys_gettimeofday)
    244   1.1      manu 
    245   1.1      manu struct linux32_sys_settimeofday_args {
    246  1.50     njoly 	syscallarg(netbsd32_timeval50p_t) tp;
    247   1.1      manu 	syscallarg(netbsd32_timezonep_t) tzp;
    248   1.1      manu };
    249  1.22  christos check_syscall_args(linux32_sys_settimeofday)
    250   1.1      manu 
    251   1.1      manu struct linux32_sys_getgroups16_args {
    252   1.1      manu 	syscallarg(int) gidsetsize;
    253  1.30     njoly 	syscallarg(linux32_gid16p_t) gidset;
    254   1.1      manu };
    255  1.22  christos check_syscall_args(linux32_sys_getgroups16)
    256   1.1      manu 
    257   1.1      manu struct linux32_sys_setgroups16_args {
    258   1.1      manu 	syscallarg(int) gidsetsize;
    259  1.30     njoly 	syscallarg(linux32_gid16p_t) gidset;
    260   1.1      manu };
    261  1.22  christos check_syscall_args(linux32_sys_setgroups16)
    262   1.1      manu 
    263   1.1      manu struct linux32_sys_oldselect_args {
    264   1.1      manu 	syscallarg(linux32_oldselectp_t) lsp;
    265   1.1      manu };
    266  1.22  christos check_syscall_args(linux32_sys_oldselect)
    267   1.1      manu 
    268  1.24       dsl struct netbsd32_symlink_args;
    269  1.24       dsl 
    270  1.24       dsl struct compat_43_netbsd32_lstat43_args;
    271  1.24       dsl 
    272  1.24       dsl struct netbsd32_readlink_args;
    273  1.24       dsl 
    274   1.1      manu struct linux32_sys_swapon_args {
    275   1.1      manu 	syscallarg(netbsd32_charp) name;
    276   1.1      manu };
    277  1.22  christos check_syscall_args(linux32_sys_swapon)
    278   1.1      manu 
    279   1.1      manu struct linux32_sys_reboot_args {
    280   1.1      manu 	syscallarg(int) magic1;
    281   1.1      manu 	syscallarg(int) magic2;
    282   1.1      manu 	syscallarg(int) cmd;
    283   1.1      manu 	syscallarg(netbsd32_voidp) arg;
    284   1.1      manu };
    285  1.22  christos check_syscall_args(linux32_sys_reboot)
    286   1.1      manu 
    287  1.28     njoly struct linux32_sys_readdir_args {
    288  1.28     njoly 	syscallarg(int) fd;
    289  1.28     njoly 	syscallarg(netbsd32_voidp) dent;
    290  1.28     njoly 	syscallarg(unsigned int) count;
    291  1.28     njoly };
    292  1.28     njoly check_syscall_args(linux32_sys_readdir)
    293  1.28     njoly 
    294   1.1      manu struct linux32_sys_old_mmap_args {
    295   1.1      manu 	syscallarg(linux32_oldmmapp) lmp;
    296   1.1      manu };
    297  1.22  christos check_syscall_args(linux32_sys_old_mmap)
    298   1.1      manu 
    299  1.24       dsl struct netbsd32_munmap_args;
    300  1.24       dsl 
    301  1.40     njoly struct compat_43_netbsd32_otruncate_args;
    302   1.1      manu 
    303  1.24       dsl struct compat_43_netbsd32_oftruncate_args;
    304  1.24       dsl 
    305  1.24       dsl struct netbsd32_fchmod_args;
    306  1.24       dsl 
    307   1.1      manu struct linux32_sys_fchown16_args {
    308   1.1      manu 	syscallarg(int) fd;
    309  1.30     njoly 	syscallarg(linux32_uid16_t) uid;
    310  1.30     njoly 	syscallarg(linux32_gid16_t) gid;
    311   1.1      manu };
    312  1.22  christos check_syscall_args(linux32_sys_fchown16)
    313   1.1      manu 
    314   1.4      manu struct linux32_sys_getpriority_args {
    315   1.4      manu 	syscallarg(int) which;
    316   1.4      manu 	syscallarg(int) who;
    317   1.4      manu };
    318  1.22  christos check_syscall_args(linux32_sys_getpriority)
    319   1.4      manu 
    320  1.40     njoly struct netbsd32_setpriority_args;
    321   1.4      manu 
    322  1.60       chs struct netbsd32_profil_args;
    323  1.60       chs 
    324  1.16     njoly struct linux32_sys_statfs_args {
    325  1.41     njoly 	syscallarg(netbsd32_charp) path;
    326  1.16     njoly 	syscallarg(linux32_statfsp) sp;
    327  1.16     njoly };
    328  1.22  christos check_syscall_args(linux32_sys_statfs)
    329  1.16     njoly 
    330  1.56     njoly struct linux32_sys_fstatfs_args {
    331  1.56     njoly 	syscallarg(int) fd;
    332  1.56     njoly 	syscallarg(linux32_statfsp) sp;
    333  1.56     njoly };
    334  1.56     njoly check_syscall_args(linux32_sys_fstatfs)
    335  1.56     njoly 
    336  1.60       chs struct linux_sys_ioperm_args;
    337  1.60       chs 
    338   1.1      manu struct linux32_sys_socketcall_args {
    339   1.1      manu 	syscallarg(int) what;
    340   1.1      manu 	syscallarg(netbsd32_voidp) args;
    341   1.1      manu };
    342  1.22  christos check_syscall_args(linux32_sys_socketcall)
    343   1.1      manu 
    344  1.48  christos struct compat_50_netbsd32_setitimer_args;
    345  1.24       dsl 
    346  1.48  christos struct compat_50_netbsd32_getitimer_args;
    347  1.24       dsl 
    348  1.55     njoly struct linux32_sys_stat_args {
    349  1.55     njoly 	syscallarg(netbsd32_charp) path;
    350  1.55     njoly 	syscallarg(linux32_statp) sp;
    351  1.55     njoly };
    352  1.55     njoly check_syscall_args(linux32_sys_stat)
    353  1.55     njoly 
    354  1.55     njoly struct linux32_sys_lstat_args {
    355  1.55     njoly 	syscallarg(netbsd32_charp) path;
    356  1.55     njoly 	syscallarg(linux32_statp) sp;
    357  1.55     njoly };
    358  1.55     njoly check_syscall_args(linux32_sys_lstat)
    359  1.55     njoly 
    360  1.55     njoly struct linux32_sys_fstat_args {
    361  1.55     njoly 	syscallarg(int) fd;
    362  1.55     njoly 	syscallarg(linux32_statp) sp;
    363  1.55     njoly };
    364  1.55     njoly check_syscall_args(linux32_sys_fstat)
    365  1.55     njoly 
    366  1.27     njoly struct linux32_sys_olduname_args {
    367  1.27     njoly 	syscallarg(linux32_oldutsnamep_t) up;
    368  1.27     njoly };
    369  1.27     njoly check_syscall_args(linux32_sys_olduname)
    370  1.27     njoly 
    371  1.60       chs struct linux_sys_iopl_args;
    372  1.60       chs 
    373   1.1      manu struct linux32_sys_wait4_args {
    374   1.1      manu 	syscallarg(int) pid;
    375   1.1      manu 	syscallarg(netbsd32_intp) status;
    376   1.1      manu 	syscallarg(int) options;
    377  1.51     njoly 	syscallarg(netbsd32_rusage50p_t) rusage;
    378   1.1      manu };
    379  1.22  christos check_syscall_args(linux32_sys_wait4)
    380   1.1      manu 
    381   1.1      manu struct linux32_sys_swapoff_args {
    382  1.41     njoly 	syscallarg(netbsd32_charp) path;
    383   1.1      manu };
    384  1.22  christos check_syscall_args(linux32_sys_swapoff)
    385   1.1      manu 
    386  1.10      manu struct linux32_sys_sysinfo_args {
    387  1.10      manu 	syscallarg(linux32_sysinfop_t) arg;
    388  1.10      manu };
    389  1.22  christos check_syscall_args(linux32_sys_sysinfo)
    390  1.10      manu 
    391  1.37     njoly struct linux32_sys_ipc_args {
    392  1.37     njoly 	syscallarg(int) what;
    393  1.37     njoly 	syscallarg(int) a1;
    394  1.37     njoly 	syscallarg(int) a2;
    395  1.37     njoly 	syscallarg(int) a3;
    396  1.37     njoly 	syscallarg(netbsd32_voidp) ptr;
    397  1.37     njoly };
    398  1.37     njoly check_syscall_args(linux32_sys_ipc)
    399  1.37     njoly 
    400  1.24       dsl struct netbsd32_fsync_args;
    401  1.24       dsl 
    402   1.1      manu struct linux32_sys_sigreturn_args {
    403   1.1      manu 	syscallarg(linux32_sigcontextp_t) scp;
    404   1.1      manu };
    405  1.22  christos check_syscall_args(linux32_sys_sigreturn)
    406   1.1      manu 
    407   1.1      manu struct linux32_sys_clone_args {
    408   1.1      manu 	syscallarg(int) flags;
    409   1.1      manu 	syscallarg(netbsd32_voidp) stack;
    410  1.59       chs 	syscallarg(netbsd32_voidp) parent_tidptr;
    411  1.59       chs 	syscallarg(netbsd32_voidp) tls;
    412  1.59       chs 	syscallarg(netbsd32_voidp) child_tidptr;
    413   1.1      manu };
    414  1.22  christos check_syscall_args(linux32_sys_clone)
    415   1.1      manu 
    416  1.60       chs struct linux32_sys_setdomainname_args {
    417  1.60       chs 	syscallarg(netbsd32_charp) domainname;
    418  1.60       chs 	syscallarg(int) len;
    419  1.60       chs };
    420  1.60       chs check_syscall_args(linux32_sys_setdomainname)
    421  1.60       chs 
    422   1.1      manu struct linux32_sys_uname_args {
    423   1.1      manu 	syscallarg(linux32_utsnamep) up;
    424   1.1      manu };
    425  1.22  christos check_syscall_args(linux32_sys_uname)
    426   1.1      manu 
    427  1.60       chs struct linux32_sys_modify_ldt_args {
    428  1.60       chs 	syscallarg(int) func;
    429  1.60       chs 	syscallarg(netbsd32_charp) ptr;
    430  1.60       chs 	syscallarg(netbsd32_size_t) bytecount;
    431  1.60       chs };
    432  1.60       chs check_syscall_args(linux32_sys_modify_ldt)
    433  1.60       chs 
    434   1.1      manu struct linux32_sys_mprotect_args {
    435  1.24       dsl 	syscallarg(netbsd32_voidp) start;
    436   1.1      manu 	syscallarg(netbsd32_size_t) len;
    437   1.1      manu 	syscallarg(int) prot;
    438   1.1      manu };
    439  1.22  christos check_syscall_args(linux32_sys_mprotect)
    440   1.1      manu 
    441  1.26     njoly struct netbsd32_getpgid_args;
    442  1.26     njoly 
    443  1.24       dsl struct netbsd32_fchdir_args;
    444  1.24       dsl 
    445  1.52     njoly struct linux32_sys_personality_args {
    446  1.58     njoly 	syscallarg(netbsd32_u_long) per;
    447  1.52     njoly };
    448  1.52     njoly check_syscall_args(linux32_sys_personality)
    449  1.52     njoly 
    450  1.24       dsl struct linux32_sys_setfsuid_args;
    451  1.24       dsl 
    452  1.25     njoly struct linux32_sys_setfsgid_args;
    453  1.25     njoly 
    454   1.1      manu struct linux32_sys_llseek_args {
    455   1.1      manu 	syscallarg(int) fd;
    456   1.1      manu 	syscallarg(u_int32_t) ohigh;
    457   1.1      manu 	syscallarg(u_int32_t) olow;
    458  1.46     njoly 	syscallarg(netbsd32_voidp) res;
    459   1.1      manu 	syscallarg(int) whence;
    460   1.1      manu };
    461  1.22  christos check_syscall_args(linux32_sys_llseek)
    462   1.1      manu 
    463   1.1      manu struct linux32_sys_getdents_args {
    464   1.1      manu 	syscallarg(int) fd;
    465   1.1      manu 	syscallarg(linux32_direntp_t) dent;
    466   1.1      manu 	syscallarg(unsigned int) count;
    467   1.1      manu };
    468  1.22  christos check_syscall_args(linux32_sys_getdents)
    469   1.1      manu 
    470   1.1      manu struct linux32_sys_select_args {
    471   1.1      manu 	syscallarg(int) nfds;
    472   1.1      manu 	syscallarg(netbsd32_fd_setp_t) readfds;
    473   1.1      manu 	syscallarg(netbsd32_fd_setp_t) writefds;
    474   1.1      manu 	syscallarg(netbsd32_fd_setp_t) exceptfds;
    475  1.50     njoly 	syscallarg(netbsd32_timeval50p_t) timeout;
    476   1.1      manu };
    477  1.22  christos check_syscall_args(linux32_sys_select)
    478   1.1      manu 
    479  1.24       dsl struct netbsd32_flock_args;
    480  1.24       dsl 
    481  1.35     njoly struct netbsd32___msync13_args;
    482  1.35     njoly 
    483  1.24       dsl struct netbsd32_readv_args;
    484  1.24       dsl 
    485  1.24       dsl struct netbsd32_writev_args;
    486  1.24       dsl 
    487  1.24       dsl struct netbsd32_getsid_args;
    488  1.24       dsl 
    489  1.21     njoly struct linux32_sys_fdatasync_args {
    490  1.21     njoly 	syscallarg(int) fd;
    491  1.21     njoly };
    492  1.22  christos check_syscall_args(linux32_sys_fdatasync)
    493  1.21     njoly 
    494   1.1      manu struct linux32_sys___sysctl_args {
    495   1.1      manu 	syscallarg(linux32___sysctlp_t) lsp;
    496   1.1      manu };
    497  1.22  christos check_syscall_args(linux32_sys___sysctl)
    498   1.1      manu 
    499  1.34     njoly struct netbsd32_mlock_args;
    500  1.34     njoly 
    501  1.34     njoly struct netbsd32_munlock_args;
    502  1.34     njoly 
    503  1.24       dsl struct netbsd32_mlockall_args;
    504  1.24       dsl 
    505  1.59       chs struct linux32_sys_sched_setparam_args {
    506  1.59       chs 	syscallarg(pid_t) pid;
    507  1.59       chs 	syscallarg(const linux32_sched_paramp_t) sp;
    508  1.59       chs };
    509  1.59       chs check_syscall_args(linux32_sys_sched_setparam)
    510  1.59       chs 
    511  1.10      manu struct linux32_sys_sched_getparam_args {
    512  1.10      manu 	syscallarg(pid_t) pid;
    513  1.10      manu 	syscallarg(linux32_sched_paramp_t) sp;
    514  1.10      manu };
    515  1.22  christos check_syscall_args(linux32_sys_sched_getparam)
    516  1.10      manu 
    517   1.1      manu struct linux32_sys_sched_setscheduler_args {
    518   1.1      manu 	syscallarg(pid_t) pid;
    519   1.1      manu 	syscallarg(int) policy;
    520  1.41     njoly 	syscallarg(linux32_sched_paramp_t) sp;
    521   1.1      manu };
    522  1.22  christos check_syscall_args(linux32_sys_sched_setscheduler)
    523   1.1      manu 
    524  1.21     njoly struct linux32_sys_sched_getscheduler_args {
    525  1.21     njoly 	syscallarg(pid_t) pid;
    526  1.21     njoly };
    527  1.22  christos check_syscall_args(linux32_sys_sched_getscheduler)
    528  1.21     njoly 
    529  1.44     njoly struct linux32_sys_sched_get_priority_max_args {
    530  1.44     njoly 	syscallarg(int) policy;
    531  1.44     njoly };
    532  1.44     njoly check_syscall_args(linux32_sys_sched_get_priority_max)
    533  1.44     njoly 
    534  1.44     njoly struct linux32_sys_sched_get_priority_min_args {
    535  1.44     njoly 	syscallarg(int) policy;
    536  1.44     njoly };
    537  1.44     njoly check_syscall_args(linux32_sys_sched_get_priority_min)
    538  1.44     njoly 
    539  1.42     njoly struct linux32_sys_nanosleep_args {
    540  1.42     njoly 	syscallarg(linux32_timespecp_t) rqtp;
    541  1.42     njoly 	syscallarg(linux32_timespecp_t) rmtp;
    542  1.42     njoly };
    543  1.42     njoly check_syscall_args(linux32_sys_nanosleep)
    544  1.24       dsl 
    545  1.10      manu struct linux32_sys_mremap_args {
    546  1.10      manu 	syscallarg(netbsd32_voidp) old_address;
    547  1.10      manu 	syscallarg(netbsd32_size_t) old_size;
    548  1.10      manu 	syscallarg(netbsd32_size_t) new_size;
    549  1.10      manu 	syscallarg(netbsd32_u_long) flags;
    550  1.10      manu };
    551  1.22  christos check_syscall_args(linux32_sys_mremap)
    552  1.10      manu 
    553  1.21     njoly struct linux32_sys_setresuid16_args {
    554  1.30     njoly 	syscallarg(linux32_uid16_t) ruid;
    555  1.30     njoly 	syscallarg(linux32_uid16_t) euid;
    556  1.30     njoly 	syscallarg(linux32_uid16_t) suid;
    557  1.21     njoly };
    558  1.22  christos check_syscall_args(linux32_sys_setresuid16)
    559  1.21     njoly 
    560  1.30     njoly struct linux32_sys_getresuid16_args {
    561  1.30     njoly 	syscallarg(linux32_uid16p_t) ruid;
    562  1.30     njoly 	syscallarg(linux32_uid16p_t) euid;
    563  1.30     njoly 	syscallarg(linux32_uid16p_t) suid;
    564  1.30     njoly };
    565  1.30     njoly check_syscall_args(linux32_sys_getresuid16)
    566  1.30     njoly 
    567  1.24       dsl struct netbsd32_poll_args;
    568  1.24       dsl 
    569  1.21     njoly struct linux32_sys_setresgid16_args {
    570  1.30     njoly 	syscallarg(linux32_gid16_t) rgid;
    571  1.30     njoly 	syscallarg(linux32_gid16_t) egid;
    572  1.30     njoly 	syscallarg(linux32_gid16_t) sgid;
    573  1.21     njoly };
    574  1.22  christos check_syscall_args(linux32_sys_setresgid16)
    575  1.21     njoly 
    576  1.30     njoly struct linux32_sys_getresgid16_args {
    577  1.30     njoly 	syscallarg(linux32_gid16p_t) rgid;
    578  1.30     njoly 	syscallarg(linux32_gid16p_t) egid;
    579  1.30     njoly 	syscallarg(linux32_gid16p_t) sgid;
    580  1.30     njoly };
    581  1.30     njoly check_syscall_args(linux32_sys_getresgid16)
    582  1.30     njoly 
    583   1.1      manu struct linux32_sys_rt_sigreturn_args {
    584   1.1      manu 	syscallarg(linux32_ucontextp_t) ucp;
    585   1.1      manu };
    586  1.22  christos check_syscall_args(linux32_sys_rt_sigreturn)
    587   1.1      manu 
    588   1.1      manu struct linux32_sys_rt_sigaction_args {
    589   1.1      manu 	syscallarg(int) signum;
    590  1.41     njoly 	syscallarg(linux32_sigactionp_t) nsa;
    591   1.1      manu 	syscallarg(linux32_sigactionp_t) osa;
    592   1.1      manu 	syscallarg(netbsd32_size_t) sigsetsize;
    593   1.1      manu };
    594  1.22  christos check_syscall_args(linux32_sys_rt_sigaction)
    595   1.1      manu 
    596   1.1      manu struct linux32_sys_rt_sigprocmask_args {
    597   1.1      manu 	syscallarg(int) how;
    598  1.41     njoly 	syscallarg(linux32_sigsetp_t) set;
    599   1.1      manu 	syscallarg(linux32_sigsetp_t) oset;
    600   1.1      manu 	syscallarg(netbsd32_size_t) sigsetsize;
    601   1.1      manu };
    602  1.22  christos check_syscall_args(linux32_sys_rt_sigprocmask)
    603   1.1      manu 
    604  1.39     njoly struct linux32_sys_rt_sigpending_args {
    605  1.39     njoly 	syscallarg(linux32_sigsetp_t) set;
    606  1.39     njoly 	syscallarg(netbsd32_size_t) sigsetsize;
    607  1.39     njoly };
    608  1.39     njoly check_syscall_args(linux32_sys_rt_sigpending)
    609  1.39     njoly 
    610  1.64  christos struct linux32_sys_rt_sigtimedwait_args {
    611  1.66  christos 	syscallarg(const linux32_sigsetp_t) set;
    612  1.66  christos 	syscallarg(linux32_siginfop_t) info;
    613  1.66  christos 	syscallarg(const linux32_timespecp_t) timeout;
    614  1.64  christos };
    615  1.64  christos check_syscall_args(linux32_sys_rt_sigtimedwait)
    616  1.64  christos 
    617  1.57     njoly struct linux32_sys_rt_queueinfo_args {
    618  1.57     njoly 	syscallarg(int) pid;
    619  1.57     njoly 	syscallarg(int) sig;
    620  1.57     njoly 	syscallarg(linux32_siginfop_t) uinfo;
    621  1.57     njoly };
    622  1.57     njoly check_syscall_args(linux32_sys_rt_queueinfo)
    623  1.57     njoly 
    624   1.1      manu struct linux32_sys_rt_sigsuspend_args {
    625   1.1      manu 	syscallarg(linux32_sigsetp_t) unewset;
    626   1.1      manu 	syscallarg(netbsd32_size_t) sigsetsize;
    627   1.1      manu };
    628  1.22  christos check_syscall_args(linux32_sys_rt_sigsuspend)
    629   1.1      manu 
    630  1.31       dsl struct linux32_sys_pread_args {
    631  1.31       dsl 	syscallarg(int) fd;
    632  1.33     njoly 	syscallarg(netbsd32_voidp) buf;
    633  1.31       dsl 	syscallarg(netbsd32_size_t) nbyte;
    634  1.71     njoly 	syscallarg(netbsd32_off_t) offset;
    635  1.31       dsl };
    636  1.31       dsl check_syscall_args(linux32_sys_pread)
    637  1.31       dsl 
    638  1.31       dsl struct linux32_sys_pwrite_args {
    639  1.31       dsl 	syscallarg(int) fd;
    640  1.41     njoly 	syscallarg(netbsd32_voidp) buf;
    641  1.31       dsl 	syscallarg(netbsd32_size_t) nbyte;
    642  1.71     njoly 	syscallarg(netbsd32_off_t) offset;
    643  1.31       dsl };
    644  1.31       dsl check_syscall_args(linux32_sys_pwrite)
    645  1.31       dsl 
    646  1.18     njoly struct linux32_sys_chown16_args {
    647  1.41     njoly 	syscallarg(netbsd32_charp) path;
    648  1.30     njoly 	syscallarg(linux32_uid16_t) uid;
    649  1.30     njoly 	syscallarg(linux32_gid16_t) gid;
    650  1.18     njoly };
    651  1.22  christos check_syscall_args(linux32_sys_chown16)
    652  1.18     njoly 
    653  1.24       dsl struct netbsd32___getcwd_args;
    654  1.24       dsl 
    655   1.1      manu struct linux32_sys_ugetrlimit_args {
    656   1.1      manu 	syscallarg(int) which;
    657   1.1      manu 	syscallarg(netbsd32_orlimitp_t) rlp;
    658   1.1      manu };
    659  1.22  christos check_syscall_args(linux32_sys_ugetrlimit)
    660   1.1      manu 
    661  1.10      manu struct linux32_sys_mmap2_args {
    662  1.10      manu 	syscallarg(netbsd32_u_long) addr;
    663  1.10      manu 	syscallarg(netbsd32_size_t) len;
    664  1.10      manu 	syscallarg(int) prot;
    665  1.10      manu 	syscallarg(int) flags;
    666  1.10      manu 	syscallarg(int) fd;
    667  1.10      manu 	syscallarg(linux32_off_t) offset;
    668  1.10      manu };
    669  1.22  christos check_syscall_args(linux32_sys_mmap2)
    670  1.10      manu 
    671  1.60       chs struct linux32_sys_truncate64_args {
    672  1.60       chs 	syscallarg(netbsd32_charp) path;
    673  1.60       chs 	syscallarg(uint32_t) lenlo;
    674  1.60       chs 	syscallarg(uint32_t) lenhi;
    675  1.60       chs };
    676  1.60       chs check_syscall_args(linux32_sys_truncate64)
    677  1.60       chs 
    678  1.60       chs struct linux32_sys_ftruncate64_args {
    679  1.60       chs 	syscallarg(unsigned int) fd;
    680  1.60       chs 	syscallarg(uint32_t) lenlo;
    681  1.60       chs 	syscallarg(uint32_t) lenhi;
    682  1.60       chs };
    683  1.60       chs check_syscall_args(linux32_sys_ftruncate64)
    684  1.60       chs 
    685   1.1      manu struct linux32_sys_stat64_args {
    686  1.41     njoly 	syscallarg(netbsd32_charp) path;
    687   1.1      manu 	syscallarg(linux32_stat64p) sp;
    688   1.1      manu };
    689  1.22  christos check_syscall_args(linux32_sys_stat64)
    690   1.1      manu 
    691   1.1      manu struct linux32_sys_lstat64_args {
    692  1.41     njoly 	syscallarg(netbsd32_charp) path;
    693   1.1      manu 	syscallarg(linux32_stat64p) sp;
    694   1.1      manu };
    695  1.22  christos check_syscall_args(linux32_sys_lstat64)
    696   1.1      manu 
    697   1.1      manu struct linux32_sys_fstat64_args {
    698   1.1      manu 	syscallarg(int) fd;
    699   1.1      manu 	syscallarg(linux32_stat64p) sp;
    700   1.1      manu };
    701  1.22  christos check_syscall_args(linux32_sys_fstat64)
    702   1.1      manu 
    703  1.24       dsl struct netbsd32___posix_lchown_args;
    704  1.24       dsl 
    705  1.24       dsl struct netbsd32_setreuid_args;
    706  1.24       dsl 
    707  1.24       dsl struct netbsd32_setregid_args;
    708  1.24       dsl 
    709  1.24       dsl struct netbsd32_getgroups_args;
    710  1.24       dsl 
    711  1.24       dsl struct netbsd32_setgroups_args;
    712  1.24       dsl 
    713  1.24       dsl struct netbsd32___posix_fchown_args;
    714  1.24       dsl 
    715   1.8      manu struct linux32_sys_setresuid_args {
    716   1.8      manu 	syscallarg(uid_t) ruid;
    717   1.8      manu 	syscallarg(uid_t) euid;
    718   1.8      manu 	syscallarg(uid_t) suid;
    719   1.8      manu };
    720  1.22  christos check_syscall_args(linux32_sys_setresuid)
    721   1.8      manu 
    722  1.45     njoly struct linux32_sys_getresuid_args {
    723  1.45     njoly 	syscallarg(linux32_uidp_t) ruid;
    724  1.45     njoly 	syscallarg(linux32_uidp_t) euid;
    725  1.45     njoly 	syscallarg(linux32_uidp_t) suid;
    726  1.45     njoly };
    727  1.45     njoly check_syscall_args(linux32_sys_getresuid)
    728  1.45     njoly 
    729   1.8      manu struct linux32_sys_setresgid_args {
    730   1.8      manu 	syscallarg(gid_t) rgid;
    731   1.8      manu 	syscallarg(gid_t) egid;
    732   1.8      manu 	syscallarg(gid_t) sgid;
    733   1.8      manu };
    734  1.22  christos check_syscall_args(linux32_sys_setresgid)
    735   1.8      manu 
    736  1.45     njoly struct linux32_sys_getresgid_args {
    737  1.45     njoly 	syscallarg(linux32_gidp_t) rgid;
    738  1.45     njoly 	syscallarg(linux32_gidp_t) egid;
    739  1.45     njoly 	syscallarg(linux32_gidp_t) sgid;
    740  1.45     njoly };
    741  1.45     njoly check_syscall_args(linux32_sys_getresgid)
    742  1.45     njoly 
    743  1.24       dsl struct netbsd32___posix_chown_args;
    744  1.24       dsl 
    745  1.24       dsl struct netbsd32_setuid_args;
    746  1.24       dsl 
    747  1.24       dsl struct netbsd32_setgid_args;
    748  1.24       dsl 
    749  1.21     njoly struct linux32_sys_setfsuid_args {
    750  1.21     njoly 	syscallarg(uid_t) uid;
    751  1.21     njoly };
    752  1.22  christos check_syscall_args(linux32_sys_setfsuid)
    753  1.21     njoly 
    754  1.25     njoly struct linux32_sys_setfsgid_args {
    755  1.25     njoly 	syscallarg(gid_t) gid;
    756  1.25     njoly };
    757  1.25     njoly check_syscall_args(linux32_sys_setfsgid)
    758  1.25     njoly 
    759  1.53     njoly struct netbsd32_mincore_args;
    760  1.53     njoly 
    761  1.24       dsl struct netbsd32_madvise_args;
    762  1.24       dsl 
    763   1.1      manu struct linux32_sys_getdents64_args {
    764   1.1      manu 	syscallarg(int) fd;
    765   1.1      manu 	syscallarg(linux32_dirent64p_t) dent;
    766   1.1      manu 	syscallarg(unsigned int) count;
    767   1.1      manu };
    768  1.22  christos check_syscall_args(linux32_sys_getdents64)
    769  1.32       dsl #define linux32_sys_fcntl64 linux32_sys_fcntl
    770  1.32       dsl #define linux32_sys_fcntl64_args linux32_sys_fcntl_args
    771   1.1      manu 
    772  1.32       dsl struct linux32_sys_fcntl64_args;
    773   1.1      manu 
    774  1.70  christos struct netbsd32_setxattr_args;
    775  1.67  christos 
    776  1.70  christos struct netbsd32_lsetxattr_args;
    777  1.67  christos 
    778  1.70  christos struct netbsd32_fsetxattr_args;
    779  1.67  christos 
    780  1.70  christos struct netbsd32_getxattr_args;
    781  1.67  christos 
    782  1.70  christos struct netbsd32_lgetxattr_args;
    783  1.67  christos 
    784  1.70  christos struct netbsd32_fgetxattr_args;
    785  1.67  christos 
    786  1.70  christos struct netbsd32_listxattr_args;
    787  1.67  christos 
    788  1.70  christos struct netbsd32_llistxattr_args;
    789  1.67  christos 
    790  1.70  christos struct netbsd32_flistxattr_args;
    791  1.67  christos 
    792  1.70  christos struct netbsd32_removexattr_args;
    793  1.67  christos 
    794  1.70  christos struct netbsd32_lremovexattr_args;
    795  1.67  christos 
    796  1.70  christos struct netbsd32_fremovexattr_args;
    797  1.67  christos 
    798  1.59       chs struct linux32_sys_tkill_args {
    799  1.59       chs 	syscallarg(int) tid;
    800  1.59       chs 	syscallarg(int) sig;
    801  1.59       chs };
    802  1.59       chs check_syscall_args(linux32_sys_tkill)
    803  1.59       chs 
    804  1.59       chs struct linux32_sys_futex_args {
    805  1.59       chs 	syscallarg(linux32_intp_t) uaddr;
    806  1.59       chs 	syscallarg(int) op;
    807  1.59       chs 	syscallarg(int) val;
    808  1.59       chs 	syscallarg(linux32_timespecp_t) timeout;
    809  1.59       chs 	syscallarg(linux32_intp_t) uaddr2;
    810  1.59       chs 	syscallarg(int) val3;
    811  1.59       chs };
    812  1.59       chs check_syscall_args(linux32_sys_futex)
    813  1.59       chs 
    814  1.59       chs struct linux32_sys_sched_setaffinity_args {
    815  1.59       chs 	syscallarg(pid_t) pid;
    816  1.59       chs 	syscallarg(unsigned int) len;
    817  1.59       chs 	syscallarg(linux32_ulongp_t) mask;
    818  1.59       chs };
    819  1.59       chs check_syscall_args(linux32_sys_sched_setaffinity)
    820  1.59       chs 
    821  1.59       chs struct linux32_sys_sched_getaffinity_args {
    822  1.59       chs 	syscallarg(pid_t) pid;
    823  1.59       chs 	syscallarg(unsigned int) len;
    824  1.59       chs 	syscallarg(linux32_ulongp_t) mask;
    825  1.59       chs };
    826  1.59       chs check_syscall_args(linux32_sys_sched_getaffinity)
    827  1.59       chs 
    828  1.59       chs struct linux32_sys_set_thread_area_args {
    829  1.59       chs 	syscallarg(linux32_user_descp_t) desc;
    830  1.59       chs };
    831  1.59       chs check_syscall_args(linux32_sys_set_thread_area)
    832  1.59       chs 
    833  1.59       chs struct linux32_sys_get_thread_area_args {
    834  1.59       chs 	syscallarg(linux32_user_descp_t) desc;
    835  1.59       chs };
    836  1.59       chs check_syscall_args(linux32_sys_get_thread_area)
    837  1.59       chs 
    838  1.62     alnsn struct linux32_sys_fadvise64_args {
    839  1.62     alnsn 	syscallarg(int) fd;
    840  1.62     alnsn 	syscallarg(uint32_t) offlo;
    841  1.62     alnsn 	syscallarg(uint32_t) offhi;
    842  1.62     alnsn 	syscallarg(linux32_size_t) len;
    843  1.62     alnsn 	syscallarg(int) advice;
    844  1.62     alnsn };
    845  1.62     alnsn check_syscall_args(linux32_sys_fadvise64)
    846  1.62     alnsn 
    847  1.21     njoly struct linux32_sys_exit_group_args {
    848  1.21     njoly 	syscallarg(int) error_code;
    849  1.21     njoly };
    850  1.22  christos check_syscall_args(linux32_sys_exit_group)
    851  1.21     njoly 
    852  1.59       chs struct linux32_sys_set_tid_address_args {
    853  1.59       chs 	syscallarg(linux32_intp_t) tid;
    854  1.59       chs };
    855  1.59       chs check_syscall_args(linux32_sys_set_tid_address)
    856  1.59       chs 
    857  1.82   thorpej struct linux32_sys_timer_create_args {
    858  1.82   thorpej 	syscallarg(clockid_t) clockid;
    859  1.82   thorpej 	syscallarg(struct linux32_sigevent *) evp;
    860  1.82   thorpej 	syscallarg(timer_t *) timerid;
    861  1.82   thorpej };
    862  1.82   thorpej check_syscall_args(linux32_sys_timer_create)
    863  1.82   thorpej 
    864  1.82   thorpej struct linux32_sys_timer_settime_args {
    865  1.82   thorpej 	syscallarg(timer_t) timerid;
    866  1.82   thorpej 	syscallarg(int) flags;
    867  1.82   thorpej 	syscallarg(const struct linux32_itimerspec *) tim;
    868  1.82   thorpej 	syscallarg(struct linux32_itimerspec *) otim;
    869  1.82   thorpej };
    870  1.82   thorpej check_syscall_args(linux32_sys_timer_settime)
    871  1.82   thorpej 
    872  1.82   thorpej struct linux32_sys_timer_gettime_args {
    873  1.82   thorpej 	syscallarg(timer_t) timerid;
    874  1.82   thorpej 	syscallarg(struct linux32_itimerspec *) tim;
    875  1.82   thorpej };
    876  1.82   thorpej check_syscall_args(linux32_sys_timer_gettime)
    877  1.82   thorpej 
    878  1.82   thorpej struct sys_timer_getoverrun_args;
    879  1.82   thorpej 
    880  1.82   thorpej struct sys_timer_delete_args;
    881  1.82   thorpej 
    882  1.36     njoly struct linux32_sys_clock_settime_args {
    883  1.36     njoly 	syscallarg(clockid_t) which;
    884  1.36     njoly 	syscallarg(linux32_timespecp_t) tp;
    885  1.36     njoly };
    886  1.36     njoly check_syscall_args(linux32_sys_clock_settime)
    887  1.36     njoly 
    888  1.36     njoly struct linux32_sys_clock_gettime_args {
    889  1.36     njoly 	syscallarg(clockid_t) which;
    890  1.36     njoly 	syscallarg(linux32_timespecp_t) tp;
    891  1.36     njoly };
    892  1.36     njoly check_syscall_args(linux32_sys_clock_gettime)
    893  1.36     njoly 
    894  1.36     njoly struct linux32_sys_clock_getres_args {
    895  1.36     njoly 	syscallarg(clockid_t) which;
    896  1.36     njoly 	syscallarg(linux32_timespecp_t) tp;
    897  1.36     njoly };
    898  1.36     njoly check_syscall_args(linux32_sys_clock_getres)
    899  1.36     njoly 
    900  1.47     njoly struct linux32_sys_clock_nanosleep_args {
    901  1.47     njoly 	syscallarg(clockid_t) which;
    902  1.47     njoly 	syscallarg(int) flags;
    903  1.47     njoly 	syscallarg(linux32_timespecp_t) rqtp;
    904  1.47     njoly 	syscallarg(linux32_timespecp_t) rmtp;
    905  1.47     njoly };
    906  1.47     njoly check_syscall_args(linux32_sys_clock_nanosleep)
    907  1.47     njoly 
    908  1.60       chs struct linux32_sys_statfs64_args {
    909  1.60       chs 	syscallarg(netbsd32_charp) path;
    910  1.60       chs 	syscallarg(netbsd32_size_t) sz;
    911  1.60       chs 	syscallarg(linux32_statfs64p) sp;
    912  1.60       chs };
    913  1.60       chs check_syscall_args(linux32_sys_statfs64)
    914  1.60       chs 
    915  1.60       chs struct linux32_sys_fstatfs64_args {
    916  1.60       chs 	syscallarg(int) fd;
    917  1.60       chs 	syscallarg(netbsd32_size_t) sz;
    918  1.60       chs 	syscallarg(linux32_statfs64p) sp;
    919  1.60       chs };
    920  1.60       chs check_syscall_args(linux32_sys_fstatfs64)
    921  1.60       chs 
    922  1.59       chs struct linux32_sys_tgkill_args {
    923  1.59       chs 	syscallarg(int) tgid;
    924  1.59       chs 	syscallarg(int) tid;
    925  1.59       chs 	syscallarg(int) sig;
    926  1.59       chs };
    927  1.59       chs check_syscall_args(linux32_sys_tgkill)
    928  1.59       chs 
    929  1.72     njoly struct compat_50_netbsd32_utimes_args;
    930  1.72     njoly 
    931  1.62     alnsn struct linux32_sys_fadvise64_64_args {
    932  1.62     alnsn 	syscallarg(int) fd;
    933  1.62     alnsn 	syscallarg(uint32_t) offlo;
    934  1.62     alnsn 	syscallarg(uint32_t) offhi;
    935  1.62     alnsn 	syscallarg(uint32_t) lenlo;
    936  1.62     alnsn 	syscallarg(uint32_t) lenhi;
    937  1.62     alnsn 	syscallarg(int) advice;
    938  1.62     alnsn };
    939  1.62     alnsn check_syscall_args(linux32_sys_fadvise64_64)
    940  1.62     alnsn 
    941  1.69       chs struct linux32_sys_openat_args {
    942  1.69       chs 	syscallarg(int) fd;
    943  1.69       chs 	syscallarg(netbsd32_charp) path;
    944  1.69       chs 	syscallarg(int) flags;
    945  1.69       chs 	syscallarg(linux_umode_t) mode;
    946  1.69       chs };
    947  1.69       chs check_syscall_args(linux32_sys_openat)
    948  1.69       chs 
    949  1.69       chs struct netbsd32_mkdirat_args;
    950  1.69       chs 
    951  1.69       chs struct linux32_sys_mknodat_args {
    952  1.69       chs 	syscallarg(int) fd;
    953  1.69       chs 	syscallarg(netbsd32_charp) path;
    954  1.69       chs 	syscallarg(linux_umode_t) mode;
    955  1.69       chs 	syscallarg(unsigned) dev;
    956  1.69       chs };
    957  1.69       chs check_syscall_args(linux32_sys_mknodat)
    958  1.69       chs 
    959  1.69       chs struct linux32_sys_fchownat_args {
    960  1.69       chs 	syscallarg(int) fd;
    961  1.69       chs 	syscallarg(netbsd32_charp) path;
    962  1.69       chs 	syscallarg(uid_t) owner;
    963  1.69       chs 	syscallarg(gid_t) group;
    964  1.69       chs 	syscallarg(int) flag;
    965  1.69       chs };
    966  1.69       chs check_syscall_args(linux32_sys_fchownat)
    967  1.69       chs 
    968  1.69       chs struct linux32_sys_fstatat64_args {
    969  1.69       chs 	syscallarg(int) fd;
    970  1.69       chs 	syscallarg(netbsd32_charp) path;
    971  1.69       chs 	syscallarg(linux32_stat64p) sp;
    972  1.69       chs 	syscallarg(int) flag;
    973  1.69       chs };
    974  1.69       chs check_syscall_args(linux32_sys_fstatat64)
    975  1.69       chs 
    976  1.69       chs struct linux32_sys_unlinkat_args {
    977  1.69       chs 	syscallarg(int) fd;
    978  1.69       chs 	syscallarg(netbsd32_charp) path;
    979  1.69       chs 	syscallarg(int) flag;
    980  1.69       chs };
    981  1.69       chs check_syscall_args(linux32_sys_unlinkat)
    982  1.69       chs 
    983  1.69       chs struct netbsd32_renameat_args;
    984  1.69       chs 
    985  1.69       chs struct linux32_sys_linkat_args {
    986  1.69       chs 	syscallarg(int) fd1;
    987  1.69       chs 	syscallarg(netbsd32_charp) name1;
    988  1.69       chs 	syscallarg(int) fd2;
    989  1.69       chs 	syscallarg(netbsd32_charp) name2;
    990  1.69       chs 	syscallarg(int) flags;
    991  1.69       chs };
    992  1.69       chs check_syscall_args(linux32_sys_linkat)
    993  1.69       chs 
    994  1.69       chs struct netbsd32_symlinkat_args;
    995  1.69       chs 
    996  1.69       chs struct netbsd32_readlinkat_args;
    997  1.69       chs 
    998  1.69       chs struct linux32_sys_fchmodat_args {
    999  1.69       chs 	syscallarg(int) fd;
   1000  1.69       chs 	syscallarg(netbsd32_charp) path;
   1001  1.69       chs 	syscallarg(linux_umode_t) mode;
   1002  1.69       chs };
   1003  1.69       chs check_syscall_args(linux32_sys_fchmodat)
   1004  1.69       chs 
   1005  1.69       chs struct linux32_sys_faccessat_args {
   1006  1.69       chs 	syscallarg(int) fd;
   1007  1.69       chs 	syscallarg(netbsd32_charp) path;
   1008  1.69       chs 	syscallarg(int) amode;
   1009  1.69       chs };
   1010  1.69       chs check_syscall_args(linux32_sys_faccessat)
   1011  1.69       chs 
   1012  1.73     njoly struct linux32_sys_ppoll_args {
   1013  1.73     njoly 	syscallarg(netbsd32_pollfdp_t) fds;
   1014  1.73     njoly 	syscallarg(u_int) nfds;
   1015  1.73     njoly 	syscallarg(linux32_timespecp_t) timeout;
   1016  1.73     njoly 	syscallarg(linux32_sigsetp_t) sigset;
   1017  1.73     njoly };
   1018  1.73     njoly check_syscall_args(linux32_sys_ppoll)
   1019  1.73     njoly 
   1020  1.81   thorpej struct netbsd32___futex_set_robust_list_args;
   1021  1.59       chs 
   1022  1.81   thorpej struct netbsd32___futex_get_robust_list_args;
   1023  1.59       chs 
   1024  1.69       chs struct linux32_sys_utimensat_args {
   1025  1.69       chs 	syscallarg(int) fd;
   1026  1.69       chs 	syscallarg(netbsd32_charp) path;
   1027  1.69       chs 	syscallarg(linux32_timespecp_t) times;
   1028  1.69       chs 	syscallarg(int) flag;
   1029  1.69       chs };
   1030  1.69       chs check_syscall_args(linux32_sys_utimensat)
   1031  1.69       chs 
   1032  1.83   thorpej struct linux_sys_timerfd_create_args;
   1033  1.83   thorpej 
   1034  1.80  jdolecek struct linux32_sys_fallocate_args {
   1035  1.80  jdolecek 	syscallarg(int) fd;
   1036  1.80  jdolecek 	syscallarg(int) mode;
   1037  1.80  jdolecek 	syscallarg(off_t) offset;
   1038  1.80  jdolecek 	syscallarg(off_t) len;
   1039  1.80  jdolecek };
   1040  1.80  jdolecek check_syscall_args(linux32_sys_fallocate)
   1041  1.80  jdolecek 
   1042  1.83   thorpej struct linux32_sys_timerfd_settime_args {
   1043  1.83   thorpej 	syscallarg(int) fd;
   1044  1.83   thorpej 	syscallarg(int) flags;
   1045  1.83   thorpej 	syscallarg(const struct linux32_itimerspec *) tim;
   1046  1.83   thorpej 	syscallarg(struct linux32_itimerspec *) otim;
   1047  1.83   thorpej };
   1048  1.83   thorpej check_syscall_args(linux32_sys_timerfd_settime)
   1049  1.83   thorpej 
   1050  1.83   thorpej struct linux32_sys_timerfd_gettime_args {
   1051  1.83   thorpej 	syscallarg(int) fd;
   1052  1.83   thorpej 	syscallarg(struct linux32_itimerspec *) tim;
   1053  1.83   thorpej };
   1054  1.83   thorpej check_syscall_args(linux32_sys_timerfd_gettime)
   1055  1.83   thorpej 
   1056  1.61  christos struct linux32_sys_dup3_args {
   1057  1.61  christos 	syscallarg(int) from;
   1058  1.61  christos 	syscallarg(int) to;
   1059  1.61  christos 	syscallarg(int) flags;
   1060  1.61  christos };
   1061  1.61  christos check_syscall_args(linux32_sys_dup3)
   1062  1.61  christos 
   1063  1.61  christos struct linux32_sys_pipe2_args {
   1064  1.61  christos 	syscallarg(netbsd32_intp) fd;
   1065  1.61  christos 	syscallarg(int) flags;
   1066  1.61  christos };
   1067  1.61  christos check_syscall_args(linux32_sys_pipe2)
   1068  1.61  christos 
   1069   1.1      manu /*
   1070   1.1      manu  * System call prototypes.
   1071   1.1      manu  */
   1072   1.1      manu 
   1073  1.24       dsl int	linux_sys_nosys(struct lwp *, const void *, register_t *);
   1074   1.1      manu 
   1075  1.59       chs int	linux32_sys_exit(struct lwp *, const struct linux32_sys_exit_args *, register_t *);
   1076   1.1      manu 
   1077  1.24       dsl int	sys_fork(struct lwp *, const void *, register_t *);
   1078   1.1      manu 
   1079  1.24       dsl int	netbsd32_read(struct lwp *, const struct netbsd32_read_args *, register_t *);
   1080   1.1      manu 
   1081  1.24       dsl int	netbsd32_write(struct lwp *, const struct netbsd32_write_args *, register_t *);
   1082   1.1      manu 
   1083  1.24       dsl int	linux32_sys_open(struct lwp *, const struct linux32_sys_open_args *, register_t *);
   1084   1.1      manu 
   1085  1.24       dsl int	netbsd32_close(struct lwp *, const struct netbsd32_close_args *, register_t *);
   1086   1.1      manu 
   1087  1.24       dsl int	linux32_sys_waitpid(struct lwp *, const struct linux32_sys_waitpid_args *, register_t *);
   1088   1.1      manu 
   1089  1.24       dsl int	linux32_sys_creat(struct lwp *, const struct linux32_sys_creat_args *, register_t *);
   1090   1.1      manu 
   1091  1.24       dsl int	netbsd32_link(struct lwp *, const struct netbsd32_link_args *, register_t *);
   1092   1.1      manu 
   1093  1.24       dsl int	linux32_sys_unlink(struct lwp *, const struct linux32_sys_unlink_args *, register_t *);
   1094   1.1      manu 
   1095  1.24       dsl int	netbsd32_execve(struct lwp *, const struct netbsd32_execve_args *, register_t *);
   1096   1.1      manu 
   1097  1.24       dsl int	netbsd32_chdir(struct lwp *, const struct netbsd32_chdir_args *, register_t *);
   1098   1.1      manu 
   1099  1.24       dsl int	linux32_sys_time(struct lwp *, const struct linux32_sys_time_args *, register_t *);
   1100   1.1      manu 
   1101  1.24       dsl int	linux32_sys_mknod(struct lwp *, const struct linux32_sys_mknod_args *, register_t *);
   1102   1.1      manu 
   1103  1.24       dsl int	netbsd32_chmod(struct lwp *, const struct netbsd32_chmod_args *, register_t *);
   1104   1.1      manu 
   1105  1.24       dsl int	linux32_sys_lchown16(struct lwp *, const struct linux32_sys_lchown16_args *, register_t *);
   1106   1.1      manu 
   1107  1.24       dsl int	linux32_sys_break(struct lwp *, const struct linux32_sys_break_args *, register_t *);
   1108   1.1      manu 
   1109  1.24       dsl int	compat_43_netbsd32_olseek(struct lwp *, const struct compat_43_netbsd32_olseek_args *, register_t *);
   1110   1.1      manu 
   1111  1.59       chs int	sys_getpid(struct lwp *, const void *, register_t *);
   1112   1.1      manu 
   1113  1.24       dsl int	netbsd32_setuid(struct lwp *, const struct netbsd32_setuid_args *, register_t *);
   1114   1.1      manu 
   1115  1.24       dsl int	sys_getuid(struct lwp *, const void *, register_t *);
   1116   1.1      manu 
   1117  1.24       dsl int	linux32_sys_stime(struct lwp *, const struct linux32_sys_stime_args *, register_t *);
   1118   1.1      manu 
   1119  1.38  christos int	linux32_sys_ptrace(struct lwp *, const struct linux32_sys_ptrace_args *, register_t *);
   1120  1.38  christos 
   1121  1.24       dsl int	linux32_sys_alarm(struct lwp *, const struct linux32_sys_alarm_args *, register_t *);
   1122   1.1      manu 
   1123  1.24       dsl int	linux_sys_pause(struct lwp *, const void *, register_t *);
   1124   1.1      manu 
   1125  1.24       dsl int	linux32_sys_utime(struct lwp *, const struct linux32_sys_utime_args *, register_t *);
   1126   1.1      manu 
   1127  1.24       dsl int	netbsd32_access(struct lwp *, const struct netbsd32_access_args *, register_t *);
   1128   1.1      manu 
   1129  1.24       dsl int	linux32_sys_nice(struct lwp *, const struct linux32_sys_nice_args *, register_t *);
   1130   1.1      manu 
   1131  1.24       dsl int	sys_sync(struct lwp *, const void *, register_t *);
   1132   1.1      manu 
   1133  1.24       dsl int	linux32_sys_kill(struct lwp *, const struct linux32_sys_kill_args *, register_t *);
   1134   1.1      manu 
   1135  1.40     njoly int	netbsd32___posix_rename(struct lwp *, const struct netbsd32___posix_rename_args *, register_t *);
   1136   1.1      manu 
   1137  1.24       dsl int	netbsd32_mkdir(struct lwp *, const struct netbsd32_mkdir_args *, register_t *);
   1138   1.1      manu 
   1139  1.24       dsl int	netbsd32_rmdir(struct lwp *, const struct netbsd32_rmdir_args *, register_t *);
   1140   1.1      manu 
   1141  1.24       dsl int	netbsd32_dup(struct lwp *, const struct netbsd32_dup_args *, register_t *);
   1142   1.1      manu 
   1143  1.24       dsl int	linux32_sys_pipe(struct lwp *, const struct linux32_sys_pipe_args *, register_t *);
   1144   1.1      manu 
   1145  1.24       dsl int	linux32_sys_times(struct lwp *, const struct linux32_sys_times_args *, register_t *);
   1146   1.1      manu 
   1147  1.24       dsl int	linux32_sys_brk(struct lwp *, const struct linux32_sys_brk_args *, register_t *);
   1148   1.1      manu 
   1149  1.24       dsl int	netbsd32_setgid(struct lwp *, const struct netbsd32_setgid_args *, register_t *);
   1150   1.1      manu 
   1151  1.24       dsl int	sys_getgid(struct lwp *, const void *, register_t *);
   1152   1.1      manu 
   1153  1.24       dsl int	linux32_sys_signal(struct lwp *, const struct linux32_sys_signal_args *, register_t *);
   1154   1.1      manu 
   1155  1.24       dsl int	sys_geteuid(struct lwp *, const void *, register_t *);
   1156   1.1      manu 
   1157  1.24       dsl int	sys_getegid(struct lwp *, const void *, register_t *);
   1158   1.1      manu 
   1159  1.24       dsl int	netbsd32_acct(struct lwp *, const struct netbsd32_acct_args *, register_t *);
   1160   1.1      manu 
   1161  1.24       dsl int	linux32_sys_ioctl(struct lwp *, const struct linux32_sys_ioctl_args *, register_t *);
   1162   1.1      manu 
   1163  1.24       dsl int	linux32_sys_fcntl(struct lwp *, const struct linux32_sys_fcntl_args *, register_t *);
   1164   1.1      manu 
   1165  1.24       dsl int	netbsd32_setpgid(struct lwp *, const struct netbsd32_setpgid_args *, register_t *);
   1166   1.1      manu 
   1167  1.24       dsl int	linux32_sys_oldolduname(struct lwp *, const struct linux32_sys_oldolduname_args *, register_t *);
   1168   1.1      manu 
   1169  1.24       dsl int	netbsd32_umask(struct lwp *, const struct netbsd32_umask_args *, register_t *);
   1170   1.1      manu 
   1171  1.24       dsl int	netbsd32_chroot(struct lwp *, const struct netbsd32_chroot_args *, register_t *);
   1172   1.1      manu 
   1173  1.24       dsl int	netbsd32_dup2(struct lwp *, const struct netbsd32_dup2_args *, register_t *);
   1174   1.1      manu 
   1175  1.59       chs int	sys_getppid(struct lwp *, const void *, register_t *);
   1176   1.1      manu 
   1177  1.24       dsl int	sys_getpgrp(struct lwp *, const void *, register_t *);
   1178   1.1      manu 
   1179  1.24       dsl int	sys_setsid(struct lwp *, const void *, register_t *);
   1180   1.1      manu 
   1181  1.54     njoly int	linux32_sys_siggetmask(struct lwp *, const void *, register_t *);
   1182  1.54     njoly 
   1183  1.54     njoly int	linux32_sys_sigsetmask(struct lwp *, const struct linux32_sys_sigsetmask_args *, register_t *);
   1184  1.54     njoly 
   1185  1.24       dsl int	linux32_sys_setreuid16(struct lwp *, const struct linux32_sys_setreuid16_args *, register_t *);
   1186   1.1      manu 
   1187  1.24       dsl int	linux32_sys_setregid16(struct lwp *, const struct linux32_sys_setregid16_args *, register_t *);
   1188   1.1      manu 
   1189  1.24       dsl int	compat_43_netbsd32_osethostname(struct lwp *, const struct compat_43_netbsd32_osethostname_args *, register_t *);
   1190   1.1      manu 
   1191  1.24       dsl int	linux32_sys_setrlimit(struct lwp *, const struct linux32_sys_setrlimit_args *, register_t *);
   1192   1.1      manu 
   1193  1.24       dsl int	linux32_sys_getrlimit(struct lwp *, const struct linux32_sys_getrlimit_args *, register_t *);
   1194   1.1      manu 
   1195  1.48  christos int	compat_50_netbsd32_getrusage(struct lwp *, const struct compat_50_netbsd32_getrusage_args *, register_t *);
   1196   1.1      manu 
   1197  1.24       dsl int	linux32_sys_gettimeofday(struct lwp *, const struct linux32_sys_gettimeofday_args *, register_t *);
   1198   1.1      manu 
   1199  1.24       dsl int	linux32_sys_settimeofday(struct lwp *, const struct linux32_sys_settimeofday_args *, register_t *);
   1200   1.1      manu 
   1201  1.24       dsl int	linux32_sys_getgroups16(struct lwp *, const struct linux32_sys_getgroups16_args *, register_t *);
   1202   1.1      manu 
   1203  1.24       dsl int	linux32_sys_setgroups16(struct lwp *, const struct linux32_sys_setgroups16_args *, register_t *);
   1204   1.1      manu 
   1205  1.24       dsl int	linux32_sys_oldselect(struct lwp *, const struct linux32_sys_oldselect_args *, register_t *);
   1206   1.1      manu 
   1207  1.24       dsl int	netbsd32_symlink(struct lwp *, const struct netbsd32_symlink_args *, register_t *);
   1208   1.1      manu 
   1209  1.24       dsl int	compat_43_netbsd32_lstat43(struct lwp *, const struct compat_43_netbsd32_lstat43_args *, register_t *);
   1210   1.1      manu 
   1211  1.24       dsl int	netbsd32_readlink(struct lwp *, const struct netbsd32_readlink_args *, register_t *);
   1212   1.1      manu 
   1213  1.24       dsl int	linux32_sys_swapon(struct lwp *, const struct linux32_sys_swapon_args *, register_t *);
   1214   1.1      manu 
   1215  1.24       dsl int	linux32_sys_reboot(struct lwp *, const struct linux32_sys_reboot_args *, register_t *);
   1216   1.1      manu 
   1217  1.28     njoly int	linux32_sys_readdir(struct lwp *, const struct linux32_sys_readdir_args *, register_t *);
   1218  1.28     njoly 
   1219  1.24       dsl int	linux32_sys_old_mmap(struct lwp *, const struct linux32_sys_old_mmap_args *, register_t *);
   1220   1.1      manu 
   1221  1.24       dsl int	netbsd32_munmap(struct lwp *, const struct netbsd32_munmap_args *, register_t *);
   1222   1.1      manu 
   1223  1.40     njoly int	compat_43_netbsd32_otruncate(struct lwp *, const struct compat_43_netbsd32_otruncate_args *, register_t *);
   1224   1.1      manu 
   1225  1.24       dsl int	compat_43_netbsd32_oftruncate(struct lwp *, const struct compat_43_netbsd32_oftruncate_args *, register_t *);
   1226   1.1      manu 
   1227  1.24       dsl int	netbsd32_fchmod(struct lwp *, const struct netbsd32_fchmod_args *, register_t *);
   1228   1.1      manu 
   1229  1.24       dsl int	linux32_sys_fchown16(struct lwp *, const struct linux32_sys_fchown16_args *, register_t *);
   1230   1.1      manu 
   1231  1.24       dsl int	linux32_sys_getpriority(struct lwp *, const struct linux32_sys_getpriority_args *, register_t *);
   1232   1.1      manu 
   1233  1.40     njoly int	netbsd32_setpriority(struct lwp *, const struct netbsd32_setpriority_args *, register_t *);
   1234   1.1      manu 
   1235  1.60       chs int	netbsd32_profil(struct lwp *, const struct netbsd32_profil_args *, register_t *);
   1236  1.60       chs 
   1237  1.24       dsl int	linux32_sys_statfs(struct lwp *, const struct linux32_sys_statfs_args *, register_t *);
   1238  1.16     njoly 
   1239  1.56     njoly int	linux32_sys_fstatfs(struct lwp *, const struct linux32_sys_fstatfs_args *, register_t *);
   1240  1.56     njoly 
   1241  1.60       chs int	linux_sys_ioperm(struct lwp *, const struct linux_sys_ioperm_args *, register_t *);
   1242  1.60       chs 
   1243  1.24       dsl int	linux32_sys_socketcall(struct lwp *, const struct linux32_sys_socketcall_args *, register_t *);
   1244   1.1      manu 
   1245  1.48  christos int	compat_50_netbsd32_setitimer(struct lwp *, const struct compat_50_netbsd32_setitimer_args *, register_t *);
   1246   1.1      manu 
   1247  1.48  christos int	compat_50_netbsd32_getitimer(struct lwp *, const struct compat_50_netbsd32_getitimer_args *, register_t *);
   1248   1.1      manu 
   1249  1.55     njoly int	linux32_sys_stat(struct lwp *, const struct linux32_sys_stat_args *, register_t *);
   1250  1.55     njoly 
   1251  1.55     njoly int	linux32_sys_lstat(struct lwp *, const struct linux32_sys_lstat_args *, register_t *);
   1252  1.55     njoly 
   1253  1.55     njoly int	linux32_sys_fstat(struct lwp *, const struct linux32_sys_fstat_args *, register_t *);
   1254  1.55     njoly 
   1255  1.27     njoly int	linux32_sys_olduname(struct lwp *, const struct linux32_sys_olduname_args *, register_t *);
   1256  1.27     njoly 
   1257  1.60       chs int	linux_sys_iopl(struct lwp *, const struct linux_sys_iopl_args *, register_t *);
   1258  1.60       chs 
   1259  1.24       dsl int	linux32_sys_wait4(struct lwp *, const struct linux32_sys_wait4_args *, register_t *);
   1260   1.1      manu 
   1261  1.24       dsl int	linux32_sys_swapoff(struct lwp *, const struct linux32_sys_swapoff_args *, register_t *);
   1262   1.1      manu 
   1263  1.24       dsl int	linux32_sys_sysinfo(struct lwp *, const struct linux32_sys_sysinfo_args *, register_t *);
   1264  1.10      manu 
   1265  1.37     njoly int	linux32_sys_ipc(struct lwp *, const struct linux32_sys_ipc_args *, register_t *);
   1266  1.37     njoly 
   1267  1.24       dsl int	netbsd32_fsync(struct lwp *, const struct netbsd32_fsync_args *, register_t *);
   1268   1.1      manu 
   1269  1.24       dsl int	linux32_sys_sigreturn(struct lwp *, const struct linux32_sys_sigreturn_args *, register_t *);
   1270   1.1      manu 
   1271  1.24       dsl int	linux32_sys_clone(struct lwp *, const struct linux32_sys_clone_args *, register_t *);
   1272   1.1      manu 
   1273  1.60       chs int	linux32_sys_setdomainname(struct lwp *, const struct linux32_sys_setdomainname_args *, register_t *);
   1274  1.60       chs 
   1275  1.24       dsl int	linux32_sys_uname(struct lwp *, const struct linux32_sys_uname_args *, register_t *);
   1276   1.1      manu 
   1277  1.60       chs int	linux32_sys_modify_ldt(struct lwp *, const struct linux32_sys_modify_ldt_args *, register_t *);
   1278  1.60       chs 
   1279  1.24       dsl int	linux32_sys_mprotect(struct lwp *, const struct linux32_sys_mprotect_args *, register_t *);
   1280   1.1      manu 
   1281  1.26     njoly int	netbsd32_getpgid(struct lwp *, const struct netbsd32_getpgid_args *, register_t *);
   1282  1.26     njoly 
   1283  1.24       dsl int	netbsd32_fchdir(struct lwp *, const struct netbsd32_fchdir_args *, register_t *);
   1284   1.1      manu 
   1285  1.52     njoly int	linux32_sys_personality(struct lwp *, const struct linux32_sys_personality_args *, register_t *);
   1286  1.52     njoly 
   1287  1.24       dsl int	linux32_sys_setfsuid(struct lwp *, const struct linux32_sys_setfsuid_args *, register_t *);
   1288  1.13     njoly 
   1289  1.25     njoly int	linux32_sys_setfsgid(struct lwp *, const struct linux32_sys_setfsgid_args *, register_t *);
   1290  1.13     njoly 
   1291  1.24       dsl int	linux32_sys_llseek(struct lwp *, const struct linux32_sys_llseek_args *, register_t *);
   1292   1.1      manu 
   1293  1.24       dsl int	linux32_sys_getdents(struct lwp *, const struct linux32_sys_getdents_args *, register_t *);
   1294   1.1      manu 
   1295  1.24       dsl int	linux32_sys_select(struct lwp *, const struct linux32_sys_select_args *, register_t *);
   1296   1.1      manu 
   1297  1.24       dsl int	netbsd32_flock(struct lwp *, const struct netbsd32_flock_args *, register_t *);
   1298   1.1      manu 
   1299  1.35     njoly int	netbsd32___msync13(struct lwp *, const struct netbsd32___msync13_args *, register_t *);
   1300  1.35     njoly 
   1301  1.24       dsl int	netbsd32_readv(struct lwp *, const struct netbsd32_readv_args *, register_t *);
   1302   1.1      manu 
   1303  1.24       dsl int	netbsd32_writev(struct lwp *, const struct netbsd32_writev_args *, register_t *);
   1304   1.1      manu 
   1305  1.24       dsl int	netbsd32_getsid(struct lwp *, const struct netbsd32_getsid_args *, register_t *);
   1306   1.1      manu 
   1307  1.24       dsl int	linux32_sys_fdatasync(struct lwp *, const struct linux32_sys_fdatasync_args *, register_t *);
   1308   1.9      manu 
   1309  1.24       dsl int	linux32_sys___sysctl(struct lwp *, const struct linux32_sys___sysctl_args *, register_t *);
   1310   1.1      manu 
   1311  1.34     njoly int	netbsd32_mlock(struct lwp *, const struct netbsd32_mlock_args *, register_t *);
   1312  1.34     njoly 
   1313  1.34     njoly int	netbsd32_munlock(struct lwp *, const struct netbsd32_munlock_args *, register_t *);
   1314  1.34     njoly 
   1315  1.24       dsl int	netbsd32_mlockall(struct lwp *, const struct netbsd32_mlockall_args *, register_t *);
   1316   1.1      manu 
   1317  1.24       dsl int	sys_munlockall(struct lwp *, const void *, register_t *);
   1318   1.1      manu 
   1319  1.59       chs int	linux32_sys_sched_setparam(struct lwp *, const struct linux32_sys_sched_setparam_args *, register_t *);
   1320  1.59       chs 
   1321  1.24       dsl int	linux32_sys_sched_getparam(struct lwp *, const struct linux32_sys_sched_getparam_args *, register_t *);
   1322  1.10      manu 
   1323  1.24       dsl int	linux32_sys_sched_setscheduler(struct lwp *, const struct linux32_sys_sched_setscheduler_args *, register_t *);
   1324   1.1      manu 
   1325  1.24       dsl int	linux32_sys_sched_getscheduler(struct lwp *, const struct linux32_sys_sched_getscheduler_args *, register_t *);
   1326  1.10      manu 
   1327  1.24       dsl int	linux_sys_sched_yield(struct lwp *, const void *, register_t *);
   1328  1.13     njoly 
   1329  1.44     njoly int	linux32_sys_sched_get_priority_max(struct lwp *, const struct linux32_sys_sched_get_priority_max_args *, register_t *);
   1330  1.44     njoly 
   1331  1.44     njoly int	linux32_sys_sched_get_priority_min(struct lwp *, const struct linux32_sys_sched_get_priority_min_args *, register_t *);
   1332  1.44     njoly 
   1333  1.42     njoly int	linux32_sys_nanosleep(struct lwp *, const struct linux32_sys_nanosleep_args *, register_t *);
   1334   1.1      manu 
   1335  1.24       dsl int	linux32_sys_mremap(struct lwp *, const struct linux32_sys_mremap_args *, register_t *);
   1336  1.10      manu 
   1337  1.24       dsl int	linux32_sys_setresuid16(struct lwp *, const struct linux32_sys_setresuid16_args *, register_t *);
   1338   1.1      manu 
   1339  1.30     njoly int	linux32_sys_getresuid16(struct lwp *, const struct linux32_sys_getresuid16_args *, register_t *);
   1340  1.30     njoly 
   1341  1.24       dsl int	netbsd32_poll(struct lwp *, const struct netbsd32_poll_args *, register_t *);
   1342   1.1      manu 
   1343  1.24       dsl int	linux32_sys_setresgid16(struct lwp *, const struct linux32_sys_setresgid16_args *, register_t *);
   1344   1.1      manu 
   1345  1.30     njoly int	linux32_sys_getresgid16(struct lwp *, const struct linux32_sys_getresgid16_args *, register_t *);
   1346  1.30     njoly 
   1347  1.24       dsl int	linux32_sys_rt_sigreturn(struct lwp *, const struct linux32_sys_rt_sigreturn_args *, register_t *);
   1348   1.1      manu 
   1349  1.24       dsl int	linux32_sys_rt_sigaction(struct lwp *, const struct linux32_sys_rt_sigaction_args *, register_t *);
   1350   1.1      manu 
   1351  1.24       dsl int	linux32_sys_rt_sigprocmask(struct lwp *, const struct linux32_sys_rt_sigprocmask_args *, register_t *);
   1352   1.1      manu 
   1353  1.39     njoly int	linux32_sys_rt_sigpending(struct lwp *, const struct linux32_sys_rt_sigpending_args *, register_t *);
   1354  1.39     njoly 
   1355  1.64  christos int	linux32_sys_rt_sigtimedwait(struct lwp *, const struct linux32_sys_rt_sigtimedwait_args *, register_t *);
   1356  1.64  christos 
   1357  1.57     njoly int	linux32_sys_rt_queueinfo(struct lwp *, const struct linux32_sys_rt_queueinfo_args *, register_t *);
   1358  1.57     njoly 
   1359  1.24       dsl int	linux32_sys_rt_sigsuspend(struct lwp *, const struct linux32_sys_rt_sigsuspend_args *, register_t *);
   1360   1.1      manu 
   1361  1.31       dsl int	linux32_sys_pread(struct lwp *, const struct linux32_sys_pread_args *, register_t *);
   1362  1.31       dsl 
   1363  1.31       dsl int	linux32_sys_pwrite(struct lwp *, const struct linux32_sys_pwrite_args *, register_t *);
   1364  1.31       dsl 
   1365  1.24       dsl int	linux32_sys_chown16(struct lwp *, const struct linux32_sys_chown16_args *, register_t *);
   1366  1.18     njoly 
   1367  1.24       dsl int	netbsd32___getcwd(struct lwp *, const struct netbsd32___getcwd_args *, register_t *);
   1368   1.2      manu 
   1369  1.24       dsl int	sys___vfork14(struct lwp *, const void *, register_t *);
   1370   1.1      manu 
   1371  1.24       dsl int	linux32_sys_ugetrlimit(struct lwp *, const struct linux32_sys_ugetrlimit_args *, register_t *);
   1372   1.1      manu 
   1373  1.24       dsl int	linux32_sys_mmap2(struct lwp *, const struct linux32_sys_mmap2_args *, register_t *);
   1374  1.10      manu 
   1375  1.60       chs int	linux32_sys_truncate64(struct lwp *, const struct linux32_sys_truncate64_args *, register_t *);
   1376  1.60       chs 
   1377  1.60       chs int	linux32_sys_ftruncate64(struct lwp *, const struct linux32_sys_ftruncate64_args *, register_t *);
   1378  1.60       chs 
   1379  1.24       dsl int	linux32_sys_stat64(struct lwp *, const struct linux32_sys_stat64_args *, register_t *);
   1380   1.1      manu 
   1381  1.24       dsl int	linux32_sys_lstat64(struct lwp *, const struct linux32_sys_lstat64_args *, register_t *);
   1382   1.1      manu 
   1383  1.24       dsl int	linux32_sys_fstat64(struct lwp *, const struct linux32_sys_fstat64_args *, register_t *);
   1384   1.1      manu 
   1385  1.24       dsl int	netbsd32___posix_lchown(struct lwp *, const struct netbsd32___posix_lchown_args *, register_t *);
   1386  1.18     njoly 
   1387  1.24       dsl int	netbsd32_setreuid(struct lwp *, const struct netbsd32_setreuid_args *, register_t *);
   1388   1.1      manu 
   1389  1.24       dsl int	netbsd32_setregid(struct lwp *, const struct netbsd32_setregid_args *, register_t *);
   1390   1.1      manu 
   1391  1.24       dsl int	netbsd32_getgroups(struct lwp *, const struct netbsd32_getgroups_args *, register_t *);
   1392   1.3      manu 
   1393  1.24       dsl int	netbsd32_setgroups(struct lwp *, const struct netbsd32_setgroups_args *, register_t *);
   1394   1.3      manu 
   1395  1.24       dsl int	netbsd32___posix_fchown(struct lwp *, const struct netbsd32___posix_fchown_args *, register_t *);
   1396   1.1      manu 
   1397  1.24       dsl int	linux32_sys_setresuid(struct lwp *, const struct linux32_sys_setresuid_args *, register_t *);
   1398   1.1      manu 
   1399  1.45     njoly int	linux32_sys_getresuid(struct lwp *, const struct linux32_sys_getresuid_args *, register_t *);
   1400  1.45     njoly 
   1401  1.24       dsl int	linux32_sys_setresgid(struct lwp *, const struct linux32_sys_setresgid_args *, register_t *);
   1402   1.1      manu 
   1403  1.45     njoly int	linux32_sys_getresgid(struct lwp *, const struct linux32_sys_getresgid_args *, register_t *);
   1404  1.45     njoly 
   1405  1.24       dsl int	netbsd32___posix_chown(struct lwp *, const struct netbsd32___posix_chown_args *, register_t *);
   1406  1.18     njoly 
   1407  1.53     njoly int	netbsd32_mincore(struct lwp *, const struct netbsd32_mincore_args *, register_t *);
   1408  1.53     njoly 
   1409  1.24       dsl int	netbsd32_madvise(struct lwp *, const struct netbsd32_madvise_args *, register_t *);
   1410  1.10      manu 
   1411  1.24       dsl int	linux32_sys_getdents64(struct lwp *, const struct linux32_sys_getdents64_args *, register_t *);
   1412   1.1      manu 
   1413  1.32       dsl #define linux32_sys_fcntl64 linux32_sys_fcntl
   1414  1.32       dsl #define linux32_sys_fcntl64_args linux32_sys_fcntl_args
   1415  1.24       dsl int	linux32_sys_fcntl64(struct lwp *, const struct linux32_sys_fcntl64_args *, register_t *);
   1416   1.1      manu 
   1417  1.24       dsl int	linux_sys_gettid(struct lwp *, const void *, register_t *);
   1418   1.4      manu 
   1419  1.70  christos int	netbsd32_setxattr(struct lwp *, const struct netbsd32_setxattr_args *, register_t *);
   1420  1.67  christos 
   1421  1.70  christos int	netbsd32_lsetxattr(struct lwp *, const struct netbsd32_lsetxattr_args *, register_t *);
   1422  1.67  christos 
   1423  1.70  christos int	netbsd32_fsetxattr(struct lwp *, const struct netbsd32_fsetxattr_args *, register_t *);
   1424  1.67  christos 
   1425  1.70  christos int	netbsd32_getxattr(struct lwp *, const struct netbsd32_getxattr_args *, register_t *);
   1426  1.67  christos 
   1427  1.70  christos int	netbsd32_lgetxattr(struct lwp *, const struct netbsd32_lgetxattr_args *, register_t *);
   1428  1.67  christos 
   1429  1.70  christos int	netbsd32_fgetxattr(struct lwp *, const struct netbsd32_fgetxattr_args *, register_t *);
   1430  1.67  christos 
   1431  1.70  christos int	netbsd32_listxattr(struct lwp *, const struct netbsd32_listxattr_args *, register_t *);
   1432  1.67  christos 
   1433  1.70  christos int	netbsd32_llistxattr(struct lwp *, const struct netbsd32_llistxattr_args *, register_t *);
   1434  1.67  christos 
   1435  1.70  christos int	netbsd32_flistxattr(struct lwp *, const struct netbsd32_flistxattr_args *, register_t *);
   1436  1.67  christos 
   1437  1.70  christos int	netbsd32_removexattr(struct lwp *, const struct netbsd32_removexattr_args *, register_t *);
   1438  1.67  christos 
   1439  1.70  christos int	netbsd32_lremovexattr(struct lwp *, const struct netbsd32_lremovexattr_args *, register_t *);
   1440  1.67  christos 
   1441  1.70  christos int	netbsd32_fremovexattr(struct lwp *, const struct netbsd32_fremovexattr_args *, register_t *);
   1442  1.67  christos 
   1443  1.59       chs int	linux32_sys_tkill(struct lwp *, const struct linux32_sys_tkill_args *, register_t *);
   1444  1.59       chs 
   1445  1.59       chs int	linux32_sys_futex(struct lwp *, const struct linux32_sys_futex_args *, register_t *);
   1446  1.59       chs 
   1447  1.59       chs int	linux32_sys_sched_setaffinity(struct lwp *, const struct linux32_sys_sched_setaffinity_args *, register_t *);
   1448  1.59       chs 
   1449  1.59       chs int	linux32_sys_sched_getaffinity(struct lwp *, const struct linux32_sys_sched_getaffinity_args *, register_t *);
   1450  1.59       chs 
   1451  1.59       chs int	linux32_sys_set_thread_area(struct lwp *, const struct linux32_sys_set_thread_area_args *, register_t *);
   1452  1.59       chs 
   1453  1.59       chs int	linux32_sys_get_thread_area(struct lwp *, const struct linux32_sys_get_thread_area_args *, register_t *);
   1454  1.59       chs 
   1455  1.62     alnsn int	linux32_sys_fadvise64(struct lwp *, const struct linux32_sys_fadvise64_args *, register_t *);
   1456  1.62     alnsn 
   1457  1.24       dsl int	linux32_sys_exit_group(struct lwp *, const struct linux32_sys_exit_group_args *, register_t *);
   1458   1.1      manu 
   1459  1.59       chs int	linux32_sys_set_tid_address(struct lwp *, const struct linux32_sys_set_tid_address_args *, register_t *);
   1460  1.59       chs 
   1461  1.82   thorpej int	linux32_sys_timer_create(struct lwp *, const struct linux32_sys_timer_create_args *, register_t *);
   1462  1.82   thorpej 
   1463  1.82   thorpej int	linux32_sys_timer_settime(struct lwp *, const struct linux32_sys_timer_settime_args *, register_t *);
   1464  1.82   thorpej 
   1465  1.82   thorpej int	linux32_sys_timer_gettime(struct lwp *, const struct linux32_sys_timer_gettime_args *, register_t *);
   1466  1.82   thorpej 
   1467  1.82   thorpej int	sys_timer_getoverrun(struct lwp *, const struct sys_timer_getoverrun_args *, register_t *);
   1468  1.82   thorpej 
   1469  1.82   thorpej int	sys_timer_delete(struct lwp *, const struct sys_timer_delete_args *, register_t *);
   1470  1.82   thorpej 
   1471  1.36     njoly int	linux32_sys_clock_settime(struct lwp *, const struct linux32_sys_clock_settime_args *, register_t *);
   1472  1.36     njoly 
   1473  1.36     njoly int	linux32_sys_clock_gettime(struct lwp *, const struct linux32_sys_clock_gettime_args *, register_t *);
   1474  1.36     njoly 
   1475  1.36     njoly int	linux32_sys_clock_getres(struct lwp *, const struct linux32_sys_clock_getres_args *, register_t *);
   1476  1.36     njoly 
   1477  1.47     njoly int	linux32_sys_clock_nanosleep(struct lwp *, const struct linux32_sys_clock_nanosleep_args *, register_t *);
   1478  1.47     njoly 
   1479  1.60       chs int	linux32_sys_statfs64(struct lwp *, const struct linux32_sys_statfs64_args *, register_t *);
   1480  1.60       chs 
   1481  1.60       chs int	linux32_sys_fstatfs64(struct lwp *, const struct linux32_sys_fstatfs64_args *, register_t *);
   1482  1.60       chs 
   1483  1.59       chs int	linux32_sys_tgkill(struct lwp *, const struct linux32_sys_tgkill_args *, register_t *);
   1484  1.59       chs 
   1485  1.72     njoly int	compat_50_netbsd32_utimes(struct lwp *, const struct compat_50_netbsd32_utimes_args *, register_t *);
   1486  1.72     njoly 
   1487  1.62     alnsn int	linux32_sys_fadvise64_64(struct lwp *, const struct linux32_sys_fadvise64_64_args *, register_t *);
   1488  1.62     alnsn 
   1489  1.69       chs int	linux32_sys_openat(struct lwp *, const struct linux32_sys_openat_args *, register_t *);
   1490  1.69       chs 
   1491  1.69       chs int	netbsd32_mkdirat(struct lwp *, const struct netbsd32_mkdirat_args *, register_t *);
   1492  1.69       chs 
   1493  1.69       chs int	linux32_sys_mknodat(struct lwp *, const struct linux32_sys_mknodat_args *, register_t *);
   1494  1.69       chs 
   1495  1.69       chs int	linux32_sys_fchownat(struct lwp *, const struct linux32_sys_fchownat_args *, register_t *);
   1496  1.69       chs 
   1497  1.69       chs int	linux32_sys_fstatat64(struct lwp *, const struct linux32_sys_fstatat64_args *, register_t *);
   1498  1.69       chs 
   1499  1.69       chs int	linux32_sys_unlinkat(struct lwp *, const struct linux32_sys_unlinkat_args *, register_t *);
   1500  1.69       chs 
   1501  1.69       chs int	netbsd32_renameat(struct lwp *, const struct netbsd32_renameat_args *, register_t *);
   1502  1.69       chs 
   1503  1.69       chs int	linux32_sys_linkat(struct lwp *, const struct linux32_sys_linkat_args *, register_t *);
   1504  1.69       chs 
   1505  1.69       chs int	netbsd32_symlinkat(struct lwp *, const struct netbsd32_symlinkat_args *, register_t *);
   1506  1.69       chs 
   1507  1.69       chs int	netbsd32_readlinkat(struct lwp *, const struct netbsd32_readlinkat_args *, register_t *);
   1508  1.69       chs 
   1509  1.69       chs int	linux32_sys_fchmodat(struct lwp *, const struct linux32_sys_fchmodat_args *, register_t *);
   1510  1.69       chs 
   1511  1.69       chs int	linux32_sys_faccessat(struct lwp *, const struct linux32_sys_faccessat_args *, register_t *);
   1512  1.69       chs 
   1513  1.73     njoly int	linux32_sys_ppoll(struct lwp *, const struct linux32_sys_ppoll_args *, register_t *);
   1514  1.73     njoly 
   1515  1.81   thorpej int	netbsd32___futex_set_robust_list(struct lwp *, const struct netbsd32___futex_set_robust_list_args *, register_t *);
   1516  1.59       chs 
   1517  1.81   thorpej int	netbsd32___futex_get_robust_list(struct lwp *, const struct netbsd32___futex_get_robust_list_args *, register_t *);
   1518  1.59       chs 
   1519  1.69       chs int	linux32_sys_utimensat(struct lwp *, const struct linux32_sys_utimensat_args *, register_t *);
   1520  1.69       chs 
   1521  1.83   thorpej int	linux_sys_timerfd_create(struct lwp *, const struct linux_sys_timerfd_create_args *, register_t *);
   1522  1.83   thorpej 
   1523  1.80  jdolecek int	linux32_sys_fallocate(struct lwp *, const struct linux32_sys_fallocate_args *, register_t *);
   1524  1.80  jdolecek 
   1525  1.83   thorpej int	linux32_sys_timerfd_settime(struct lwp *, const struct linux32_sys_timerfd_settime_args *, register_t *);
   1526  1.83   thorpej 
   1527  1.83   thorpej int	linux32_sys_timerfd_gettime(struct lwp *, const struct linux32_sys_timerfd_gettime_args *, register_t *);
   1528  1.83   thorpej 
   1529  1.61  christos int	linux32_sys_dup3(struct lwp *, const struct linux32_sys_dup3_args *, register_t *);
   1530  1.61  christos 
   1531  1.61  christos int	linux32_sys_pipe2(struct lwp *, const struct linux32_sys_pipe2_args *, register_t *);
   1532  1.61  christos 
   1533   1.1      manu #endif /* _LINUX32_SYS_SYSCALLARGS_H_ */
   1534