Home | History | Annotate | Line # | Download | only in amd64
linux32_syscallargs.h revision 1.36.4.3
      1  1.36.4.3      yamt /* $NetBSD: linux32_syscallargs.h,v 1.36.4.3 2010/03/11 15:03:17 yamt 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.36.4.3      yamt  * created from	NetBSD: syscalls.master,v 1.55 2009/11/24 10:42:44 njoly 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.22  christos #define	LINUX32_SYS_MAXSYSARGS	8
     14      1.22  christos 
     15       1.1      manu #undef	syscallarg
     16       1.1      manu #define	syscallarg(x)							\
     17       1.1      manu 	union {								\
     18       1.1      manu 		register32_t pad;						\
     19       1.1      manu 		struct { x datum; } le;					\
     20       1.1      manu 		struct { /* LINTED zero array dimension */		\
     21       1.1      manu 			int8_t pad[  /* CONSTCOND */			\
     22       1.1      manu 				(sizeof (register32_t) < sizeof (x))	\
     23       1.1      manu 				? 0					\
     24       1.1      manu 				: sizeof (register32_t) - sizeof (x)];	\
     25       1.1      manu 			x datum;					\
     26       1.1      manu 		} be;							\
     27       1.1      manu 	}
     28       1.1      manu 
     29      1.22  christos #undef check_syscall_args
     30      1.22  christos #define check_syscall_args(call) \
     31      1.22  christos 	typedef char call##_check_args[sizeof (struct call##_args) \
     32      1.22  christos 		<= LINUX32_SYS_MAXSYSARGS * sizeof (register32_t) ? 1 : -1];
     33      1.22  christos 
     34      1.24       dsl struct netbsd32_exit_args;
     35      1.24       dsl 
     36      1.24       dsl struct netbsd32_read_args;
     37      1.24       dsl 
     38      1.24       dsl struct netbsd32_write_args;
     39      1.24       dsl 
     40       1.1      manu struct linux32_sys_open_args {
     41  1.36.4.1      yamt 	syscallarg(netbsd32_charp) path;
     42       1.1      manu 	syscallarg(int) flags;
     43       1.1      manu 	syscallarg(int) mode;
     44       1.1      manu };
     45      1.22  christos check_syscall_args(linux32_sys_open)
     46       1.1      manu 
     47      1.24       dsl struct netbsd32_close_args;
     48      1.24       dsl 
     49       1.1      manu struct linux32_sys_waitpid_args {
     50       1.1      manu 	syscallarg(int) pid;
     51       1.1      manu 	syscallarg(netbsd32_intp) status;
     52       1.1      manu 	syscallarg(int) options;
     53       1.1      manu };
     54      1.22  christos check_syscall_args(linux32_sys_waitpid)
     55       1.1      manu 
     56       1.1      manu struct linux32_sys_creat_args {
     57  1.36.4.1      yamt 	syscallarg(netbsd32_charp) path;
     58       1.1      manu 	syscallarg(int) mode;
     59       1.1      manu };
     60      1.22  christos check_syscall_args(linux32_sys_creat)
     61       1.1      manu 
     62      1.24       dsl struct netbsd32_link_args;
     63      1.24       dsl 
     64       1.1      manu struct linux32_sys_unlink_args {
     65  1.36.4.1      yamt 	syscallarg(netbsd32_charp) path;
     66       1.1      manu };
     67      1.22  christos check_syscall_args(linux32_sys_unlink)
     68       1.1      manu 
     69      1.24       dsl struct netbsd32_execve_args;
     70      1.24       dsl 
     71      1.24       dsl struct netbsd32_chdir_args;
     72      1.24       dsl 
     73       1.1      manu struct linux32_sys_time_args {
     74       1.1      manu 	syscallarg(linux32_timep_t) t;
     75       1.1      manu };
     76      1.22  christos check_syscall_args(linux32_sys_time)
     77       1.1      manu 
     78       1.1      manu struct linux32_sys_mknod_args {
     79  1.36.4.1      yamt 	syscallarg(netbsd32_charp) path;
     80       1.1      manu 	syscallarg(int) mode;
     81       1.1      manu 	syscallarg(int) dev;
     82       1.1      manu };
     83      1.22  christos check_syscall_args(linux32_sys_mknod)
     84       1.1      manu 
     85      1.24       dsl struct netbsd32_chmod_args;
     86      1.24       dsl 
     87       1.1      manu struct linux32_sys_lchown16_args {
     88  1.36.4.1      yamt 	syscallarg(netbsd32_charp) path;
     89      1.30     njoly 	syscallarg(linux32_uid16_t) uid;
     90      1.30     njoly 	syscallarg(linux32_gid16_t) gid;
     91       1.1      manu };
     92      1.22  christos check_syscall_args(linux32_sys_lchown16)
     93       1.1      manu 
     94       1.1      manu struct linux32_sys_break_args {
     95       1.1      manu 	syscallarg(netbsd32_charp) nsize;
     96       1.1      manu };
     97      1.22  christos check_syscall_args(linux32_sys_break)
     98       1.1      manu 
     99      1.24       dsl struct compat_43_netbsd32_olseek_args;
    100      1.24       dsl 
    101      1.24       dsl struct netbsd32_setuid_args;
    102      1.24       dsl 
    103       1.1      manu struct linux32_sys_stime_args {
    104       1.1      manu 	syscallarg(linux32_timep_t) t;
    105       1.1      manu };
    106      1.22  christos check_syscall_args(linux32_sys_stime)
    107       1.1      manu 
    108  1.36.4.1      yamt struct linux32_sys_ptrace_args {
    109  1.36.4.1      yamt 	syscallarg(int) request;
    110  1.36.4.1      yamt 	syscallarg(int) pid;
    111  1.36.4.1      yamt 	syscallarg(int) addr;
    112  1.36.4.1      yamt 	syscallarg(int) data;
    113  1.36.4.1      yamt };
    114  1.36.4.1      yamt check_syscall_args(linux32_sys_ptrace)
    115  1.36.4.1      yamt 
    116      1.21     njoly struct linux32_sys_alarm_args {
    117      1.21     njoly 	syscallarg(unsigned int) secs;
    118      1.21     njoly };
    119      1.22  christos check_syscall_args(linux32_sys_alarm)
    120      1.21     njoly 
    121       1.1      manu struct linux32_sys_utime_args {
    122  1.36.4.1      yamt 	syscallarg(netbsd32_charp) path;
    123       1.1      manu 	syscallarg(linux32_utimbufp_t) times;
    124       1.1      manu };
    125      1.22  christos check_syscall_args(linux32_sys_utime)
    126       1.1      manu 
    127      1.24       dsl struct netbsd32_access_args;
    128      1.24       dsl 
    129      1.21     njoly struct linux32_sys_nice_args {
    130      1.21     njoly 	syscallarg(int) incr;
    131      1.21     njoly };
    132      1.22  christos check_syscall_args(linux32_sys_nice)
    133      1.21     njoly 
    134       1.1      manu struct linux32_sys_kill_args {
    135       1.1      manu 	syscallarg(int) pid;
    136       1.1      manu 	syscallarg(int) signum;
    137       1.1      manu };
    138      1.22  christos check_syscall_args(linux32_sys_kill)
    139       1.1      manu 
    140  1.36.4.1      yamt struct netbsd32___posix_rename_args;
    141       1.1      manu 
    142      1.24       dsl struct netbsd32_mkdir_args;
    143      1.24       dsl 
    144      1.24       dsl struct netbsd32_rmdir_args;
    145      1.24       dsl 
    146      1.24       dsl struct netbsd32_dup_args;
    147      1.24       dsl 
    148       1.1      manu struct linux32_sys_pipe_args {
    149       1.1      manu 	syscallarg(netbsd32_intp) fd;
    150       1.1      manu };
    151      1.22  christos check_syscall_args(linux32_sys_pipe)
    152       1.1      manu 
    153       1.1      manu struct linux32_sys_times_args {
    154       1.1      manu 	syscallarg(linux32_tmsp_t) tms;
    155       1.1      manu };
    156      1.22  christos check_syscall_args(linux32_sys_times)
    157       1.1      manu 
    158       1.1      manu struct linux32_sys_brk_args {
    159       1.1      manu 	syscallarg(netbsd32_charp) nsize;
    160       1.1      manu };
    161      1.22  christos check_syscall_args(linux32_sys_brk)
    162       1.1      manu 
    163      1.24       dsl struct netbsd32_setgid_args;
    164      1.24       dsl 
    165       1.1      manu struct linux32_sys_signal_args {
    166       1.1      manu 	syscallarg(int) signum;
    167       1.1      manu 	syscallarg(linux32_handler_t) handler;
    168       1.1      manu };
    169      1.22  christos check_syscall_args(linux32_sys_signal)
    170       1.1      manu 
    171      1.24       dsl struct netbsd32_acct_args;
    172      1.24       dsl 
    173       1.1      manu struct linux32_sys_ioctl_args {
    174       1.1      manu 	syscallarg(int) fd;
    175       1.1      manu 	syscallarg(netbsd32_u_long) com;
    176       1.1      manu 	syscallarg(netbsd32_charp) data;
    177       1.1      manu };
    178      1.22  christos check_syscall_args(linux32_sys_ioctl)
    179       1.1      manu 
    180       1.1      manu struct linux32_sys_fcntl_args {
    181       1.1      manu 	syscallarg(int) fd;
    182       1.1      manu 	syscallarg(int) cmd;
    183       1.1      manu 	syscallarg(netbsd32_voidp) arg;
    184       1.1      manu };
    185      1.22  christos check_syscall_args(linux32_sys_fcntl)
    186       1.1      manu 
    187      1.24       dsl struct netbsd32_setpgid_args;
    188      1.24       dsl 
    189       1.1      manu struct linux32_sys_oldolduname_args {
    190       1.1      manu 	syscallarg(linux32_oldold_utsnamep_t) up;
    191       1.1      manu };
    192      1.22  christos check_syscall_args(linux32_sys_oldolduname)
    193       1.1      manu 
    194      1.24       dsl struct netbsd32_umask_args;
    195      1.24       dsl 
    196      1.24       dsl struct netbsd32_chroot_args;
    197      1.24       dsl 
    198      1.24       dsl struct netbsd32_dup2_args;
    199      1.24       dsl 
    200  1.36.4.2      yamt struct linux32_sys_sigsetmask_args {
    201  1.36.4.2      yamt 	syscallarg(linux32_old_sigset_t) mask;
    202  1.36.4.2      yamt };
    203  1.36.4.2      yamt check_syscall_args(linux32_sys_sigsetmask)
    204  1.36.4.2      yamt 
    205      1.21     njoly struct linux32_sys_setreuid16_args {
    206      1.30     njoly 	syscallarg(linux32_uid16_t) ruid;
    207      1.30     njoly 	syscallarg(linux32_uid16_t) euid;
    208       1.1      manu };
    209      1.22  christos check_syscall_args(linux32_sys_setreuid16)
    210       1.1      manu 
    211      1.21     njoly struct linux32_sys_setregid16_args {
    212      1.30     njoly 	syscallarg(linux32_gid16_t) rgid;
    213      1.30     njoly 	syscallarg(linux32_gid16_t) egid;
    214       1.1      manu };
    215      1.22  christos check_syscall_args(linux32_sys_setregid16)
    216       1.1      manu 
    217      1.24       dsl struct compat_43_netbsd32_osethostname_args;
    218      1.24       dsl 
    219       1.1      manu struct linux32_sys_setrlimit_args {
    220       1.1      manu 	syscallarg(u_int) which;
    221       1.1      manu 	syscallarg(netbsd32_orlimitp_t) rlp;
    222       1.1      manu };
    223      1.22  christos check_syscall_args(linux32_sys_setrlimit)
    224       1.1      manu 
    225       1.1      manu struct linux32_sys_getrlimit_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_getrlimit)
    230       1.1      manu 
    231  1.36.4.1      yamt struct compat_50_netbsd32_getrusage_args;
    232      1.24       dsl 
    233       1.1      manu struct linux32_sys_gettimeofday_args {
    234  1.36.4.1      yamt 	syscallarg(netbsd32_timeval50p_t) tp;
    235       1.1      manu 	syscallarg(netbsd32_timezonep_t) tzp;
    236       1.1      manu };
    237      1.22  christos check_syscall_args(linux32_sys_gettimeofday)
    238       1.1      manu 
    239       1.1      manu struct linux32_sys_settimeofday_args {
    240  1.36.4.1      yamt 	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_settimeofday)
    244       1.1      manu 
    245       1.1      manu struct linux32_sys_getgroups16_args {
    246       1.1      manu 	syscallarg(int) gidsetsize;
    247      1.30     njoly 	syscallarg(linux32_gid16p_t) gidset;
    248       1.1      manu };
    249      1.22  christos check_syscall_args(linux32_sys_getgroups16)
    250       1.1      manu 
    251       1.1      manu struct linux32_sys_setgroups16_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_setgroups16)
    256       1.1      manu 
    257       1.1      manu struct linux32_sys_oldselect_args {
    258       1.1      manu 	syscallarg(linux32_oldselectp_t) lsp;
    259       1.1      manu };
    260      1.22  christos check_syscall_args(linux32_sys_oldselect)
    261       1.1      manu 
    262      1.24       dsl struct netbsd32_symlink_args;
    263      1.24       dsl 
    264      1.24       dsl struct compat_43_netbsd32_lstat43_args;
    265      1.24       dsl 
    266      1.24       dsl struct netbsd32_readlink_args;
    267      1.24       dsl 
    268       1.1      manu struct linux32_sys_swapon_args {
    269       1.1      manu 	syscallarg(netbsd32_charp) name;
    270       1.1      manu };
    271      1.22  christos check_syscall_args(linux32_sys_swapon)
    272       1.1      manu 
    273       1.1      manu struct linux32_sys_reboot_args {
    274       1.1      manu 	syscallarg(int) magic1;
    275       1.1      manu 	syscallarg(int) magic2;
    276       1.1      manu 	syscallarg(int) cmd;
    277       1.1      manu 	syscallarg(netbsd32_voidp) arg;
    278       1.1      manu };
    279      1.22  christos check_syscall_args(linux32_sys_reboot)
    280       1.1      manu 
    281      1.28     njoly struct linux32_sys_readdir_args {
    282      1.28     njoly 	syscallarg(int) fd;
    283      1.28     njoly 	syscallarg(netbsd32_voidp) dent;
    284      1.28     njoly 	syscallarg(unsigned int) count;
    285      1.28     njoly };
    286      1.28     njoly check_syscall_args(linux32_sys_readdir)
    287      1.28     njoly 
    288       1.1      manu struct linux32_sys_old_mmap_args {
    289       1.1      manu 	syscallarg(linux32_oldmmapp) lmp;
    290       1.1      manu };
    291      1.22  christos check_syscall_args(linux32_sys_old_mmap)
    292       1.1      manu 
    293      1.24       dsl struct netbsd32_munmap_args;
    294      1.24       dsl 
    295  1.36.4.1      yamt struct compat_43_netbsd32_otruncate_args;
    296       1.1      manu 
    297      1.24       dsl struct compat_43_netbsd32_oftruncate_args;
    298      1.24       dsl 
    299      1.24       dsl struct netbsd32_fchmod_args;
    300      1.24       dsl 
    301       1.1      manu struct linux32_sys_fchown16_args {
    302       1.1      manu 	syscallarg(int) fd;
    303      1.30     njoly 	syscallarg(linux32_uid16_t) uid;
    304      1.30     njoly 	syscallarg(linux32_gid16_t) gid;
    305       1.1      manu };
    306      1.22  christos check_syscall_args(linux32_sys_fchown16)
    307       1.1      manu 
    308       1.4      manu struct linux32_sys_getpriority_args {
    309       1.4      manu 	syscallarg(int) which;
    310       1.4      manu 	syscallarg(int) who;
    311       1.4      manu };
    312      1.22  christos check_syscall_args(linux32_sys_getpriority)
    313       1.4      manu 
    314  1.36.4.1      yamt struct netbsd32_setpriority_args;
    315       1.4      manu 
    316      1.16     njoly struct linux32_sys_statfs_args {
    317  1.36.4.1      yamt 	syscallarg(netbsd32_charp) path;
    318      1.16     njoly 	syscallarg(linux32_statfsp) sp;
    319      1.16     njoly };
    320      1.22  christos check_syscall_args(linux32_sys_statfs)
    321      1.16     njoly 
    322  1.36.4.2      yamt struct linux32_sys_fstatfs_args {
    323  1.36.4.2      yamt 	syscallarg(int) fd;
    324  1.36.4.2      yamt 	syscallarg(linux32_statfsp) sp;
    325  1.36.4.2      yamt };
    326  1.36.4.2      yamt check_syscall_args(linux32_sys_fstatfs)
    327  1.36.4.2      yamt 
    328       1.1      manu struct linux32_sys_socketcall_args {
    329       1.1      manu 	syscallarg(int) what;
    330       1.1      manu 	syscallarg(netbsd32_voidp) args;
    331       1.1      manu };
    332      1.22  christos check_syscall_args(linux32_sys_socketcall)
    333       1.1      manu 
    334  1.36.4.1      yamt struct compat_50_netbsd32_setitimer_args;
    335      1.24       dsl 
    336  1.36.4.1      yamt struct compat_50_netbsd32_getitimer_args;
    337      1.24       dsl 
    338  1.36.4.2      yamt struct linux32_sys_stat_args {
    339  1.36.4.2      yamt 	syscallarg(netbsd32_charp) path;
    340  1.36.4.2      yamt 	syscallarg(linux32_statp) sp;
    341  1.36.4.2      yamt };
    342  1.36.4.2      yamt check_syscall_args(linux32_sys_stat)
    343  1.36.4.2      yamt 
    344  1.36.4.2      yamt struct linux32_sys_lstat_args {
    345  1.36.4.2      yamt 	syscallarg(netbsd32_charp) path;
    346  1.36.4.2      yamt 	syscallarg(linux32_statp) sp;
    347  1.36.4.2      yamt };
    348  1.36.4.2      yamt check_syscall_args(linux32_sys_lstat)
    349  1.36.4.2      yamt 
    350  1.36.4.2      yamt struct linux32_sys_fstat_args {
    351  1.36.4.2      yamt 	syscallarg(int) fd;
    352  1.36.4.2      yamt 	syscallarg(linux32_statp) sp;
    353  1.36.4.2      yamt };
    354  1.36.4.2      yamt check_syscall_args(linux32_sys_fstat)
    355  1.36.4.2      yamt 
    356      1.27     njoly struct linux32_sys_olduname_args {
    357      1.27     njoly 	syscallarg(linux32_oldutsnamep_t) up;
    358      1.27     njoly };
    359      1.27     njoly check_syscall_args(linux32_sys_olduname)
    360      1.27     njoly 
    361       1.1      manu struct linux32_sys_wait4_args {
    362       1.1      manu 	syscallarg(int) pid;
    363       1.1      manu 	syscallarg(netbsd32_intp) status;
    364       1.1      manu 	syscallarg(int) options;
    365  1.36.4.1      yamt 	syscallarg(netbsd32_rusage50p_t) rusage;
    366       1.1      manu };
    367      1.22  christos check_syscall_args(linux32_sys_wait4)
    368       1.1      manu 
    369       1.1      manu struct linux32_sys_swapoff_args {
    370  1.36.4.1      yamt 	syscallarg(netbsd32_charp) path;
    371       1.1      manu };
    372      1.22  christos check_syscall_args(linux32_sys_swapoff)
    373       1.1      manu 
    374      1.10      manu struct linux32_sys_sysinfo_args {
    375      1.10      manu 	syscallarg(linux32_sysinfop_t) arg;
    376      1.10      manu };
    377      1.22  christos check_syscall_args(linux32_sys_sysinfo)
    378      1.10      manu 
    379  1.36.4.1      yamt struct linux32_sys_ipc_args {
    380  1.36.4.1      yamt 	syscallarg(int) what;
    381  1.36.4.1      yamt 	syscallarg(int) a1;
    382  1.36.4.1      yamt 	syscallarg(int) a2;
    383  1.36.4.1      yamt 	syscallarg(int) a3;
    384  1.36.4.1      yamt 	syscallarg(netbsd32_voidp) ptr;
    385  1.36.4.1      yamt };
    386  1.36.4.1      yamt check_syscall_args(linux32_sys_ipc)
    387  1.36.4.1      yamt 
    388      1.24       dsl struct netbsd32_fsync_args;
    389      1.24       dsl 
    390       1.1      manu struct linux32_sys_sigreturn_args {
    391       1.1      manu 	syscallarg(linux32_sigcontextp_t) scp;
    392       1.1      manu };
    393      1.22  christos check_syscall_args(linux32_sys_sigreturn)
    394       1.1      manu 
    395       1.1      manu struct linux32_sys_clone_args {
    396       1.1      manu 	syscallarg(int) flags;
    397       1.1      manu 	syscallarg(netbsd32_voidp) stack;
    398       1.1      manu };
    399      1.22  christos check_syscall_args(linux32_sys_clone)
    400       1.1      manu 
    401       1.1      manu struct linux32_sys_uname_args {
    402       1.1      manu 	syscallarg(linux32_utsnamep) up;
    403       1.1      manu };
    404      1.22  christos check_syscall_args(linux32_sys_uname)
    405       1.1      manu 
    406       1.1      manu struct linux32_sys_mprotect_args {
    407      1.24       dsl 	syscallarg(netbsd32_voidp) start;
    408       1.1      manu 	syscallarg(netbsd32_size_t) len;
    409       1.1      manu 	syscallarg(int) prot;
    410       1.1      manu };
    411      1.22  christos check_syscall_args(linux32_sys_mprotect)
    412       1.1      manu 
    413      1.26     njoly struct netbsd32_getpgid_args;
    414      1.26     njoly 
    415      1.24       dsl struct netbsd32_fchdir_args;
    416      1.24       dsl 
    417  1.36.4.1      yamt struct linux32_sys_personality_args {
    418  1.36.4.3      yamt 	syscallarg(netbsd32_u_long) per;
    419  1.36.4.1      yamt };
    420  1.36.4.1      yamt check_syscall_args(linux32_sys_personality)
    421  1.36.4.1      yamt 
    422      1.24       dsl struct linux32_sys_setfsuid_args;
    423      1.24       dsl 
    424      1.25     njoly struct linux32_sys_setfsgid_args;
    425      1.25     njoly 
    426       1.1      manu struct linux32_sys_llseek_args {
    427       1.1      manu 	syscallarg(int) fd;
    428       1.1      manu 	syscallarg(u_int32_t) ohigh;
    429       1.1      manu 	syscallarg(u_int32_t) olow;
    430  1.36.4.1      yamt 	syscallarg(netbsd32_voidp) res;
    431       1.1      manu 	syscallarg(int) whence;
    432       1.1      manu };
    433      1.22  christos check_syscall_args(linux32_sys_llseek)
    434       1.1      manu 
    435       1.1      manu struct linux32_sys_getdents_args {
    436       1.1      manu 	syscallarg(int) fd;
    437       1.1      manu 	syscallarg(linux32_direntp_t) dent;
    438       1.1      manu 	syscallarg(unsigned int) count;
    439       1.1      manu };
    440      1.22  christos check_syscall_args(linux32_sys_getdents)
    441       1.1      manu 
    442       1.1      manu struct linux32_sys_select_args {
    443       1.1      manu 	syscallarg(int) nfds;
    444       1.1      manu 	syscallarg(netbsd32_fd_setp_t) readfds;
    445       1.1      manu 	syscallarg(netbsd32_fd_setp_t) writefds;
    446       1.1      manu 	syscallarg(netbsd32_fd_setp_t) exceptfds;
    447  1.36.4.1      yamt 	syscallarg(netbsd32_timeval50p_t) timeout;
    448       1.1      manu };
    449      1.22  christos check_syscall_args(linux32_sys_select)
    450       1.1      manu 
    451      1.24       dsl struct netbsd32_flock_args;
    452      1.24       dsl 
    453      1.35     njoly struct netbsd32___msync13_args;
    454      1.35     njoly 
    455      1.24       dsl struct netbsd32_readv_args;
    456      1.24       dsl 
    457      1.24       dsl struct netbsd32_writev_args;
    458      1.24       dsl 
    459      1.24       dsl struct netbsd32_getsid_args;
    460      1.24       dsl 
    461      1.21     njoly struct linux32_sys_fdatasync_args {
    462      1.21     njoly 	syscallarg(int) fd;
    463      1.21     njoly };
    464      1.22  christos check_syscall_args(linux32_sys_fdatasync)
    465      1.21     njoly 
    466       1.1      manu struct linux32_sys___sysctl_args {
    467       1.1      manu 	syscallarg(linux32___sysctlp_t) lsp;
    468       1.1      manu };
    469      1.22  christos check_syscall_args(linux32_sys___sysctl)
    470       1.1      manu 
    471      1.34     njoly struct netbsd32_mlock_args;
    472      1.34     njoly 
    473      1.34     njoly struct netbsd32_munlock_args;
    474      1.34     njoly 
    475      1.24       dsl struct netbsd32_mlockall_args;
    476      1.24       dsl 
    477      1.10      manu struct linux32_sys_sched_getparam_args {
    478      1.10      manu 	syscallarg(pid_t) pid;
    479      1.10      manu 	syscallarg(linux32_sched_paramp_t) sp;
    480      1.10      manu };
    481      1.22  christos check_syscall_args(linux32_sys_sched_getparam)
    482      1.10      manu 
    483       1.1      manu struct linux32_sys_sched_setscheduler_args {
    484       1.1      manu 	syscallarg(pid_t) pid;
    485       1.1      manu 	syscallarg(int) policy;
    486  1.36.4.1      yamt 	syscallarg(linux32_sched_paramp_t) sp;
    487       1.1      manu };
    488      1.22  christos check_syscall_args(linux32_sys_sched_setscheduler)
    489       1.1      manu 
    490      1.21     njoly struct linux32_sys_sched_getscheduler_args {
    491      1.21     njoly 	syscallarg(pid_t) pid;
    492      1.21     njoly };
    493      1.22  christos check_syscall_args(linux32_sys_sched_getscheduler)
    494      1.21     njoly 
    495  1.36.4.1      yamt struct linux32_sys_sched_get_priority_max_args {
    496  1.36.4.1      yamt 	syscallarg(int) policy;
    497  1.36.4.1      yamt };
    498  1.36.4.1      yamt check_syscall_args(linux32_sys_sched_get_priority_max)
    499  1.36.4.1      yamt 
    500  1.36.4.1      yamt struct linux32_sys_sched_get_priority_min_args {
    501  1.36.4.1      yamt 	syscallarg(int) policy;
    502  1.36.4.1      yamt };
    503  1.36.4.1      yamt check_syscall_args(linux32_sys_sched_get_priority_min)
    504  1.36.4.1      yamt 
    505  1.36.4.1      yamt struct linux32_sys_nanosleep_args {
    506  1.36.4.1      yamt 	syscallarg(linux32_timespecp_t) rqtp;
    507  1.36.4.1      yamt 	syscallarg(linux32_timespecp_t) rmtp;
    508  1.36.4.1      yamt };
    509  1.36.4.1      yamt check_syscall_args(linux32_sys_nanosleep)
    510      1.24       dsl 
    511      1.10      manu struct linux32_sys_mremap_args {
    512      1.10      manu 	syscallarg(netbsd32_voidp) old_address;
    513      1.10      manu 	syscallarg(netbsd32_size_t) old_size;
    514      1.10      manu 	syscallarg(netbsd32_size_t) new_size;
    515      1.10      manu 	syscallarg(netbsd32_u_long) flags;
    516      1.10      manu };
    517      1.22  christos check_syscall_args(linux32_sys_mremap)
    518      1.10      manu 
    519      1.21     njoly struct linux32_sys_setresuid16_args {
    520      1.30     njoly 	syscallarg(linux32_uid16_t) ruid;
    521      1.30     njoly 	syscallarg(linux32_uid16_t) euid;
    522      1.30     njoly 	syscallarg(linux32_uid16_t) suid;
    523      1.21     njoly };
    524      1.22  christos check_syscall_args(linux32_sys_setresuid16)
    525      1.21     njoly 
    526      1.30     njoly struct linux32_sys_getresuid16_args {
    527      1.30     njoly 	syscallarg(linux32_uid16p_t) ruid;
    528      1.30     njoly 	syscallarg(linux32_uid16p_t) euid;
    529      1.30     njoly 	syscallarg(linux32_uid16p_t) suid;
    530      1.30     njoly };
    531      1.30     njoly check_syscall_args(linux32_sys_getresuid16)
    532      1.30     njoly 
    533      1.24       dsl struct netbsd32_poll_args;
    534      1.24       dsl 
    535      1.21     njoly struct linux32_sys_setresgid16_args {
    536      1.30     njoly 	syscallarg(linux32_gid16_t) rgid;
    537      1.30     njoly 	syscallarg(linux32_gid16_t) egid;
    538      1.30     njoly 	syscallarg(linux32_gid16_t) sgid;
    539      1.21     njoly };
    540      1.22  christos check_syscall_args(linux32_sys_setresgid16)
    541      1.21     njoly 
    542      1.30     njoly struct linux32_sys_getresgid16_args {
    543      1.30     njoly 	syscallarg(linux32_gid16p_t) rgid;
    544      1.30     njoly 	syscallarg(linux32_gid16p_t) egid;
    545      1.30     njoly 	syscallarg(linux32_gid16p_t) sgid;
    546      1.30     njoly };
    547      1.30     njoly check_syscall_args(linux32_sys_getresgid16)
    548      1.30     njoly 
    549       1.1      manu struct linux32_sys_rt_sigreturn_args {
    550       1.1      manu 	syscallarg(linux32_ucontextp_t) ucp;
    551       1.1      manu };
    552      1.22  christos check_syscall_args(linux32_sys_rt_sigreturn)
    553       1.1      manu 
    554       1.1      manu struct linux32_sys_rt_sigaction_args {
    555       1.1      manu 	syscallarg(int) signum;
    556  1.36.4.1      yamt 	syscallarg(linux32_sigactionp_t) nsa;
    557       1.1      manu 	syscallarg(linux32_sigactionp_t) osa;
    558       1.1      manu 	syscallarg(netbsd32_size_t) sigsetsize;
    559       1.1      manu };
    560      1.22  christos check_syscall_args(linux32_sys_rt_sigaction)
    561       1.1      manu 
    562       1.1      manu struct linux32_sys_rt_sigprocmask_args {
    563       1.1      manu 	syscallarg(int) how;
    564  1.36.4.1      yamt 	syscallarg(linux32_sigsetp_t) set;
    565       1.1      manu 	syscallarg(linux32_sigsetp_t) oset;
    566       1.1      manu 	syscallarg(netbsd32_size_t) sigsetsize;
    567       1.1      manu };
    568      1.22  christos check_syscall_args(linux32_sys_rt_sigprocmask)
    569       1.1      manu 
    570  1.36.4.1      yamt struct linux32_sys_rt_sigpending_args {
    571  1.36.4.1      yamt 	syscallarg(linux32_sigsetp_t) set;
    572  1.36.4.1      yamt 	syscallarg(netbsd32_size_t) sigsetsize;
    573  1.36.4.1      yamt };
    574  1.36.4.1      yamt check_syscall_args(linux32_sys_rt_sigpending)
    575  1.36.4.1      yamt 
    576  1.36.4.2      yamt struct linux32_sys_rt_queueinfo_args {
    577  1.36.4.2      yamt 	syscallarg(int) pid;
    578  1.36.4.2      yamt 	syscallarg(int) sig;
    579  1.36.4.2      yamt 	syscallarg(linux32_siginfop_t) uinfo;
    580  1.36.4.2      yamt };
    581  1.36.4.2      yamt check_syscall_args(linux32_sys_rt_queueinfo)
    582  1.36.4.2      yamt 
    583       1.1      manu struct linux32_sys_rt_sigsuspend_args {
    584       1.1      manu 	syscallarg(linux32_sigsetp_t) unewset;
    585       1.1      manu 	syscallarg(netbsd32_size_t) sigsetsize;
    586       1.1      manu };
    587      1.22  christos check_syscall_args(linux32_sys_rt_sigsuspend)
    588       1.1      manu 
    589      1.31       dsl struct linux32_sys_pread_args {
    590      1.31       dsl 	syscallarg(int) fd;
    591      1.33     njoly 	syscallarg(netbsd32_voidp) buf;
    592      1.31       dsl 	syscallarg(netbsd32_size_t) nbyte;
    593      1.33     njoly 	syscallarg(linux32_off_t) offset;
    594      1.31       dsl };
    595      1.31       dsl check_syscall_args(linux32_sys_pread)
    596      1.31       dsl 
    597      1.31       dsl struct linux32_sys_pwrite_args {
    598      1.31       dsl 	syscallarg(int) fd;
    599  1.36.4.1      yamt 	syscallarg(netbsd32_voidp) buf;
    600      1.31       dsl 	syscallarg(netbsd32_size_t) nbyte;
    601      1.33     njoly 	syscallarg(linux32_off_t) offset;
    602      1.31       dsl };
    603      1.31       dsl check_syscall_args(linux32_sys_pwrite)
    604      1.31       dsl 
    605      1.18     njoly struct linux32_sys_chown16_args {
    606  1.36.4.1      yamt 	syscallarg(netbsd32_charp) path;
    607      1.30     njoly 	syscallarg(linux32_uid16_t) uid;
    608      1.30     njoly 	syscallarg(linux32_gid16_t) gid;
    609      1.18     njoly };
    610      1.22  christos check_syscall_args(linux32_sys_chown16)
    611      1.18     njoly 
    612      1.24       dsl struct netbsd32___getcwd_args;
    613      1.24       dsl 
    614       1.1      manu struct linux32_sys_ugetrlimit_args {
    615       1.1      manu 	syscallarg(int) which;
    616       1.1      manu 	syscallarg(netbsd32_orlimitp_t) rlp;
    617       1.1      manu };
    618      1.22  christos check_syscall_args(linux32_sys_ugetrlimit)
    619       1.1      manu 
    620      1.10      manu struct linux32_sys_mmap2_args {
    621      1.10      manu 	syscallarg(netbsd32_u_long) addr;
    622      1.10      manu 	syscallarg(netbsd32_size_t) len;
    623      1.10      manu 	syscallarg(int) prot;
    624      1.10      manu 	syscallarg(int) flags;
    625      1.10      manu 	syscallarg(int) fd;
    626      1.10      manu 	syscallarg(linux32_off_t) offset;
    627      1.10      manu };
    628      1.22  christos check_syscall_args(linux32_sys_mmap2)
    629      1.10      manu 
    630       1.1      manu struct linux32_sys_stat64_args {
    631  1.36.4.1      yamt 	syscallarg(netbsd32_charp) path;
    632       1.1      manu 	syscallarg(linux32_stat64p) sp;
    633       1.1      manu };
    634      1.22  christos check_syscall_args(linux32_sys_stat64)
    635       1.1      manu 
    636       1.1      manu struct linux32_sys_lstat64_args {
    637  1.36.4.1      yamt 	syscallarg(netbsd32_charp) path;
    638       1.1      manu 	syscallarg(linux32_stat64p) sp;
    639       1.1      manu };
    640      1.22  christos check_syscall_args(linux32_sys_lstat64)
    641       1.1      manu 
    642       1.1      manu struct linux32_sys_fstat64_args {
    643       1.1      manu 	syscallarg(int) fd;
    644       1.1      manu 	syscallarg(linux32_stat64p) sp;
    645       1.1      manu };
    646      1.22  christos check_syscall_args(linux32_sys_fstat64)
    647       1.1      manu 
    648      1.24       dsl struct netbsd32___posix_lchown_args;
    649      1.24       dsl 
    650      1.24       dsl struct netbsd32_setreuid_args;
    651      1.24       dsl 
    652      1.24       dsl struct netbsd32_setregid_args;
    653      1.24       dsl 
    654      1.24       dsl struct netbsd32_getgroups_args;
    655      1.24       dsl 
    656      1.24       dsl struct netbsd32_setgroups_args;
    657      1.24       dsl 
    658      1.24       dsl struct netbsd32___posix_fchown_args;
    659      1.24       dsl 
    660       1.8      manu struct linux32_sys_setresuid_args {
    661       1.8      manu 	syscallarg(uid_t) ruid;
    662       1.8      manu 	syscallarg(uid_t) euid;
    663       1.8      manu 	syscallarg(uid_t) suid;
    664       1.8      manu };
    665      1.22  christos check_syscall_args(linux32_sys_setresuid)
    666       1.8      manu 
    667  1.36.4.1      yamt struct linux32_sys_getresuid_args {
    668  1.36.4.1      yamt 	syscallarg(linux32_uidp_t) ruid;
    669  1.36.4.1      yamt 	syscallarg(linux32_uidp_t) euid;
    670  1.36.4.1      yamt 	syscallarg(linux32_uidp_t) suid;
    671  1.36.4.1      yamt };
    672  1.36.4.1      yamt check_syscall_args(linux32_sys_getresuid)
    673  1.36.4.1      yamt 
    674       1.8      manu struct linux32_sys_setresgid_args {
    675       1.8      manu 	syscallarg(gid_t) rgid;
    676       1.8      manu 	syscallarg(gid_t) egid;
    677       1.8      manu 	syscallarg(gid_t) sgid;
    678       1.8      manu };
    679      1.22  christos check_syscall_args(linux32_sys_setresgid)
    680       1.8      manu 
    681  1.36.4.1      yamt struct linux32_sys_getresgid_args {
    682  1.36.4.1      yamt 	syscallarg(linux32_gidp_t) rgid;
    683  1.36.4.1      yamt 	syscallarg(linux32_gidp_t) egid;
    684  1.36.4.1      yamt 	syscallarg(linux32_gidp_t) sgid;
    685  1.36.4.1      yamt };
    686  1.36.4.1      yamt check_syscall_args(linux32_sys_getresgid)
    687  1.36.4.1      yamt 
    688      1.24       dsl struct netbsd32___posix_chown_args;
    689      1.24       dsl 
    690      1.24       dsl struct netbsd32_setuid_args;
    691      1.24       dsl 
    692      1.24       dsl struct netbsd32_setgid_args;
    693      1.24       dsl 
    694      1.21     njoly struct linux32_sys_setfsuid_args {
    695      1.21     njoly 	syscallarg(uid_t) uid;
    696      1.21     njoly };
    697      1.22  christos check_syscall_args(linux32_sys_setfsuid)
    698      1.21     njoly 
    699      1.25     njoly struct linux32_sys_setfsgid_args {
    700      1.25     njoly 	syscallarg(gid_t) gid;
    701      1.25     njoly };
    702      1.25     njoly check_syscall_args(linux32_sys_setfsgid)
    703      1.25     njoly 
    704  1.36.4.1      yamt struct netbsd32_mincore_args;
    705  1.36.4.1      yamt 
    706      1.24       dsl struct netbsd32_madvise_args;
    707      1.24       dsl 
    708       1.1      manu struct linux32_sys_getdents64_args {
    709       1.1      manu 	syscallarg(int) fd;
    710       1.1      manu 	syscallarg(linux32_dirent64p_t) dent;
    711       1.1      manu 	syscallarg(unsigned int) count;
    712       1.1      manu };
    713      1.22  christos check_syscall_args(linux32_sys_getdents64)
    714      1.32       dsl #define linux32_sys_fcntl64 linux32_sys_fcntl
    715      1.32       dsl #define linux32_sys_fcntl64_args linux32_sys_fcntl_args
    716       1.1      manu 
    717      1.32       dsl struct linux32_sys_fcntl64_args;
    718       1.1      manu 
    719      1.21     njoly struct linux32_sys_exit_group_args {
    720      1.21     njoly 	syscallarg(int) error_code;
    721      1.21     njoly };
    722      1.22  christos check_syscall_args(linux32_sys_exit_group)
    723      1.21     njoly 
    724      1.36     njoly struct linux32_sys_clock_settime_args {
    725      1.36     njoly 	syscallarg(clockid_t) which;
    726      1.36     njoly 	syscallarg(linux32_timespecp_t) tp;
    727      1.36     njoly };
    728      1.36     njoly check_syscall_args(linux32_sys_clock_settime)
    729      1.36     njoly 
    730      1.36     njoly struct linux32_sys_clock_gettime_args {
    731      1.36     njoly 	syscallarg(clockid_t) which;
    732      1.36     njoly 	syscallarg(linux32_timespecp_t) tp;
    733      1.36     njoly };
    734      1.36     njoly check_syscall_args(linux32_sys_clock_gettime)
    735      1.36     njoly 
    736      1.36     njoly struct linux32_sys_clock_getres_args {
    737      1.36     njoly 	syscallarg(clockid_t) which;
    738      1.36     njoly 	syscallarg(linux32_timespecp_t) tp;
    739      1.36     njoly };
    740      1.36     njoly check_syscall_args(linux32_sys_clock_getres)
    741      1.36     njoly 
    742  1.36.4.1      yamt struct linux32_sys_clock_nanosleep_args {
    743  1.36.4.1      yamt 	syscallarg(clockid_t) which;
    744  1.36.4.1      yamt 	syscallarg(int) flags;
    745  1.36.4.1      yamt 	syscallarg(linux32_timespecp_t) rqtp;
    746  1.36.4.1      yamt 	syscallarg(linux32_timespecp_t) rmtp;
    747  1.36.4.1      yamt };
    748  1.36.4.1      yamt check_syscall_args(linux32_sys_clock_nanosleep)
    749  1.36.4.1      yamt 
    750       1.1      manu /*
    751       1.1      manu  * System call prototypes.
    752       1.1      manu  */
    753       1.1      manu 
    754      1.24       dsl int	linux_sys_nosys(struct lwp *, const void *, register_t *);
    755       1.1      manu 
    756      1.24       dsl int	netbsd32_exit(struct lwp *, const struct netbsd32_exit_args *, register_t *);
    757       1.1      manu 
    758      1.24       dsl int	sys_fork(struct lwp *, const void *, register_t *);
    759       1.1      manu 
    760      1.24       dsl int	netbsd32_read(struct lwp *, const struct netbsd32_read_args *, register_t *);
    761       1.1      manu 
    762      1.24       dsl int	netbsd32_write(struct lwp *, const struct netbsd32_write_args *, register_t *);
    763       1.1      manu 
    764      1.24       dsl int	linux32_sys_open(struct lwp *, const struct linux32_sys_open_args *, register_t *);
    765       1.1      manu 
    766      1.24       dsl int	netbsd32_close(struct lwp *, const struct netbsd32_close_args *, register_t *);
    767       1.1      manu 
    768      1.24       dsl int	linux32_sys_waitpid(struct lwp *, const struct linux32_sys_waitpid_args *, register_t *);
    769       1.1      manu 
    770      1.24       dsl int	linux32_sys_creat(struct lwp *, const struct linux32_sys_creat_args *, register_t *);
    771       1.1      manu 
    772      1.24       dsl int	netbsd32_link(struct lwp *, const struct netbsd32_link_args *, register_t *);
    773       1.1      manu 
    774      1.24       dsl int	linux32_sys_unlink(struct lwp *, const struct linux32_sys_unlink_args *, register_t *);
    775       1.1      manu 
    776      1.24       dsl int	netbsd32_execve(struct lwp *, const struct netbsd32_execve_args *, register_t *);
    777       1.1      manu 
    778      1.24       dsl int	netbsd32_chdir(struct lwp *, const struct netbsd32_chdir_args *, register_t *);
    779       1.1      manu 
    780      1.24       dsl int	linux32_sys_time(struct lwp *, const struct linux32_sys_time_args *, register_t *);
    781       1.1      manu 
    782      1.24       dsl int	linux32_sys_mknod(struct lwp *, const struct linux32_sys_mknod_args *, register_t *);
    783       1.1      manu 
    784      1.24       dsl int	netbsd32_chmod(struct lwp *, const struct netbsd32_chmod_args *, register_t *);
    785       1.1      manu 
    786      1.24       dsl int	linux32_sys_lchown16(struct lwp *, const struct linux32_sys_lchown16_args *, register_t *);
    787       1.1      manu 
    788      1.24       dsl int	linux32_sys_break(struct lwp *, const struct linux32_sys_break_args *, register_t *);
    789       1.1      manu 
    790      1.24       dsl int	compat_43_netbsd32_olseek(struct lwp *, const struct compat_43_netbsd32_olseek_args *, register_t *);
    791       1.1      manu 
    792      1.24       dsl int	linux_sys_getpid(struct lwp *, const void *, register_t *);
    793       1.1      manu 
    794      1.24       dsl int	netbsd32_setuid(struct lwp *, const struct netbsd32_setuid_args *, register_t *);
    795       1.1      manu 
    796      1.24       dsl int	sys_getuid(struct lwp *, const void *, register_t *);
    797       1.1      manu 
    798      1.24       dsl int	linux32_sys_stime(struct lwp *, const struct linux32_sys_stime_args *, register_t *);
    799       1.1      manu 
    800  1.36.4.1      yamt int	linux32_sys_ptrace(struct lwp *, const struct linux32_sys_ptrace_args *, register_t *);
    801  1.36.4.1      yamt 
    802      1.24       dsl int	linux32_sys_alarm(struct lwp *, const struct linux32_sys_alarm_args *, register_t *);
    803       1.1      manu 
    804      1.24       dsl int	linux_sys_pause(struct lwp *, const void *, register_t *);
    805       1.1      manu 
    806      1.24       dsl int	linux32_sys_utime(struct lwp *, const struct linux32_sys_utime_args *, register_t *);
    807       1.1      manu 
    808      1.24       dsl int	netbsd32_access(struct lwp *, const struct netbsd32_access_args *, register_t *);
    809       1.1      manu 
    810      1.24       dsl int	linux32_sys_nice(struct lwp *, const struct linux32_sys_nice_args *, register_t *);
    811       1.1      manu 
    812      1.24       dsl int	sys_sync(struct lwp *, const void *, register_t *);
    813       1.1      manu 
    814      1.24       dsl int	linux32_sys_kill(struct lwp *, const struct linux32_sys_kill_args *, register_t *);
    815       1.1      manu 
    816  1.36.4.1      yamt int	netbsd32___posix_rename(struct lwp *, const struct netbsd32___posix_rename_args *, register_t *);
    817       1.1      manu 
    818      1.24       dsl int	netbsd32_mkdir(struct lwp *, const struct netbsd32_mkdir_args *, register_t *);
    819       1.1      manu 
    820      1.24       dsl int	netbsd32_rmdir(struct lwp *, const struct netbsd32_rmdir_args *, register_t *);
    821       1.1      manu 
    822      1.24       dsl int	netbsd32_dup(struct lwp *, const struct netbsd32_dup_args *, register_t *);
    823       1.1      manu 
    824      1.24       dsl int	linux32_sys_pipe(struct lwp *, const struct linux32_sys_pipe_args *, register_t *);
    825       1.1      manu 
    826      1.24       dsl int	linux32_sys_times(struct lwp *, const struct linux32_sys_times_args *, register_t *);
    827       1.1      manu 
    828      1.24       dsl int	linux32_sys_brk(struct lwp *, const struct linux32_sys_brk_args *, register_t *);
    829       1.1      manu 
    830      1.24       dsl int	netbsd32_setgid(struct lwp *, const struct netbsd32_setgid_args *, register_t *);
    831       1.1      manu 
    832      1.24       dsl int	sys_getgid(struct lwp *, const void *, register_t *);
    833       1.1      manu 
    834      1.24       dsl int	linux32_sys_signal(struct lwp *, const struct linux32_sys_signal_args *, register_t *);
    835       1.1      manu 
    836      1.24       dsl int	sys_geteuid(struct lwp *, const void *, register_t *);
    837       1.1      manu 
    838      1.24       dsl int	sys_getegid(struct lwp *, const void *, register_t *);
    839       1.1      manu 
    840      1.24       dsl int	netbsd32_acct(struct lwp *, const struct netbsd32_acct_args *, register_t *);
    841       1.1      manu 
    842      1.24       dsl int	linux32_sys_ioctl(struct lwp *, const struct linux32_sys_ioctl_args *, register_t *);
    843       1.1      manu 
    844      1.24       dsl int	linux32_sys_fcntl(struct lwp *, const struct linux32_sys_fcntl_args *, register_t *);
    845       1.1      manu 
    846      1.24       dsl int	netbsd32_setpgid(struct lwp *, const struct netbsd32_setpgid_args *, register_t *);
    847       1.1      manu 
    848      1.24       dsl int	linux32_sys_oldolduname(struct lwp *, const struct linux32_sys_oldolduname_args *, register_t *);
    849       1.1      manu 
    850      1.24       dsl int	netbsd32_umask(struct lwp *, const struct netbsd32_umask_args *, register_t *);
    851       1.1      manu 
    852      1.24       dsl int	netbsd32_chroot(struct lwp *, const struct netbsd32_chroot_args *, register_t *);
    853       1.1      manu 
    854      1.24       dsl int	netbsd32_dup2(struct lwp *, const struct netbsd32_dup2_args *, register_t *);
    855       1.1      manu 
    856      1.24       dsl int	linux_sys_getppid(struct lwp *, const void *, register_t *);
    857       1.1      manu 
    858      1.24       dsl int	sys_getpgrp(struct lwp *, const void *, register_t *);
    859       1.1      manu 
    860      1.24       dsl int	sys_setsid(struct lwp *, const void *, register_t *);
    861       1.1      manu 
    862  1.36.4.2      yamt int	linux32_sys_siggetmask(struct lwp *, const void *, register_t *);
    863  1.36.4.2      yamt 
    864  1.36.4.2      yamt int	linux32_sys_sigsetmask(struct lwp *, const struct linux32_sys_sigsetmask_args *, register_t *);
    865  1.36.4.2      yamt 
    866      1.24       dsl int	linux32_sys_setreuid16(struct lwp *, const struct linux32_sys_setreuid16_args *, register_t *);
    867       1.1      manu 
    868      1.24       dsl int	linux32_sys_setregid16(struct lwp *, const struct linux32_sys_setregid16_args *, register_t *);
    869       1.1      manu 
    870      1.24       dsl int	compat_43_netbsd32_osethostname(struct lwp *, const struct compat_43_netbsd32_osethostname_args *, register_t *);
    871       1.1      manu 
    872      1.24       dsl int	linux32_sys_setrlimit(struct lwp *, const struct linux32_sys_setrlimit_args *, register_t *);
    873       1.1      manu 
    874      1.24       dsl int	linux32_sys_getrlimit(struct lwp *, const struct linux32_sys_getrlimit_args *, register_t *);
    875       1.1      manu 
    876  1.36.4.1      yamt int	compat_50_netbsd32_getrusage(struct lwp *, const struct compat_50_netbsd32_getrusage_args *, register_t *);
    877       1.1      manu 
    878      1.24       dsl int	linux32_sys_gettimeofday(struct lwp *, const struct linux32_sys_gettimeofday_args *, register_t *);
    879       1.1      manu 
    880      1.24       dsl int	linux32_sys_settimeofday(struct lwp *, const struct linux32_sys_settimeofday_args *, register_t *);
    881       1.1      manu 
    882      1.24       dsl int	linux32_sys_getgroups16(struct lwp *, const struct linux32_sys_getgroups16_args *, register_t *);
    883       1.1      manu 
    884      1.24       dsl int	linux32_sys_setgroups16(struct lwp *, const struct linux32_sys_setgroups16_args *, register_t *);
    885       1.1      manu 
    886      1.24       dsl int	linux32_sys_oldselect(struct lwp *, const struct linux32_sys_oldselect_args *, register_t *);
    887       1.1      manu 
    888      1.24       dsl int	netbsd32_symlink(struct lwp *, const struct netbsd32_symlink_args *, register_t *);
    889       1.1      manu 
    890      1.24       dsl int	compat_43_netbsd32_lstat43(struct lwp *, const struct compat_43_netbsd32_lstat43_args *, register_t *);
    891       1.1      manu 
    892      1.24       dsl int	netbsd32_readlink(struct lwp *, const struct netbsd32_readlink_args *, register_t *);
    893       1.1      manu 
    894      1.24       dsl int	linux32_sys_swapon(struct lwp *, const struct linux32_sys_swapon_args *, register_t *);
    895       1.1      manu 
    896      1.24       dsl int	linux32_sys_reboot(struct lwp *, const struct linux32_sys_reboot_args *, register_t *);
    897       1.1      manu 
    898      1.28     njoly int	linux32_sys_readdir(struct lwp *, const struct linux32_sys_readdir_args *, register_t *);
    899      1.28     njoly 
    900      1.24       dsl int	linux32_sys_old_mmap(struct lwp *, const struct linux32_sys_old_mmap_args *, register_t *);
    901       1.1      manu 
    902      1.24       dsl int	netbsd32_munmap(struct lwp *, const struct netbsd32_munmap_args *, register_t *);
    903       1.1      manu 
    904  1.36.4.1      yamt int	compat_43_netbsd32_otruncate(struct lwp *, const struct compat_43_netbsd32_otruncate_args *, register_t *);
    905       1.1      manu 
    906      1.24       dsl int	compat_43_netbsd32_oftruncate(struct lwp *, const struct compat_43_netbsd32_oftruncate_args *, register_t *);
    907       1.1      manu 
    908      1.24       dsl int	netbsd32_fchmod(struct lwp *, const struct netbsd32_fchmod_args *, register_t *);
    909       1.1      manu 
    910      1.24       dsl int	linux32_sys_fchown16(struct lwp *, const struct linux32_sys_fchown16_args *, register_t *);
    911       1.1      manu 
    912      1.24       dsl int	linux32_sys_getpriority(struct lwp *, const struct linux32_sys_getpriority_args *, register_t *);
    913       1.1      manu 
    914  1.36.4.1      yamt int	netbsd32_setpriority(struct lwp *, const struct netbsd32_setpriority_args *, register_t *);
    915       1.1      manu 
    916      1.24       dsl int	linux32_sys_statfs(struct lwp *, const struct linux32_sys_statfs_args *, register_t *);
    917      1.16     njoly 
    918  1.36.4.2      yamt int	linux32_sys_fstatfs(struct lwp *, const struct linux32_sys_fstatfs_args *, register_t *);
    919  1.36.4.2      yamt 
    920      1.24       dsl int	linux32_sys_socketcall(struct lwp *, const struct linux32_sys_socketcall_args *, register_t *);
    921       1.1      manu 
    922  1.36.4.1      yamt int	compat_50_netbsd32_setitimer(struct lwp *, const struct compat_50_netbsd32_setitimer_args *, register_t *);
    923       1.1      manu 
    924  1.36.4.1      yamt int	compat_50_netbsd32_getitimer(struct lwp *, const struct compat_50_netbsd32_getitimer_args *, register_t *);
    925       1.1      manu 
    926  1.36.4.2      yamt int	linux32_sys_stat(struct lwp *, const struct linux32_sys_stat_args *, register_t *);
    927  1.36.4.2      yamt 
    928  1.36.4.2      yamt int	linux32_sys_lstat(struct lwp *, const struct linux32_sys_lstat_args *, register_t *);
    929  1.36.4.2      yamt 
    930  1.36.4.2      yamt int	linux32_sys_fstat(struct lwp *, const struct linux32_sys_fstat_args *, register_t *);
    931  1.36.4.2      yamt 
    932      1.27     njoly int	linux32_sys_olduname(struct lwp *, const struct linux32_sys_olduname_args *, register_t *);
    933      1.27     njoly 
    934      1.24       dsl int	linux32_sys_wait4(struct lwp *, const struct linux32_sys_wait4_args *, register_t *);
    935       1.1      manu 
    936      1.24       dsl int	linux32_sys_swapoff(struct lwp *, const struct linux32_sys_swapoff_args *, register_t *);
    937       1.1      manu 
    938      1.24       dsl int	linux32_sys_sysinfo(struct lwp *, const struct linux32_sys_sysinfo_args *, register_t *);
    939      1.10      manu 
    940  1.36.4.1      yamt int	linux32_sys_ipc(struct lwp *, const struct linux32_sys_ipc_args *, register_t *);
    941  1.36.4.1      yamt 
    942      1.24       dsl int	netbsd32_fsync(struct lwp *, const struct netbsd32_fsync_args *, register_t *);
    943       1.1      manu 
    944      1.24       dsl int	linux32_sys_sigreturn(struct lwp *, const struct linux32_sys_sigreturn_args *, register_t *);
    945       1.1      manu 
    946      1.24       dsl int	linux32_sys_clone(struct lwp *, const struct linux32_sys_clone_args *, register_t *);
    947       1.1      manu 
    948      1.24       dsl int	linux32_sys_uname(struct lwp *, const struct linux32_sys_uname_args *, register_t *);
    949       1.1      manu 
    950      1.24       dsl int	linux32_sys_mprotect(struct lwp *, const struct linux32_sys_mprotect_args *, register_t *);
    951       1.1      manu 
    952      1.26     njoly int	netbsd32_getpgid(struct lwp *, const struct netbsd32_getpgid_args *, register_t *);
    953      1.26     njoly 
    954      1.24       dsl int	netbsd32_fchdir(struct lwp *, const struct netbsd32_fchdir_args *, register_t *);
    955       1.1      manu 
    956  1.36.4.1      yamt int	linux32_sys_personality(struct lwp *, const struct linux32_sys_personality_args *, register_t *);
    957  1.36.4.1      yamt 
    958      1.24       dsl int	linux32_sys_setfsuid(struct lwp *, const struct linux32_sys_setfsuid_args *, register_t *);
    959      1.13     njoly 
    960      1.25     njoly int	linux32_sys_setfsgid(struct lwp *, const struct linux32_sys_setfsgid_args *, register_t *);
    961      1.13     njoly 
    962      1.24       dsl int	linux32_sys_llseek(struct lwp *, const struct linux32_sys_llseek_args *, register_t *);
    963       1.1      manu 
    964      1.24       dsl int	linux32_sys_getdents(struct lwp *, const struct linux32_sys_getdents_args *, register_t *);
    965       1.1      manu 
    966      1.24       dsl int	linux32_sys_select(struct lwp *, const struct linux32_sys_select_args *, register_t *);
    967       1.1      manu 
    968      1.24       dsl int	netbsd32_flock(struct lwp *, const struct netbsd32_flock_args *, register_t *);
    969       1.1      manu 
    970      1.35     njoly int	netbsd32___msync13(struct lwp *, const struct netbsd32___msync13_args *, register_t *);
    971      1.35     njoly 
    972      1.24       dsl int	netbsd32_readv(struct lwp *, const struct netbsd32_readv_args *, register_t *);
    973       1.1      manu 
    974      1.24       dsl int	netbsd32_writev(struct lwp *, const struct netbsd32_writev_args *, register_t *);
    975       1.1      manu 
    976      1.24       dsl int	netbsd32_getsid(struct lwp *, const struct netbsd32_getsid_args *, register_t *);
    977       1.1      manu 
    978      1.24       dsl int	linux32_sys_fdatasync(struct lwp *, const struct linux32_sys_fdatasync_args *, register_t *);
    979       1.9      manu 
    980      1.24       dsl int	linux32_sys___sysctl(struct lwp *, const struct linux32_sys___sysctl_args *, register_t *);
    981       1.1      manu 
    982      1.34     njoly int	netbsd32_mlock(struct lwp *, const struct netbsd32_mlock_args *, register_t *);
    983      1.34     njoly 
    984      1.34     njoly int	netbsd32_munlock(struct lwp *, const struct netbsd32_munlock_args *, register_t *);
    985      1.34     njoly 
    986      1.24       dsl int	netbsd32_mlockall(struct lwp *, const struct netbsd32_mlockall_args *, register_t *);
    987       1.1      manu 
    988      1.24       dsl int	sys_munlockall(struct lwp *, const void *, register_t *);
    989       1.1      manu 
    990      1.24       dsl int	linux32_sys_sched_getparam(struct lwp *, const struct linux32_sys_sched_getparam_args *, register_t *);
    991      1.10      manu 
    992      1.24       dsl int	linux32_sys_sched_setscheduler(struct lwp *, const struct linux32_sys_sched_setscheduler_args *, register_t *);
    993       1.1      manu 
    994      1.24       dsl int	linux32_sys_sched_getscheduler(struct lwp *, const struct linux32_sys_sched_getscheduler_args *, register_t *);
    995      1.10      manu 
    996      1.24       dsl int	linux_sys_sched_yield(struct lwp *, const void *, register_t *);
    997      1.13     njoly 
    998  1.36.4.1      yamt int	linux32_sys_sched_get_priority_max(struct lwp *, const struct linux32_sys_sched_get_priority_max_args *, register_t *);
    999  1.36.4.1      yamt 
   1000  1.36.4.1      yamt int	linux32_sys_sched_get_priority_min(struct lwp *, const struct linux32_sys_sched_get_priority_min_args *, register_t *);
   1001  1.36.4.1      yamt 
   1002  1.36.4.1      yamt int	linux32_sys_nanosleep(struct lwp *, const struct linux32_sys_nanosleep_args *, register_t *);
   1003       1.1      manu 
   1004      1.24       dsl int	linux32_sys_mremap(struct lwp *, const struct linux32_sys_mremap_args *, register_t *);
   1005      1.10      manu 
   1006      1.24       dsl int	linux32_sys_setresuid16(struct lwp *, const struct linux32_sys_setresuid16_args *, register_t *);
   1007       1.1      manu 
   1008      1.30     njoly int	linux32_sys_getresuid16(struct lwp *, const struct linux32_sys_getresuid16_args *, register_t *);
   1009      1.30     njoly 
   1010      1.24       dsl int	netbsd32_poll(struct lwp *, const struct netbsd32_poll_args *, register_t *);
   1011       1.1      manu 
   1012      1.24       dsl int	linux32_sys_setresgid16(struct lwp *, const struct linux32_sys_setresgid16_args *, register_t *);
   1013       1.1      manu 
   1014      1.30     njoly int	linux32_sys_getresgid16(struct lwp *, const struct linux32_sys_getresgid16_args *, register_t *);
   1015      1.30     njoly 
   1016      1.24       dsl int	linux32_sys_rt_sigreturn(struct lwp *, const struct linux32_sys_rt_sigreturn_args *, register_t *);
   1017       1.1      manu 
   1018      1.24       dsl int	linux32_sys_rt_sigaction(struct lwp *, const struct linux32_sys_rt_sigaction_args *, register_t *);
   1019       1.1      manu 
   1020      1.24       dsl int	linux32_sys_rt_sigprocmask(struct lwp *, const struct linux32_sys_rt_sigprocmask_args *, register_t *);
   1021       1.1      manu 
   1022  1.36.4.1      yamt int	linux32_sys_rt_sigpending(struct lwp *, const struct linux32_sys_rt_sigpending_args *, register_t *);
   1023  1.36.4.1      yamt 
   1024  1.36.4.2      yamt int	linux32_sys_rt_queueinfo(struct lwp *, const struct linux32_sys_rt_queueinfo_args *, register_t *);
   1025  1.36.4.2      yamt 
   1026      1.24       dsl int	linux32_sys_rt_sigsuspend(struct lwp *, const struct linux32_sys_rt_sigsuspend_args *, register_t *);
   1027       1.1      manu 
   1028      1.31       dsl int	linux32_sys_pread(struct lwp *, const struct linux32_sys_pread_args *, register_t *);
   1029      1.31       dsl 
   1030      1.31       dsl int	linux32_sys_pwrite(struct lwp *, const struct linux32_sys_pwrite_args *, register_t *);
   1031      1.31       dsl 
   1032      1.24       dsl int	linux32_sys_chown16(struct lwp *, const struct linux32_sys_chown16_args *, register_t *);
   1033      1.18     njoly 
   1034      1.24       dsl int	netbsd32___getcwd(struct lwp *, const struct netbsd32___getcwd_args *, register_t *);
   1035       1.2      manu 
   1036      1.24       dsl int	sys___vfork14(struct lwp *, const void *, register_t *);
   1037       1.1      manu 
   1038      1.24       dsl int	linux32_sys_ugetrlimit(struct lwp *, const struct linux32_sys_ugetrlimit_args *, register_t *);
   1039       1.1      manu 
   1040      1.24       dsl int	linux32_sys_mmap2(struct lwp *, const struct linux32_sys_mmap2_args *, register_t *);
   1041      1.10      manu 
   1042      1.24       dsl int	linux32_sys_stat64(struct lwp *, const struct linux32_sys_stat64_args *, register_t *);
   1043       1.1      manu 
   1044      1.24       dsl int	linux32_sys_lstat64(struct lwp *, const struct linux32_sys_lstat64_args *, register_t *);
   1045       1.1      manu 
   1046      1.24       dsl int	linux32_sys_fstat64(struct lwp *, const struct linux32_sys_fstat64_args *, register_t *);
   1047       1.1      manu 
   1048      1.24       dsl int	netbsd32___posix_lchown(struct lwp *, const struct netbsd32___posix_lchown_args *, register_t *);
   1049      1.18     njoly 
   1050      1.24       dsl int	netbsd32_setreuid(struct lwp *, const struct netbsd32_setreuid_args *, register_t *);
   1051       1.1      manu 
   1052      1.24       dsl int	netbsd32_setregid(struct lwp *, const struct netbsd32_setregid_args *, register_t *);
   1053       1.1      manu 
   1054      1.24       dsl int	netbsd32_getgroups(struct lwp *, const struct netbsd32_getgroups_args *, register_t *);
   1055       1.3      manu 
   1056      1.24       dsl int	netbsd32_setgroups(struct lwp *, const struct netbsd32_setgroups_args *, register_t *);
   1057       1.3      manu 
   1058      1.24       dsl int	netbsd32___posix_fchown(struct lwp *, const struct netbsd32___posix_fchown_args *, register_t *);
   1059       1.1      manu 
   1060      1.24       dsl int	linux32_sys_setresuid(struct lwp *, const struct linux32_sys_setresuid_args *, register_t *);
   1061       1.1      manu 
   1062  1.36.4.1      yamt int	linux32_sys_getresuid(struct lwp *, const struct linux32_sys_getresuid_args *, register_t *);
   1063  1.36.4.1      yamt 
   1064      1.24       dsl int	linux32_sys_setresgid(struct lwp *, const struct linux32_sys_setresgid_args *, register_t *);
   1065       1.1      manu 
   1066  1.36.4.1      yamt int	linux32_sys_getresgid(struct lwp *, const struct linux32_sys_getresgid_args *, register_t *);
   1067  1.36.4.1      yamt 
   1068      1.24       dsl int	netbsd32___posix_chown(struct lwp *, const struct netbsd32___posix_chown_args *, register_t *);
   1069      1.18     njoly 
   1070  1.36.4.1      yamt int	netbsd32_mincore(struct lwp *, const struct netbsd32_mincore_args *, register_t *);
   1071  1.36.4.1      yamt 
   1072      1.24       dsl int	netbsd32_madvise(struct lwp *, const struct netbsd32_madvise_args *, register_t *);
   1073      1.10      manu 
   1074      1.24       dsl int	linux32_sys_getdents64(struct lwp *, const struct linux32_sys_getdents64_args *, register_t *);
   1075       1.1      manu 
   1076      1.32       dsl #define linux32_sys_fcntl64 linux32_sys_fcntl
   1077      1.32       dsl #define linux32_sys_fcntl64_args linux32_sys_fcntl_args
   1078      1.24       dsl int	linux32_sys_fcntl64(struct lwp *, const struct linux32_sys_fcntl64_args *, register_t *);
   1079       1.1      manu 
   1080      1.24       dsl int	linux_sys_gettid(struct lwp *, const void *, register_t *);
   1081       1.4      manu 
   1082      1.24       dsl int	linux32_sys_exit_group(struct lwp *, const struct linux32_sys_exit_group_args *, register_t *);
   1083       1.1      manu 
   1084      1.36     njoly int	linux32_sys_clock_settime(struct lwp *, const struct linux32_sys_clock_settime_args *, register_t *);
   1085      1.36     njoly 
   1086      1.36     njoly int	linux32_sys_clock_gettime(struct lwp *, const struct linux32_sys_clock_gettime_args *, register_t *);
   1087      1.36     njoly 
   1088      1.36     njoly int	linux32_sys_clock_getres(struct lwp *, const struct linux32_sys_clock_getres_args *, register_t *);
   1089      1.36     njoly 
   1090  1.36.4.1      yamt int	linux32_sys_clock_nanosleep(struct lwp *, const struct linux32_sys_clock_nanosleep_args *, register_t *);
   1091  1.36.4.1      yamt 
   1092       1.1      manu #endif /* _LINUX32_SYS_SYSCALLARGS_H_ */
   1093