1506 lines
40 KiB
C
1506 lines
40 KiB
C
/* $NetBSD: netbsd32_syscallargs.h,v 1.19 2000/12/09 05:37:05 mycroft Exp $ */
|
|
|
|
/*
|
|
* System call argument lists.
|
|
*
|
|
* DO NOT EDIT-- this file is automatically generated.
|
|
* created from NetBSD: syscalls.master,v 1.16 2000/12/09 05:27:30 mycroft Exp
|
|
*/
|
|
|
|
#ifndef _netbsd32_SYS__SYSCALLARGS_H_
|
|
#define _netbsd32_SYS__SYSCALLARGS_H_
|
|
|
|
#ifdef syscallarg
|
|
#undef syscallarg
|
|
#endif
|
|
|
|
#define syscallarg(x) \
|
|
union { \
|
|
register32_t pad; \
|
|
struct { x datum; } le; \
|
|
struct { \
|
|
int8_t pad[ (sizeof (register32_t) < sizeof (x)) \
|
|
? 0 \
|
|
: sizeof (register32_t) - sizeof (x)]; \
|
|
x datum; \
|
|
} be; \
|
|
}
|
|
|
|
struct netbsd32_exit_args {
|
|
syscallarg(int) rval;
|
|
};
|
|
|
|
struct netbsd32_read_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(netbsd32_voidp) buf;
|
|
syscallarg(netbsd32_size_t) nbyte;
|
|
};
|
|
|
|
struct netbsd32_write_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(const netbsd32_voidp) buf;
|
|
syscallarg(netbsd32_size_t) nbyte;
|
|
};
|
|
|
|
struct netbsd32_open_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(int) flags;
|
|
syscallarg(mode_t) mode;
|
|
};
|
|
|
|
struct netbsd32_close_args {
|
|
syscallarg(int) fd;
|
|
};
|
|
|
|
struct netbsd32_wait4_args {
|
|
syscallarg(int) pid;
|
|
syscallarg(netbsd32_intp) status;
|
|
syscallarg(int) options;
|
|
syscallarg(netbsd32_rusagep_t) rusage;
|
|
};
|
|
|
|
struct compat_43_netbsd32_ocreat_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(mode_t) mode;
|
|
};
|
|
|
|
struct netbsd32_link_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(const netbsd32_charp) link;
|
|
};
|
|
|
|
struct netbsd32_unlink_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
};
|
|
|
|
struct netbsd32_chdir_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
};
|
|
|
|
struct netbsd32_fchdir_args {
|
|
syscallarg(int) fd;
|
|
};
|
|
|
|
struct netbsd32_mknod_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(mode_t) mode;
|
|
syscallarg(dev_t) dev;
|
|
};
|
|
|
|
struct netbsd32_chmod_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(mode_t) mode;
|
|
};
|
|
|
|
struct netbsd32_chown_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(uid_t) uid;
|
|
syscallarg(gid_t) gid;
|
|
};
|
|
|
|
struct netbsd32_break_args {
|
|
syscallarg(netbsd32_charp) nsize;
|
|
};
|
|
|
|
struct netbsd32_getfsstat_args {
|
|
syscallarg(netbsd32_statfsp_t) buf;
|
|
syscallarg(netbsd32_long) bufsize;
|
|
syscallarg(int) flags;
|
|
};
|
|
|
|
struct compat_43_netbsd32_olseek_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(netbsd32_long) offset;
|
|
syscallarg(int) whence;
|
|
};
|
|
|
|
struct netbsd32_mount_args {
|
|
syscallarg(const netbsd32_charp) type;
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(int) flags;
|
|
syscallarg(netbsd32_voidp) data;
|
|
};
|
|
|
|
struct netbsd32_unmount_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(int) flags;
|
|
};
|
|
|
|
struct netbsd32_setuid_args {
|
|
syscallarg(uid_t) uid;
|
|
};
|
|
|
|
struct netbsd32_ptrace_args {
|
|
syscallarg(int) req;
|
|
syscallarg(pid_t) pid;
|
|
syscallarg(netbsd32_caddr_t) addr;
|
|
syscallarg(int) data;
|
|
};
|
|
|
|
struct netbsd32_recvmsg_args {
|
|
syscallarg(int) s;
|
|
syscallarg(netbsd32_msghdrp_t) msg;
|
|
syscallarg(int) flags;
|
|
};
|
|
|
|
struct netbsd32_sendmsg_args {
|
|
syscallarg(int) s;
|
|
syscallarg(const netbsd32_msghdrp_t) msg;
|
|
syscallarg(int) flags;
|
|
};
|
|
|
|
struct netbsd32_recvfrom_args {
|
|
syscallarg(int) s;
|
|
syscallarg(netbsd32_voidp) buf;
|
|
syscallarg(netbsd32_size_t) len;
|
|
syscallarg(int) flags;
|
|
syscallarg(netbsd32_sockaddrp_t) from;
|
|
syscallarg(netbsd32_intp) fromlenaddr;
|
|
};
|
|
|
|
struct netbsd32_accept_args {
|
|
syscallarg(int) s;
|
|
syscallarg(netbsd32_sockaddrp_t) name;
|
|
syscallarg(netbsd32_intp) anamelen;
|
|
};
|
|
|
|
struct netbsd32_getpeername_args {
|
|
syscallarg(int) fdes;
|
|
syscallarg(netbsd32_sockaddrp_t) asa;
|
|
syscallarg(netbsd32_intp) alen;
|
|
};
|
|
|
|
struct netbsd32_getsockname_args {
|
|
syscallarg(int) fdes;
|
|
syscallarg(netbsd32_sockaddrp_t) asa;
|
|
syscallarg(netbsd32_intp) alen;
|
|
};
|
|
|
|
struct netbsd32_access_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(int) flags;
|
|
};
|
|
|
|
struct netbsd32_chflags_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(netbsd32_u_long) flags;
|
|
};
|
|
|
|
struct netbsd32_fchflags_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(netbsd32_u_long) flags;
|
|
};
|
|
|
|
struct netbsd32_kill_args {
|
|
syscallarg(int) pid;
|
|
syscallarg(int) signum;
|
|
};
|
|
|
|
struct compat_43_netbsd32_stat43_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(netbsd32_stat43p_t) ub;
|
|
};
|
|
|
|
struct compat_43_netbsd32_lstat43_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(netbsd32_stat43p_t) ub;
|
|
};
|
|
|
|
struct netbsd32_dup_args {
|
|
syscallarg(int) fd;
|
|
};
|
|
|
|
struct netbsd32_profil_args {
|
|
syscallarg(netbsd32_caddr_t) samples;
|
|
syscallarg(netbsd32_size_t) size;
|
|
syscallarg(netbsd32_u_long) offset;
|
|
syscallarg(u_int) scale;
|
|
};
|
|
|
|
struct netbsd32_ktrace_args {
|
|
syscallarg(const netbsd32_charp) fname;
|
|
syscallarg(int) ops;
|
|
syscallarg(int) facs;
|
|
syscallarg(int) pid;
|
|
};
|
|
|
|
struct netbsd32_sigaction_args {
|
|
syscallarg(int) signum;
|
|
syscallarg(const netbsd32_sigactionp_t) nsa;
|
|
syscallarg(netbsd32_sigactionp_t) osa;
|
|
};
|
|
|
|
struct compat_13_netbsd32_sigprocmask_args {
|
|
syscallarg(int) how;
|
|
syscallarg(int) mask;
|
|
};
|
|
|
|
struct netbsd32___getlogin_args {
|
|
syscallarg(netbsd32_charp) namebuf;
|
|
syscallarg(u_int) namelen;
|
|
};
|
|
|
|
struct netbsd32_setlogin_args {
|
|
syscallarg(const netbsd32_charp) namebuf;
|
|
};
|
|
|
|
struct netbsd32_acct_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
};
|
|
|
|
struct compat_13_netbsd32_sigaltstack13_args {
|
|
syscallarg(const netbsd32_sigaltstack13p_t) nss;
|
|
syscallarg(netbsd32_sigaltstack13p_t) oss;
|
|
};
|
|
|
|
struct netbsd32_ioctl_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(netbsd32_u_long) com;
|
|
syscallarg(netbsd32_voidp) data;
|
|
};
|
|
|
|
struct compat_12_netbsd32_reboot_args {
|
|
syscallarg(int) opt;
|
|
};
|
|
|
|
struct netbsd32_revoke_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
};
|
|
|
|
struct netbsd32_symlink_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(const netbsd32_charp) link;
|
|
};
|
|
|
|
struct netbsd32_readlink_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(netbsd32_charp) buf;
|
|
syscallarg(netbsd32_size_t) count;
|
|
};
|
|
|
|
struct netbsd32_execve_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(netbsd32_charpp) argp;
|
|
syscallarg(netbsd32_charpp) envp;
|
|
};
|
|
|
|
struct netbsd32_umask_args {
|
|
syscallarg(mode_t) newmask;
|
|
};
|
|
|
|
struct netbsd32_chroot_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
};
|
|
|
|
struct compat_43_netbsd32_fstat43_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(netbsd32_stat43p_t) sb;
|
|
};
|
|
|
|
struct compat_43_netbsd32_ogetkerninfo_args {
|
|
syscallarg(int) op;
|
|
syscallarg(netbsd32_charp) where;
|
|
syscallarg(netbsd32_intp) size;
|
|
syscallarg(int) arg;
|
|
};
|
|
|
|
struct compat_12_netbsd32_msync_args {
|
|
syscallarg(netbsd32_caddr_t) addr;
|
|
syscallarg(netbsd32_size_t) len;
|
|
};
|
|
|
|
struct netbsd32_sbrk_args {
|
|
syscallarg(netbsd32_intptr_t) incr;
|
|
};
|
|
|
|
struct netbsd32_sstk_args {
|
|
syscallarg(int) incr;
|
|
};
|
|
|
|
struct compat_43_netbsd32_ommap_args {
|
|
syscallarg(netbsd32_caddr_t) addr;
|
|
syscallarg(netbsd32_size_t) len;
|
|
syscallarg(int) prot;
|
|
syscallarg(int) flags;
|
|
syscallarg(int) fd;
|
|
syscallarg(netbsd32_long) pos;
|
|
};
|
|
|
|
struct netbsd32_ovadvise_args {
|
|
syscallarg(int) anom;
|
|
};
|
|
|
|
struct netbsd32_munmap_args {
|
|
syscallarg(netbsd32_voidp) addr;
|
|
syscallarg(netbsd32_size_t) len;
|
|
};
|
|
|
|
struct netbsd32_mprotect_args {
|
|
syscallarg(netbsd32_voidp) addr;
|
|
syscallarg(netbsd32_size_t) len;
|
|
syscallarg(int) prot;
|
|
};
|
|
|
|
struct netbsd32_madvise_args {
|
|
syscallarg(netbsd32_voidp) addr;
|
|
syscallarg(netbsd32_size_t) len;
|
|
syscallarg(int) behav;
|
|
};
|
|
|
|
struct netbsd32_mincore_args {
|
|
syscallarg(netbsd32_caddr_t) addr;
|
|
syscallarg(netbsd32_size_t) len;
|
|
syscallarg(netbsd32_charp) vec;
|
|
};
|
|
|
|
struct netbsd32_getgroups_args {
|
|
syscallarg(int) gidsetsize;
|
|
syscallarg(netbsd32_gid_tp) gidset;
|
|
};
|
|
|
|
struct netbsd32_setgroups_args {
|
|
syscallarg(int) gidsetsize;
|
|
syscallarg(const netbsd32_gid_tp) gidset;
|
|
};
|
|
|
|
struct netbsd32_setpgid_args {
|
|
syscallarg(int) pid;
|
|
syscallarg(int) pgid;
|
|
};
|
|
|
|
struct netbsd32_setitimer_args {
|
|
syscallarg(int) which;
|
|
syscallarg(const netbsd32_itimervalp_t) itv;
|
|
syscallarg(netbsd32_itimervalp_t) oitv;
|
|
};
|
|
|
|
struct compat_12_netbsd32_oswapon_args {
|
|
syscallarg(const netbsd32_charp) name;
|
|
};
|
|
|
|
struct netbsd32_getitimer_args {
|
|
syscallarg(int) which;
|
|
syscallarg(netbsd32_itimervalp_t) itv;
|
|
};
|
|
|
|
struct compat_43_netbsd32_ogethostname_args {
|
|
syscallarg(netbsd32_charp) hostname;
|
|
syscallarg(u_int) len;
|
|
};
|
|
|
|
struct compat_43_netbsd32_osethostname_args {
|
|
syscallarg(netbsd32_charp) hostname;
|
|
syscallarg(u_int) len;
|
|
};
|
|
|
|
struct netbsd32_dup2_args {
|
|
syscallarg(int) from;
|
|
syscallarg(int) to;
|
|
};
|
|
|
|
struct netbsd32_fcntl_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(int) cmd;
|
|
syscallarg(netbsd32_voidp) arg;
|
|
};
|
|
|
|
struct netbsd32_select_args {
|
|
syscallarg(int) nd;
|
|
syscallarg(netbsd32_fd_setp_t) in;
|
|
syscallarg(netbsd32_fd_setp_t) ou;
|
|
syscallarg(netbsd32_fd_setp_t) ex;
|
|
syscallarg(netbsd32_timevalp_t) tv;
|
|
};
|
|
|
|
struct netbsd32_fsync_args {
|
|
syscallarg(int) fd;
|
|
};
|
|
|
|
struct netbsd32_setpriority_args {
|
|
syscallarg(int) which;
|
|
syscallarg(int) who;
|
|
syscallarg(int) prio;
|
|
};
|
|
|
|
struct netbsd32_socket_args {
|
|
syscallarg(int) domain;
|
|
syscallarg(int) type;
|
|
syscallarg(int) protocol;
|
|
};
|
|
|
|
struct netbsd32_connect_args {
|
|
syscallarg(int) s;
|
|
syscallarg(const netbsd32_sockaddrp_t) name;
|
|
syscallarg(int) namelen;
|
|
};
|
|
|
|
struct compat_43_netbsd32_oaccept_args {
|
|
syscallarg(int) s;
|
|
syscallarg(netbsd32_caddr_t) name;
|
|
syscallarg(netbsd32_intp) anamelen;
|
|
};
|
|
|
|
struct netbsd32_getpriority_args {
|
|
syscallarg(int) which;
|
|
syscallarg(int) who;
|
|
};
|
|
|
|
struct compat_43_netbsd32_osend_args {
|
|
syscallarg(int) s;
|
|
syscallarg(netbsd32_caddr_t) buf;
|
|
syscallarg(int) len;
|
|
syscallarg(int) flags;
|
|
};
|
|
|
|
struct compat_43_netbsd32_orecv_args {
|
|
syscallarg(int) s;
|
|
syscallarg(netbsd32_caddr_t) buf;
|
|
syscallarg(int) len;
|
|
syscallarg(int) flags;
|
|
};
|
|
|
|
struct compat_13_netbsd32_sigreturn_args {
|
|
syscallarg(netbsd32_sigcontextp_t) sigcntxp;
|
|
};
|
|
|
|
struct netbsd32_bind_args {
|
|
syscallarg(int) s;
|
|
syscallarg(const netbsd32_sockaddrp_t) name;
|
|
syscallarg(int) namelen;
|
|
};
|
|
|
|
struct netbsd32_setsockopt_args {
|
|
syscallarg(int) s;
|
|
syscallarg(int) level;
|
|
syscallarg(int) name;
|
|
syscallarg(const netbsd32_voidp) val;
|
|
syscallarg(int) valsize;
|
|
};
|
|
|
|
struct netbsd32_listen_args {
|
|
syscallarg(int) s;
|
|
syscallarg(int) backlog;
|
|
};
|
|
|
|
struct compat_43_netbsd32_osigvec_args {
|
|
syscallarg(int) signum;
|
|
syscallarg(netbsd32_sigvecp_t) nsv;
|
|
syscallarg(netbsd32_sigvecp_t) osv;
|
|
};
|
|
|
|
struct compat_43_netbsd32_sigblock_args {
|
|
syscallarg(int) mask;
|
|
};
|
|
|
|
struct compat_43_netbsd32_sigsetmask_args {
|
|
syscallarg(int) mask;
|
|
};
|
|
|
|
struct compat_13_netbsd32_sigsuspend_args {
|
|
syscallarg(int) mask;
|
|
};
|
|
|
|
struct compat_43_netbsd32_osigstack_args {
|
|
syscallarg(netbsd32_sigstackp_t) nss;
|
|
syscallarg(netbsd32_sigstackp_t) oss;
|
|
};
|
|
|
|
struct compat_43_netbsd32_orecvmsg_args {
|
|
syscallarg(int) s;
|
|
syscallarg(netbsd32_omsghdrp_t) msg;
|
|
syscallarg(int) flags;
|
|
};
|
|
|
|
struct compat_43_netbsd32_osendmsg_args {
|
|
syscallarg(int) s;
|
|
syscallarg(netbsd32_caddr_t) msg;
|
|
syscallarg(int) flags;
|
|
};
|
|
|
|
struct netbsd32_gettimeofday_args {
|
|
syscallarg(netbsd32_timevalp_t) tp;
|
|
syscallarg(netbsd32_timezonep_t) tzp;
|
|
};
|
|
|
|
struct netbsd32_getrusage_args {
|
|
syscallarg(int) who;
|
|
syscallarg(netbsd32_rusagep_t) rusage;
|
|
};
|
|
|
|
struct netbsd32_getsockopt_args {
|
|
syscallarg(int) s;
|
|
syscallarg(int) level;
|
|
syscallarg(int) name;
|
|
syscallarg(netbsd32_voidp) val;
|
|
syscallarg(netbsd32_intp) avalsize;
|
|
};
|
|
|
|
struct netbsd32_readv_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(const netbsd32_iovecp_t) iovp;
|
|
syscallarg(int) iovcnt;
|
|
};
|
|
|
|
struct netbsd32_writev_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(const netbsd32_iovecp_t) iovp;
|
|
syscallarg(int) iovcnt;
|
|
};
|
|
|
|
struct netbsd32_settimeofday_args {
|
|
syscallarg(const netbsd32_timevalp_t) tv;
|
|
syscallarg(const netbsd32_timezonep_t) tzp;
|
|
};
|
|
|
|
struct netbsd32_fchown_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(uid_t) uid;
|
|
syscallarg(gid_t) gid;
|
|
};
|
|
|
|
struct netbsd32_fchmod_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(mode_t) mode;
|
|
};
|
|
|
|
struct compat_43_netbsd32_orecvfrom_args {
|
|
syscallarg(int) s;
|
|
syscallarg(netbsd32_caddr_t) buf;
|
|
syscallarg(netbsd32_size_t) len;
|
|
syscallarg(int) flags;
|
|
syscallarg(netbsd32_caddr_t) from;
|
|
syscallarg(netbsd32_intp) fromlenaddr;
|
|
};
|
|
|
|
struct netbsd32_setreuid_args {
|
|
syscallarg(uid_t) ruid;
|
|
syscallarg(uid_t) euid;
|
|
};
|
|
|
|
struct netbsd32_setregid_args {
|
|
syscallarg(gid_t) rgid;
|
|
syscallarg(gid_t) egid;
|
|
};
|
|
|
|
struct netbsd32_rename_args {
|
|
syscallarg(const netbsd32_charp) from;
|
|
syscallarg(const netbsd32_charp) to;
|
|
};
|
|
|
|
struct compat_43_netbsd32_otruncate_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(netbsd32_long) length;
|
|
};
|
|
|
|
struct compat_43_netbsd32_oftruncate_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(netbsd32_long) length;
|
|
};
|
|
|
|
struct netbsd32_flock_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(int) how;
|
|
};
|
|
|
|
struct netbsd32_mkfifo_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(mode_t) mode;
|
|
};
|
|
|
|
struct netbsd32_sendto_args {
|
|
syscallarg(int) s;
|
|
syscallarg(const netbsd32_voidp) buf;
|
|
syscallarg(netbsd32_size_t) len;
|
|
syscallarg(int) flags;
|
|
syscallarg(const netbsd32_sockaddrp_t) to;
|
|
syscallarg(int) tolen;
|
|
};
|
|
|
|
struct netbsd32_shutdown_args {
|
|
syscallarg(int) s;
|
|
syscallarg(int) how;
|
|
};
|
|
|
|
struct netbsd32_socketpair_args {
|
|
syscallarg(int) domain;
|
|
syscallarg(int) type;
|
|
syscallarg(int) protocol;
|
|
syscallarg(netbsd32_intp) rsv;
|
|
};
|
|
|
|
struct netbsd32_mkdir_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(mode_t) mode;
|
|
};
|
|
|
|
struct netbsd32_rmdir_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
};
|
|
|
|
struct netbsd32_utimes_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(const netbsd32_timevalp_t) tptr;
|
|
};
|
|
|
|
struct netbsd32_adjtime_args {
|
|
syscallarg(const netbsd32_timevalp_t) delta;
|
|
syscallarg(netbsd32_timevalp_t) olddelta;
|
|
};
|
|
|
|
struct compat_43_netbsd32_ogetpeername_args {
|
|
syscallarg(int) fdes;
|
|
syscallarg(netbsd32_caddr_t) asa;
|
|
syscallarg(netbsd32_intp) alen;
|
|
};
|
|
|
|
struct compat_43_netbsd32_sethostid_args {
|
|
syscallarg(int32_t) hostid;
|
|
};
|
|
|
|
struct compat_43_netbsd32_ogetrlimit_args {
|
|
syscallarg(int) which;
|
|
syscallarg(netbsd32_orlimitp_t) rlp;
|
|
};
|
|
|
|
struct compat_43_netbsd32_osetrlimit_args {
|
|
syscallarg(int) which;
|
|
syscallarg(const netbsd32_orlimitp_t) rlp;
|
|
};
|
|
|
|
struct compat_43_netbsd32_killpg_args {
|
|
syscallarg(int) pgid;
|
|
syscallarg(int) signum;
|
|
};
|
|
|
|
struct netbsd32_quotactl_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(int) cmd;
|
|
syscallarg(int) uid;
|
|
syscallarg(netbsd32_caddr_t) arg;
|
|
};
|
|
|
|
struct compat_43_netbsd32_ogetsockname_args {
|
|
syscallarg(int) fdec;
|
|
syscallarg(netbsd32_caddr_t) asa;
|
|
syscallarg(netbsd32_intp) alen;
|
|
};
|
|
|
|
struct netbsd32_nfssvc_args {
|
|
syscallarg(int) flag;
|
|
syscallarg(netbsd32_voidp) argp;
|
|
};
|
|
|
|
struct compat_43_netbsd32_ogetdirentries_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(netbsd32_charp) buf;
|
|
syscallarg(u_int) count;
|
|
syscallarg(netbsd32_longp) basep;
|
|
};
|
|
|
|
struct netbsd32_statfs_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(netbsd32_statfsp_t) buf;
|
|
};
|
|
|
|
struct netbsd32_fstatfs_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(netbsd32_statfsp_t) buf;
|
|
};
|
|
|
|
struct netbsd32_getfh_args {
|
|
syscallarg(const netbsd32_charp) fname;
|
|
syscallarg(netbsd32_fhandlep_t) fhp;
|
|
};
|
|
|
|
struct compat_09_netbsd32_ogetdomainname_args {
|
|
syscallarg(netbsd32_charp) domainname;
|
|
syscallarg(int) len;
|
|
};
|
|
|
|
struct compat_09_netbsd32_osetdomainname_args {
|
|
syscallarg(netbsd32_charp) domainname;
|
|
syscallarg(int) len;
|
|
};
|
|
|
|
struct compat_09_netbsd32_uname_args {
|
|
syscallarg(netbsd32_outsnamep_t) name;
|
|
};
|
|
|
|
struct netbsd32_sysarch_args {
|
|
syscallarg(int) op;
|
|
syscallarg(netbsd32_voidp) parms;
|
|
};
|
|
|
|
struct netbsd32_compat_10_sys_semsys_args {
|
|
syscallarg(int) which;
|
|
syscallarg(int) a2;
|
|
syscallarg(int) a3;
|
|
syscallarg(int) a4;
|
|
syscallarg(int) a5;
|
|
};
|
|
|
|
struct netbsd32_compat_10_sys_msgsys_args {
|
|
syscallarg(int) which;
|
|
syscallarg(int) a2;
|
|
syscallarg(int) a3;
|
|
syscallarg(int) a4;
|
|
syscallarg(int) a5;
|
|
syscallarg(int) a6;
|
|
};
|
|
|
|
struct netbsd32_compat_10_sys_shmsys_args {
|
|
syscallarg(int) which;
|
|
syscallarg(int) a2;
|
|
syscallarg(int) a3;
|
|
syscallarg(int) a4;
|
|
};
|
|
|
|
struct netbsd32_pread_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(netbsd32_voidp) buf;
|
|
syscallarg(netbsd32_size_t) nbyte;
|
|
syscallarg(int) pad;
|
|
syscallarg(off_t) offset;
|
|
};
|
|
|
|
struct netbsd32_pwrite_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(const netbsd32_voidp) buf;
|
|
syscallarg(netbsd32_size_t) nbyte;
|
|
syscallarg(int) pad;
|
|
syscallarg(off_t) offset;
|
|
};
|
|
|
|
struct netbsd32_ntp_gettime_args {
|
|
syscallarg(netbsd32_ntptimevalp_t) ntvp;
|
|
};
|
|
|
|
struct netbsd32_ntp_adjtime_args {
|
|
syscallarg(netbsd32_timexp_t) tp;
|
|
};
|
|
|
|
struct netbsd32_setgid_args {
|
|
syscallarg(gid_t) gid;
|
|
};
|
|
|
|
struct netbsd32_setegid_args {
|
|
syscallarg(gid_t) egid;
|
|
};
|
|
|
|
struct netbsd32_seteuid_args {
|
|
syscallarg(uid_t) euid;
|
|
};
|
|
|
|
struct netbsd32_sys_lfs_bmapv_args {
|
|
syscallarg(netbsd32_fsid_tp_t) fsidp;
|
|
syscallarg(netbsd32_block_infop_t) blkiov;
|
|
syscallarg(int) blkcnt;
|
|
};
|
|
|
|
struct netbsd32_sys_lfs_markv_args {
|
|
syscallarg(netbsd32_fsid_tp_t) fsidp;
|
|
syscallarg(netbsd32_block_infop_t) blkiov;
|
|
syscallarg(int) blkcnt;
|
|
};
|
|
|
|
struct netbsd32_sys_lfs_segclean_args {
|
|
syscallarg(netbsd32_fsid_tp_t) fsidp;
|
|
syscallarg(netbsd32_u_long) segment;
|
|
};
|
|
|
|
struct netbsd32_sys_lfs_segwait_args {
|
|
syscallarg(netbsd32_fsid_tp_t) fsidp;
|
|
syscallarg(netbsd32_timevalp_t) tv;
|
|
};
|
|
|
|
struct compat_12_netbsd32_stat12_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(netbsd32_stat12p_t) ub;
|
|
};
|
|
|
|
struct compat_12_netbsd32_fstat12_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(netbsd32_stat12p_t) sb;
|
|
};
|
|
|
|
struct compat_12_netbsd32_lstat12_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(netbsd32_stat12p_t) ub;
|
|
};
|
|
|
|
struct netbsd32_pathconf_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(int) name;
|
|
};
|
|
|
|
struct netbsd32_fpathconf_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(int) name;
|
|
};
|
|
|
|
struct netbsd32_getrlimit_args {
|
|
syscallarg(int) which;
|
|
syscallarg(netbsd32_rlimitp_t) rlp;
|
|
};
|
|
|
|
struct netbsd32_setrlimit_args {
|
|
syscallarg(int) which;
|
|
syscallarg(const netbsd32_rlimitp_t) rlp;
|
|
};
|
|
|
|
struct compat_12_netbsd32_getdirentries_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(netbsd32_charp) buf;
|
|
syscallarg(u_int) count;
|
|
syscallarg(netbsd32_longp) basep;
|
|
};
|
|
|
|
struct netbsd32_mmap_args {
|
|
syscallarg(netbsd32_voidp) addr;
|
|
syscallarg(netbsd32_size_t) len;
|
|
syscallarg(int) prot;
|
|
syscallarg(int) flags;
|
|
syscallarg(int) fd;
|
|
syscallarg(netbsd32_long) pad;
|
|
syscallarg(off_t) pos;
|
|
};
|
|
|
|
struct netbsd32_lseek_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(int) pad;
|
|
syscallarg(off_t) offset;
|
|
syscallarg(int) whence;
|
|
};
|
|
|
|
struct netbsd32_truncate_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(int) pad;
|
|
syscallarg(off_t) length;
|
|
};
|
|
|
|
struct netbsd32_ftruncate_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(int) pad;
|
|
syscallarg(off_t) length;
|
|
};
|
|
|
|
struct netbsd32___sysctl_args {
|
|
syscallarg(netbsd32_intp) name;
|
|
syscallarg(u_int) namelen;
|
|
syscallarg(netbsd32_voidp) old;
|
|
syscallarg(netbsd32_size_tp) oldlenp;
|
|
syscallarg(netbsd32_voidp) new;
|
|
syscallarg(netbsd32_size_t) newlen;
|
|
};
|
|
|
|
struct netbsd32_mlock_args {
|
|
syscallarg(const netbsd32_voidp) addr;
|
|
syscallarg(netbsd32_size_t) len;
|
|
};
|
|
|
|
struct netbsd32_munlock_args {
|
|
syscallarg(const netbsd32_voidp) addr;
|
|
syscallarg(netbsd32_size_t) len;
|
|
};
|
|
|
|
struct netbsd32_undelete_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
};
|
|
|
|
struct netbsd32_futimes_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(const netbsd32_timevalp_t) tptr;
|
|
};
|
|
|
|
struct netbsd32_getpgid_args {
|
|
syscallarg(pid_t) pid;
|
|
};
|
|
|
|
struct netbsd32_reboot_args {
|
|
syscallarg(int) opt;
|
|
syscallarg(netbsd32_charp) bootstr;
|
|
};
|
|
|
|
struct netbsd32_poll_args {
|
|
syscallarg(netbsd32_pollfdp_t) fds;
|
|
syscallarg(u_int) nfds;
|
|
syscallarg(int) timeout;
|
|
};
|
|
|
|
struct compat_14_netbsd32___semctl_args {
|
|
syscallarg(int) semid;
|
|
syscallarg(int) semnum;
|
|
syscallarg(int) cmd;
|
|
syscallarg(netbsd32_semunu_t) arg;
|
|
};
|
|
|
|
struct netbsd32_semget_args {
|
|
syscallarg(netbsd32_key_t) key;
|
|
syscallarg(int) nsems;
|
|
syscallarg(int) semflg;
|
|
};
|
|
|
|
struct netbsd32_semop_args {
|
|
syscallarg(int) semid;
|
|
syscallarg(netbsd32_sembufp_t) sops;
|
|
syscallarg(netbsd32_size_t) nsops;
|
|
};
|
|
|
|
struct netbsd32_semconfig_args {
|
|
syscallarg(int) flag;
|
|
};
|
|
|
|
struct compat_14_netbsd32_msgctl_args {
|
|
syscallarg(int) msqid;
|
|
syscallarg(int) cmd;
|
|
syscallarg(netbsd32_msqid_dsp_t) buf;
|
|
};
|
|
|
|
struct netbsd32_msgget_args {
|
|
syscallarg(netbsd32_key_t) key;
|
|
syscallarg(int) msgflg;
|
|
};
|
|
|
|
struct netbsd32_msgsnd_args {
|
|
syscallarg(int) msqid;
|
|
syscallarg(const netbsd32_voidp) msgp;
|
|
syscallarg(netbsd32_size_t) msgsz;
|
|
syscallarg(int) msgflg;
|
|
};
|
|
|
|
struct netbsd32_msgrcv_args {
|
|
syscallarg(int) msqid;
|
|
syscallarg(netbsd32_voidp) msgp;
|
|
syscallarg(netbsd32_size_t) msgsz;
|
|
syscallarg(netbsd32_long) msgtyp;
|
|
syscallarg(int) msgflg;
|
|
};
|
|
|
|
struct netbsd32_shmat_args {
|
|
syscallarg(int) shmid;
|
|
syscallarg(const netbsd32_voidp) shmaddr;
|
|
syscallarg(int) shmflg;
|
|
};
|
|
|
|
struct compat_14_netbsd32_shmctl_args {
|
|
syscallarg(int) shmid;
|
|
syscallarg(int) cmd;
|
|
syscallarg(netbsd32_shmid_dsp_t) buf;
|
|
};
|
|
|
|
struct netbsd32_shmdt_args {
|
|
syscallarg(const netbsd32_voidp) shmaddr;
|
|
};
|
|
|
|
struct netbsd32_shmget_args {
|
|
syscallarg(netbsd32_key_t) key;
|
|
syscallarg(netbsd32_size_t) size;
|
|
syscallarg(int) shmflg;
|
|
};
|
|
|
|
struct netbsd32_clock_gettime_args {
|
|
syscallarg(netbsd32_clockid_t) clock_id;
|
|
syscallarg(netbsd32_timespecp_t) tp;
|
|
};
|
|
|
|
struct netbsd32_clock_settime_args {
|
|
syscallarg(netbsd32_clockid_t) clock_id;
|
|
syscallarg(const netbsd32_timespecp_t) tp;
|
|
};
|
|
|
|
struct netbsd32_clock_getres_args {
|
|
syscallarg(netbsd32_clockid_t) clock_id;
|
|
syscallarg(netbsd32_timespecp_t) tp;
|
|
};
|
|
|
|
struct netbsd32_nanosleep_args {
|
|
syscallarg(const netbsd32_timespecp_t) rqtp;
|
|
syscallarg(netbsd32_timespecp_t) rmtp;
|
|
};
|
|
|
|
struct netbsd32_fdatasync_args {
|
|
syscallarg(int) fd;
|
|
};
|
|
|
|
struct netbsd32___posix_rename_args {
|
|
syscallarg(const netbsd32_charp) from;
|
|
syscallarg(const netbsd32_charp) to;
|
|
};
|
|
|
|
struct netbsd32_swapctl_args {
|
|
syscallarg(int) cmd;
|
|
syscallarg(const netbsd32_voidp) arg;
|
|
syscallarg(int) misc;
|
|
};
|
|
|
|
struct netbsd32_getdents_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(netbsd32_charp) buf;
|
|
syscallarg(netbsd32_size_t) count;
|
|
};
|
|
|
|
struct netbsd32_minherit_args {
|
|
syscallarg(netbsd32_voidp) addr;
|
|
syscallarg(netbsd32_size_t) len;
|
|
syscallarg(int) inherit;
|
|
};
|
|
|
|
struct netbsd32_lchmod_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(mode_t) mode;
|
|
};
|
|
|
|
struct netbsd32_lchown_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(uid_t) uid;
|
|
syscallarg(gid_t) gid;
|
|
};
|
|
|
|
struct netbsd32_lutimes_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(const netbsd32_timevalp_t) tptr;
|
|
};
|
|
|
|
struct netbsd32___msync13_args {
|
|
syscallarg(netbsd32_voidp) addr;
|
|
syscallarg(netbsd32_size_t) len;
|
|
syscallarg(int) flags;
|
|
};
|
|
|
|
struct netbsd32___stat13_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(netbsd32_statp_t) ub;
|
|
};
|
|
|
|
struct netbsd32___fstat13_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(netbsd32_statp_t) sb;
|
|
};
|
|
|
|
struct netbsd32___lstat13_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(netbsd32_statp_t) ub;
|
|
};
|
|
|
|
struct netbsd32___sigaltstack14_args {
|
|
syscallarg(const netbsd32_sigaltstackp_t) nss;
|
|
syscallarg(netbsd32_sigaltstackp_t) oss;
|
|
};
|
|
|
|
struct netbsd32___posix_chown_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(uid_t) uid;
|
|
syscallarg(gid_t) gid;
|
|
};
|
|
|
|
struct netbsd32___posix_fchown_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(uid_t) uid;
|
|
syscallarg(gid_t) gid;
|
|
};
|
|
|
|
struct netbsd32___posix_lchown_args {
|
|
syscallarg(const netbsd32_charp) path;
|
|
syscallarg(uid_t) uid;
|
|
syscallarg(gid_t) gid;
|
|
};
|
|
|
|
struct netbsd32_getsid_args {
|
|
syscallarg(pid_t) pid;
|
|
};
|
|
|
|
struct netbsd32_fktrace_args {
|
|
syscallarg(const int) fd;
|
|
syscallarg(int) ops;
|
|
syscallarg(int) facs;
|
|
syscallarg(int) pid;
|
|
};
|
|
|
|
struct netbsd32_preadv_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(const netbsd32_iovecp_t) iovp;
|
|
syscallarg(int) iovcnt;
|
|
syscallarg(int) pad;
|
|
syscallarg(off_t) offset;
|
|
};
|
|
|
|
struct netbsd32_pwritev_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(const netbsd32_iovecp_t) iovp;
|
|
syscallarg(int) iovcnt;
|
|
syscallarg(int) pad;
|
|
syscallarg(off_t) offset;
|
|
};
|
|
|
|
struct netbsd32___sigaction14_args {
|
|
syscallarg(int) signum;
|
|
syscallarg(const netbsd32_sigactionp_t) nsa;
|
|
syscallarg(netbsd32_sigactionp_t) osa;
|
|
};
|
|
|
|
struct netbsd32___sigpending14_args {
|
|
syscallarg(netbsd32_sigsetp_t) set;
|
|
};
|
|
|
|
struct netbsd32___sigprocmask14_args {
|
|
syscallarg(int) how;
|
|
syscallarg(const netbsd32_sigsetp_t) set;
|
|
syscallarg(netbsd32_sigsetp_t) oset;
|
|
};
|
|
|
|
struct netbsd32___sigsuspend14_args {
|
|
syscallarg(const netbsd32_sigsetp_t) set;
|
|
};
|
|
|
|
struct netbsd32___sigreturn14_args {
|
|
syscallarg(netbsd32_sigcontextp_t) sigcntxp;
|
|
};
|
|
|
|
struct netbsd32___getcwd_args {
|
|
syscallarg(netbsd32_charp) bufp;
|
|
syscallarg(netbsd32_size_t) length;
|
|
};
|
|
|
|
struct netbsd32_fchroot_args {
|
|
syscallarg(int) fd;
|
|
};
|
|
|
|
struct netbsd32_fhopen_args {
|
|
syscallarg(const netbsd32_fhandlep_t) fhp;
|
|
syscallarg(int) flags;
|
|
};
|
|
|
|
struct netbsd32_fhstat_args {
|
|
syscallarg(const netbsd32_fhandlep_t) fhp;
|
|
syscallarg(netbsd32_statp_t) sb;
|
|
};
|
|
|
|
struct netbsd32_fhstatfs_args {
|
|
syscallarg(netbsd32_fhandlep_t) fhp;
|
|
syscallarg(netbsd32_statp_t) buf;
|
|
};
|
|
|
|
struct netbsd32___semctl14_args {
|
|
syscallarg(int) semid;
|
|
syscallarg(int) semnum;
|
|
syscallarg(int) cmd;
|
|
syscallarg(union netbsd32_semun3 *) arg;
|
|
};
|
|
|
|
struct netbsd32___msgctl13_args {
|
|
syscallarg(int) msqid;
|
|
syscallarg(int) cmd;
|
|
syscallarg(netbsd32_msqid_dsp_t) buf;
|
|
};
|
|
|
|
struct netbsd32___shmctl13_args {
|
|
syscallarg(int) shmid;
|
|
syscallarg(int) cmd;
|
|
syscallarg(netbsd32_shmid_dsp_t) buf;
|
|
};
|
|
|
|
/*
|
|
* System call prototypes.
|
|
*/
|
|
|
|
int netbsd32_exit(struct proc *, void *, register_t *);
|
|
int sys_fork(struct proc *, void *, register_t *);
|
|
int netbsd32_read(struct proc *, void *, register_t *);
|
|
int netbsd32_write(struct proc *, void *, register_t *);
|
|
int netbsd32_open(struct proc *, void *, register_t *);
|
|
int netbsd32_close(struct proc *, void *, register_t *);
|
|
int netbsd32_wait4(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_ocreat(struct proc *, void *, register_t *);
|
|
int netbsd32_link(struct proc *, void *, register_t *);
|
|
int netbsd32_unlink(struct proc *, void *, register_t *);
|
|
int netbsd32_chdir(struct proc *, void *, register_t *);
|
|
int netbsd32_fchdir(struct proc *, void *, register_t *);
|
|
int netbsd32_mknod(struct proc *, void *, register_t *);
|
|
int netbsd32_chmod(struct proc *, void *, register_t *);
|
|
int netbsd32_chown(struct proc *, void *, register_t *);
|
|
int netbsd32_break(struct proc *, void *, register_t *);
|
|
int netbsd32_getfsstat(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_olseek(struct proc *, void *, register_t *);
|
|
int sys_getpid(struct proc *, void *, register_t *);
|
|
int netbsd32_mount(struct proc *, void *, register_t *);
|
|
int netbsd32_unmount(struct proc *, void *, register_t *);
|
|
int netbsd32_setuid(struct proc *, void *, register_t *);
|
|
int sys_getuid(struct proc *, void *, register_t *);
|
|
int sys_geteuid(struct proc *, void *, register_t *);
|
|
int netbsd32_ptrace(struct proc *, void *, register_t *);
|
|
int netbsd32_recvmsg(struct proc *, void *, register_t *);
|
|
int netbsd32_sendmsg(struct proc *, void *, register_t *);
|
|
int netbsd32_recvfrom(struct proc *, void *, register_t *);
|
|
int netbsd32_accept(struct proc *, void *, register_t *);
|
|
int netbsd32_getpeername(struct proc *, void *, register_t *);
|
|
int netbsd32_getsockname(struct proc *, void *, register_t *);
|
|
int netbsd32_access(struct proc *, void *, register_t *);
|
|
int netbsd32_chflags(struct proc *, void *, register_t *);
|
|
int netbsd32_fchflags(struct proc *, void *, register_t *);
|
|
int sys_sync(struct proc *, void *, register_t *);
|
|
int netbsd32_kill(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_stat43(struct proc *, void *, register_t *);
|
|
int sys_getppid(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_lstat43(struct proc *, void *, register_t *);
|
|
int netbsd32_dup(struct proc *, void *, register_t *);
|
|
int sys_pipe(struct proc *, void *, register_t *);
|
|
int sys_getegid(struct proc *, void *, register_t *);
|
|
int netbsd32_profil(struct proc *, void *, register_t *);
|
|
#if defined(KTRACE) || !defined(_KERNEL)
|
|
int netbsd32_ktrace(struct proc *, void *, register_t *);
|
|
#else
|
|
#endif
|
|
int netbsd32_sigaction(struct proc *, void *, register_t *);
|
|
int sys_getgid(struct proc *, void *, register_t *);
|
|
int compat_13_netbsd32_sigprocmask(struct proc *, void *, register_t *);
|
|
int netbsd32___getlogin(struct proc *, void *, register_t *);
|
|
int netbsd32_setlogin(struct proc *, void *, register_t *);
|
|
int netbsd32_acct(struct proc *, void *, register_t *);
|
|
int compat_13_sys_sigpending(struct proc *, void *, register_t *);
|
|
int compat_13_netbsd32_sigaltstack13(struct proc *, void *, register_t *);
|
|
int netbsd32_ioctl(struct proc *, void *, register_t *);
|
|
#ifdef COMPAT_12
|
|
int compat_12_netbsd32_reboot(struct proc *, void *, register_t *);
|
|
#else
|
|
#endif
|
|
int netbsd32_revoke(struct proc *, void *, register_t *);
|
|
int netbsd32_symlink(struct proc *, void *, register_t *);
|
|
int netbsd32_readlink(struct proc *, void *, register_t *);
|
|
int netbsd32_execve(struct proc *, void *, register_t *);
|
|
int netbsd32_umask(struct proc *, void *, register_t *);
|
|
int netbsd32_chroot(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_fstat43(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_ogetkerninfo(struct proc *, void *, register_t *);
|
|
int compat_43_sys_getpagesize(struct proc *, void *, register_t *);
|
|
int compat_12_netbsd32_msync(struct proc *, void *, register_t *);
|
|
int sys_vfork(struct proc *, void *, register_t *);
|
|
int netbsd32_sbrk(struct proc *, void *, register_t *);
|
|
int netbsd32_sstk(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_ommap(struct proc *, void *, register_t *);
|
|
int netbsd32_ovadvise(struct proc *, void *, register_t *);
|
|
int netbsd32_munmap(struct proc *, void *, register_t *);
|
|
int netbsd32_mprotect(struct proc *, void *, register_t *);
|
|
int netbsd32_madvise(struct proc *, void *, register_t *);
|
|
int netbsd32_mincore(struct proc *, void *, register_t *);
|
|
int netbsd32_getgroups(struct proc *, void *, register_t *);
|
|
int netbsd32_setgroups(struct proc *, void *, register_t *);
|
|
int sys_getpgrp(struct proc *, void *, register_t *);
|
|
int netbsd32_setpgid(struct proc *, void *, register_t *);
|
|
int netbsd32_setitimer(struct proc *, void *, register_t *);
|
|
int compat_43_sys_wait(struct proc *, void *, register_t *);
|
|
int compat_12_netbsd32_oswapon(struct proc *, void *, register_t *);
|
|
int netbsd32_getitimer(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_ogethostname(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_osethostname(struct proc *, void *, register_t *);
|
|
int compat_43_sys_getdtablesize(struct proc *, void *, register_t *);
|
|
int netbsd32_dup2(struct proc *, void *, register_t *);
|
|
int netbsd32_fcntl(struct proc *, void *, register_t *);
|
|
int netbsd32_select(struct proc *, void *, register_t *);
|
|
int netbsd32_fsync(struct proc *, void *, register_t *);
|
|
int netbsd32_setpriority(struct proc *, void *, register_t *);
|
|
int netbsd32_socket(struct proc *, void *, register_t *);
|
|
int netbsd32_connect(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_oaccept(struct proc *, void *, register_t *);
|
|
int netbsd32_getpriority(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_osend(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_orecv(struct proc *, void *, register_t *);
|
|
int compat_13_netbsd32_sigreturn(struct proc *, void *, register_t *);
|
|
int netbsd32_bind(struct proc *, void *, register_t *);
|
|
int netbsd32_setsockopt(struct proc *, void *, register_t *);
|
|
int netbsd32_listen(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_osigvec(struct proc *, void *, register_t *);
|
|
#ifdef COMPAT_43
|
|
int compat_43_netbsd32_sigblock(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_sigsetmask(struct proc *, void *, register_t *);
|
|
#else
|
|
#endif
|
|
int compat_13_netbsd32_sigsuspend(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_osigstack(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_orecvmsg(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_osendmsg(struct proc *, void *, register_t *);
|
|
int netbsd32_gettimeofday(struct proc *, void *, register_t *);
|
|
int netbsd32_getrusage(struct proc *, void *, register_t *);
|
|
int netbsd32_getsockopt(struct proc *, void *, register_t *);
|
|
int netbsd32_readv(struct proc *, void *, register_t *);
|
|
int netbsd32_writev(struct proc *, void *, register_t *);
|
|
int netbsd32_settimeofday(struct proc *, void *, register_t *);
|
|
int netbsd32_fchown(struct proc *, void *, register_t *);
|
|
int netbsd32_fchmod(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_orecvfrom(struct proc *, void *, register_t *);
|
|
int netbsd32_setreuid(struct proc *, void *, register_t *);
|
|
int netbsd32_setregid(struct proc *, void *, register_t *);
|
|
int netbsd32_rename(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_otruncate(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_oftruncate(struct proc *, void *, register_t *);
|
|
int netbsd32_flock(struct proc *, void *, register_t *);
|
|
int netbsd32_mkfifo(struct proc *, void *, register_t *);
|
|
int netbsd32_sendto(struct proc *, void *, register_t *);
|
|
int netbsd32_shutdown(struct proc *, void *, register_t *);
|
|
int netbsd32_socketpair(struct proc *, void *, register_t *);
|
|
int netbsd32_mkdir(struct proc *, void *, register_t *);
|
|
int netbsd32_rmdir(struct proc *, void *, register_t *);
|
|
int netbsd32_utimes(struct proc *, void *, register_t *);
|
|
int netbsd32_adjtime(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_ogetpeername(struct proc *, void *, register_t *);
|
|
int compat_43_sys_gethostid(struct proc *, void *, register_t *);
|
|
#ifdef COMPAT_43
|
|
int compat_43_netbsd32_sethostid(struct proc *, void *, register_t *);
|
|
#else
|
|
#endif
|
|
int compat_43_netbsd32_ogetrlimit(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_osetrlimit(struct proc *, void *, register_t *);
|
|
#ifdef COMPAT_43
|
|
int compat_43_netbsd32_killpg(struct proc *, void *, register_t *);
|
|
#else
|
|
#endif
|
|
int sys_setsid(struct proc *, void *, register_t *);
|
|
int netbsd32_quotactl(struct proc *, void *, register_t *);
|
|
int compat_43_sys_quota(struct proc *, void *, register_t *);
|
|
int compat_43_netbsd32_ogetsockname(struct proc *, void *, register_t *);
|
|
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
|
|
int netbsd32_nfssvc(struct proc *, void *, register_t *);
|
|
#else
|
|
#endif
|
|
int compat_43_netbsd32_ogetdirentries(struct proc *, void *, register_t *);
|
|
int netbsd32_statfs(struct proc *, void *, register_t *);
|
|
int netbsd32_fstatfs(struct proc *, void *, register_t *);
|
|
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
|
|
int netbsd32_getfh(struct proc *, void *, register_t *);
|
|
#else
|
|
#endif
|
|
int compat_09_netbsd32_ogetdomainname(struct proc *, void *, register_t *);
|
|
int compat_09_netbsd32_osetdomainname(struct proc *, void *, register_t *);
|
|
int compat_09_netbsd32_uname(struct proc *, void *, register_t *);
|
|
int netbsd32_sysarch(struct proc *, void *, register_t *);
|
|
#if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10)
|
|
int netbsd32_compat_10_sys_semsys(struct proc *, void *, register_t *);
|
|
#else
|
|
#endif
|
|
#if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10)
|
|
int netbsd32_compat_10_sys_msgsys(struct proc *, void *, register_t *);
|
|
#else
|
|
#endif
|
|
#if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10)
|
|
int netbsd32_compat_10_sys_shmsys(struct proc *, void *, register_t *);
|
|
#else
|
|
#endif
|
|
int netbsd32_pread(struct proc *, void *, register_t *);
|
|
int netbsd32_pwrite(struct proc *, void *, register_t *);
|
|
int netbsd32_ntp_gettime(struct proc *, void *, register_t *);
|
|
int netbsd32_ntp_adjtime(struct proc *, void *, register_t *);
|
|
int netbsd32_setgid(struct proc *, void *, register_t *);
|
|
int netbsd32_setegid(struct proc *, void *, register_t *);
|
|
int netbsd32_seteuid(struct proc *, void *, register_t *);
|
|
#if defined(LFS) || !defined(_KERNEL)
|
|
int netbsd32_sys_lfs_bmapv(struct proc *, void *, register_t *);
|
|
int netbsd32_sys_lfs_markv(struct proc *, void *, register_t *);
|
|
int netbsd32_sys_lfs_segclean(struct proc *, void *, register_t *);
|
|
int netbsd32_sys_lfs_segwait(struct proc *, void *, register_t *);
|
|
#else
|
|
#endif
|
|
int compat_12_netbsd32_stat12(struct proc *, void *, register_t *);
|
|
int compat_12_netbsd32_fstat12(struct proc *, void *, register_t *);
|
|
int compat_12_netbsd32_lstat12(struct proc *, void *, register_t *);
|
|
int netbsd32_pathconf(struct proc *, void *, register_t *);
|
|
int netbsd32_fpathconf(struct proc *, void *, register_t *);
|
|
int netbsd32_getrlimit(struct proc *, void *, register_t *);
|
|
int netbsd32_setrlimit(struct proc *, void *, register_t *);
|
|
int compat_12_netbsd32_getdirentries(struct proc *, void *, register_t *);
|
|
int netbsd32_mmap(struct proc *, void *, register_t *);
|
|
int netbsd32_lseek(struct proc *, void *, register_t *);
|
|
int netbsd32_truncate(struct proc *, void *, register_t *);
|
|
int netbsd32_ftruncate(struct proc *, void *, register_t *);
|
|
int netbsd32___sysctl(struct proc *, void *, register_t *);
|
|
int netbsd32_mlock(struct proc *, void *, register_t *);
|
|
int netbsd32_munlock(struct proc *, void *, register_t *);
|
|
int netbsd32_undelete(struct proc *, void *, register_t *);
|
|
int netbsd32_futimes(struct proc *, void *, register_t *);
|
|
int netbsd32_getpgid(struct proc *, void *, register_t *);
|
|
int netbsd32_reboot(struct proc *, void *, register_t *);
|
|
int netbsd32_poll(struct proc *, void *, register_t *);
|
|
#if defined(LKM) || !defined(_KERNEL)
|
|
int sys_lkmnosys(struct proc *, void *, register_t *);
|
|
int sys_lkmnosys(struct proc *, void *, register_t *);
|
|
int sys_lkmnosys(struct proc *, void *, register_t *);
|
|
int sys_lkmnosys(struct proc *, void *, register_t *);
|
|
int sys_lkmnosys(struct proc *, void *, register_t *);
|
|
int sys_lkmnosys(struct proc *, void *, register_t *);
|
|
int sys_lkmnosys(struct proc *, void *, register_t *);
|
|
int sys_lkmnosys(struct proc *, void *, register_t *);
|
|
int sys_lkmnosys(struct proc *, void *, register_t *);
|
|
int sys_lkmnosys(struct proc *, void *, register_t *);
|
|
#else /* !LKM || !_KERNEL */
|
|
#endif /* !LKM || !_KERNEL */
|
|
#if defined(SYSVSEM) || !defined(_KERNEL)
|
|
int compat_14_netbsd32___semctl(struct proc *, void *, register_t *);
|
|
int netbsd32_semget(struct proc *, void *, register_t *);
|
|
int netbsd32_semop(struct proc *, void *, register_t *);
|
|
int netbsd32_semconfig(struct proc *, void *, register_t *);
|
|
#else
|
|
#endif
|
|
#if defined(SYSVMSG) || !defined(_KERNEL)
|
|
int compat_14_netbsd32_msgctl(struct proc *, void *, register_t *);
|
|
int netbsd32_msgget(struct proc *, void *, register_t *);
|
|
int netbsd32_msgsnd(struct proc *, void *, register_t *);
|
|
int netbsd32_msgrcv(struct proc *, void *, register_t *);
|
|
#else
|
|
#endif
|
|
#if defined(SYSVSHM) || !defined(_KERNEL)
|
|
int netbsd32_shmat(struct proc *, void *, register_t *);
|
|
int compat_14_netbsd32_shmctl(struct proc *, void *, register_t *);
|
|
int netbsd32_shmdt(struct proc *, void *, register_t *);
|
|
int netbsd32_shmget(struct proc *, void *, register_t *);
|
|
#else
|
|
#endif
|
|
int netbsd32_clock_gettime(struct proc *, void *, register_t *);
|
|
int netbsd32_clock_settime(struct proc *, void *, register_t *);
|
|
int netbsd32_clock_getres(struct proc *, void *, register_t *);
|
|
int netbsd32_nanosleep(struct proc *, void *, register_t *);
|
|
int netbsd32_fdatasync(struct proc *, void *, register_t *);
|
|
int netbsd32___posix_rename(struct proc *, void *, register_t *);
|
|
int netbsd32_swapctl(struct proc *, void *, register_t *);
|
|
int netbsd32_getdents(struct proc *, void *, register_t *);
|
|
int netbsd32_minherit(struct proc *, void *, register_t *);
|
|
int netbsd32_lchmod(struct proc *, void *, register_t *);
|
|
int netbsd32_lchown(struct proc *, void *, register_t *);
|
|
int netbsd32_lutimes(struct proc *, void *, register_t *);
|
|
int netbsd32___msync13(struct proc *, void *, register_t *);
|
|
int netbsd32___stat13(struct proc *, void *, register_t *);
|
|
int netbsd32___fstat13(struct proc *, void *, register_t *);
|
|
int netbsd32___lstat13(struct proc *, void *, register_t *);
|
|
int netbsd32___sigaltstack14(struct proc *, void *, register_t *);
|
|
int sys___vfork14(struct proc *, void *, register_t *);
|
|
int netbsd32___posix_chown(struct proc *, void *, register_t *);
|
|
int netbsd32___posix_fchown(struct proc *, void *, register_t *);
|
|
int netbsd32___posix_lchown(struct proc *, void *, register_t *);
|
|
int netbsd32_getsid(struct proc *, void *, register_t *);
|
|
#if defined(KTRACE) || !defined(_KERNEL)
|
|
int netbsd32_fktrace(struct proc *, void *, register_t *);
|
|
#else
|
|
#endif
|
|
int netbsd32_preadv(struct proc *, void *, register_t *);
|
|
int netbsd32_pwritev(struct proc *, void *, register_t *);
|
|
int netbsd32___sigaction14(struct proc *, void *, register_t *);
|
|
int netbsd32___sigpending14(struct proc *, void *, register_t *);
|
|
int netbsd32___sigprocmask14(struct proc *, void *, register_t *);
|
|
int netbsd32___sigsuspend14(struct proc *, void *, register_t *);
|
|
int netbsd32___sigreturn14(struct proc *, void *, register_t *);
|
|
int netbsd32___getcwd(struct proc *, void *, register_t *);
|
|
int netbsd32_fchroot(struct proc *, void *, register_t *);
|
|
int netbsd32_fhopen(struct proc *, void *, register_t *);
|
|
int netbsd32_fhstat(struct proc *, void *, register_t *);
|
|
int netbsd32_fhstatfs(struct proc *, void *, register_t *);
|
|
#if defined(SYSVSEM) || !defined(_KERNEL)
|
|
int netbsd32___semctl14(struct proc *, void *, register_t *);
|
|
#else
|
|
#endif
|
|
#if defined(SYSVMSG) || !defined(_KERNEL)
|
|
int netbsd32___msgctl13(struct proc *, void *, register_t *);
|
|
#else
|
|
#endif
|
|
#if defined(SYSVSHM) || !defined(_KERNEL)
|
|
int netbsd32___shmctl13(struct proc *, void *, register_t *);
|
|
#else
|
|
#endif
|
|
#endif /* _netbsd32_SYS__SYSCALLARGS_H_ */
|