From 6e9b02cf8094dcbbe420bed6b42fe0b765bc621b Mon Sep 17 00:00:00 2001 From: John Baldwin <jhb@FreeBSD.org> Date: Wed, 13 Jul 2005 15:14:54 +0000 Subject: [PATCH] Regen. --- sys/compat/svr4/svr4_proto.h | 30 ++++++++++++++++------------- sys/compat/svr4/svr4_syscall.h | 4 +++- sys/compat/svr4/svr4_syscallnames.c | 10 +++------- sys/compat/svr4/svr4_sysent.c | 10 +++------- 4 files changed, 26 insertions(+), 28 deletions(-) diff --git a/sys/compat/svr4/svr4_proto.h b/sys/compat/svr4/svr4_proto.h index 2a22bc50e443..e5e3a1eb6a55 100644 --- a/sys/compat/svr4/svr4_proto.h +++ b/sys/compat/svr4/svr4_proto.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.17 2005/05/30 15:09:17 rwatson Exp + * created from FreeBSD: src/sys/compat/svr4/syscalls.master,v 1.18 2005/07/13 15:14:33 jhb Exp */ #ifndef _SVR4_SYSPROTO_H_ @@ -100,7 +100,6 @@ 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 { char what_l_[PADL_(int)]; int what; char what_r_[PADR_(int)]; char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; @@ -108,12 +107,24 @@ struct svr4_sys_msgsys_args { 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 { 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_shmsys_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)]; +}; +struct svr4_sys_semsys_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)]; +}; 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)]; @@ -413,11 +424,10 @@ int svr4_sys_kill(struct thread *, struct svr4_sys_kill_args *); int svr4_sys_pgrpsys(struct thread *, struct svr4_sys_pgrpsys_args *); int svr4_sys_times(struct thread *, struct svr4_sys_times_args *); int svr4_sys_signal(struct thread *, struct svr4_sys_signal_args *); -#if defined(NOTYET) int svr4_sys_msgsys(struct thread *, struct svr4_sys_msgsys_args *); -#else -#endif int svr4_sys_sysarch(struct thread *, struct svr4_sys_sysarch_args *); +int svr4_sys_shmsys(struct thread *, struct svr4_sys_shmsys_args *); +int svr4_sys_semsys(struct thread *, struct svr4_sys_semsys_args *); int svr4_sys_ioctl(struct thread *, struct svr4_sys_ioctl_args *); int svr4_sys_utssys(struct thread *, struct svr4_sys_utssys_args *); int svr4_sys_execve(struct thread *, struct svr4_sys_execve_args *); @@ -478,18 +488,12 @@ int svr4_sys_sendto(struct thread *, struct svr4_sys_sendto_args *); #ifdef COMPAT_43 -#if defined(NOTYET) -#else -#endif #endif /* COMPAT_43 */ #ifdef COMPAT_FREEBSD4 -#if defined(NOTYET) -#else -#endif #endif /* COMPAT_FREEBSD4 */ diff --git a/sys/compat/svr4/svr4_syscall.h b/sys/compat/svr4/svr4_syscall.h index e083a1f10309..7d97f5433f3a 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.17 2005/05/30 15:09:17 rwatson Exp + * created from FreeBSD: src/sys/compat/svr4/syscalls.master,v 1.18 2005/07/13 15:14:33 jhb Exp */ #define SVR4_SYS_exit 1 @@ -45,6 +45,8 @@ #define SVR4_SYS_svr4_sys_signal 48 #define SVR4_SYS_svr4_sys_msgsys 49 #define SVR4_SYS_svr4_sys_sysarch 50 +#define SVR4_SYS_svr4_sys_shmsys 52 +#define SVR4_SYS_svr4_sys_semsys 53 #define SVR4_SYS_svr4_sys_ioctl 54 #define SVR4_SYS_svr4_sys_utssys 57 #define SVR4_SYS_fsync 58 diff --git a/sys/compat/svr4/svr4_syscallnames.c b/sys/compat/svr4/svr4_syscallnames.c index 11896ac7bd0c..bfa2a83233db 100644 --- a/sys/compat/svr4/svr4_syscallnames.c +++ b/sys/compat/svr4/svr4_syscallnames.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.17 2005/05/30 15:09:17 rwatson Exp + * created from FreeBSD: src/sys/compat/svr4/syscalls.master,v 1.18 2005/07/13 15:14:33 jhb Exp */ const char *svr4_syscallnames[] = { @@ -56,15 +56,11 @@ const char *svr4_syscallnames[] = { "setgid", /* 46 = setgid */ "getgid", /* 47 = getgid */ "svr4_sys_signal", /* 48 = svr4_sys_signal */ -#if defined(NOTYET) "svr4_sys_msgsys", /* 49 = svr4_sys_msgsys */ -#else - "#49", /* 49 = msgsys */ -#endif "svr4_sys_sysarch", /* 50 = svr4_sys_sysarch */ "#51", /* 51 = acct */ - "#52", /* 52 = shmsys */ - "#53", /* 53 = semsys */ + "svr4_sys_shmsys", /* 52 = svr4_sys_shmsys */ + "svr4_sys_semsys", /* 53 = svr4_sys_semsys */ "svr4_sys_ioctl", /* 54 = svr4_sys_ioctl */ "#55", /* 55 = uadmin */ "#56", /* 56 = exch */ diff --git a/sys/compat/svr4/svr4_sysent.c b/sys/compat/svr4/svr4_sysent.c index c50cb808fee4..ea67f1b1494e 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.17 2005/05/30 15:09:17 rwatson Exp + * created from FreeBSD: src/sys/compat/svr4/syscalls.master,v 1.18 2005/07/13 15:14:33 jhb Exp */ #include <bsm/audit_kevents.h> @@ -69,15 +69,11 @@ struct sysent svr4_sysent[] = { { SYF_MPSAFE | AS(setgid_args), (sy_call_t *)setgid, AUE_NULL }, /* 46 = setgid */ { SYF_MPSAFE | 0, (sy_call_t *)getgid, AUE_NULL }, /* 47 = getgid */ { SYF_MPSAFE | AS(svr4_sys_signal_args), (sy_call_t *)svr4_sys_signal, AUE_NULL }, /* 48 = svr4_sys_signal */ -#if defined(NOTYET) { AS(svr4_sys_msgsys_args), (sy_call_t *)svr4_sys_msgsys, AUE_NULL }, /* 49 = svr4_sys_msgsys */ -#else - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 49 = msgsys */ -#endif { AS(svr4_sys_sysarch_args), (sy_call_t *)svr4_sys_sysarch, AUE_NULL }, /* 50 = svr4_sys_sysarch */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 51 = acct */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 52 = shmsys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 53 = semsys */ + { AS(svr4_sys_shmsys_args), (sy_call_t *)svr4_sys_shmsys, AUE_NULL }, /* 52 = svr4_sys_shmsys */ + { AS(svr4_sys_semsys_args), (sy_call_t *)svr4_sys_semsys, AUE_NULL }, /* 53 = svr4_sys_semsys */ { AS(svr4_sys_ioctl_args), (sy_call_t *)svr4_sys_ioctl, AUE_NULL }, /* 54 = svr4_sys_ioctl */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 55 = uadmin */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 56 = exch */