diff options
author | peter <peter@FreeBSD.org> | 2002-07-20 02:56:34 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-07-20 02:56:34 +0000 |
commit | c93c6004b25b975051ca29dacc68b54ce952cebd (patch) | |
tree | 7afcaafa25ce1248519e6b4037a7d36ca028b2d0 /sys/amd64 | |
parent | cc7b2e42482d2eb35468c5dd11903248b12692b2 (diff) | |
download | FreeBSD-src-c93c6004b25b975051ca29dacc68b54ce952cebd.zip FreeBSD-src-c93c6004b25b975051ca29dacc68b54ce952cebd.tar.gz |
Regenerate
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/ia32/ia32_proto.h | 1493 | ||||
-rw-r--r-- | sys/amd64/ia32/ia32_syscall.h | 168 | ||||
-rw-r--r-- | sys/amd64/ia32/ia32_sysent.c | 246 |
3 files changed, 311 insertions, 1596 deletions
diff --git a/sys/amd64/ia32/ia32_proto.h b/sys/amd64/ia32/ia32_proto.h index 5bb7abf..36b9e73 100644 --- a/sys/amd64/ia32/ia32_proto.h +++ b/sys/amd64/ia32/ia32_proto.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD + * created from FreeBSD: src/sys/ia64/ia32/syscalls.master,v 1.2 2002/07/20 02:56:10 peter Exp */ #ifndef _IA32_SYSPROTO_H_ @@ -28,508 +28,97 @@ struct thread; #define PADR_(t) 0 #endif -struct nosys_args { - register_t dummy; -}; -struct sys_exit_args { - char rval_l_[PADL_(int)]; int rval; char rval_r_[PADR_(int)]; -}; -struct fork_args { - register_t dummy; -}; -struct read_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)]; - char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; -}; -struct write_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)]; - char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; -}; -struct open_args { +struct ia32_open_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; }; -struct close_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; -}; -struct wait_args { +struct ia32_wait4_args { char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; char status_l_[PADL_(int *)]; int * status; char status_r_[PADR_(int *)]; char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; - char rusage_l_[PADL_(struct rusage *)]; struct rusage * rusage; char rusage_r_[PADR_(struct rusage *)]; + char rusage_l_[PADL_(struct rusage32 *)]; struct rusage32 * rusage; char rusage_r_[PADR_(struct rusage32 *)]; }; -struct link_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char link_l_[PADL_(char *)]; char * link; char link_r_[PADR_(char *)]; -}; -struct unlink_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; -}; -struct chdir_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; -}; -struct fchdir_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; -}; -struct mknod_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; - char dev_l_[PADL_(int)]; int dev; char dev_r_[PADR_(int)]; -}; -struct chmod_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; -}; -struct chown_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)]; - char gid_l_[PADL_(int)]; int gid; char gid_r_[PADR_(int)]; -}; -struct obreak_args { - char nsize_l_[PADL_(char *)]; char * nsize; char nsize_r_[PADR_(char *)]; -}; -struct getfsstat_args { - char buf_l_[PADL_(struct statfs *)]; struct statfs * buf; char buf_r_[PADR_(struct statfs *)]; +struct ia32_getfsstat_args { + char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)]; char bufsize_l_[PADL_(long)]; long bufsize; char bufsize_r_[PADR_(long)]; char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; }; -struct getpid_args { - register_t dummy; -}; -struct mount_args { - char type_l_[PADL_(char *)]; char * type; char type_r_[PADR_(char *)]; +struct ia32_access_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; - char data_l_[PADL_(caddr_t)]; caddr_t data; char data_r_[PADR_(caddr_t)]; }; -struct unmount_args { +struct ia32_chflags_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; }; -struct setuid_args { - char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; -}; -struct getuid_args { - register_t dummy; -}; -struct geteuid_args { - register_t dummy; -}; -struct ptrace_args { - char req_l_[PADL_(int)]; int req; char req_r_[PADR_(int)]; - char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; - char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)]; - char data_l_[PADL_(int)]; int data; char data_r_[PADR_(int)]; -}; -struct recvmsg_args { - char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; - char msg_l_[PADL_(struct msghdr *)]; struct msghdr * msg; char msg_r_[PADR_(struct msghdr *)]; - char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; -}; -struct sendmsg_args { - char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; - char msg_l_[PADL_(caddr_t)]; caddr_t msg; char msg_r_[PADR_(caddr_t)]; - char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; -}; -struct recvfrom_args { - char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; - char buf_l_[PADL_(caddr_t)]; caddr_t buf; char buf_r_[PADR_(caddr_t)]; - char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; - char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; - char from_l_[PADL_(caddr_t)]; caddr_t from; char from_r_[PADR_(caddr_t)]; - char fromlenaddr_l_[PADL_(int *)]; int * fromlenaddr; char fromlenaddr_r_[PADR_(int *)]; -}; -struct accept_args { - char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; - char name_l_[PADL_(caddr_t)]; caddr_t name; char name_r_[PADR_(caddr_t)]; - char anamelen_l_[PADL_(int *)]; int * anamelen; char anamelen_r_[PADR_(int *)]; -}; -struct getpeername_args { - char fdes_l_[PADL_(int)]; int fdes; char fdes_r_[PADR_(int)]; - char asa_l_[PADL_(caddr_t)]; caddr_t asa; char asa_r_[PADR_(caddr_t)]; - char alen_l_[PADL_(int *)]; int * alen; char alen_r_[PADR_(int *)]; -}; -struct getsockname_args { - char fdes_l_[PADL_(int)]; int fdes; char fdes_r_[PADR_(int)]; - char asa_l_[PADL_(caddr_t)]; caddr_t asa; char asa_r_[PADR_(caddr_t)]; - char alen_l_[PADL_(int *)]; int * alen; char alen_r_[PADR_(int *)]; +struct ia32_sigaltstack_args { + char ss_l_[PADL_(struct sigaltstack32 *)]; struct sigaltstack32 * ss; char ss_r_[PADR_(struct sigaltstack32 *)]; + char oss_l_[PADL_(struct sigaltstack32 *)]; struct sigaltstack32 * oss; char oss_r_[PADR_(struct sigaltstack32 *)]; }; -struct access_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; -}; -struct chflags_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; -}; -struct fchflags_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; -}; -struct sync_args { - register_t dummy; -}; -struct kill_args { - char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; - char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)]; -}; -struct getppid_args { - register_t dummy; -}; -struct dup_args { - char fd_l_[PADL_(u_int)]; u_int fd; char fd_r_[PADR_(u_int)]; -}; -struct pipe_args { - register_t dummy; -}; -struct getegid_args { - register_t dummy; -}; -struct profil_args { - char samples_l_[PADL_(caddr_t)]; caddr_t samples; char samples_r_[PADR_(caddr_t)]; - char size_l_[PADL_(size_t)]; size_t size; char size_r_[PADR_(size_t)]; - char offset_l_[PADL_(size_t)]; size_t offset; char offset_r_[PADR_(size_t)]; - char scale_l_[PADL_(u_int)]; u_int scale; char scale_r_[PADR_(u_int)]; -}; -struct ktrace_args { - char fname_l_[PADL_(const char *)]; const char * fname; char fname_r_[PADR_(const char *)]; - char ops_l_[PADL_(int)]; int ops; char ops_r_[PADR_(int)]; - char facs_l_[PADL_(int)]; int facs; char facs_r_[PADR_(int)]; - char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; -}; -struct getgid_args { - register_t dummy; -}; -struct getlogin_args { - char namebuf_l_[PADL_(char *)]; char * namebuf; char namebuf_r_[PADR_(char *)]; - char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)]; -}; -struct setlogin_args { - char namebuf_l_[PADL_(char *)]; char * namebuf; char namebuf_r_[PADR_(char *)]; -}; -struct acct_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; -}; -struct osigpending_args { - register_t dummy; -}; -struct sigaltstack_args { - char ss_l_[PADL_(stack_t *)]; stack_t * ss; char ss_r_[PADR_(stack_t *)]; - char oss_l_[PADL_(stack_t *)]; stack_t * oss; char oss_r_[PADR_(stack_t *)]; -}; -struct ioctl_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char com_l_[PADL_(u_long)]; u_long com; char com_r_[PADR_(u_long)]; - char data_l_[PADL_(caddr_t)]; caddr_t data; char data_r_[PADR_(caddr_t)]; -}; -struct reboot_args { - char opt_l_[PADL_(int)]; int opt; char opt_r_[PADR_(int)]; -}; -struct revoke_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; -}; -struct symlink_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char link_l_[PADL_(char *)]; char * link; char link_r_[PADR_(char *)]; -}; -struct readlink_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; - char count_l_[PADL_(int)]; int count; char count_r_[PADR_(int)]; -}; -struct execve_args { +struct ia32_execve_args { char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)]; - char argv_l_[PADL_(char **)]; char ** argv; char argv_r_[PADR_(char **)]; - char envv_l_[PADL_(char **)]; char ** envv; char envv_r_[PADR_(char **)]; + char argv_l_[PADL_(u_int32_t *)]; u_int32_t * argv; char argv_r_[PADR_(u_int32_t *)]; + char envv_l_[PADL_(u_int32_t *)]; u_int32_t * envv; char envv_r_[PADR_(u_int32_t *)]; }; -struct umask_args { - char newmask_l_[PADL_(int)]; int newmask; char newmask_r_[PADR_(int)]; -}; -struct chroot_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; -}; -struct getpagesize_args { - register_t dummy; -}; -struct msync_args { - char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)]; - char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; - char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; -}; -struct vfork_args { - register_t dummy; -}; -struct sbrk_args { - char incr_l_[PADL_(int)]; int incr; char incr_r_[PADR_(int)]; -}; -struct sstk_args { - char incr_l_[PADL_(int)]; int incr; char incr_r_[PADR_(int)]; -}; -struct ovadvise_args { - char anom_l_[PADL_(int)]; int anom; char anom_r_[PADR_(int)]; -}; -struct munmap_args { - char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)]; - char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; -}; -struct mprotect_args { - char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)]; - char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; - char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)]; -}; -struct madvise_args { - char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)]; - char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; - char behav_l_[PADL_(int)]; int behav; char behav_r_[PADR_(int)]; -}; -struct mincore_args { - char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)]; - char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; - char vec_l_[PADL_(char *)]; char * vec; char vec_r_[PADR_(char *)]; -}; -struct getgroups_args { - char gidsetsize_l_[PADL_(u_int)]; u_int gidsetsize; char gidsetsize_r_[PADR_(u_int)]; - char gidset_l_[PADL_(gid_t *)]; gid_t * gidset; char gidset_r_[PADR_(gid_t *)]; -}; -struct setgroups_args { - char gidsetsize_l_[PADL_(u_int)]; u_int gidsetsize; char gidsetsize_r_[PADR_(u_int)]; - char gidset_l_[PADL_(gid_t *)]; gid_t * gidset; char gidset_r_[PADR_(gid_t *)]; -}; -struct getpgrp_args { - register_t dummy; -}; -struct setpgid_args { - char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; - char pgid_l_[PADL_(int)]; int pgid; char pgid_r_[PADR_(int)]; -}; -struct setitimer_args { - char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; - char itv_l_[PADL_(struct itimerval *)]; struct itimerval * itv; char itv_r_[PADR_(struct itimerval *)]; - char oitv_l_[PADL_(struct itimerval *)]; struct itimerval * oitv; char oitv_r_[PADR_(struct itimerval *)]; -}; -struct owait_args { - register_t dummy; -}; -struct swapon_args { - char name_l_[PADL_(char *)]; char * name; char name_r_[PADR_(char *)]; -}; -struct getitimer_args { +struct ia32_setitimer_args { char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; - char itv_l_[PADL_(struct itimerval *)]; struct itimerval * itv; char itv_r_[PADR_(struct itimerval *)]; -}; -struct getdtablesize_args { - register_t dummy; + char itv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * itv; char itv_r_[PADR_(struct itimerval32 *)]; + char oitv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * oitv; char oitv_r_[PADR_(struct itimerval32 *)]; }; -struct dup2_args { - char from_l_[PADL_(u_int)]; u_int from; char from_r_[PADR_(u_int)]; - char to_l_[PADL_(u_int)]; u_int to; char to_r_[PADR_(u_int)]; -}; -struct fcntl_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; - char arg_l_[PADL_(long)]; long arg; char arg_r_[PADR_(long)]; -}; -struct select_args { +struct ia32_select_args { char nd_l_[PADL_(int)]; int nd; char nd_r_[PADR_(int)]; char in_l_[PADL_(fd_set *)]; fd_set * in; char in_r_[PADR_(fd_set *)]; char ou_l_[PADL_(fd_set *)]; fd_set * ou; char ou_r_[PADR_(fd_set *)]; char ex_l_[PADL_(fd_set *)]; fd_set * ex; char ex_r_[PADR_(fd_set *)]; - char tv_l_[PADL_(struct timeval *)]; struct timeval * tv; char tv_r_[PADR_(struct timeval *)]; -}; -struct fsync_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; -}; -struct setpriority_args { - char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; - char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)]; - char prio_l_[PADL_(int)]; int prio; char prio_r_[PADR_(int)]; -}; -struct socket_args { - char domain_l_[PADL_(int)]; int domain; char domain_r_[PADR_(int)]; - char type_l_[PADL_(int)]; int type; char type_r_[PADR_(int)]; - char protocol_l_[PADL_(int)]; int protocol; char protocol_r_[PADR_(int)]; -}; -struct connect_args { - char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; - char name_l_[PADL_(caddr_t)]; caddr_t name; char name_r_[PADR_(caddr_t)]; - char namelen_l_[PADL_(int)]; int namelen; char namelen_r_[PADR_(int)]; -}; -struct getpriority_args { - char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; - char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)]; -}; -struct osigreturn_args { - char sigcntxp_l_[PADL_(struct osigcontext *)]; struct osigcontext * sigcntxp; char sigcntxp_r_[PADR_(struct osigcontext *)]; -}; -struct bind_args { - char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; - char name_l_[PADL_(caddr_t)]; caddr_t name; char name_r_[PADR_(caddr_t)]; - char namelen_l_[PADL_(int)]; int namelen; char namelen_r_[PADR_(int)]; -}; -struct setsockopt_args { - char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; - char level_l_[PADL_(int)]; int level; char level_r_[PADR_(int)]; - char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; - char val_l_[PADL_(caddr_t)]; caddr_t val; char val_r_[PADR_(caddr_t)]; - char valsize_l_[PADL_(int)]; int valsize; char valsize_r_[PADR_(int)]; -}; -struct listen_args { - char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; - char backlog_l_[PADL_(int)]; int backlog; char backlog_r_[PADR_(int)]; + char tv_l_[PADL_(struct timeval32 *)]; struct timeval32 * tv; char tv_r_[PADR_(struct timeval32 *)]; }; -struct gettimeofday_args { - char tp_l_[PADL_(struct timeval *)]; struct timeval * tp; char tp_r_[PADR_(struct timeval *)]; +struct ia32_gettimeofday_args { + char tp_l_[PADL_(struct timeval32 *)]; struct timeval32 * tp; char tp_r_[PADR_(struct timeval32 *)]; char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)]; }; -struct getrusage_args { +struct ia32_getrusage_args { char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)]; - char rusage_l_[PADL_(struct rusage *)]; struct rusage * rusage; char rusage_r_[PADR_(struct rusage *)]; + char rusage_l_[PADL_(struct rusage32 *)]; struct rusage32 * rusage; char rusage_r_[PADR_(struct rusage32 *)]; }; -struct getsockopt_args { - char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; - char level_l_[PADL_(int)]; int level; char level_r_[PADR_(int)]; - char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; - char val_l_[PADL_(caddr_t)]; caddr_t val; char val_r_[PADR_(caddr_t)]; - char avalsize_l_[PADL_(int *)]; int * avalsize; char avalsize_r_[PADR_(int *)]; -}; -struct readv_args { +struct ia32_readv_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char iovp_l_[PADL_(struct iovec *)]; struct iovec * iovp; char iovp_r_[PADR_(struct iovec *)]; + char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)]; char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)]; }; -struct writev_args { +struct ia32_writev_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char iovp_l_[PADL_(struct iovec *)]; struct iovec * iovp; char iovp_r_[PADR_(struct iovec *)]; + char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)]; char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)]; }; -struct settimeofday_args { - char tv_l_[PADL_(struct timeval *)]; struct timeval * tv; char tv_r_[PADR_(struct timeval *)]; +struct ia32_settimeofday_args { + char tv_l_[PADL_(struct timeval32 *)]; struct timeval32 * tv; char tv_r_[PADR_(struct timeval32 *)]; char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)]; }; -struct fchown_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)]; - char gid_l_[PADL_(int)]; int gid; char gid_r_[PADR_(int)]; -}; -struct fchmod_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; -}; -struct setreuid_args { - char ruid_l_[PADL_(int)]; int ruid; char ruid_r_[PADR_(int)]; - char euid_l_[PADL_(int)]; int euid; char euid_r_[PADR_(int)]; -}; -struct setregid_args { - char rgid_l_[PADL_(int)]; int rgid; char rgid_r_[PADR_(int)]; - char egid_l_[PADL_(int)]; int egid; char egid_r_[PADR_(int)]; -}; -struct rename_args { - char from_l_[PADL_(char *)]; char * from; char from_r_[PADR_(char *)]; - char to_l_[PADL_(char *)]; char * to; char to_r_[PADR_(char *)]; -}; -struct flock_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; -}; -struct mkfifo_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; -}; -struct sendto_args { - char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; - char buf_l_[PADL_(caddr_t)]; caddr_t buf; char buf_r_[PADR_(caddr_t)]; - char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; - char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; - char to_l_[PADL_(caddr_t)]; caddr_t to; char to_r_[PADR_(caddr_t)]; - char tolen_l_[PADL_(int)]; int tolen; char tolen_r_[PADR_(int)]; -}; -struct shutdown_args { - char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; - char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; -}; -struct socketpair_args { - char domain_l_[PADL_(int)]; int domain; char domain_r_[PADR_(int)]; - char type_l_[PADL_(int)]; int type; char type_r_[PADR_(int)]; - char protocol_l_[PADL_(int)]; int protocol; char protocol_r_[PADR_(int)]; - char rsv_l_[PADL_(int *)]; int * rsv; char rsv_r_[PADR_(int *)]; -}; -struct mkdir_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; -}; -struct rmdir_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; -}; -struct utimes_args { +struct ia32_utimes_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char tptr_l_[PADL_(struct timeval *)]; struct timeval * tptr; char tptr_r_[PADR_(struct timeval *)]; -}; -struct adjtime_args { - char delta_l_[PADL_(struct timeval *)]; struct timeval * delta; char delta_r_[PADR_(struct timeval *)]; - char olddelta_l_[PADL_(struct timeval *)]; struct timeval * olddelta; char olddelta_r_[PADR_(struct timeval *)]; -}; -struct ogethostid_args { - register_t dummy; -}; -struct setsid_args { - register_t dummy; -}; -struct quotactl_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; - char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)]; - char arg_l_[PADL_(caddr_t)]; caddr_t arg; char arg_r_[PADR_(caddr_t)]; -}; -struct oquota_args { - register_t dummy; + char tptr_l_[PADL_(struct timeval32 *)]; struct timeval32 * tptr; char tptr_r_[PADR_(struct timeval32 *)]; }; -struct nfssvc_args { - char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; - char argp_l_[PADL_(caddr_t)]; caddr_t argp; char argp_r_[PADR_(caddr_t)]; +struct ia32_adjtime_args { + char delta_l_[PADL_(struct timeval32 *)]; struct timeval32 * delta; char delta_r_[PADR_(struct timeval32 *)]; + char olddelta_l_[PADL_(struct timeval32 *)]; struct timeval32 * olddelta; char olddelta_r_[PADR_(struct timeval32 *)]; }; -struct statfs_args { +struct ia32_statfs_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char buf_l_[PADL_(struct statfs *)]; struct statfs * buf; char buf_r_[PADR_(struct statfs *)]; + char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)]; }; -struct fstatfs_args { +struct ia32_fstatfs_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char buf_l_[PADL_(struct statfs *)]; struct statfs * buf; char buf_r_[PADR_(struct statfs *)]; + char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)]; }; -struct getfh_args { - char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)]; - char fhp_l_[PADL_(struct fhandle *)]; struct fhandle * fhp; char fhp_r_[PADR_(struct fhandle *)]; -}; -struct getdomainname_args { - char domainname_l_[PADL_(char *)]; char * domainname; char domainname_r_[PADR_(char *)]; - char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)]; -}; -struct setdomainname_args { - char domainname_l_[PADL_(char *)]; char * domainname; char domainname_r_[PADR_(char *)]; - char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)]; -}; -struct uname_args { - char name_l_[PADL_(struct utsname *)]; struct utsname * name; char name_r_[PADR_(struct utsname *)]; -}; -struct sysarch_args { - char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)]; - char parms_l_[PADL_(char *)]; char * parms; char parms_r_[PADR_(char *)]; -}; -struct rtprio_args { - char function_l_[PADL_(int)]; int function; char function_r_[PADR_(int)]; - char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; - char rtp_l_[PADL_(struct rtprio *)]; struct rtprio * rtp; char rtp_r_[PADR_(struct rtprio *)]; -}; -struct semsys_args { +struct ia32_semsys_args { char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)]; }; -struct msgsys_args { +struct ia32_msgsys_args { char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; @@ -537,991 +126,137 @@ struct msgsys_args { char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)]; char a6_l_[PADL_(int)]; int a6; char a6_r_[PADR_(int)]; }; -struct shmsys_args { +struct ia32_shmsys_args { char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; }; -struct pread_args { +struct ia32_pread_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)]; char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; - char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; + char offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)]; + char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_r_[PADR_(u_int32_t)]; }; -struct pwrite_args { +struct ia32_pwrite_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)]; char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; - char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; -}; -struct ntp_adjtime_args { - char tp_l_[PADL_(struct timex *)]; struct timex * tp; char tp_r_[PADR_(struct timex *)]; -}; -struct setgid_args { - char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; + char offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)]; + char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_r_[PADR_(u_int32_t)]; }; -struct setegid_args { - char egid_l_[PADL_(gid_t)]; gid_t egid; char egid_r_[PADR_(gid_t)]; -}; -struct seteuid_args { - char euid_l_[PADL_(uid_t)]; uid_t euid; char euid_r_[PADR_(uid_t)]; -}; -struct stat_args { +struct ia32_stat_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char ub_l_[PADL_(struct stat *)]; struct stat * ub; char ub_r_[PADR_(struct stat *)]; + char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)]; }; -struct fstat_args { +struct ia32_fstat_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char sb_l_[PADL_(struct stat *)]; struct stat * sb; char sb_r_[PADR_(struct stat *)]; -}; -struct lstat_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char ub_l_[PADL_(struct stat *)]; struct stat * ub; char ub_r_[PADR_(struct stat *)]; + char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)]; }; -struct pathconf_args { +struct ia32_lstat_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; -}; -struct fpathconf_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; -}; -struct __getrlimit_args { - char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; - char rlp_l_[PADL_(struct rlimit *)]; struct rlimit * rlp; char rlp_r_[PADR_(struct rlimit *)]; -}; -struct __setrlimit_args { - char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; - char rlp_l_[PADL_(struct rlimit *)]; struct rlimit * rlp; char rlp_r_[PADR_(struct rlimit *)]; -}; -struct getdirentries_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; - char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)]; - char basep_l_[PADL_(long *)]; long * basep; char basep_r_[PADR_(long *)]; + char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)]; }; -struct mmap_args { +struct ia32_mmap_args { char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)]; char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)]; char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; - char pos_l_[PADL_(off_t)]; off_t pos; char pos_r_[PADR_(off_t)]; + char poslo_l_[PADL_(u_int32_t)]; u_int32_t poslo; char poslo_r_[PADR_(u_int32_t)]; + char poshi_l_[PADL_(u_int32_t)]; u_int32_t poshi; char poshi_r_[PADR_(u_int32_t)]; }; -struct lseek_args { +struct ia32_lseek_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; - char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; + char offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)]; + char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_r_[PADR_(u_int32_t)]; char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; }; -struct truncate_args { +struct ia32_truncate_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; - char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)]; + char lengthlo_l_[PADL_(u_int32_t)]; u_int32_t lengthlo; char lengthlo_r_[PADR_(u_int32_t)]; + char lengthhi_l_[PADL_(u_int32_t)]; u_int32_t lengthhi; char lengthhi_r_[PADR_(u_int32_t)]; }; -struct ftruncate_args { +struct ia32_ftruncate_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; - char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)]; + char lengthlo_l_[PADL_(u_int32_t)]; u_int32_t lengthlo; char lengthlo_r_[PADR_(u_int32_t)]; + char lengthhi_l_[PADL_(u_int32_t)]; u_int32_t lengthhi; char lengthhi_r_[PADR_(u_int32_t)]; }; -struct sysctl_args { +struct ia32_sysctl_args { char name_l_[PADL_(int *)]; int * name; char name_r_[PADR_(int *)]; char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)]; char old_l_[PADL_(void *)]; void * old; char old_r_[PADR_(void *)]; - char oldlenp_l_[PADL_(size_t *)]; size_t * oldlenp; char oldlenp_r_[PADR_(size_t *)]; + char oldlenp_l_[PADL_(u_int32_t *)]; u_int32_t * oldlenp; char oldlenp_r_[PADR_(u_int32_t *)]; char new_l_[PADL_(void *)]; void * new; char new_r_[PADR_(void *)]; - char newlen_l_[PADL_(size_t)]; size_t newlen; char newlen_r_[PADR_(size_t)]; + char newlen_l_[PADL_(u_int32_t)]; u_int32_t newlen; char newlen_r_[PADR_(u_int32_t)]; }; -struct mlock_args { - char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)]; - char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; -}; -struct munlock_args { - char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)]; - char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; -}; -struct undelete_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; -}; -struct futimes_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char tptr_l_[PADL_(struct timeval *)]; struct timeval * tptr; char tptr_r_[PADR_(struct timeval *)]; -}; -struct getpgid_args { - char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; -}; -struct poll_args { - char fds_l_[PADL_(struct pollfd *)]; struct pollfd * fds; char fds_r_[PADR_(struct pollfd *)]; - char nfds_l_[PADL_(u_int)]; u_int nfds; char nfds_r_[PADR_(u_int)]; - char timeout_l_[PADL_(int)]; int timeout; char timeout_r_[PADR_(int)]; -}; -struct __semctl_args { - char semid_l_[PADL_(int)]; int semid; char semid_r_[PADR_(int)]; - char semnum_l_[PADL_(int)]; int semnum; char semnum_r_[PADR_(int)]; - char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; - char arg_l_[PADL_(union semun *)]; union semun * arg; char arg_r_[PADR_(union semun *)]; -}; -struct semget_args { - char key_l_[PADL_(key_t)]; key_t key; char key_r_[PADR_(key_t)]; - char nsems_l_[PADL_(int)]; int nsems; char nsems_r_[PADR_(int)]; - char semflg_l_[PADL_(int)]; int semflg; char semflg_r_[PADR_(int)]; -}; -struct semop_args { - char semid_l_[PADL_(int)]; int semid; char semid_r_[PADR_(int)]; - char sops_l_[PADL_(struct sembuf *)]; struct sembuf * sops; char sops_r_[PADR_(struct sembuf *)]; - char nsops_l_[PADL_(u_int)]; u_int nsops; char nsops_r_[PADR_(u_int)]; -}; -struct msgctl_args { - char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; - char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; - char buf_l_[PADL_(struct msqid_ds *)]; struct msqid_ds * buf; char buf_r_[PADR_(struct msqid_ds *)]; -}; -struct msgget_args { - char key_l_[PADL_(key_t)]; key_t key; char key_r_[PADR_(key_t)]; - char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)]; -}; -struct msgsnd_args { - char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; - char msgp_l_[PADL_(void *)]; void * msgp; char msgp_r_[PADR_(void *)]; - char msgsz_l_[PADL_(size_t)]; size_t msgsz; char msgsz_r_[PADR_(size_t)]; - char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)]; -}; -struct msgrcv_args { - char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; - char msgp_l_[PADL_(void *)]; void * msgp; char msgp_r_[PADR_(void *)]; - char msgsz_l_[PADL_(size_t)]; size_t msgsz; char msgsz_r_[PADR_(size_t)]; - char msgtyp_l_[PADL_(long)]; long msgtyp; char msgtyp_r_[PADR_(long)]; - char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)]; -}; -struct shmat_args { - char shmid_l_[PADL_(int)]; int shmid; char shmid_r_[PADR_(int)]; - char shmaddr_l_[PADL_(void *)]; void * shmaddr; char shmaddr_r_[PADR_(void *)]; - char shmflg_l_[PADL_(int)]; int shmflg; char shmflg_r_[PADR_(int)]; -}; -struct shmctl_args { - char shmid_l_[PADL_(int)]; int shmid; char shmid_r_[PADR_(int)]; - char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; - char buf_l_[PADL_(struct shmid_ds *)]; struct shmid_ds * buf; char buf_r_[PADR_(struct shmid_ds *)]; -}; -struct shmdt_args { - char shmaddr_l_[PADL_(void *)]; void * shmaddr; char shmaddr_r_[PADR_(void *)]; -}; -struct shmget_args { - char key_l_[PADL_(key_t)]; key_t key; char key_r_[PADR_(key_t)]; - char size_l_[PADL_(int)]; int size; char size_r_[PADR_(int)]; - char shmflg_l_[PADL_(int)]; int shmflg; char shmflg_r_[PADR_(int)]; -}; -struct clock_gettime_args { - char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)]; - char tp_l_[PADL_(struct timespec *)]; struct timespec * tp; char tp_r_[PADR_(struct timespec *)]; -}; -struct clock_settime_args { - char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)]; - char tp_l_[PADL_(const struct timespec *)]; const struct timespec * tp; char tp_r_[PADR_(const struct timespec *)]; -}; -struct clock_getres_args { - char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)]; - char tp_l_[PADL_(struct timespec *)]; struct timespec * tp; char tp_r_[PADR_(struct timespec *)]; -}; -struct nanosleep_args { - char rqtp_l_[PADL_(const struct timespec *)]; const struct timespec * rqtp; char rqtp_r_[PADR_(const struct timespec *)]; - char rmtp_l_[PADL_(struct timespec *)]; struct timespec * rmtp; char rmtp_r_[PADR_(struct timespec *)]; -}; -struct minherit_args { - char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)]; - char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; - char inherit_l_[PADL_(int)]; int inherit; char inherit_r_[PADR_(int)]; -}; -struct rfork_args { - char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; -}; -struct openbsd_poll_args { - char fds_l_[PADL_(struct pollfd *)]; struct pollfd * fds; char fds_r_[PADR_(struct pollfd *)]; - char nfds_l_[PADL_(u_int)]; u_int nfds; char nfds_r_[PADR_(u_int)]; - char timeout_l_[PADL_(int)]; int timeout; char timeout_r_[PADR_(int)]; -}; -struct issetugid_args { - register_t dummy; -}; -struct lchown_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)]; - char gid_l_[PADL_(int)]; int gid; char gid_r_[PADR_(int)]; -}; -struct getdents_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; - char count_l_[PADL_(size_t)]; size_t count; char count_r_[PADR_(size_t)]; -}; -struct lchmod_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)]; -}; -struct lutimes_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char tptr_l_[PADL_(struct timeval *)]; struct timeval * tptr; char tptr_r_[PADR_(struct timeval *)]; -}; -struct nstat_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char ub_l_[PADL_(struct nstat *)]; struct nstat * ub; char ub_r_[PADR_(struct nstat *)]; -}; -struct nfstat_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char sb_l_[PADL_(struct nstat *)]; struct nstat * sb; char sb_r_[PADR_(struct nstat *)]; -}; -struct nlstat_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char ub_l_[PADL_(struct nstat *)]; struct nstat * ub; char ub_r_[PADR_(struct nstat *)]; -}; -struct fhstatfs_args { - char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)]; - char buf_l_[PADL_(struct statfs *)]; struct statfs * buf; char buf_r_[PADR_(struct statfs *)]; -}; -struct fhopen_args { - char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)]; - char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; -}; -struct fhstat_args { - char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)]; - char sb_l_[PADL_(struct stat *)]; struct stat * sb; char sb_r_[PADR_(struct stat *)]; -}; -struct modnext_args { - char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)]; -}; -struct modstat_args { - char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)]; - char stat_l_[PADL_(struct module_stat *)]; struct module_stat * stat; char stat_r_[PADR_(struct module_stat *)]; -}; -struct modfnext_args { - char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)]; -}; -struct modfind_args { - char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)]; -}; -struct kldload_args { - char file_l_[PADL_(const char *)]; const char * file; char file_r_[PADR_(const char *)]; -}; -struct kldunload_args { - char fileid_l_[PADL_(int)]; int fileid; char fileid_r_[PADR_(int)]; -}; -struct kldfind_args { - char file_l_[PADL_(const char *)]; const char * file; char file_r_[PADR_(const char *)]; -}; -struct kldnext_args { - char fileid_l_[PADL_(int)]; int fileid; char fileid_r_[PADR_(int)]; -}; -struct kldstat_args { - char fileid_l_[PADL_(int)]; int fileid; char fileid_r_[PADR_(int)]; - char stat_l_[PADL_(struct kld_file_stat *)]; struct kld_file_stat * stat; char stat_r_[PADR_(struct kld_file_stat *)]; -}; -struct kldfirstmod_args { - char fileid_l_[PADL_(int)]; int fileid; char fileid_r_[PADR_(int)]; -}; -struct getsid_args { - char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; -}; -struct setresuid_args { - char ruid_l_[PADL_(uid_t)]; uid_t ruid; char ruid_r_[PADR_(uid_t)]; - char euid_l_[PADL_(uid_t)]; uid_t euid; char euid_r_[PADR_(uid_t)]; - char suid_l_[PADL_(uid_t)]; uid_t suid; char suid_r_[PADR_(uid_t)]; -}; -struct setresgid_args { - char rgid_l_[PADL_(gid_t)]; gid_t rgid; char rgid_r_[PADR_(gid_t)]; - char egid_l_[PADL_(gid_t)]; gid_t egid; char egid_r_[PADR_(gid_t)]; - char sgid_l_[PADL_(gid_t)]; gid_t sgid; char sgid_r_[PADR_(gid_t)]; -}; -struct aio_return_args { - char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)]; -}; -struct aio_suspend_args { - char aiocbp_l_[PADL_(struct aiocb *const *)]; struct aiocb *const * aiocbp; char aiocbp_r_[PADR_(struct aiocb *const *)]; - char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)]; - char timeout_l_[PADL_(const struct timespec *)]; const struct timespec * timeout; char timeout_r_[PADR_(const struct timespec *)]; -}; -struct aio_cancel_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)]; -}; -struct aio_error_args { - char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)]; -}; -struct aio_read_args { - char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)]; -}; -struct aio_write_args { - char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)]; -}; -struct lio_listio_args { - char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; - char acb_list_l_[PADL_(struct aiocb *const *)]; struct aiocb *const * acb_list; char acb_list_r_[PADR_(struct aiocb *const *)]; - char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)]; - char sig_l_[PADL_(struct sigevent *)]; struct sigevent * sig; char sig_r_[PADR_(struct sigevent *)]; -}; -struct yield_args { - register_t dummy; -}; -struct mlockall_args { - char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; -}; -struct munlockall_args { - register_t dummy; -}; -struct __getcwd_args { - char buf_l_[PADL_(u_char *)]; u_char * buf; char buf_r_[PADR_(u_char *)]; - char buflen_l_[PADL_(u_int)]; u_int buflen; char buflen_r_[PADR_(u_int)]; -}; -struct sched_setparam_args { - char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; - char param_l_[PADL_(const struct sched_param *)]; const struct sched_param * param; char param_r_[PADR_(const struct sched_param *)]; -}; -struct sched_getparam_args { - char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; - char param_l_[PADL_(struct sched_param *)]; struct sched_param * param; char param_r_[PADR_(struct sched_param *)]; -}; -struct sched_setscheduler_args { - char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; - char policy_l_[PADL_(int)]; int policy; char policy_r_[PADR_(int)]; - char param_l_[PADL_(const struct sched_param *)]; const struct sched_param * param; char param_r_[PADR_(const struct sched_param *)]; -}; -struct sched_getscheduler_args { - char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; -}; -struct sched_yield_args { - register_t dummy; -}; -struct sched_get_priority_max_args { - char policy_l_[PADL_(int)]; int policy; char policy_r_[PADR_(int)]; -}; -struct sched_get_priority_min_args { - char policy_l_[PADL_(int)]; int policy; char policy_r_[PADR_(int)]; -}; -struct sched_rr_get_interval_args { - char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; - char interval_l_[PADL_(struct timespec *)]; struct timespec * interval; char interval_r_[PADR_(struct timespec *)]; -}; -struct utrace_args { - char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)]; - char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; -}; -struct sendfile_args { +struct ia32_sendfile_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; - char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; + char offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)]; + char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_r_[PADR_(u_int32_t)]; char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)]; char hdtr_l_[PADL_(struct sf_hdtr *)]; struct sf_hdtr * hdtr; char hdtr_r_[PADR_(struct sf_hdtr *)]; char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)]; char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; }; -struct kldsym_args { - char fileid_l_[PADL_(int)]; int fileid; char fileid_r_[PADR_(int)]; - char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; - char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)]; -}; -struct jail_args { - char jail_l_[PADL_(struct jail *)]; struct jail * jail; char jail_r_[PADR_(struct jail *)]; -}; -struct sigprocmask_args { - char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; - char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)]; - char oset_l_[PADL_(sigset_t *)]; sigset_t * oset; char oset_r_[PADR_(sigset_t *)]; -}; -struct sigsuspend_args { - char sigmask_l_[PADL_(const sigset_t *)]; const sigset_t * sigmask; char sigmask_r_[PADR_(const sigset_t *)]; -}; -struct sigaction_args { +struct ia32_sigaction_args { char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)]; - char act_l_[PADL_(const struct sigaction *)]; const struct sigaction * act; char act_r_[PADR_(const struct sigaction *)]; - char oact_l_[PADL_(struct sigaction *)]; struct sigaction * oact; char oact_r_[PADR_(struct sigaction *)]; -}; -struct sigpending_args { - char set_l_[PADL_(sigset_t *)]; sigset_t * set; char set_r_[PADR_(sigset_t *)]; -}; -struct sigreturn_args { - char sigcntxp_l_[PADL_(const struct __ucontext *)]; const struct __ucontext * sigcntxp; char sigcntxp_r_[PADR_(const struct __ucontext *)]; -}; -struct __acl_get_file_args { - char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)]; - char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)]; - char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)]; -}; -struct __acl_set_file_args { - char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)]; - char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)]; - char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)]; -}; -struct __acl_get_fd_args { - char filedes_l_[PADL_(int)]; int filedes; char filedes_r_[PADR_(int)]; - char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)]; - char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)]; -}; -struct __acl_set_fd_args { - char filedes_l_[PADL_(int)]; int filedes; char filedes_r_[PADR_(int)]; - char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)]; - char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)]; -}; -struct __acl_delete_file_args { - char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)]; - char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)]; -}; -struct __acl_delete_fd_args { - char filedes_l_[PADL_(int)]; int filedes; char filedes_r_[PADR_(int)]; - char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)]; -}; -struct __acl_aclcheck_file_args { - char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)]; - char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)]; - char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)]; -}; -struct __acl_aclcheck_fd_args { - char filedes_l_[PADL_(int)]; int filedes; char filedes_r_[PADR_(int)]; - char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)]; - char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)]; -}; -struct extattrctl_args { - char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)]; - char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; - char filename_l_[PADL_(const char *)]; const char * filename; char filename_r_[PADR_(const char *)]; - char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)]; - char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)]; -}; -struct extattr_set_file_args { - char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)]; - char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)]; - char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)]; - char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)]; - char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)]; -}; -struct extattr_get_file_args { - char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)]; - char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)]; - char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)]; - char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)]; - char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)]; -}; -struct extattr_delete_file_args { - char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)]; - char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)]; - char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)]; -}; -struct aio_waitcomplete_args { - char aiocbp_l_[PADL_(struct aiocb **)]; struct aiocb ** aiocbp; char aiocbp_r_[PADR_(struct aiocb **)]; - char timeout_l_[PADL_(struct timespec *)]; struct timespec * timeout; char timeout_r_[PADR_(struct timespec *)]; -}; -struct getresuid_args { - char ruid_l_[PADL_(uid_t *)]; uid_t * ruid; char ruid_r_[PADR_(uid_t *)]; - char euid_l_[PADL_(uid_t *)]; uid_t * euid; char euid_r_[PADR_(uid_t *)]; - char suid_l_[PADL_(uid_t *)]; uid_t * suid; char suid_r_[PADR_(uid_t *)]; -}; -struct getresgid_args { - char rgid_l_[PADL_(gid_t *)]; gid_t * rgid; char rgid_r_[PADR_(gid_t *)]; - char egid_l_[PADL_(gid_t *)]; gid_t * egid; char egid_r_[PADR_(gid_t *)]; - char sgid_l_[PADL_(gid_t *)]; gid_t * sgid; char sgid_r_[PADR_(gid_t *)]; -}; -struct kqueue_args { - register_t dummy; -}; -struct kevent_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char changelist_l_[PADL_(const struct kevent *)]; const struct kevent * changelist; char changelist_r_[PADR_(const struct kevent *)]; - char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; - char eventlist_l_[PADL_(struct kevent *)]; struct kevent * eventlist; char eventlist_r_[PADR_(struct kevent *)]; - char nevents_l_[PADL_(int)]; int nevents; char nevents_r_[PADR_(int)]; - char timeout_l_[PADL_(const struct timespec *)]; const struct timespec * timeout; char timeout_r_[PADR_(const struct timespec *)]; -}; -struct __cap_get_proc_args { - char cap_p_l_[PADL_(struct cap *)]; struct cap * cap_p; char cap_p_r_[PADR_(struct cap *)]; -}; -struct __cap_set_proc_args { - char cap_p_l_[PADL_(struct cap *)]; struct cap * cap_p; char cap_p_r_[PADR_(struct cap *)]; -}; -struct __cap_get_fd_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char cap_p_l_[PADL_(struct cap *)]; struct cap * cap_p; char cap_p_r_[PADR_(struct cap *)]; -}; -struct __cap_get_file_args { - char path_p_l_[PADL_(const char *)]; const char * path_p; char path_p_r_[PADR_(const char *)]; - char cap_p_l_[PADL_(struct cap *)]; struct cap * cap_p; char cap_p_r_[PADR_(struct cap *)]; -}; -struct __cap_set_fd_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char cap_p_l_[PADL_(struct cap *)]; struct cap * cap_p; char cap_p_r_[PADR_(struct cap *)]; -}; -struct __cap_set_file_args { - char path_p_l_[PADL_(const char *)]; const char * path_p; char path_p_r_[PADR_(const char *)]; - char cap_p_l_[PADL_(struct cap *)]; struct cap * cap_p; char cap_p_r_[PADR_(struct cap *)]; -}; -struct extattr_set_fd_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)]; - char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)]; - char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)]; - char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)]; -}; -struct extattr_get_fd_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)]; - char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)]; - char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)]; - char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)]; -}; -struct extattr_delete_fd_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)]; - char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)]; -}; -struct __setugid_args { - char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; -}; -struct nfsclnt_args { - char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; - char argp_l_[PADL_(caddr_t)]; caddr_t argp; char argp_r_[PADR_(caddr_t)]; -}; -struct eaccess_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; -}; -struct nmount_args { - char iovp_l_[PADL_(struct iovec *)]; struct iovec * iovp; char iovp_r_[PADR_(struct iovec *)]; - char iovcnt_l_[PADL_(unsigned int)]; unsigned int iovcnt; char iovcnt_r_[PADR_(unsigned int)]; - char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; -}; -struct kse_exit_args { - register_t dummy; -}; -struct kse_wakeup_args { - register_t dummy; -}; -struct kse_new_args { - char mbx_l_[PADL_(struct kse_mailbox *)]; struct kse_mailbox * mbx; char mbx_r_[PADR_(struct kse_mailbox *)]; - char new_grp_flag_l_[PADL_(int)]; int new_grp_flag; char new_grp_flag_r_[PADR_(int)]; -}; -struct thread_wakeup_args { - char tmbx_l_[PADL_(struct thread_mailbox *)]; struct thread_mailbox * tmbx; char tmbx_r_[PADR_(struct thread_mailbox *)]; -}; -struct kse_yield_args { - register_t dummy; -}; -int nosys(struct thread *, struct nosys_args *); -void sys_exit(struct thread *, struct sys_exit_args *); -int fork(struct thread *, struct fork_args *); -int read(struct thread *, struct read_args *); -int write(struct thread *, struct write_args *); -int open(struct thread *, struct open_args *); -int close(struct thread *, struct close_args *); -int wait4(struct thread *, struct wait_args *); -int link(struct thread *, struct link_args *); -int unlink(struct thread *, struct unlink_args *); -int chdir(struct thread *, struct chdir_args *); -int fchdir(struct thread *, struct fchdir_args *); -int mknod(struct thread *, struct mknod_args *); -int chmod(struct thread *, struct chmod_args *); -int chown(struct thread *, struct chown_args *); -int obreak(struct thread *, struct obreak_args *); -int getfsstat(struct thread *, struct getfsstat_args *); -int getpid(struct thread *, struct getpid_args *); -int mount(struct thread *, struct mount_args *); -int unmount(struct thread *, struct unmount_args *); -int setuid(struct thread *, struct setuid_args *); -int getuid(struct thread *, struct getuid_args *); -int geteuid(struct thread *, struct geteuid_args *); -int ptrace(struct thread *, struct ptrace_args *); -int recvmsg(struct thread *, struct recvmsg_args *); -int sendmsg(struct thread *, struct sendmsg_args *); -int recvfrom(struct thread *, struct recvfrom_args *); -int accept(struct thread *, struct accept_args *); -int getpeername(struct thread *, struct getpeername_args *); -int getsockname(struct thread *, struct getsockname_args *); -int access(struct thread *, struct access_args *); -int chflags(struct thread *, struct chflags_args *); -int fchflags(struct thread *, struct fchflags_args *); -int sync(struct thread *, struct sync_args *); -int kill(struct thread *, struct kill_args *); -int getppid(struct thread *, struct getppid_args *); -int dup(struct thread *, struct dup_args *); -int pipe(struct thread *, struct pipe_args *); -int getegid(struct thread *, struct getegid_args *); -int profil(struct thread *, struct profil_args *); -int ktrace(struct thread *, struct ktrace_args *); -int getgid(struct thread *, struct getgid_args *); -int getlogin(struct thread *, struct getlogin_args *); -int setlogin(struct thread *, struct setlogin_args *); -int acct(struct thread *, struct acct_args *); -int sigaltstack(struct thread *, struct sigaltstack_args *); -int ioctl(struct thread *, struct ioctl_args *); -int reboot(struct thread *, struct reboot_args *); -int revoke(struct thread *, struct revoke_args *); -int symlink(struct thread *, struct symlink_args *); -int readlink(struct thread *, struct readlink_args *); -int execve(struct thread *, struct execve_args *); -int umask(struct thread *, struct umask_args *); -int chroot(struct thread *, struct chroot_args *); -int msync(struct thread *, struct msync_args *); -int vfork(struct thread *, struct vfork_args *); -int sbrk(struct thread *, struct sbrk_args *); -int sstk(struct thread *, struct sstk_args *); -int ovadvise(struct thread *, struct ovadvise_args *); -int munmap(struct thread *, struct munmap_args *); -int mprotect(struct thread *, struct mprotect_args *); -int madvise(struct thread *, struct madvise_args *); -int mincore(struct thread *, struct mincore_args *); -int getgroups(struct thread *, struct getgroups_args *); -int setgroups(struct thread *, struct setgroups_args *); -int getpgrp(struct thread *, struct getpgrp_args *); -int setpgid(struct thread *, struct setpgid_args *); -int setitimer(struct thread *, struct setitimer_args *); -int swapon(struct thread *, struct swapon_args *); -int getitimer(struct thread *, struct getitimer_args *); -int getdtablesize(struct thread *, struct getdtablesize_args *); -int dup2(struct thread *, struct dup2_args *); -int fcntl(struct thread *, struct fcntl_args *); -int select(struct thread *, struct select_args *); -int fsync(struct thread *, struct fsync_args *); -int setpriority(struct thread *, struct setpriority_args *); -int socket(struct thread *, struct socket_args *); -int connect(struct thread *, struct connect_args *); -int getpriority(struct thread *, struct getpriority_args *); -int osigreturn(struct thread *, struct osigreturn_args *); -int bind(struct thread *, struct bind_args *); -int setsockopt(struct thread *, struct setsockopt_args *); -int listen(struct thread *, struct listen_args *); -int gettimeofday(struct thread *, struct gettimeofday_args *); -int getrusage(struct thread *, struct getrusage_args *); -int getsockopt(struct thread *, struct getsockopt_args *); -int readv(struct thread *, struct readv_args *); -int writev(struct thread *, struct writev_args *); -int settimeofday(struct thread *, struct settimeofday_args *); -int fchown(struct thread *, struct fchown_args *); -int fchmod(struct thread *, struct fchmod_args *); -int setreuid(struct thread *, struct setreuid_args *); -int setregid(struct thread *, struct setregid_args *); -int rename(struct thread *, struct rename_args *); -int flock(struct thread *, struct flock_args *); -int mkfifo(struct thread *, struct mkfifo_args *); -int sendto(struct thread *, struct sendto_args *); -int shutdown(struct thread *, struct shutdown_args *); -int socketpair(struct thread *, struct socketpair_args *); -int mkdir(struct thread *, struct mkdir_args *); -int rmdir(struct thread *, struct rmdir_args *); -int utimes(struct thread *, struct utimes_args *); -int adjtime(struct thread *, struct adjtime_args *); -int setsid(struct thread *, struct setsid_args *); -int quotactl(struct thread *, struct quotactl_args *); -int nfssvc(struct thread *, struct nfssvc_args *); -int statfs(struct thread *, struct statfs_args *); -int fstatfs(struct thread *, struct fstatfs_args *); -int getfh(struct thread *, struct getfh_args *); -int getdomainname(struct thread *, struct getdomainname_args *); -int setdomainname(struct thread *, struct setdomainname_args *); -int uname(struct thread *, struct uname_args *); -int sysarch(struct thread *, struct sysarch_args *); -int rtprio(struct thread *, struct rtprio_args *); -int semsys(struct thread *, struct semsys_args *); -int msgsys(struct thread *, struct msgsys_args *); -int shmsys(struct thread *, struct shmsys_args *); -int pread(struct thread *, struct pread_args *); -int pwrite(struct thread *, struct pwrite_args *); -int ntp_adjtime(struct thread *, struct ntp_adjtime_args *); -int setgid(struct thread *, struct setgid_args *); -int setegid(struct thread *, struct setegid_args *); -int seteuid(struct thread *, struct seteuid_args *); -int stat(struct thread *, struct stat_args *); -int fstat(struct thread *, struct fstat_args *); -int lstat(struct thread *, struct lstat_args *); -int pathconf(struct thread *, struct pathconf_args *); -int fpathconf(struct thread *, struct fpathconf_args *); -int getrlimit(struct thread *, struct __getrlimit_args *); -int setrlimit(struct thread *, struct __setrlimit_args *); -int getdirentries(struct thread *, struct getdirentries_args *); -int mmap(struct thread *, struct mmap_args *); -int lseek(struct thread *, struct lseek_args *); -int truncate(struct thread *, struct truncate_args *); -int ftruncate(struct thread *, struct ftruncate_args *); -int __sysctl(struct thread *, struct sysctl_args *); -int mlock(struct thread *, struct mlock_args *); -int munlock(struct thread *, struct munlock_args *); -int undelete(struct thread *, struct undelete_args *); -int futimes(struct thread *, struct futimes_args *); -int getpgid(struct thread *, struct getpgid_args *); -int poll(struct thread *, struct poll_args *); -int lkmnosys(struct thread *, struct nosys_args *); -int __semctl(struct thread *, struct __semctl_args *); -int semget(struct thread *, struct semget_args *); -int semop(struct thread *, struct semop_args *); -int msgctl(struct thread *, struct msgctl_args *); -int msgget(struct thread *, struct msgget_args *); -int msgsnd(struct thread *, struct msgsnd_args *); -int msgrcv(struct thread *, struct msgrcv_args *); -int shmat(struct thread *, struct shmat_args *); -int shmctl(struct thread *, struct shmctl_args *); -int shmdt(struct thread *, struct shmdt_args *); -int shmget(struct thread *, struct shmget_args *); -int clock_gettime(struct thread *, struct clock_gettime_args *); -int clock_settime(struct thread *, struct clock_settime_args *); -int clock_getres(struct thread *, struct clock_getres_args *); -int nanosleep(struct thread *, struct nanosleep_args *); -int minherit(struct thread *, struct minherit_args *); -int rfork(struct thread *, struct rfork_args *); -int openbsd_poll(struct thread *, struct openbsd_poll_args *); -int issetugid(struct thread *, struct issetugid_args *); -int lchown(struct thread *, struct lchown_args *); -int getdents(struct thread *, struct getdents_args *); -int lchmod(struct thread *, struct lchmod_args *); -int lutimes(struct thread *, struct lutimes_args *); -int nstat(struct thread *, struct nstat_args *); -int nfstat(struct thread *, struct nfstat_args *); -int nlstat(struct thread *, struct nlstat_args *); -int fhstatfs(struct thread *, struct fhstatfs_args *); -int fhopen(struct thread *, struct fhopen_args *); -int fhstat(struct thread *, struct fhstat_args *); -int modnext(struct thread *, struct modnext_args *); -int modstat(struct thread *, struct modstat_args *); -int modfnext(struct thread *, struct modfnext_args *); -int modfind(struct thread *, struct modfind_args *); -int kldload(struct thread *, struct kldload_args *); -int kldunload(struct thread *, struct kldunload_args *); -int kldfind(struct thread *, struct kldfind_args *); -int kldnext(struct thread *, struct kldnext_args *); -int kldstat(struct thread *, struct kldstat_args *); -int kldfirstmod(struct thread *, struct kldfirstmod_args *); -int getsid(struct thread *, struct getsid_args *); -int setresuid(struct thread *, struct setresuid_args *); -int setresgid(struct thread *, struct setresgid_args *); -int aio_return(struct thread *, struct aio_return_args *); -int aio_suspend(struct thread *, struct aio_suspend_args *); -int aio_cancel(struct thread *, struct aio_cancel_args *); -int aio_error(struct thread *, struct aio_error_args *); -int aio_read(struct thread *, struct aio_read_args *); -int aio_write(struct thread *, struct aio_write_args *); -int lio_listio(struct thread *, struct lio_listio_args *); -int yield(struct thread *, struct yield_args *); -int mlockall(struct thread *, struct mlockall_args *); -int munlockall(struct thread *, struct munlockall_args *); -int __getcwd(struct thread *, struct __getcwd_args *); -int sched_setparam(struct thread *, struct sched_setparam_args *); -int sched_getparam(struct thread *, struct sched_getparam_args *); -int sched_setscheduler(struct thread *, struct sched_setscheduler_args *); -int sched_getscheduler(struct thread *, struct sched_getscheduler_args *); -int sched_yield(struct thread *, struct sched_yield_args *); -int sched_get_priority_max(struct thread *, struct sched_get_priority_max_args *); -int sched_get_priority_min(struct thread *, struct sched_get_priority_min_args *); -int sched_rr_get_interval(struct thread *, struct sched_rr_get_interval_args *); -int utrace(struct thread *, struct utrace_args *); -int sendfile(struct thread *, struct sendfile_args *); -int kldsym(struct thread *, struct kldsym_args *); -int jail(struct thread *, struct jail_args *); -int sigprocmask(struct thread *, struct sigprocmask_args *); -int sigsuspend(struct thread *, struct sigsuspend_args *); -int sigaction(struct thread *, struct sigaction_args *); -int sigpending(struct thread *, struct sigpending_args *); -int sigreturn(struct thread *, struct sigreturn_args *); -int __acl_get_file(struct thread *, struct __acl_get_file_args *); -int __acl_set_file(struct thread *, struct __acl_set_file_args *); -int __acl_get_fd(struct thread *, struct __acl_get_fd_args *); -int __acl_set_fd(struct thread *, struct __acl_set_fd_args *); -int __acl_delete_file(struct thread *, struct __acl_delete_file_args *); -int __acl_delete_fd(struct thread *, struct __acl_delete_fd_args *); -int __acl_aclcheck_file(struct thread *, struct __acl_aclcheck_file_args *); -int __acl_aclcheck_fd(struct thread *, struct __acl_aclcheck_fd_args *); -int extattrctl(struct thread *, struct extattrctl_args *); -int extattr_set_file(struct thread *, struct extattr_set_file_args *); -int extattr_get_file(struct thread *, struct extattr_get_file_args *); -int extattr_delete_file(struct thread *, struct extattr_delete_file_args *); -int aio_waitcomplete(struct thread *, struct aio_waitcomplete_args *); -int getresuid(struct thread *, struct getresuid_args *); -int getresgid(struct thread *, struct getresgid_args *); -int kqueue(struct thread *, struct kqueue_args *); -int kevent(struct thread *, struct kevent_args *); -int __cap_get_proc(struct thread *, struct __cap_get_proc_args *); -int __cap_set_proc(struct thread *, struct __cap_set_proc_args *); -int __cap_get_fd(struct thread *, struct __cap_get_fd_args *); -int __cap_get_file(struct thread *, struct __cap_get_file_args *); -int __cap_set_fd(struct thread *, struct __cap_set_fd_args *); -int __cap_set_file(struct thread *, struct __cap_set_file_args *); -int lkmressys(struct thread *, struct nosys_args *); -int extattr_set_fd(struct thread *, struct extattr_set_fd_args *); -int extattr_get_fd(struct thread *, struct extattr_get_fd_args *); -int extattr_delete_fd(struct thread *, struct extattr_delete_fd_args *); -int __setugid(struct thread *, struct __setugid_args *); -int nfsclnt(struct thread *, struct nfsclnt_args *); -int eaccess(struct thread *, struct eaccess_args *); -int nmount(struct thread *, struct nmount_args *); -int kse_exit(struct thread *, struct kse_exit_args *); -int kse_wakeup(struct thread *, struct kse_wakeup_args *); -int kse_new(struct thread *, struct kse_new_args *); -int thread_wakeup(struct thread *, struct thread_wakeup_args *); -int kse_yield(struct thread *, struct kse_yield_args *); + char act_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * act; char act_r_[PADR_(struct sigaction32 *)]; + char oact_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * oact; char oact_r_[PADR_(struct sigaction32 *)]; +}; +int ia32_open(struct thread *, struct ia32_open_args *); +int ia32_wait4(struct thread *, struct ia32_wait4_args *); +int ia32_getfsstat(struct thread *, struct ia32_getfsstat_args *); +int ia32_access(struct thread *, struct ia32_access_args *); +int ia32_chflags(struct thread *, struct ia32_chflags_args *); +int ia32_sigaltstack(struct thread *, struct ia32_sigaltstack_args *); +int ia32_execve(struct thread *, struct ia32_execve_args *); +int ia32_setitimer(struct thread *, struct ia32_setitimer_args *); +int ia32_select(struct thread *, struct ia32_select_args *); +int ia32_gettimeofday(struct thread *, struct ia32_gettimeofday_args *); +int ia32_getrusage(struct thread *, struct ia32_getrusage_args *); +int ia32_readv(struct thread *, struct ia32_readv_args *); +int ia32_writev(struct thread *, struct ia32_writev_args *); +int ia32_settimeofday(struct thread *, struct ia32_settimeofday_args *); +int ia32_utimes(struct thread *, struct ia32_utimes_args *); +int ia32_adjtime(struct thread *, struct ia32_adjtime_args *); +int ia32_statfs(struct thread *, struct ia32_statfs_args *); +int ia32_fstatfs(struct thread *, struct ia32_fstatfs_args *); +int ia32_semsys(struct thread *, struct ia32_semsys_args *); +int ia32_msgsys(struct thread *, struct ia32_msgsys_args *); +int ia32_shmsys(struct thread *, struct ia32_shmsys_args *); +int ia32_pread(struct thread *, struct ia32_pread_args *); +int ia32_pwrite(struct thread *, struct ia32_pwrite_args *); +int ia32_stat(struct thread *, struct ia32_stat_args *); +int ia32_fstat(struct thread *, struct ia32_fstat_args *); +int ia32_lstat(struct thread *, struct ia32_lstat_args *); +int ia32_mmap(struct thread *, struct ia32_mmap_args *); +int ia32_lseek(struct thread *, struct ia32_lseek_args *); +int ia32_truncate(struct thread *, struct ia32_truncate_args *); +int ia32_ftruncate(struct thread *, struct ia32_ftruncate_args *); +int ia32_sysctl(struct thread *, struct ia32_sysctl_args *); +int ia32_sendfile(struct thread *, struct ia32_sendfile_args *); +int ia32_sigaction(struct thread *, struct ia32_sigaction_args *); #ifdef COMPAT_43 -struct ocreat_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; -}; -struct olseek_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char offset_l_[PADL_(long)]; long offset; char offset_r_[PADR_(long)]; - char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; -}; -struct ostat_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char ub_l_[PADL_(struct ostat *)]; struct ostat * ub; char ub_r_[PADR_(struct ostat *)]; -}; -struct olstat_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char ub_l_[PADL_(struct ostat *)]; struct ostat * ub; char ub_r_[PADR_(struct ostat *)]; -}; -struct osigaction_args { - char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)]; - char nsa_l_[PADL_(struct osigaction *)]; struct osigaction * nsa; char nsa_r_[PADR_(struct osigaction *)]; - char osa_l_[PADL_(struct osigaction *)]; struct osigaction * osa; char osa_r_[PADR_(struct osigaction *)]; -}; -struct osigprocmask_args { - char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; - char mask_l_[PADL_(osigset_t)]; osigset_t mask; char mask_r_[PADR_(osigset_t)]; -}; -struct ofstat_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char sb_l_[PADL_(struct ostat *)]; struct ostat * sb; char sb_r_[PADR_(struct ostat *)]; -}; -struct getkerninfo_args { - char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)]; - char where_l_[PADL_(char *)]; char * where; char where_r_[PADR_(char *)]; - char size_l_[PADL_(size_t *)]; size_t * size; char size_r_[PADR_(size_t *)]; - char arg_l_[PADL_(int)]; int arg; char arg_r_[PADR_(int)]; -}; -struct ommap_args { - char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)]; - char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)]; - char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)]; - char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char pos_l_[PADL_(long)]; long pos; char pos_r_[PADR_(long)]; -}; -struct gethostname_args { - char hostname_l_[PADL_(char *)]; char * hostname; char hostname_r_[PADR_(char *)]; - char len_l_[PADL_(u_int)]; u_int len; char len_r_[PADR_(u_int)]; -}; -struct sethostname_args { - char hostname_l_[PADL_(char *)]; char * hostname; char hostname_r_[PADR_(char *)]; - char len_l_[PADL_(u_int)]; u_int len; char len_r_[PADR_(u_int)]; -}; -struct osend_args { - char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; - char buf_l_[PADL_(caddr_t)]; caddr_t buf; char buf_r_[PADR_(caddr_t)]; - char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)]; - char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; -}; -struct orecv_args { - char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; - char buf_l_[PADL_(caddr_t)]; caddr_t buf; char buf_r_[PADR_(caddr_t)]; - char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)]; - char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; -}; -struct osigvec_args { - char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)]; - char nsv_l_[PADL_(struct sigvec *)]; struct sigvec * nsv; char nsv_r_[PADR_(struct sigvec *)]; - char osv_l_[PADL_(struct sigvec *)]; struct sigvec * osv; char osv_r_[PADR_(struct sigvec *)]; -}; -struct osigblock_args { - char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)]; -}; -struct osigsetmask_args { - char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)]; -}; -struct osigsuspend_args { - char mask_l_[PADL_(osigset_t)]; osigset_t mask; char mask_r_[PADR_(osigset_t)]; -}; -struct osigstack_args { - char nss_l_[PADL_(struct sigstack *)]; struct sigstack * nss; char nss_r_[PADR_(struct sigstack *)]; - char oss_l_[PADL_(struct sigstack *)]; struct sigstack * oss; char oss_r_[PADR_(struct sigstack *)]; -}; -struct orecvmsg_args { - char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; - char msg_l_[PADL_(struct omsghdr *)]; struct omsghdr * msg; char msg_r_[PADR_(struct omsghdr *)]; - char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; -}; -struct osendmsg_args { - char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; - char msg_l_[PADL_(caddr_t)]; caddr_t msg; char msg_r_[PADR_(caddr_t)]; - char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; -}; -struct otruncate_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char length_l_[PADL_(long)]; long length; char length_r_[PADR_(long)]; -}; -struct oftruncate_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char length_l_[PADL_(long)]; long length; char length_r_[PADR_(long)]; -}; -struct ogetpeername_args { - char fdes_l_[PADL_(int)]; int fdes; char fdes_r_[PADR_(int)]; - char asa_l_[PADL_(caddr_t)]; caddr_t asa; char asa_r_[PADR_(caddr_t)]; - char alen_l_[PADL_(int *)]; int * alen; char alen_r_[PADR_(int *)]; -}; -struct osethostid_args { - char hostid_l_[PADL_(long)]; long hostid; char hostid_r_[PADR_(long)]; -}; -struct ogetrlimit_args { - char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; - char rlp_l_[PADL_(struct orlimit *)]; struct orlimit * rlp; char rlp_r_[PADR_(struct orlimit *)]; -}; -struct osetrlimit_args { - char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; - char rlp_l_[PADL_(struct orlimit *)]; struct orlimit * rlp; char rlp_r_[PADR_(struct orlimit *)]; -}; -struct okillpg_args { - char pgid_l_[PADL_(int)]; int pgid; char pgid_r_[PADR_(int)]; - char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)]; -}; -struct ogetdirentries_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; - char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)]; - char basep_l_[PADL_(long *)]; long * basep; char basep_r_[PADR_(long *)]; -}; -int ocreat(struct thread *, struct ocreat_args *); -int olseek(struct thread *, struct olseek_args *); -int ostat(struct thread *, struct ostat_args *); -int olstat(struct thread *, struct olstat_args *); -int osigaction(struct thread *, struct osigaction_args *); -int osigprocmask(struct thread *, struct osigprocmask_args *); -int osigpending(struct thread *, struct osigpending_args *); -int ofstat(struct thread *, struct ofstat_args *); -int ogetkerninfo(struct thread *, struct getkerninfo_args *); -int ogetpagesize(struct thread *, struct getpagesize_args *); -int ommap(struct thread *, struct ommap_args *); -int owait(struct thread *, struct owait_args *); -int ogethostname(struct thread *, struct gethostname_args *); -int osethostname(struct thread *, struct sethostname_args *); -int oaccept(struct thread *, struct accept_args *); -int osend(struct thread *, struct osend_args *); -int orecv(struct thread *, struct orecv_args *); -int osigvec(struct thread *, struct osigvec_args *); -int osigblock(struct thread *, struct osigblock_args *); -int osigsetmask(struct thread *, struct osigsetmask_args *); -int osigsuspend(struct thread *, struct osigsuspend_args *); -int osigstack(struct thread *, struct osigstack_args *); -int orecvmsg(struct thread *, struct orecvmsg_args *); -int osendmsg(struct thread *, struct osendmsg_args *); -int orecvfrom(struct thread *, struct recvfrom_args *); -int otruncate(struct thread *, struct otruncate_args *); -int oftruncate(struct thread *, struct oftruncate_args *); -int ogetpeername(struct thread *, struct ogetpeername_args *); -int ogethostid(struct thread *, struct ogethostid_args *); -int osethostid(struct thread *, struct osethostid_args *); -int ogetrlimit(struct thread *, struct ogetrlimit_args *); -int osetrlimit(struct thread *, struct osetrlimit_args *); -int okillpg(struct thread *, struct okillpg_args *); -int oquota(struct thread *, struct oquota_args *); -int ogetsockname(struct thread *, struct getsockname_args *); -int ogetdirentries(struct thread *, struct ogetdirentries_args *); #endif /* COMPAT_43 */ + +#ifdef COMPAT_FREEBSD4 + + +#endif /* COMPAT_FREEBSD4 */ + #undef PAD_ #undef PADL_ #undef PADR_ diff --git a/sys/amd64/ia32/ia32_syscall.h b/sys/amd64/ia32/ia32_syscall.h index c9e74cf2..e457152 100644 --- a/sys/amd64/ia32/ia32_syscall.h +++ b/sys/amd64/ia32/ia32_syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD + * created from FreeBSD: src/sys/ia64/ia32/syscalls.master,v 1.2 2002/07/20 02:56:10 peter Exp */ #define IA32_SYS_syscall 0 @@ -11,10 +11,10 @@ #define IA32_SYS_fork 2 #define IA32_SYS_read 3 #define IA32_SYS_write 4 -#define IA32_SYS_open 5 +#define IA32_SYS_ia32_open 5 #define IA32_SYS_close 6 -#define IA32_SYS_wait4 7 - /* 8 is old creat */ +#define IA32_SYS_ia32_wait4 7 + /* 8 is obsolete old creat */ #define IA32_SYS_link 9 #define IA32_SYS_unlink 10 /* 11 is obsolete execv */ @@ -24,8 +24,8 @@ #define IA32_SYS_chmod 15 #define IA32_SYS_chown 16 #define IA32_SYS_break 17 -#define IA32_SYS_getfsstat 18 - /* 19 is old lseek */ +#define IA32_SYS_ia32_getfsstat 18 + /* 19 is obsolete olseek */ #define IA32_SYS_getpid 20 #define IA32_SYS_mount 21 #define IA32_SYS_unmount 22 @@ -33,51 +33,46 @@ #define IA32_SYS_getuid 24 #define IA32_SYS_geteuid 25 #define IA32_SYS_ptrace 26 -#define IA32_SYS_recvmsg 27 #define IA32_SYS_sendmsg 28 #define IA32_SYS_recvfrom 29 #define IA32_SYS_accept 30 #define IA32_SYS_getpeername 31 #define IA32_SYS_getsockname 32 -#define IA32_SYS_access 33 -#define IA32_SYS_chflags 34 +#define IA32_SYS_ia32_access 33 +#define IA32_SYS_ia32_chflags 34 #define IA32_SYS_fchflags 35 #define IA32_SYS_sync 36 #define IA32_SYS_kill 37 - /* 38 is old stat */ #define IA32_SYS_getppid 39 - /* 40 is old lstat */ #define IA32_SYS_dup 41 #define IA32_SYS_pipe 42 #define IA32_SYS_getegid 43 #define IA32_SYS_profil 44 #define IA32_SYS_ktrace 45 - /* 46 is old sigaction */ #define IA32_SYS_getgid 47 - /* 48 is old sigprocmask */ #define IA32_SYS_getlogin 49 #define IA32_SYS_setlogin 50 #define IA32_SYS_acct 51 - /* 52 is old sigpending */ -#define IA32_SYS_sigaltstack 53 +#define IA32_SYS_sigpending 52 +#define IA32_SYS_ia32_sigaltstack 53 #define IA32_SYS_ioctl 54 #define IA32_SYS_reboot 55 #define IA32_SYS_revoke 56 #define IA32_SYS_symlink 57 #define IA32_SYS_readlink 58 -#define IA32_SYS_execve 59 +#define IA32_SYS_ia32_execve 59 #define IA32_SYS_umask 60 #define IA32_SYS_chroot 61 - /* 62 is old fstat */ - /* 63 is old getkerninfo */ - /* 64 is old getpagesize */ -#define IA32_SYS_msync 65 -#define IA32_SYS_vfork 66 + /* 62 is obsolete ofstat */ + /* 63 is obsolete ogetkerninfo */ + /* 64 is obsolete ogetpagesize */ + /* 65 is obsolete omsync */ + /* 66 is obsolete ovfork */ /* 67 is obsolete vread */ /* 68 is obsolete vwrite */ #define IA32_SYS_sbrk 69 #define IA32_SYS_sstk 70 - /* 71 is old mmap */ + /* 71 is obsolete ommap */ #define IA32_SYS_vadvise 72 #define IA32_SYS_munmap 73 #define IA32_SYS_mprotect 74 @@ -89,51 +84,51 @@ #define IA32_SYS_setgroups 80 #define IA32_SYS_getpgrp 81 #define IA32_SYS_setpgid 82 -#define IA32_SYS_setitimer 83 - /* 84 is old wait */ -#define IA32_SYS_swapon 85 -#define IA32_SYS_getitimer 86 - /* 87 is old gethostname */ - /* 88 is old sethostname */ +#define IA32_SYS_ia32_setitimer 83 + /* 84 is obsolete owait */ + /* 85 is obsolete oswapon */ + /* 86 is obsolete ogetitimer */ + /* 87 is obsolete ogethostname */ + /* 88 is obsolete osethostname */ #define IA32_SYS_getdtablesize 89 #define IA32_SYS_dup2 90 #define IA32_SYS_fcntl 92 -#define IA32_SYS_select 93 +#define IA32_SYS_ia32_select 93 #define IA32_SYS_fsync 95 #define IA32_SYS_setpriority 96 #define IA32_SYS_socket 97 #define IA32_SYS_connect 98 - /* 99 is old accept */ +#define IA32_SYS_accept 99 #define IA32_SYS_getpriority 100 - /* 101 is old send */ - /* 102 is old recv */ -#define IA32_SYS_osigreturn 103 + /* 101 is obsolete osend */ + /* 102 is obsolete orecv */ + /* 103 is obsolete osigreturn */ #define IA32_SYS_bind 104 #define IA32_SYS_setsockopt 105 #define IA32_SYS_listen 106 /* 107 is obsolete vtimes */ - /* 108 is old sigvec */ - /* 109 is old sigblock */ - /* 110 is old sigsetmask */ - /* 111 is old sigsuspend */ - /* 112 is old sigstack */ - /* 113 is old recvmsg */ - /* 114 is old sendmsg */ + /* 108 is obsolete osigvec */ + /* 109 is obsolete osigblock */ + /* 110 is obsolete osigsetmask */ + /* 111 is obsolete osigsuspend */ + /* 112 is obsolete osigstack */ + /* 113 is obsolete orecvmsg */ + /* 114 is obsolete osendmsg */ /* 115 is obsolete vtrace */ -#define IA32_SYS_gettimeofday 116 -#define IA32_SYS_getrusage 117 +#define IA32_SYS_ia32_gettimeofday 116 +#define IA32_SYS_ia32_getrusage 117 #define IA32_SYS_getsockopt 118 -#define IA32_SYS_readv 120 -#define IA32_SYS_writev 121 -#define IA32_SYS_settimeofday 122 +#define IA32_SYS_ia32_readv 120 +#define IA32_SYS_ia32_writev 121 +#define IA32_SYS_ia32_settimeofday 122 #define IA32_SYS_fchown 123 #define IA32_SYS_fchmod 124 - /* 125 is old recvfrom */ +#define IA32_SYS_recvfrom 125 #define IA32_SYS_setreuid 126 #define IA32_SYS_setregid 127 #define IA32_SYS_rename 128 - /* 129 is old truncate */ - /* 130 is old ftruncate */ + /* 129 is obsolete otruncate */ + /* 130 is obsolete ftruncate */ #define IA32_SYS_flock 131 #define IA32_SYS_mkfifo 132 #define IA32_SYS_sendto 133 @@ -141,52 +136,51 @@ #define IA32_SYS_socketpair 135 #define IA32_SYS_mkdir 136 #define IA32_SYS_rmdir 137 -#define IA32_SYS_utimes 138 +#define IA32_SYS_ia32_utimes 138 /* 139 is obsolete 4.2 sigreturn */ -#define IA32_SYS_adjtime 140 - /* 141 is old getpeername */ - /* 142 is old gethostid */ - /* 143 is old sethostid */ - /* 144 is old getrlimit */ - /* 145 is old setrlimit */ - /* 146 is old killpg */ +#define IA32_SYS_ia32_adjtime 140 + /* 141 is obsolete ogetpeername */ + /* 142 is obsolete ogethostid */ + /* 143 is obsolete sethostid */ + /* 144 is obsolete getrlimit */ + /* 145 is obsolete setrlimit */ + /* 146 is obsolete killpg */ #define IA32_SYS_setsid 147 #define IA32_SYS_quotactl 148 - /* 149 is old quota */ - /* 150 is old getsockname */ -#define IA32_SYS_nfssvc 155 - /* 156 is old getdirentries */ -#define IA32_SYS_statfs 157 -#define IA32_SYS_fstatfs 158 + /* 149 is obsolete oquota */ + /* 150 is obsolete ogetsockname */ +#define IA32_SYS_getdirentries 156 +#define IA32_SYS_ia32_statfs 157 +#define IA32_SYS_ia32_fstatfs 158 #define IA32_SYS_getfh 161 #define IA32_SYS_getdomainname 162 #define IA32_SYS_setdomainname 163 #define IA32_SYS_uname 164 #define IA32_SYS_sysarch 165 #define IA32_SYS_rtprio 166 -#define IA32_SYS_semsys 169 -#define IA32_SYS_msgsys 170 -#define IA32_SYS_shmsys 171 -#define IA32_SYS_pread 173 -#define IA32_SYS_pwrite 174 +#define IA32_SYS_ia32_semsys 169 +#define IA32_SYS_ia32_msgsys 170 +#define IA32_SYS_ia32_shmsys 171 +#define IA32_SYS_ia32_pread 173 +#define IA32_SYS_ia32_pwrite 174 #define IA32_SYS_ntp_adjtime 176 #define IA32_SYS_setgid 181 #define IA32_SYS_setegid 182 #define IA32_SYS_seteuid 183 -#define IA32_SYS_stat 188 -#define IA32_SYS_fstat 189 -#define IA32_SYS_lstat 190 +#define IA32_SYS_ia32_stat 188 +#define IA32_SYS_ia32_fstat 189 +#define IA32_SYS_ia32_lstat 190 #define IA32_SYS_pathconf 191 #define IA32_SYS_fpathconf 192 #define IA32_SYS_getrlimit 194 #define IA32_SYS_setrlimit 195 #define IA32_SYS_getdirentries 196 -#define IA32_SYS_mmap 197 +#define IA32_SYS_ia32_mmap 197 #define IA32_SYS___syscall 198 -#define IA32_SYS_lseek 199 -#define IA32_SYS_truncate 200 -#define IA32_SYS_ftruncate 201 -#define IA32_SYS___sysctl 202 +#define IA32_SYS_ia32_lseek 199 +#define IA32_SYS_ia32_truncate 200 +#define IA32_SYS_ia32_ftruncate 201 +#define IA32_SYS_ia32_sysctl 202 #define IA32_SYS_mlock 203 #define IA32_SYS_munlock 204 #define IA32_SYS_undelete 205 @@ -238,13 +232,6 @@ #define IA32_SYS_setresuid 311 #define IA32_SYS_setresgid 312 /* 313 is obsolete signanosleep */ -#define IA32_SYS_aio_return 314 -#define IA32_SYS_aio_suspend 315 -#define IA32_SYS_aio_cancel 316 -#define IA32_SYS_aio_error 317 -#define IA32_SYS_aio_read 318 -#define IA32_SYS_aio_write 319 -#define IA32_SYS_lio_listio 320 #define IA32_SYS_yield 321 /* 322 is obsolete thr_sleep */ /* 323 is obsolete thr_wakeup */ @@ -260,12 +247,12 @@ #define IA32_SYS_sched_get_priority_min 333 #define IA32_SYS_sched_rr_get_interval 334 #define IA32_SYS_utrace 335 -#define IA32_SYS_sendfile 336 +#define IA32_SYS_ia32_sendfile 336 #define IA32_SYS_kldsym 337 #define IA32_SYS_jail 338 #define IA32_SYS_sigprocmask 340 #define IA32_SYS_sigsuspend 341 -#define IA32_SYS_sigaction 342 +#define IA32_SYS_ia32_sigaction 342 #define IA32_SYS_sigpending 343 #define IA32_SYS_sigreturn 344 #define IA32_SYS___acl_get_file 347 @@ -280,22 +267,14 @@ #define IA32_SYS_extattr_set_file 356 #define IA32_SYS_extattr_get_file 357 #define IA32_SYS_extattr_delete_file 358 -#define IA32_SYS_aio_waitcomplete 359 #define IA32_SYS_getresuid 360 #define IA32_SYS_getresgid 361 #define IA32_SYS_kqueue 362 #define IA32_SYS_kevent 363 -#define IA32_SYS___cap_get_proc 364 -#define IA32_SYS___cap_set_proc 365 -#define IA32_SYS___cap_get_fd 366 -#define IA32_SYS___cap_get_file 367 -#define IA32_SYS___cap_set_fd 368 -#define IA32_SYS___cap_set_file 369 #define IA32_SYS_extattr_set_fd 371 #define IA32_SYS_extattr_get_fd 372 #define IA32_SYS_extattr_delete_fd 373 #define IA32_SYS___setugid 374 -#define IA32_SYS_nfsclnt 375 #define IA32_SYS_eaccess 376 #define IA32_SYS_nmount 378 #define IA32_SYS_kse_exit 379 @@ -303,4 +282,7 @@ #define IA32_SYS_kse_new 381 #define IA32_SYS_thread_wakeup 382 #define IA32_SYS_kse_yield 383 -#define IA32_SYS_MAXSYSCALL 390 +#define IA32_SYS_kenv 390 +#define IA32_SYS_lchflags 391 +#define IA32_SYS_uuidgen 392 +#define IA32_SYS_MAXSYSCALL 393 diff --git a/sys/amd64/ia32/ia32_sysent.c b/sys/amd64/ia32/ia32_sysent.c index fa791350..a385596 100644 --- a/sys/amd64/ia32/ia32_sysent.c +++ b/sys/amd64/ia32/ia32_sysent.c @@ -3,34 +3,29 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD + * created from FreeBSD: src/sys/ia64/ia32/syscalls.master,v 1.2 2002/07/20 02:56:10 peter Exp */ -#include "opt_compat.h" - #include <sys/param.h> #include <sys/sysent.h> #include <sys/sysproto.h> +#include <sys/mount.h> +#include <ia64/ia32/ia32.h> +#include <ia64/ia32/ia32_proto.h> #define AS(name) (sizeof(struct name) / sizeof(register_t)) -#ifdef COMPAT_43 -#define compat(n, name) n, (sy_call_t *)__CONCAT(o,name) -#else -#define compat(n, name) 0, (sy_call_t *)nosys -#endif - /* The casts are bogus but will do for now. */ struct sysent ia32_sysent[] = { - { 0, (sy_call_t *)nosys }, /* 0 = syscall */ + { SYF_MPSAFE | 0, (sy_call_t *)nosys }, /* 0 = syscall */ { SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = exit */ { SYF_MPSAFE | 0, (sy_call_t *)fork }, /* 2 = fork */ { SYF_MPSAFE | AS(read_args), (sy_call_t *)read }, /* 3 = read */ { SYF_MPSAFE | AS(write_args), (sy_call_t *)write }, /* 4 = write */ - { AS(open_args), (sy_call_t *)open }, /* 5 = open */ + { AS(ia32_open_args), (sy_call_t *)ia32_open }, /* 5 = ia32_open */ { SYF_MPSAFE | AS(close_args), (sy_call_t *)close }, /* 6 = close */ - { SYF_MPSAFE | AS(wait_args), (sy_call_t *)wait4 }, /* 7 = wait4 */ - { compat(AS(ocreat_args),creat) }, /* 8 = old creat */ + { SYF_MPSAFE | AS(ia32_wait4_args), (sy_call_t *)ia32_wait4 }, /* 7 = ia32_wait4 */ + { 0, (sy_call_t *)nosys }, /* 8 = obsolete old creat */ { AS(link_args), (sy_call_t *)link }, /* 9 = link */ { AS(unlink_args), (sy_call_t *)unlink }, /* 10 = unlink */ { 0, (sy_call_t *)nosys }, /* 11 = obsolete execv */ @@ -40,8 +35,8 @@ struct sysent ia32_sysent[] = { { AS(chmod_args), (sy_call_t *)chmod }, /* 15 = chmod */ { AS(chown_args), (sy_call_t *)chown }, /* 16 = chown */ { SYF_MPSAFE | AS(obreak_args), (sy_call_t *)obreak }, /* 17 = break */ - { AS(getfsstat_args), (sy_call_t *)getfsstat }, /* 18 = getfsstat */ - { compat(AS(olseek_args),lseek) }, /* 19 = old lseek */ + { AS(ia32_getfsstat_args), (sy_call_t *)ia32_getfsstat }, /* 18 = ia32_getfsstat */ + { 0, (sy_call_t *)nosys }, /* 19 = obsolete olseek */ { SYF_MPSAFE | 0, (sy_call_t *)getpid }, /* 20 = getpid */ { AS(mount_args), (sy_call_t *)mount }, /* 21 = mount */ { AS(unmount_args), (sy_call_t *)unmount }, /* 22 = unmount */ @@ -49,51 +44,51 @@ struct sysent ia32_sysent[] = { { SYF_MPSAFE | 0, (sy_call_t *)getuid }, /* 24 = getuid */ { SYF_MPSAFE | 0, (sy_call_t *)geteuid }, /* 25 = geteuid */ { AS(ptrace_args), (sy_call_t *)ptrace }, /* 26 = ptrace */ - { SYF_MPSAFE | AS(recvmsg_args), (sy_call_t *)recvmsg }, /* 27 = recvmsg */ + { 0, (sy_call_t *)nosys }, /* 27 = recvmsg */ { SYF_MPSAFE | AS(sendmsg_args), (sy_call_t *)sendmsg }, /* 28 = sendmsg */ { SYF_MPSAFE | AS(recvfrom_args), (sy_call_t *)recvfrom }, /* 29 = recvfrom */ { SYF_MPSAFE | AS(accept_args), (sy_call_t *)accept }, /* 30 = accept */ { SYF_MPSAFE | AS(getpeername_args), (sy_call_t *)getpeername }, /* 31 = getpeername */ { SYF_MPSAFE | AS(getsockname_args), (sy_call_t *)getsockname }, /* 32 = getsockname */ - { AS(access_args), (sy_call_t *)access }, /* 33 = access */ - { AS(chflags_args), (sy_call_t *)chflags }, /* 34 = chflags */ + { AS(ia32_access_args), (sy_call_t *)ia32_access }, /* 33 = ia32_access */ + { AS(ia32_chflags_args), (sy_call_t *)ia32_chflags }, /* 34 = ia32_chflags */ { AS(fchflags_args), (sy_call_t *)fchflags }, /* 35 = fchflags */ { 0, (sy_call_t *)sync }, /* 36 = sync */ { SYF_MPSAFE | AS(kill_args), (sy_call_t *)kill }, /* 37 = kill */ - { compat(AS(ostat_args),stat) }, /* 38 = old stat */ + { 0, (sy_call_t *)nosys }, /* 38 = ostat */ { SYF_MPSAFE | 0, (sy_call_t *)getppid }, /* 39 = getppid */ - { compat(AS(olstat_args),lstat) }, /* 40 = old lstat */ + { 0, (sy_call_t *)nosys }, /* 40 = olstat */ { AS(dup_args), (sy_call_t *)dup }, /* 41 = dup */ { 0, (sy_call_t *)pipe }, /* 42 = pipe */ { SYF_MPSAFE | 0, (sy_call_t *)getegid }, /* 43 = getegid */ { SYF_MPSAFE | AS(profil_args), (sy_call_t *)profil }, /* 44 = profil */ { AS(ktrace_args), (sy_call_t *)ktrace }, /* 45 = ktrace */ - { compat(SYF_MPSAFE | AS(osigaction_args),sigaction) }, /* 46 = old sigaction */ + { 0, (sy_call_t *)nosys }, /* 46 = osigaction */ { SYF_MPSAFE | 0, (sy_call_t *)getgid }, /* 47 = getgid */ - { compat(SYF_MPSAFE | AS(osigprocmask_args),sigprocmask) }, /* 48 = old sigprocmask */ + { 0, (sy_call_t *)nosys }, /* 48 = osigprocmask */ { SYF_MPSAFE | AS(getlogin_args), (sy_call_t *)getlogin }, /* 49 = getlogin */ { SYF_MPSAFE | AS(setlogin_args), (sy_call_t *)setlogin }, /* 50 = setlogin */ { SYF_MPSAFE | AS(acct_args), (sy_call_t *)acct }, /* 51 = acct */ - { compat(SYF_MPSAFE | 0,sigpending) }, /* 52 = old sigpending */ - { SYF_MPSAFE | AS(sigaltstack_args), (sy_call_t *)sigaltstack }, /* 53 = sigaltstack */ + { SYF_MPSAFE | 0, (sy_call_t *)sigpending }, /* 52 = sigpending */ + { AS(ia32_sigaltstack_args), (sy_call_t *)ia32_sigaltstack }, /* 53 = ia32_sigaltstack */ { SYF_MPSAFE | AS(ioctl_args), (sy_call_t *)ioctl }, /* 54 = ioctl */ { SYF_MPSAFE | AS(reboot_args), (sy_call_t *)reboot }, /* 55 = reboot */ { AS(revoke_args), (sy_call_t *)revoke }, /* 56 = revoke */ { AS(symlink_args), (sy_call_t *)symlink }, /* 57 = symlink */ { AS(readlink_args), (sy_call_t *)readlink }, /* 58 = readlink */ - { SYF_MPSAFE | AS(execve_args), (sy_call_t *)execve }, /* 59 = execve */ + { AS(ia32_execve_args), (sy_call_t *)ia32_execve }, /* 59 = ia32_execve */ { SYF_MPSAFE | AS(umask_args), (sy_call_t *)umask }, /* 60 = umask */ { AS(chroot_args), (sy_call_t *)chroot }, /* 61 = chroot */ - { compat(SYF_MPSAFE | AS(ofstat_args),fstat) }, /* 62 = old fstat */ - { compat(SYF_MPSAFE | AS(getkerninfo_args),getkerninfo) }, /* 63 = old getkerninfo */ - { compat(SYF_MPSAFE | 0,getpagesize) }, /* 64 = old getpagesize */ - { AS(msync_args), (sy_call_t *)msync }, /* 65 = msync */ - { SYF_MPSAFE | 0, (sy_call_t *)vfork }, /* 66 = vfork */ + { 0, (sy_call_t *)nosys }, /* 62 = obsolete ofstat */ + { 0, (sy_call_t *)nosys }, /* 63 = obsolete ogetkerninfo */ + { 0, (sy_call_t *)nosys }, /* 64 = obsolete ogetpagesize */ + { 0, (sy_call_t *)nosys }, /* 65 = obsolete omsync */ + { 0, (sy_call_t *)nosys }, /* 66 = obsolete ovfork */ { 0, (sy_call_t *)nosys }, /* 67 = obsolete vread */ { 0, (sy_call_t *)nosys }, /* 68 = obsolete vwrite */ { SYF_MPSAFE | AS(sbrk_args), (sy_call_t *)sbrk }, /* 69 = sbrk */ { SYF_MPSAFE | AS(sstk_args), (sy_call_t *)sstk }, /* 70 = sstk */ - { compat(SYF_MPSAFE | AS(ommap_args),mmap) }, /* 71 = old mmap */ + { 0, (sy_call_t *)nosys }, /* 71 = obsolete ommap */ { SYF_MPSAFE | AS(ovadvise_args), (sy_call_t *)ovadvise }, /* 72 = vadvise */ { SYF_MPSAFE | AS(munmap_args), (sy_call_t *)munmap }, /* 73 = munmap */ { SYF_MPSAFE | AS(mprotect_args), (sy_call_t *)mprotect }, /* 74 = mprotect */ @@ -105,54 +100,54 @@ struct sysent ia32_sysent[] = { { SYF_MPSAFE | AS(setgroups_args), (sy_call_t *)setgroups }, /* 80 = setgroups */ { SYF_MPSAFE | 0, (sy_call_t *)getpgrp }, /* 81 = getpgrp */ { SYF_MPSAFE | AS(setpgid_args), (sy_call_t *)setpgid }, /* 82 = setpgid */ - { SYF_MPSAFE | AS(setitimer_args), (sy_call_t *)setitimer }, /* 83 = setitimer */ - { compat(SYF_MPSAFE | 0,wait) }, /* 84 = old wait */ - { SYF_MPSAFE | AS(swapon_args), (sy_call_t *)swapon }, /* 85 = swapon */ - { SYF_MPSAFE | AS(getitimer_args), (sy_call_t *)getitimer }, /* 86 = getitimer */ - { compat(SYF_MPSAFE | AS(gethostname_args),gethostname) }, /* 87 = old gethostname */ - { compat(SYF_MPSAFE | AS(sethostname_args),sethostname) }, /* 88 = old sethostname */ + { AS(ia32_setitimer_args), (sy_call_t *)ia32_setitimer }, /* 83 = ia32_setitimer */ + { 0, (sy_call_t *)nosys }, /* 84 = obsolete owait */ + { 0, (sy_call_t *)nosys }, /* 85 = obsolete oswapon */ + { 0, (sy_call_t *)nosys }, /* 86 = obsolete ogetitimer */ + { 0, (sy_call_t *)nosys }, /* 87 = obsolete ogethostname */ + { 0, (sy_call_t *)nosys }, /* 88 = obsolete osethostname */ { SYF_MPSAFE | 0, (sy_call_t *)getdtablesize }, /* 89 = getdtablesize */ { SYF_MPSAFE | AS(dup2_args), (sy_call_t *)dup2 }, /* 90 = dup2 */ { 0, (sy_call_t *)nosys }, /* 91 = getdopt */ { SYF_MPSAFE | AS(fcntl_args), (sy_call_t *)fcntl }, /* 92 = fcntl */ - { SYF_MPSAFE | AS(select_args), (sy_call_t *)select }, /* 93 = select */ + { AS(ia32_select_args), (sy_call_t *)ia32_select }, /* 93 = ia32_select */ { 0, (sy_call_t *)nosys }, /* 94 = setdopt */ { AS(fsync_args), (sy_call_t *)fsync }, /* 95 = fsync */ { SYF_MPSAFE | AS(setpriority_args), (sy_call_t *)setpriority }, /* 96 = setpriority */ { SYF_MPSAFE | AS(socket_args), (sy_call_t *)socket }, /* 97 = socket */ { SYF_MPSAFE | AS(connect_args), (sy_call_t *)connect }, /* 98 = connect */ - { compat(SYF_MPSAFE | AS(accept_args),accept) }, /* 99 = old accept */ + { SYF_MPSAFE | AS(accept_args), (sy_call_t *)accept }, /* 99 = accept */ { SYF_MPSAFE | AS(getpriority_args), (sy_call_t *)getpriority }, /* 100 = getpriority */ - { compat(SYF_MPSAFE | AS(osend_args),send) }, /* 101 = old send */ - { compat(SYF_MPSAFE | AS(orecv_args),recv) }, /* 102 = old recv */ - { AS(osigreturn_args), (sy_call_t *)osigreturn }, /* 103 = osigreturn */ + { 0, (sy_call_t *)nosys }, /* 101 = obsolete osend */ + { 0, (sy_call_t *)nosys }, /* 102 = obsolete orecv */ + { 0, (sy_call_t *)nosys }, /* 103 = obsolete osigreturn */ { SYF_MPSAFE | AS(bind_args), (sy_call_t *)bind }, /* 104 = bind */ { SYF_MPSAFE | AS(setsockopt_args), (sy_call_t *)setsockopt }, /* 105 = setsockopt */ { SYF_MPSAFE | AS(listen_args), (sy_call_t *)listen }, /* 106 = listen */ { 0, (sy_call_t *)nosys }, /* 107 = obsolete vtimes */ - { compat(SYF_MPSAFE | AS(osigvec_args),sigvec) }, /* 108 = old sigvec */ - { compat(SYF_MPSAFE | AS(osigblock_args),sigblock) }, /* 109 = old sigblock */ - { compat(SYF_MPSAFE | AS(osigsetmask_args),sigsetmask) }, /* 110 = old sigsetmask */ - { compat(SYF_MPSAFE | AS(osigsuspend_args),sigsuspend) }, /* 111 = old sigsuspend */ - { compat(SYF_MPSAFE | AS(osigstack_args),sigstack) }, /* 112 = old sigstack */ - { compat(SYF_MPSAFE | AS(orecvmsg_args),recvmsg) }, /* 113 = old recvmsg */ - { compat(SYF_MPSAFE | AS(osendmsg_args),sendmsg) }, /* 114 = old sendmsg */ + { 0, (sy_call_t *)nosys }, /* 108 = obsolete osigvec */ + { 0, (sy_call_t *)nosys }, /* 109 = obsolete osigblock */ + { 0, (sy_call_t *)nosys }, /* 110 = obsolete osigsetmask */ + { 0, (sy_call_t *)nosys }, /* 111 = obsolete osigsuspend */ + { 0, (sy_call_t *)nosys }, /* 112 = obsolete osigstack */ + { 0, (sy_call_t *)nosys }, /* 113 = obsolete orecvmsg */ + { 0, (sy_call_t *)nosys }, /* 114 = obsolete osendmsg */ { 0, (sy_call_t *)nosys }, /* 115 = obsolete vtrace */ - { SYF_MPSAFE | AS(gettimeofday_args), (sy_call_t *)gettimeofday }, /* 116 = gettimeofday */ - { SYF_MPSAFE | AS(getrusage_args), (sy_call_t *)getrusage }, /* 117 = getrusage */ + { AS(ia32_gettimeofday_args), (sy_call_t *)ia32_gettimeofday }, /* 116 = ia32_gettimeofday */ + { AS(ia32_getrusage_args), (sy_call_t *)ia32_getrusage }, /* 117 = ia32_getrusage */ { SYF_MPSAFE | AS(getsockopt_args), (sy_call_t *)getsockopt }, /* 118 = getsockopt */ { 0, (sy_call_t *)nosys }, /* 119 = resuba */ - { SYF_MPSAFE | AS(readv_args), (sy_call_t *)readv }, /* 120 = readv */ - { SYF_MPSAFE | AS(writev_args), (sy_call_t *)writev }, /* 121 = writev */ - { SYF_MPSAFE | AS(settimeofday_args), (sy_call_t *)settimeofday }, /* 122 = settimeofday */ + { AS(ia32_readv_args), (sy_call_t *)ia32_readv }, /* 120 = ia32_readv */ + { AS(ia32_writev_args), (sy_call_t *)ia32_writev }, /* 121 = ia32_writev */ + { AS(ia32_settimeofday_args), (sy_call_t *)ia32_settimeofday }, /* 122 = ia32_settimeofday */ { AS(fchown_args), (sy_call_t *)fchown }, /* 123 = fchown */ { AS(fchmod_args), (sy_call_t *)fchmod }, /* 124 = fchmod */ - { compat(SYF_MPSAFE | AS(recvfrom_args),recvfrom) }, /* 125 = old recvfrom */ + { SYF_MPSAFE | AS(recvfrom_args), (sy_call_t *)recvfrom }, /* 125 = recvfrom */ { SYF_MPSAFE | AS(setreuid_args), (sy_call_t *)setreuid }, /* 126 = setreuid */ { SYF_MPSAFE | AS(setregid_args), (sy_call_t *)setregid }, /* 127 = setregid */ { AS(rename_args), (sy_call_t *)rename }, /* 128 = rename */ - { compat(AS(otruncate_args),truncate) }, /* 129 = old truncate */ - { compat(AS(oftruncate_args),ftruncate) }, /* 130 = old ftruncate */ + { 0, (sy_call_t *)nosys }, /* 129 = obsolete otruncate */ + { 0, (sy_call_t *)nosys }, /* 130 = obsolete ftruncate */ { SYF_MPSAFE | AS(flock_args), (sy_call_t *)flock }, /* 131 = flock */ { AS(mkfifo_args), (sy_call_t *)mkfifo }, /* 132 = mkfifo */ { SYF_MPSAFE | AS(sendto_args), (sy_call_t *)sendto }, /* 133 = sendto */ @@ -160,27 +155,27 @@ struct sysent ia32_sysent[] = { { SYF_MPSAFE | AS(socketpair_args), (sy_call_t *)socketpair }, /* 135 = socketpair */ { AS(mkdir_args), (sy_call_t *)mkdir }, /* 136 = mkdir */ { AS(rmdir_args), (sy_call_t *)rmdir }, /* 137 = rmdir */ - { AS(utimes_args), (sy_call_t *)utimes }, /* 138 = utimes */ + { AS(ia32_utimes_args), (sy_call_t *)ia32_utimes }, /* 138 = ia32_utimes */ { 0, (sy_call_t *)nosys }, /* 139 = obsolete 4.2 sigreturn */ - { SYF_MPSAFE | AS(adjtime_args), (sy_call_t *)adjtime }, /* 140 = adjtime */ - { compat(SYF_MPSAFE | AS(ogetpeername_args),getpeername) }, /* 141 = old getpeername */ - { compat(SYF_MPSAFE | 0,gethostid) }, /* 142 = old gethostid */ - { compat(SYF_MPSAFE | AS(osethostid_args),sethostid) }, /* 143 = old sethostid */ - { compat(SYF_MPSAFE | AS(ogetrlimit_args),getrlimit) }, /* 144 = old getrlimit */ - { compat(SYF_MPSAFE | AS(osetrlimit_args),setrlimit) }, /* 145 = old setrlimit */ - { compat(SYF_MPSAFE | AS(okillpg_args),killpg) }, /* 146 = old killpg */ + { AS(ia32_adjtime_args), (sy_call_t *)ia32_adjtime }, /* 140 = ia32_adjtime */ + { 0, (sy_call_t *)nosys }, /* 141 = obsolete ogetpeername */ + { 0, (sy_call_t *)nosys }, /* 142 = obsolete ogethostid */ + { 0, (sy_call_t *)nosys }, /* 143 = obsolete sethostid */ + { 0, (sy_call_t *)nosys }, /* 144 = obsolete getrlimit */ + { 0, (sy_call_t *)nosys }, /* 145 = obsolete setrlimit */ + { 0, (sy_call_t *)nosys }, /* 146 = obsolete killpg */ { SYF_MPSAFE | 0, (sy_call_t *)setsid }, /* 147 = setsid */ { AS(quotactl_args), (sy_call_t *)quotactl }, /* 148 = quotactl */ - { compat(SYF_MPSAFE | 0,quota) }, /* 149 = old quota */ - { compat(SYF_MPSAFE | AS(getsockname_args),getsockname) }, /* 150 = old getsockname */ + { 0, (sy_call_t *)nosys }, /* 149 = obsolete oquota */ + { 0, (sy_call_t *)nosys }, /* 150 = obsolete ogetsockname */ { 0, (sy_call_t *)nosys }, /* 151 = sem_lock */ { 0, (sy_call_t *)nosys }, /* 152 = sem_wakeup */ { 0, (sy_call_t *)nosys }, /* 153 = asyncdaemon */ { 0, (sy_call_t *)nosys }, /* 154 = nosys */ - { SYF_MPSAFE | AS(nfssvc_args), (sy_call_t *)nosys }, /* 155 = nfssvc */ - { compat(AS(ogetdirentries_args),getdirentries) }, /* 156 = old getdirentries */ - { AS(statfs_args), (sy_call_t *)statfs }, /* 157 = statfs */ - { AS(fstatfs_args), (sy_call_t *)fstatfs }, /* 158 = fstatfs */ + { 0, (sy_call_t *)nosys }, /* 155 = nfssvc */ + { AS(getdirentries_args), (sy_call_t *)getdirentries }, /* 156 = getdirentries */ + { AS(ia32_statfs_args), (sy_call_t *)ia32_statfs }, /* 157 = ia32_statfs */ + { AS(ia32_fstatfs_args), (sy_call_t *)ia32_fstatfs }, /* 158 = ia32_fstatfs */ { 0, (sy_call_t *)nosys }, /* 159 = nosys */ { 0, (sy_call_t *)nosys }, /* 160 = nosys */ { AS(getfh_args), (sy_call_t *)getfh }, /* 161 = getfh */ @@ -191,12 +186,12 @@ struct sysent ia32_sysent[] = { { SYF_MPSAFE | AS(rtprio_args), (sy_call_t *)rtprio }, /* 166 = rtprio */ { 0, (sy_call_t *)nosys }, /* 167 = nosys */ { 0, (sy_call_t *)nosys }, /* 168 = nosys */ - { SYF_MPSAFE | AS(semsys_args), (sy_call_t *)lkmressys }, /* 169 = semsys */ - { SYF_MPSAFE | AS(msgsys_args), (sy_call_t *)lkmressys }, /* 170 = msgsys */ - { SYF_MPSAFE | AS(shmsys_args), (sy_call_t *)lkmressys }, /* 171 = shmsys */ + { AS(ia32_semsys_args), (sy_call_t *)ia32_semsys }, /* 169 = ia32_semsys */ + { AS(ia32_msgsys_args), (sy_call_t *)ia32_msgsys }, /* 170 = ia32_msgsys */ + { AS(ia32_shmsys_args), (sy_call_t *)ia32_shmsys }, /* 171 = ia32_shmsys */ { 0, (sy_call_t *)nosys }, /* 172 = nosys */ - { SYF_MPSAFE | AS(pread_args), (sy_call_t *)pread }, /* 173 = pread */ - { SYF_MPSAFE | AS(pwrite_args), (sy_call_t *)pwrite }, /* 174 = pwrite */ + { AS(ia32_pread_args), (sy_call_t *)ia32_pread }, /* 173 = ia32_pread */ + { AS(ia32_pwrite_args), (sy_call_t *)ia32_pwrite }, /* 174 = ia32_pwrite */ { 0, (sy_call_t *)nosys }, /* 175 = nosys */ { SYF_MPSAFE | AS(ntp_adjtime_args), (sy_call_t *)ntp_adjtime }, /* 176 = ntp_adjtime */ { 0, (sy_call_t *)nosys }, /* 177 = sfork */ @@ -210,21 +205,21 @@ struct sysent ia32_sysent[] = { { 0, (sy_call_t *)nosys }, /* 185 = lfs_markv */ { 0, (sy_call_t *)nosys }, /* 186 = lfs_segclean */ { 0, (sy_call_t *)nosys }, /* 187 = lfs_segwait */ - { AS(stat_args), (sy_call_t *)stat }, /* 188 = stat */ - { SYF_MPSAFE | AS(fstat_args), (sy_call_t *)fstat }, /* 189 = fstat */ - { AS(lstat_args), (sy_call_t *)lstat }, /* 190 = lstat */ + { AS(ia32_stat_args), (sy_call_t *)ia32_stat }, /* 188 = ia32_stat */ + { AS(ia32_fstat_args), (sy_call_t *)ia32_fstat }, /* 189 = ia32_fstat */ + { AS(ia32_lstat_args), (sy_call_t *)ia32_lstat }, /* 190 = ia32_lstat */ { AS(pathconf_args), (sy_call_t *)pathconf }, /* 191 = pathconf */ { SYF_MPSAFE | AS(fpathconf_args), (sy_call_t *)fpathconf }, /* 192 = fpathconf */ { 0, (sy_call_t *)nosys }, /* 193 = nosys */ { SYF_MPSAFE | AS(__getrlimit_args), (sy_call_t *)getrlimit }, /* 194 = getrlimit */ { SYF_MPSAFE | AS(__setrlimit_args), (sy_call_t *)setrlimit }, /* 195 = setrlimit */ { AS(getdirentries_args), (sy_call_t *)getdirentries }, /* 196 = getdirentries */ - { SYF_MPSAFE | AS(mmap_args), (sy_call_t *)mmap }, /* 197 = mmap */ + { AS(ia32_mmap_args), (sy_call_t *)ia32_mmap }, /* 197 = ia32_mmap */ { 0, (sy_call_t *)nosys }, /* 198 = __syscall */ - { AS(lseek_args), (sy_call_t *)lseek }, /* 199 = lseek */ - { AS(truncate_args), (sy_call_t *)truncate }, /* 200 = truncate */ - { AS(ftruncate_args), (sy_call_t *)ftruncate }, /* 201 = ftruncate */ - { SYF_MPSAFE | AS(sysctl_args), (sy_call_t *)__sysctl }, /* 202 = __sysctl */ + { AS(ia32_lseek_args), (sy_call_t *)ia32_lseek }, /* 199 = ia32_lseek */ + { AS(ia32_truncate_args), (sy_call_t *)ia32_truncate }, /* 200 = ia32_truncate */ + { AS(ia32_ftruncate_args), (sy_call_t *)ia32_ftruncate }, /* 201 = ia32_ftruncate */ + { SYF_MPSAFE | AS(ia32_sysctl_args), (sy_call_t *)ia32_sysctl }, /* 202 = ia32_sysctl */ { SYF_MPSAFE | AS(mlock_args), (sy_call_t *)mlock }, /* 203 = mlock */ { SYF_MPSAFE | AS(munlock_args), (sy_call_t *)munlock }, /* 204 = munlock */ { AS(undelete_args), (sy_call_t *)undelete }, /* 205 = undelete */ @@ -232,28 +227,28 @@ struct sysent ia32_sysent[] = { { SYF_MPSAFE | AS(getpgid_args), (sy_call_t *)getpgid }, /* 207 = getpgid */ { 0, (sy_call_t *)nosys }, /* 208 = newreboot */ { SYF_MPSAFE | AS(poll_args), (sy_call_t *)poll }, /* 209 = poll */ - { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 210 = lkmnosys */ - { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 211 = lkmnosys */ - { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 212 = lkmnosys */ - { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 213 = lkmnosys */ - { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 214 = lkmnosys */ - { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 215 = lkmnosys */ - { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 216 = lkmnosys */ - { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 217 = lkmnosys */ - { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 218 = lkmnosys */ - { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 219 = lkmnosys */ - { SYF_MPSAFE | AS(__semctl_args), (sy_call_t *)lkmressys }, /* 220 = __semctl */ - { SYF_MPSAFE | AS(semget_args), (sy_call_t *)lkmressys }, /* 221 = semget */ - { SYF_MPSAFE | AS(semop_args), (sy_call_t *)lkmressys }, /* 222 = semop */ + { 0, (sy_call_t *)nosys }, /* 210 = */ + { 0, (sy_call_t *)nosys }, /* 211 = */ + { 0, (sy_call_t *)nosys }, /* 212 = */ + { 0, (sy_call_t *)nosys }, /* 213 = */ + { 0, (sy_call_t *)nosys }, /* 214 = */ + { 0, (sy_call_t *)nosys }, /* 215 = */ + { 0, (sy_call_t *)nosys }, /* 216 = */ + { 0, (sy_call_t *)nosys }, /* 217 = */ + { 0, (sy_call_t *)nosys }, /* 218 = */ + { 0, (sy_call_t *)nosys }, /* 219 = */ + { SYF_MPSAFE | AS(__semctl_args), (sy_call_t *)__semctl }, /* 220 = __semctl */ + { SYF_MPSAFE | AS(semget_args), (sy_call_t *)semget }, /* 221 = semget */ + { SYF_MPSAFE | AS(semop_args), (sy_call_t *)semop }, /* 222 = semop */ { 0, (sy_call_t *)nosys }, /* 223 = semconfig */ - { SYF_MPSAFE | AS(msgctl_args), (sy_call_t *)lkmressys }, /* 224 = msgctl */ - { SYF_MPSAFE | AS(msgget_args), (sy_call_t *)lkmressys }, /* 225 = msgget */ - { SYF_MPSAFE | AS(msgsnd_args), (sy_call_t *)lkmressys }, /* 226 = msgsnd */ - { SYF_MPSAFE | AS(msgrcv_args), (sy_call_t *)lkmressys }, /* 227 = msgrcv */ - { SYF_MPSAFE | AS(shmat_args), (sy_call_t *)lkmressys }, /* 228 = shmat */ - { SYF_MPSAFE | AS(shmctl_args), (sy_call_t *)lkmressys }, /* 229 = shmctl */ - { SYF_MPSAFE | AS(shmdt_args), (sy_call_t *)lkmressys }, /* 230 = shmdt */ - { SYF_MPSAFE | AS(shmget_args), (sy_call_t *)lkmressys }, /* 231 = shmget */ + { SYF_MPSAFE | AS(msgctl_args), (sy_call_t *)msgctl }, /* 224 = msgctl */ + { SYF_MPSAFE | AS(msgget_args), (sy_call_t *)msgget }, /* 225 = msgget */ + { SYF_MPSAFE | AS(msgsnd_args), (sy_call_t *)msgsnd }, /* 226 = msgsnd */ + { SYF_MPSAFE | AS(msgrcv_args), (sy_call_t *)msgrcv }, /* 227 = msgrcv */ + { SYF_MPSAFE | AS(shmat_args), (sy_call_t *)shmat }, /* 228 = shmat */ + { SYF_MPSAFE | AS(shmctl_args), (sy_call_t *)shmctl }, /* 229 = shmctl */ + { SYF_MPSAFE | AS(shmdt_args), (sy_call_t *)shmdt }, /* 230 = shmdt */ + { SYF_MPSAFE | AS(shmget_args), (sy_call_t *)shmget }, /* 231 = shmget */ { SYF_MPSAFE | AS(clock_gettime_args), (sy_call_t *)clock_gettime }, /* 232 = clock_gettime */ { SYF_MPSAFE | AS(clock_settime_args), (sy_call_t *)clock_settime }, /* 233 = clock_settime */ { SYF_MPSAFE | AS(clock_getres_args), (sy_call_t *)clock_getres }, /* 234 = clock_getres */ @@ -336,13 +331,13 @@ struct sysent ia32_sysent[] = { { SYF_MPSAFE | AS(setresuid_args), (sy_call_t *)setresuid }, /* 311 = setresuid */ { SYF_MPSAFE | AS(setresgid_args), (sy_call_t *)setresgid }, /* 312 = setresgid */ { 0, (sy_call_t *)nosys }, /* 313 = obsolete signanosleep */ - { AS(aio_return_args), (sy_call_t *)lkmressys }, /* 314 = aio_return */ - { AS(aio_suspend_args), (sy_call_t *)lkmressys }, /* 315 = aio_suspend */ - { AS(aio_cancel_args), (sy_call_t *)lkmressys }, /* 316 = aio_cancel */ - { AS(aio_error_args), (sy_call_t *)lkmressys }, /* 317 = aio_error */ - { AS(aio_read_args), (sy_call_t *)lkmressys }, /* 318 = aio_read */ - { AS(aio_write_args), (sy_call_t *)lkmressys }, /* 319 = aio_write */ - { AS(lio_listio_args), (sy_call_t *)lkmressys }, /* 320 = lio_listio */ + { 0, (sy_call_t *)nosys }, /* 314 = aio_return */ + { 0, (sy_call_t *)nosys }, /* 315 = aio_suspend */ + { 0, (sy_call_t *)nosys }, /* 316 = aio_cancel */ + { 0, (sy_call_t *)nosys }, /* 317 = aio_error */ + { 0, (sy_call_t *)nosys }, /* 318 = aio_read */ + { 0, (sy_call_t *)nosys }, /* 319 = aio_write */ + { 0, (sy_call_t *)nosys }, /* 320 = lio_listio */ { SYF_MPSAFE | 0, (sy_call_t *)yield }, /* 321 = yield */ { 0, (sy_call_t *)nosys }, /* 322 = obsolete thr_sleep */ { 0, (sy_call_t *)nosys }, /* 323 = obsolete thr_wakeup */ @@ -358,15 +353,15 @@ struct sysent ia32_sysent[] = { { SYF_MPSAFE | AS(sched_get_priority_min_args), (sy_call_t *)sched_get_priority_min }, /* 333 = sched_get_priority_min */ { SYF_MPSAFE | AS(sched_rr_get_interval_args), (sy_call_t *)sched_rr_get_interval }, /* 334 = sched_rr_get_interval */ { AS(utrace_args), (sy_call_t *)utrace }, /* 335 = utrace */ - { SYF_MPSAFE | AS(sendfile_args), (sy_call_t *)sendfile }, /* 336 = sendfile */ + { SYF_MPSAFE | AS(ia32_sendfile_args), (sy_call_t *)ia32_sendfile }, /* 336 = ia32_sendfile */ { AS(kldsym_args), (sy_call_t *)kldsym }, /* 337 = kldsym */ { SYF_MPSAFE | AS(jail_args), (sy_call_t *)jail }, /* 338 = jail */ { 0, (sy_call_t *)nosys }, /* 339 = pioctl */ { SYF_MPSAFE | AS(sigprocmask_args), (sy_call_t *)sigprocmask }, /* 340 = sigprocmask */ { SYF_MPSAFE | AS(sigsuspend_args), (sy_call_t *)sigsuspend }, /* 341 = sigsuspend */ - { SYF_MPSAFE | AS(sigaction_args), (sy_call_t *)sigaction }, /* 342 = sigaction */ + { AS(ia32_sigaction_args), (sy_call_t *)ia32_sigaction }, /* 342 = ia32_sigaction */ { SYF_MPSAFE | AS(sigpending_args), (sy_call_t *)sigpending }, /* 343 = sigpending */ - { AS(sigreturn_args), (sy_call_t *)sigreturn }, /* 344 = sigreturn */ + { SYF_MPSAFE | AS(sigreturn_args), (sy_call_t *)sigreturn }, /* 344 = sigreturn */ { 0, (sy_call_t *)nosys }, /* 345 = sigtimedwait */ { 0, (sy_call_t *)nosys }, /* 346 = sigwaitinfo */ { SYF_MPSAFE | AS(__acl_get_file_args), (sy_call_t *)__acl_get_file }, /* 347 = __acl_get_file */ @@ -381,23 +376,23 @@ struct sysent ia32_sysent[] = { { AS(extattr_set_file_args), (sy_call_t *)extattr_set_file }, /* 356 = extattr_set_file */ { AS(extattr_get_file_args), (sy_call_t *)extattr_get_file }, /* 357 = extattr_get_file */ { AS(extattr_delete_file_args), (sy_call_t *)extattr_delete_file }, /* 358 = extattr_delete_file */ - { AS(aio_waitcomplete_args), (sy_call_t *)lkmressys }, /* 359 = aio_waitcomplete */ + { 0, (sy_call_t *)nosys }, /* 359 = aio_waitcomplete */ { SYF_MPSAFE | AS(getresuid_args), (sy_call_t *)getresuid }, /* 360 = getresuid */ { SYF_MPSAFE | AS(getresgid_args), (sy_call_t *)getresgid }, /* 361 = getresgid */ { SYF_MPSAFE | 0, (sy_call_t *)kqueue }, /* 362 = kqueue */ { SYF_MPSAFE | AS(kevent_args), (sy_call_t *)kevent }, /* 363 = kevent */ - { AS(__cap_get_proc_args), (sy_call_t *)__cap_get_proc }, /* 364 = __cap_get_proc */ - { AS(__cap_set_proc_args), (sy_call_t *)__cap_set_proc }, /* 365 = __cap_set_proc */ - { AS(__cap_get_fd_args), (sy_call_t *)__cap_get_fd }, /* 366 = __cap_get_fd */ - { AS(__cap_get_file_args), (sy_call_t *)__cap_get_file }, /* 367 = __cap_get_file */ - { AS(__cap_set_fd_args), (sy_call_t *)__cap_set_fd }, /* 368 = __cap_set_fd */ - { AS(__cap_set_file_args), (sy_call_t *)__cap_set_file }, /* 369 = __cap_set_file */ - { AS(nosys_args), (sy_call_t *)lkmressys }, /* 370 = lkmressys */ + { 0, (sy_call_t *)nosys }, /* 364 = __cap_get_proc */ + { 0, (sy_call_t *)nosys }, /* 365 = __cap_set_proc */ + { 0, (sy_call_t *)nosys }, /* 366 = __cap_get_fd */ + { 0, (sy_call_t *)nosys }, /* 367 = __cap_get_file */ + { 0, (sy_call_t *)nosys }, /* 368 = __cap_set_fd */ + { 0, (sy_call_t *)nosys }, /* 369 = __cap_set_file */ + { 0, (sy_call_t *)nosys }, /* 370 = lkmressys */ { AS(extattr_set_fd_args), (sy_call_t *)extattr_set_fd }, /* 371 = extattr_set_fd */ { AS(extattr_get_fd_args), (sy_call_t *)extattr_get_fd }, /* 372 = extattr_get_fd */ { AS(extattr_delete_fd_args), (sy_call_t *)extattr_delete_fd }, /* 373 = extattr_delete_fd */ { SYF_MPSAFE | AS(__setugid_args), (sy_call_t *)__setugid }, /* 374 = __setugid */ - { AS(nfsclnt_args), (sy_call_t *)nosys }, /* 375 = nfsclnt */ + { 0, (sy_call_t *)nosys }, /* 375 = nfsclnt */ { AS(eaccess_args), (sy_call_t *)eaccess }, /* 376 = eaccess */ { 0, (sy_call_t *)nosys }, /* 377 = afs_syscall */ { AS(nmount_args), (sy_call_t *)nmount }, /* 378 = nmount */ @@ -412,4 +407,7 @@ struct sysent ia32_sysent[] = { { 0, (sy_call_t *)nosys }, /* 387 = __mac_get_file */ { 0, (sy_call_t *)nosys }, /* 388 = __mac_set_fd */ { 0, (sy_call_t *)nosys }, /* 389 = __mac_set_file */ + { AS(kenv_args), (sy_call_t *)kenv }, /* 390 = kenv */ + { AS(lchflags_args), (sy_call_t *)lchflags }, /* 391 = lchflags */ + { AS(uuidgen_args), (sy_call_t *)uuidgen }, /* 392 = uuidgen */ }; |