diff options
author | peter <peter@FreeBSD.org> | 2003-12-24 00:02:08 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-12-24 00:02:08 +0000 |
commit | 3c0ded8faddc9d72b5587c0d370df2810c49d0dc (patch) | |
tree | cfa25418aec3d22ca68dac66000686a9e35ad5f6 /sys/compat/svr4 | |
parent | 44cc92af4a0731e1017c1fd874bcbf688da35747 (diff) | |
download | FreeBSD-src-3c0ded8faddc9d72b5587c0d370df2810c49d0dc.zip FreeBSD-src-3c0ded8faddc9d72b5587c0d370df2810c49d0dc.tar.gz |
Regen. This should have been a NOP, but its not been regenerated for
ages and is missing the changes from the last few makesyscalls.sh
revisions.
Diffstat (limited to 'sys/compat/svr4')
-rw-r--r-- | sys/compat/svr4/svr4_proto.h | 701 | ||||
-rw-r--r-- | sys/compat/svr4/svr4_syscall.h | 2 | ||||
-rw-r--r-- | sys/compat/svr4/svr4_syscallnames.c | 4 | ||||
-rw-r--r-- | sys/compat/svr4/svr4_sysent.c | 14 |
4 files changed, 372 insertions, 349 deletions
diff --git a/sys/compat/svr4/svr4_proto.h b/sys/compat/svr4/svr4_proto.h index 15f66de..ca5519f 100644 --- a/sys/compat/svr4/svr4_proto.h +++ b/sys/compat/svr4/svr4_proto.h @@ -3,15 +3,19 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/compat/svr4/syscalls.master,v 1.11 2000/08/31 22:54:05 obrien Exp + * created from FreeBSD: src/sys/compat/svr4/syscalls.master,v 1.13 2003/12/24 00:00:47 peter Exp */ #ifndef _SVR4_SYSPROTO_H_ #define _SVR4_SYSPROTO_H_ #include <sys/signal.h> - #include <sys/acl.h> +#include <sys/thr.h> +#include <sys/umtx.h> +#include <posix4/_semaphore.h> + +#include <sys/ucontext.h> struct proc; @@ -20,368 +24,376 @@ struct thread; #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \ 0 : sizeof(register_t) - sizeof(t)) -struct svr4_sys_open_args { - char * path; char path_[PAD_(char *)]; - int flags; char flags_[PAD_(int)]; - int mode; char mode_[PAD_(int)]; +#if BYTE_ORDER == LITTLE_ENDIAN +#define PADL_(t) 0 +#define PADR_(t) PAD_(t) +#else +#define PADL_(t) PAD_(t) +#define PADR_(t) 0 +#endif + +struct svr4_sys_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 svr4_sys_wait_args { - int * status; char status_[PAD_(int *)]; +struct svr4_sys_wait_args { + char status_l_[PADL_(int *)]; int * status; char status_r_[PADR_(int *)]; }; -struct svr4_sys_creat_args { - char * path; char path_[PAD_(char *)]; - int mode; char mode_[PAD_(int)]; +struct svr4_sys_creat_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 svr4_sys_execv_args { - char * path; char path_[PAD_(char *)]; - char ** argp; char argp_[PAD_(char **)]; +struct svr4_sys_execv_args { + char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; + char argp_l_[PADL_(char **)]; char ** argp; char argp_r_[PADR_(char **)]; }; -struct svr4_sys_time_args { - time_t * t; char t_[PAD_(time_t *)]; +struct svr4_sys_time_args { + char t_l_[PADL_(time_t *)]; time_t * t; char t_r_[PADR_(time_t *)]; }; -struct svr4_sys_mknod_args { - char * path; char path_[PAD_(char *)]; - int mode; char mode_[PAD_(int)]; - int dev; char dev_[PAD_(int)]; +struct svr4_sys_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 svr4_sys_break_args { - caddr_t nsize; char nsize_[PAD_(caddr_t)]; +struct svr4_sys_break_args { + char nsize_l_[PADL_(caddr_t)]; caddr_t nsize; char nsize_r_[PADR_(caddr_t)]; }; -struct svr4_sys_stat_args { - char * path; char path_[PAD_(char *)]; - struct svr4_stat * ub; char ub_[PAD_(struct svr4_stat *)]; +struct svr4_sys_stat_args { + char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; + char ub_l_[PADL_(struct svr4_stat *)]; struct svr4_stat * ub; char ub_r_[PADR_(struct svr4_stat *)]; }; -struct svr4_sys_alarm_args { - unsigned sec; char sec_[PAD_(unsigned)]; +struct svr4_sys_alarm_args { + char sec_l_[PADL_(unsigned)]; unsigned sec; char sec_r_[PADR_(unsigned)]; }; -struct svr4_sys_fstat_args { - int fd; char fd_[PAD_(int)]; - struct svr4_stat * sb; char sb_[PAD_(struct svr4_stat *)]; +struct svr4_sys_fstat_args { + char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; + char sb_l_[PADL_(struct svr4_stat *)]; struct svr4_stat * sb; char sb_r_[PADR_(struct svr4_stat *)]; }; -struct svr4_sys_pause_args { +struct svr4_sys_pause_args { register_t dummy; }; -struct svr4_sys_utime_args { - char * path; char path_[PAD_(char *)]; - struct svr4_utimbuf * ubuf; char ubuf_[PAD_(struct svr4_utimbuf *)]; +struct svr4_sys_utime_args { + char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; + char ubuf_l_[PADL_(struct svr4_utimbuf *)]; struct svr4_utimbuf * ubuf; char ubuf_r_[PADR_(struct svr4_utimbuf *)]; }; -struct svr4_sys_access_args { - char * path; char path_[PAD_(char *)]; - int flags; char flags_[PAD_(int)]; +struct svr4_sys_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 svr4_sys_nice_args { - int prio; char prio_[PAD_(int)]; +struct svr4_sys_nice_args { + char prio_l_[PADL_(int)]; int prio; char prio_r_[PADR_(int)]; }; -struct svr4_sys_kill_args { - int pid; char pid_[PAD_(int)]; - int signum; char signum_[PAD_(int)]; +struct svr4_sys_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 svr4_sys_pgrpsys_args { - int cmd; char cmd_[PAD_(int)]; - int pid; char pid_[PAD_(int)]; - int pgid; char pgid_[PAD_(int)]; +struct svr4_sys_pgrpsys_args { + char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; + 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 svr4_sys_times_args { - struct tms * tp; char tp_[PAD_(struct tms *)]; +struct svr4_sys_times_args { + char tp_l_[PADL_(struct tms *)]; struct tms * tp; char tp_r_[PADR_(struct tms *)]; }; -struct svr4_sys_signal_args { - int signum; char signum_[PAD_(int)]; - svr4_sig_t handler; char handler_[PAD_(svr4_sig_t)]; +struct svr4_sys_signal_args { + char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)]; + char handler_l_[PADL_(svr4_sig_t)]; svr4_sig_t handler; char handler_r_[PADR_(svr4_sig_t)]; }; #if defined(NOTYET) -struct svr4_sys_msgsys_args { - int what; char what_[PAD_(int)]; - int a2; char a2_[PAD_(int)]; - int a3; char a3_[PAD_(int)]; - int a4; char a4_[PAD_(int)]; - int a5; char a5_[PAD_(int)]; +struct svr4_sys_msgsys_args { + char what_l_[PADL_(int)]; int what; char what_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)]; }; #else #endif -struct svr4_sys_sysarch_args { - int op; char op_[PAD_(int)]; - void * a1; char a1_[PAD_(void *)]; -}; -struct svr4_sys_ioctl_args { - int fd; char fd_[PAD_(int)]; - u_long com; char com_[PAD_(u_long)]; - caddr_t data; char data_[PAD_(caddr_t)]; -}; -struct svr4_sys_utssys_args { - void * a1; char a1_[PAD_(void *)]; - void * a2; char a2_[PAD_(void *)]; - int sel; char sel_[PAD_(int)]; - void * a3; char a3_[PAD_(void *)]; -}; -struct svr4_sys_execve_args { - char * path; char path_[PAD_(char *)]; - char ** argp; char argp_[PAD_(char **)]; - char ** envp; char envp_[PAD_(char **)]; -}; -struct svr4_sys_fcntl_args { - int fd; char fd_[PAD_(int)]; - int cmd; char cmd_[PAD_(int)]; - char * arg; char arg_[PAD_(char *)]; -}; -struct svr4_sys_ulimit_args { - int cmd; char cmd_[PAD_(int)]; - long newlimit; char newlimit_[PAD_(long)]; -}; -struct svr4_sys_getdents_args { - int fd; char fd_[PAD_(int)]; - char * buf; char buf_[PAD_(char *)]; - int nbytes; char nbytes_[PAD_(int)]; -}; -struct svr4_sys_getmsg_args { - int fd; char fd_[PAD_(int)]; - struct svr4_strbuf * ctl; char ctl_[PAD_(struct svr4_strbuf *)]; - struct svr4_strbuf * dat; char dat_[PAD_(struct svr4_strbuf *)]; - int * flags; char flags_[PAD_(int *)]; -}; -struct svr4_sys_putmsg_args { - int fd; char fd_[PAD_(int)]; - struct svr4_strbuf * ctl; char ctl_[PAD_(struct svr4_strbuf *)]; - struct svr4_strbuf * dat; char dat_[PAD_(struct svr4_strbuf *)]; - int flags; char flags_[PAD_(int)]; -}; -struct svr4_sys_poll_args { - struct pollfd * fds; char fds_[PAD_(struct pollfd *)]; - unsigned int nfds; char nfds_[PAD_(unsigned int)]; - int timeout; char timeout_[PAD_(int)]; -}; -struct svr4_sys_lstat_args { - char * path; char path_[PAD_(char *)]; - struct svr4_stat * ub; char ub_[PAD_(struct svr4_stat *)]; -}; -struct svr4_sys_sigprocmask_args { - int how; char how_[PAD_(int)]; - svr4_sigset_t * set; char set_[PAD_(svr4_sigset_t *)]; - svr4_sigset_t * oset; char oset_[PAD_(svr4_sigset_t *)]; -}; -struct svr4_sys_sigsuspend_args { - svr4_sigset_t * ss; char ss_[PAD_(svr4_sigset_t *)]; -}; -struct svr4_sys_sigaltstack_args { - struct svr4_sigaltstack * nss; char nss_[PAD_(struct svr4_sigaltstack *)]; - struct svr4_sigaltstack * oss; char oss_[PAD_(struct svr4_sigaltstack *)]; -}; -struct svr4_sys_sigaction_args { - int signum; char signum_[PAD_(int)]; - struct svr4_sigaction * nsa; char nsa_[PAD_(struct svr4_sigaction *)]; - struct svr4_sigaction * osa; char osa_[PAD_(struct svr4_sigaction *)]; -}; -struct svr4_sys_sigpending_args { - int what; char what_[PAD_(int)]; - svr4_sigset_t * mask; char mask_[PAD_(svr4_sigset_t *)]; -}; -struct svr4_sys_context_args { - int func; char func_[PAD_(int)]; - struct svr4_ucontext * uc; char uc_[PAD_(struct svr4_ucontext *)]; -}; -struct svr4_sys_statvfs_args { - char * path; char path_[PAD_(char *)]; - struct svr4_statvfs * fs; char fs_[PAD_(struct svr4_statvfs *)]; -}; -struct svr4_sys_fstatvfs_args { - int fd; char fd_[PAD_(int)]; - struct svr4_statvfs * fs; char fs_[PAD_(struct svr4_statvfs *)]; -}; -struct svr4_sys_waitsys_args { - int grp; char grp_[PAD_(int)]; - int id; char id_[PAD_(int)]; - union svr4_siginfo * info; char info_[PAD_(union svr4_siginfo *)]; - int options; char options_[PAD_(int)]; -}; -struct svr4_sys_hrtsys_args { - int cmd; char cmd_[PAD_(int)]; - int fun; char fun_[PAD_(int)]; - int sub; char sub_[PAD_(int)]; - void * rv1; char rv1_[PAD_(void *)]; - void * rv2; char rv2_[PAD_(void *)]; -}; -struct svr4_sys_pathconf_args { - char * path; char path_[PAD_(char *)]; - int name; char name_[PAD_(int)]; -}; -struct svr4_sys_mmap_args { - caddr_t addr; char addr_[PAD_(caddr_t)]; - svr4_size_t len; char len_[PAD_(svr4_size_t)]; - int prot; char prot_[PAD_(int)]; - int flags; char flags_[PAD_(int)]; - int fd; char fd_[PAD_(int)]; - svr4_off_t pos; char pos_[PAD_(svr4_off_t)]; -}; -struct svr4_sys_fpathconf_args { - int fd; char fd_[PAD_(int)]; - int name; char name_[PAD_(int)]; -}; -struct svr4_sys_xstat_args { - int two; char two_[PAD_(int)]; - char * path; char path_[PAD_(char *)]; - struct svr4_xstat * ub; char ub_[PAD_(struct svr4_xstat *)]; -}; -struct svr4_sys_lxstat_args { - int two; char two_[PAD_(int)]; - char * path; char path_[PAD_(char *)]; - struct svr4_xstat * ub; char ub_[PAD_(struct svr4_xstat *)]; -}; -struct svr4_sys_fxstat_args { - int two; char two_[PAD_(int)]; - int fd; char fd_[PAD_(int)]; - struct svr4_xstat * sb; char sb_[PAD_(struct svr4_xstat *)]; -}; -struct svr4_sys_xmknod_args { - int two; char two_[PAD_(int)]; - char * path; char path_[PAD_(char *)]; - svr4_mode_t mode; char mode_[PAD_(svr4_mode_t)]; - svr4_dev_t dev; char dev_[PAD_(svr4_dev_t)]; -}; -struct svr4_sys_setrlimit_args { - int which; char which_[PAD_(int)]; - const struct svr4_rlimit * rlp; char rlp_[PAD_(const struct svr4_rlimit *)]; -}; -struct svr4_sys_getrlimit_args { - int which; char which_[PAD_(int)]; - struct svr4_rlimit * rlp; char rlp_[PAD_(struct svr4_rlimit *)]; -}; -struct svr4_sys_memcntl_args { - void * addr; char addr_[PAD_(void *)]; - svr4_size_t len; char len_[PAD_(svr4_size_t)]; - int cmd; char cmd_[PAD_(int)]; - void * arg; char arg_[PAD_(void *)]; - int attr; char attr_[PAD_(int)]; - int mask; char mask_[PAD_(int)]; -}; -struct svr4_sys_uname_args { - struct svr4_utsname * name; char name_[PAD_(struct svr4_utsname *)]; - int dummy; char dummy_[PAD_(int)]; -}; -struct svr4_sys_sysconfig_args { - int name; char name_[PAD_(int)]; -}; -struct svr4_sys_systeminfo_args { - int what; char what_[PAD_(int)]; - char * buf; char buf_[PAD_(char *)]; - long len; char len_[PAD_(long)]; -}; -struct svr4_sys_fchroot_args { - int fd; char fd_[PAD_(int)]; -}; -struct svr4_sys_utimes_args { - char * path; char path_[PAD_(char *)]; - struct timeval * tptr; char tptr_[PAD_(struct timeval *)]; -}; -struct svr4_sys_vhangup_args { +struct svr4_sys_sysarch_args { + char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)]; + char a1_l_[PADL_(void *)]; void * a1; char a1_r_[PADR_(void *)]; +}; +struct svr4_sys_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 svr4_sys_utssys_args { + char a1_l_[PADL_(void *)]; void * a1; char a1_r_[PADR_(void *)]; + char a2_l_[PADL_(void *)]; void * a2; char a2_r_[PADR_(void *)]; + char sel_l_[PADL_(int)]; int sel; char sel_r_[PADR_(int)]; + char a3_l_[PADL_(void *)]; void * a3; char a3_r_[PADR_(void *)]; +}; +struct svr4_sys_execve_args { + char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; + char argp_l_[PADL_(char **)]; char ** argp; char argp_r_[PADR_(char **)]; + char envp_l_[PADL_(char **)]; char ** envp; char envp_r_[PADR_(char **)]; +}; +struct svr4_sys_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_(char *)]; char * arg; char arg_r_[PADR_(char *)]; +}; +struct svr4_sys_ulimit_args { + char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; + char newlimit_l_[PADL_(long)]; long newlimit; char newlimit_r_[PADR_(long)]; +}; +struct svr4_sys_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 nbytes_l_[PADL_(int)]; int nbytes; char nbytes_r_[PADR_(int)]; +}; +struct svr4_sys_getmsg_args { + char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; + char ctl_l_[PADL_(struct svr4_strbuf *)]; struct svr4_strbuf * ctl; char ctl_r_[PADR_(struct svr4_strbuf *)]; + char dat_l_[PADL_(struct svr4_strbuf *)]; struct svr4_strbuf * dat; char dat_r_[PADR_(struct svr4_strbuf *)]; + char flags_l_[PADL_(int *)]; int * flags; char flags_r_[PADR_(int *)]; +}; +struct svr4_sys_putmsg_args { + char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; + char ctl_l_[PADL_(struct svr4_strbuf *)]; struct svr4_strbuf * ctl; char ctl_r_[PADR_(struct svr4_strbuf *)]; + char dat_l_[PADL_(struct svr4_strbuf *)]; struct svr4_strbuf * dat; char dat_r_[PADR_(struct svr4_strbuf *)]; + char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; +}; +struct svr4_sys_poll_args { + char fds_l_[PADL_(struct pollfd *)]; struct pollfd * fds; char fds_r_[PADR_(struct pollfd *)]; + char nfds_l_[PADL_(unsigned int)]; unsigned int nfds; char nfds_r_[PADR_(unsigned int)]; + char timeout_l_[PADL_(int)]; int timeout; char timeout_r_[PADR_(int)]; +}; +struct svr4_sys_lstat_args { + char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; + char ub_l_[PADL_(struct svr4_stat *)]; struct svr4_stat * ub; char ub_r_[PADR_(struct svr4_stat *)]; +}; +struct svr4_sys_sigprocmask_args { + char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; + char set_l_[PADL_(svr4_sigset_t *)]; svr4_sigset_t * set; char set_r_[PADR_(svr4_sigset_t *)]; + char oset_l_[PADL_(svr4_sigset_t *)]; svr4_sigset_t * oset; char oset_r_[PADR_(svr4_sigset_t *)]; +}; +struct svr4_sys_sigsuspend_args { + char ss_l_[PADL_(svr4_sigset_t *)]; svr4_sigset_t * ss; char ss_r_[PADR_(svr4_sigset_t *)]; +}; +struct svr4_sys_sigaltstack_args { + char nss_l_[PADL_(struct svr4_sigaltstack *)]; struct svr4_sigaltstack * nss; char nss_r_[PADR_(struct svr4_sigaltstack *)]; + char oss_l_[PADL_(struct svr4_sigaltstack *)]; struct svr4_sigaltstack * oss; char oss_r_[PADR_(struct svr4_sigaltstack *)]; +}; +struct svr4_sys_sigaction_args { + char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)]; + char nsa_l_[PADL_(struct svr4_sigaction *)]; struct svr4_sigaction * nsa; char nsa_r_[PADR_(struct svr4_sigaction *)]; + char osa_l_[PADL_(struct svr4_sigaction *)]; struct svr4_sigaction * osa; char osa_r_[PADR_(struct svr4_sigaction *)]; +}; +struct svr4_sys_sigpending_args { + char what_l_[PADL_(int)]; int what; char what_r_[PADR_(int)]; + char mask_l_[PADL_(svr4_sigset_t *)]; svr4_sigset_t * mask; char mask_r_[PADR_(svr4_sigset_t *)]; +}; +struct svr4_sys_context_args { + char func_l_[PADL_(int)]; int func; char func_r_[PADR_(int)]; + char uc_l_[PADL_(struct svr4_ucontext *)]; struct svr4_ucontext * uc; char uc_r_[PADR_(struct svr4_ucontext *)]; +}; +struct svr4_sys_statvfs_args { + char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; + char fs_l_[PADL_(struct svr4_statvfs *)]; struct svr4_statvfs * fs; char fs_r_[PADR_(struct svr4_statvfs *)]; +}; +struct svr4_sys_fstatvfs_args { + char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; + char fs_l_[PADL_(struct svr4_statvfs *)]; struct svr4_statvfs * fs; char fs_r_[PADR_(struct svr4_statvfs *)]; +}; +struct svr4_sys_waitsys_args { + char grp_l_[PADL_(int)]; int grp; char grp_r_[PADR_(int)]; + char id_l_[PADL_(int)]; int id; char id_r_[PADR_(int)]; + char info_l_[PADL_(union svr4_siginfo *)]; union svr4_siginfo * info; char info_r_[PADR_(union svr4_siginfo *)]; + char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; +}; +struct svr4_sys_hrtsys_args { + char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; + char fun_l_[PADL_(int)]; int fun; char fun_r_[PADR_(int)]; + char sub_l_[PADL_(int)]; int sub; char sub_r_[PADR_(int)]; + char rv1_l_[PADL_(void *)]; void * rv1; char rv1_r_[PADR_(void *)]; + char rv2_l_[PADL_(void *)]; void * rv2; char rv2_r_[PADR_(void *)]; +}; +struct svr4_sys_pathconf_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 svr4_sys_mmap_args { + char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)]; + char len_l_[PADL_(svr4_size_t)]; svr4_size_t len; char len_r_[PADR_(svr4_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 pos_l_[PADL_(svr4_off_t)]; svr4_off_t pos; char pos_r_[PADR_(svr4_off_t)]; +}; +struct svr4_sys_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 svr4_sys_xstat_args { + char two_l_[PADL_(int)]; int two; char two_r_[PADR_(int)]; + char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; + char ub_l_[PADL_(struct svr4_xstat *)]; struct svr4_xstat * ub; char ub_r_[PADR_(struct svr4_xstat *)]; +}; +struct svr4_sys_lxstat_args { + char two_l_[PADL_(int)]; int two; char two_r_[PADR_(int)]; + char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; + char ub_l_[PADL_(struct svr4_xstat *)]; struct svr4_xstat * ub; char ub_r_[PADR_(struct svr4_xstat *)]; +}; +struct svr4_sys_fxstat_args { + char two_l_[PADL_(int)]; int two; char two_r_[PADR_(int)]; + char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; + char sb_l_[PADL_(struct svr4_xstat *)]; struct svr4_xstat * sb; char sb_r_[PADR_(struct svr4_xstat *)]; +}; +struct svr4_sys_xmknod_args { + char two_l_[PADL_(int)]; int two; char two_r_[PADR_(int)]; + char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; + char mode_l_[PADL_(svr4_mode_t)]; svr4_mode_t mode; char mode_r_[PADR_(svr4_mode_t)]; + char dev_l_[PADL_(svr4_dev_t)]; svr4_dev_t dev; char dev_r_[PADR_(svr4_dev_t)]; +}; +struct svr4_sys_setrlimit_args { + char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; + char rlp_l_[PADL_(const struct svr4_rlimit *)]; const struct svr4_rlimit * rlp; char rlp_r_[PADR_(const struct svr4_rlimit *)]; +}; +struct svr4_sys_getrlimit_args { + char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; + char rlp_l_[PADL_(struct svr4_rlimit *)]; struct svr4_rlimit * rlp; char rlp_r_[PADR_(struct svr4_rlimit *)]; +}; +struct svr4_sys_memcntl_args { + char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)]; + char len_l_[PADL_(svr4_size_t)]; svr4_size_t len; char len_r_[PADR_(svr4_size_t)]; + char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; + char arg_l_[PADL_(void *)]; void * arg; char arg_r_[PADR_(void *)]; + char attr_l_[PADL_(int)]; int attr; char attr_r_[PADR_(int)]; + char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)]; +}; +struct svr4_sys_uname_args { + char name_l_[PADL_(struct svr4_utsname *)]; struct svr4_utsname * name; char name_r_[PADR_(struct svr4_utsname *)]; + char dummy_l_[PADL_(int)]; int dummy; char dummy_r_[PADR_(int)]; +}; +struct svr4_sys_sysconfig_args { + char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; +}; +struct svr4_sys_systeminfo_args { + char what_l_[PADL_(int)]; int what; char what_r_[PADR_(int)]; + char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; + char len_l_[PADL_(long)]; long len; char len_r_[PADR_(long)]; +}; +struct svr4_sys_fchroot_args { + char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; +}; +struct svr4_sys_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 svr4_sys_vhangup_args { register_t dummy; }; -struct svr4_sys_gettimeofday_args { - struct timeval * tp; char tp_[PAD_(struct timeval *)]; -}; -struct svr4_sys_llseek_args { - int fd; char fd_[PAD_(int)]; - long offset1; char offset1_[PAD_(long)]; - long offset2; char offset2_[PAD_(long)]; - int whence; char whence_[PAD_(int)]; -}; -struct svr4_sys_acl_args { - char * path; char path_[PAD_(char *)]; - int cmd; char cmd_[PAD_(int)]; - int num; char num_[PAD_(int)]; - struct svr4_aclent * buf; char buf_[PAD_(struct svr4_aclent *)]; -}; -struct svr4_sys_auditsys_args { - int code; char code_[PAD_(int)]; - int a1; char a1_[PAD_(int)]; - int a2; char a2_[PAD_(int)]; - int a3; char a3_[PAD_(int)]; - int a4; char a4_[PAD_(int)]; - int a5; char a5_[PAD_(int)]; -}; -struct svr4_sys_facl_args { - int fd; char fd_[PAD_(int)]; - int cmd; char cmd_[PAD_(int)]; - int num; char num_[PAD_(int)]; - struct svr4_aclent * buf; char buf_[PAD_(struct svr4_aclent *)]; -}; -struct svr4_sys_resolvepath_args { - const char * path; char path_[PAD_(const char *)]; - char * buf; char buf_[PAD_(char *)]; - size_t bufsiz; char bufsiz_[PAD_(size_t)]; -}; -struct svr4_sys_getdents64_args { - int fd; char fd_[PAD_(int)]; - struct svr4_dirent64 * dp; char dp_[PAD_(struct svr4_dirent64 *)]; - int nbytes; char nbytes_[PAD_(int)]; -}; -struct svr4_sys_mmap64_args { - void * addr; char addr_[PAD_(void *)]; - svr4_size_t len; char len_[PAD_(svr4_size_t)]; - int prot; char prot_[PAD_(int)]; - int flags; char flags_[PAD_(int)]; - int fd; char fd_[PAD_(int)]; - svr4_off64_t pos; char pos_[PAD_(svr4_off64_t)]; -}; -struct svr4_sys_stat64_args { - char * path; char path_[PAD_(char *)]; - struct svr4_stat64 * sb; char sb_[PAD_(struct svr4_stat64 *)]; -}; -struct svr4_sys_lstat64_args { - char * path; char path_[PAD_(char *)]; - struct svr4_stat64 * sb; char sb_[PAD_(struct svr4_stat64 *)]; -}; -struct svr4_sys_fstat64_args { - int fd; char fd_[PAD_(int)]; - struct svr4_stat64 * sb; char sb_[PAD_(struct svr4_stat64 *)]; -}; -struct svr4_sys_statvfs64_args { - char * path; char path_[PAD_(char *)]; - struct svr4_statvfs64 * fs; char fs_[PAD_(struct svr4_statvfs64 *)]; -}; -struct svr4_sys_fstatvfs64_args { - int fd; char fd_[PAD_(int)]; - struct svr4_statvfs64 * fs; char fs_[PAD_(struct svr4_statvfs64 *)]; -}; -struct svr4_sys_setrlimit64_args { - int which; char which_[PAD_(int)]; - const struct svr4_rlimit64 * rlp; char rlp_[PAD_(const struct svr4_rlimit64 *)]; -}; -struct svr4_sys_getrlimit64_args { - int which; char which_[PAD_(int)]; - struct svr4_rlimit64 * rlp; char rlp_[PAD_(struct svr4_rlimit64 *)]; -}; -struct svr4_sys_creat64_args { - char * path; char path_[PAD_(char *)]; - int mode; char mode_[PAD_(int)]; -}; -struct svr4_sys_open64_args { - char * path; char path_[PAD_(char *)]; - int flags; char flags_[PAD_(int)]; - int mode; char mode_[PAD_(int)]; -}; -struct svr4_sys_socket_args { - int domain; char domain_[PAD_(int)]; - int type; char type_[PAD_(int)]; - int protocol; char protocol_[PAD_(int)]; -}; -struct svr4_sys_recv_args { - int s; char s_[PAD_(int)]; - caddr_t buf; char buf_[PAD_(caddr_t)]; - int len; char len_[PAD_(int)]; - int flags; char flags_[PAD_(int)]; -}; -struct svr4_sys_send_args { - int s; char s_[PAD_(int)]; - caddr_t buf; char buf_[PAD_(caddr_t)]; - int len; char len_[PAD_(int)]; - int flags; char flags_[PAD_(int)]; -}; -struct svr4_sys_sendto_args { - int s; char s_[PAD_(int)]; - void * buf; char buf_[PAD_(void *)]; - size_t len; char len_[PAD_(size_t)]; - int flags; char flags_[PAD_(int)]; - struct sockaddr * to; char to_[PAD_(struct sockaddr *)]; - int tolen; char tolen_[PAD_(int)]; +struct svr4_sys_gettimeofday_args { + char tp_l_[PADL_(struct timeval *)]; struct timeval * tp; char tp_r_[PADR_(struct timeval *)]; +}; +struct svr4_sys_llseek_args { + char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; + char offset1_l_[PADL_(long)]; long offset1; char offset1_r_[PADR_(long)]; + char offset2_l_[PADL_(long)]; long offset2; char offset2_r_[PADR_(long)]; + char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; +}; +struct svr4_sys_acl_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 num_l_[PADL_(int)]; int num; char num_r_[PADR_(int)]; + char buf_l_[PADL_(struct svr4_aclent *)]; struct svr4_aclent * buf; char buf_r_[PADR_(struct svr4_aclent *)]; +}; +struct svr4_sys_auditsys_args { + char code_l_[PADL_(int)]; int code; char code_r_[PADR_(int)]; + char a1_l_[PADL_(int)]; int a1; char a1_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 svr4_sys_facl_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 num_l_[PADL_(int)]; int num; char num_r_[PADR_(int)]; + char buf_l_[PADL_(struct svr4_aclent *)]; struct svr4_aclent * buf; char buf_r_[PADR_(struct svr4_aclent *)]; +}; +struct svr4_sys_resolvepath_args { + char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)]; + char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; + char bufsiz_l_[PADL_(size_t)]; size_t bufsiz; char bufsiz_r_[PADR_(size_t)]; +}; +struct svr4_sys_getdents64_args { + char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; + char dp_l_[PADL_(struct svr4_dirent64 *)]; struct svr4_dirent64 * dp; char dp_r_[PADR_(struct svr4_dirent64 *)]; + char nbytes_l_[PADL_(int)]; int nbytes; char nbytes_r_[PADR_(int)]; +}; +struct svr4_sys_mmap64_args { + char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)]; + char len_l_[PADL_(svr4_size_t)]; svr4_size_t len; char len_r_[PADR_(svr4_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 pos_l_[PADL_(svr4_off64_t)]; svr4_off64_t pos; char pos_r_[PADR_(svr4_off64_t)]; +}; +struct svr4_sys_stat64_args { + char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; + char sb_l_[PADL_(struct svr4_stat64 *)]; struct svr4_stat64 * sb; char sb_r_[PADR_(struct svr4_stat64 *)]; +}; +struct svr4_sys_lstat64_args { + char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; + char sb_l_[PADL_(struct svr4_stat64 *)]; struct svr4_stat64 * sb; char sb_r_[PADR_(struct svr4_stat64 *)]; +}; +struct svr4_sys_fstat64_args { + char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; + char sb_l_[PADL_(struct svr4_stat64 *)]; struct svr4_stat64 * sb; char sb_r_[PADR_(struct svr4_stat64 *)]; +}; +struct svr4_sys_statvfs64_args { + char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; + char fs_l_[PADL_(struct svr4_statvfs64 *)]; struct svr4_statvfs64 * fs; char fs_r_[PADR_(struct svr4_statvfs64 *)]; +}; +struct svr4_sys_fstatvfs64_args { + char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; + char fs_l_[PADL_(struct svr4_statvfs64 *)]; struct svr4_statvfs64 * fs; char fs_r_[PADR_(struct svr4_statvfs64 *)]; +}; +struct svr4_sys_setrlimit64_args { + char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; + char rlp_l_[PADL_(const struct svr4_rlimit64 *)]; const struct svr4_rlimit64 * rlp; char rlp_r_[PADR_(const struct svr4_rlimit64 *)]; +}; +struct svr4_sys_getrlimit64_args { + char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; + char rlp_l_[PADL_(struct svr4_rlimit64 *)]; struct svr4_rlimit64 * rlp; char rlp_r_[PADR_(struct svr4_rlimit64 *)]; +}; +struct svr4_sys_creat64_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 svr4_sys_open64_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 svr4_sys_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 svr4_sys_recv_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 svr4_sys_send_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 svr4_sys_sendto_args { + char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; + char buf_l_[PADL_(void *)]; void * buf; char buf_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)]; + char to_l_[PADL_(struct sockaddr *)]; struct sockaddr * to; char to_r_[PADR_(struct sockaddr *)]; + char tolen_l_[PADL_(int)]; int tolen; char tolen_r_[PADR_(int)]; }; int svr4_sys_open(struct thread *, struct svr4_sys_open_args *); int svr4_sys_wait(struct thread *, struct svr4_sys_wait_args *); @@ -472,6 +484,17 @@ int svr4_sys_sendto(struct thread *, struct svr4_sys_sendto_args *); #endif /* COMPAT_43 */ + +#ifdef COMPAT_FREEBSD4 + +#if defined(NOTYET) +#else +#endif + +#endif /* COMPAT_FREEBSD4 */ + #undef PAD_ +#undef PADL_ +#undef PADR_ #endif /* !_SVR4_SYSPROTO_H_ */ diff --git a/sys/compat/svr4/svr4_syscall.h b/sys/compat/svr4/svr4_syscall.h index b1898b5..f31ce45 100644 --- a/sys/compat/svr4/svr4_syscall.h +++ b/sys/compat/svr4/svr4_syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/compat/svr4/syscalls.master,v 1.11 2000/08/31 22:54:05 obrien Exp + * created from FreeBSD: src/sys/compat/svr4/syscalls.master,v 1.13 2003/12/24 00:00:47 peter Exp */ #define SVR4_SYS_exit 1 diff --git a/sys/compat/svr4/svr4_syscallnames.c b/sys/compat/svr4/svr4_syscallnames.c index 1f9add4..c5e0c76 100644 --- a/sys/compat/svr4/svr4_syscallnames.c +++ b/sys/compat/svr4/svr4_syscallnames.c @@ -3,10 +3,10 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/compat/svr4/syscalls.master,v 1.11 2000/08/31 22:54:05 obrien Exp + * created from FreeBSD: src/sys/compat/svr4/syscalls.master,v 1.13 2003/12/24 00:00:47 peter Exp */ -char *svr4_syscallnames[] = { +const char *svr4_syscallnames[] = { "#0", /* 0 = unused */ "exit", /* 1 = exit */ "fork", /* 2 = fork */ diff --git a/sys/compat/svr4/svr4_sysent.c b/sys/compat/svr4/svr4_sysent.c index 2bb003e..1c8e6b3 100644 --- a/sys/compat/svr4/svr4_sysent.c +++ b/sys/compat/svr4/svr4_sysent.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/compat/svr4/syscalls.master,v 1.11 2000/08/31 22:54:05 obrien Exp + * created from FreeBSD: src/sys/compat/svr4/syscalls.master,v 1.13 2003/12/24 00:00:47 peter Exp */ #include <sys/types.h> @@ -21,7 +21,7 @@ struct sysent svr4_sysent[] = { { 0, (sy_call_t *)nosys }, /* 0 = unused */ { AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = exit */ - { 0, (sy_call_t *)fork }, /* 2 = fork */ + { SYF_MPSAFE | 0, (sy_call_t *)fork }, /* 2 = fork */ { AS(read_args), (sy_call_t *)read }, /* 3 = read */ { AS(write_args), (sy_call_t *)write }, /* 4 = write */ { AS(svr4_sys_open_args), (sy_call_t *)svr4_sys_open }, /* 5 = svr4_sys_open */ @@ -142,7 +142,7 @@ struct sysent svr4_sysent[] = { { AS(mprotect_args), (sy_call_t *)mprotect }, /* 116 = mprotect */ { AS(munmap_args), (sy_call_t *)munmap }, /* 117 = munmap */ { AS(svr4_sys_fpathconf_args), (sy_call_t *)svr4_sys_fpathconf }, /* 118 = svr4_sys_fpathconf */ - { 0, (sy_call_t *)vfork }, /* 119 = vfork */ + { SYF_MPSAFE | 0, (sy_call_t *)vfork }, /* 119 = vfork */ { AS(fchdir_args), (sy_call_t *)fchdir }, /* 120 = fchdir */ { AS(readv_args), (sy_call_t *)readv }, /* 121 = readv */ { AS(writev_args), (sy_call_t *)writev }, /* 122 = writev */ @@ -161,7 +161,7 @@ struct sysent svr4_sysent[] = { { AS(svr4_sys_uname_args), (sy_call_t *)svr4_sys_uname }, /* 135 = svr4_sys_uname */ { AS(setegid_args), (sy_call_t *)setegid }, /* 136 = setegid */ { AS(svr4_sys_sysconfig_args), (sy_call_t *)svr4_sys_sysconfig }, /* 137 = svr4_sys_sysconfig */ - { AS(adjtime_args), (sy_call_t *)adjtime }, /* 138 = adjtime */ + { SYF_MPSAFE | AS(adjtime_args), (sy_call_t *)adjtime }, /* 138 = adjtime */ { AS(svr4_sys_systeminfo_args), (sy_call_t *)svr4_sys_systeminfo }, /* 139 = svr4_sys_systeminfo */ { 0, (sy_call_t *)nosys }, /* 140 = notused */ { AS(seteuid_args), (sy_call_t *)seteuid }, /* 141 = seteuid */ @@ -180,8 +180,8 @@ struct sysent svr4_sysent[] = { { AS(svr4_sys_utimes_args), (sy_call_t *)svr4_sys_utimes }, /* 154 = svr4_sys_utimes */ { 0, (sy_call_t *)svr4_sys_vhangup }, /* 155 = svr4_sys_vhangup */ { AS(svr4_sys_gettimeofday_args), (sy_call_t *)svr4_sys_gettimeofday }, /* 156 = svr4_sys_gettimeofday */ - { AS(getitimer_args), (sy_call_t *)getitimer }, /* 157 = getitimer */ - { AS(setitimer_args), (sy_call_t *)setitimer }, /* 158 = setitimer */ + { SYF_MPSAFE | AS(getitimer_args), (sy_call_t *)getitimer }, /* 157 = getitimer */ + { SYF_MPSAFE | AS(setitimer_args), (sy_call_t *)setitimer }, /* 158 = setitimer */ { 0, (sy_call_t *)nosys }, /* 159 = lwp_create */ { 0, (sy_call_t *)nosys }, /* 160 = lwp_exit */ { 0, (sy_call_t *)nosys }, /* 161 = lwp_suspend */ @@ -222,7 +222,7 @@ struct sysent svr4_sysent[] = { { 0, (sy_call_t *)nosys }, /* 196 = timer_settime */ { 0, (sy_call_t *)nosys }, /* 197 = timer_gettime */ { 0, (sy_call_t *)nosys }, /* 198 = timer_overrun */ - { AS(nanosleep_args), (sy_call_t *)nanosleep }, /* 199 = nanosleep */ + { SYF_MPSAFE | AS(nanosleep_args), (sy_call_t *)nanosleep }, /* 199 = nanosleep */ { AS(svr4_sys_facl_args), (sy_call_t *)svr4_sys_facl }, /* 200 = svr4_sys_facl */ { 0, (sy_call_t *)nosys }, /* 201 = door */ { AS(setreuid_args), (sy_call_t *)setreuid }, /* 202 = setreuid */ |