summaryrefslogtreecommitdiff
path: root/sys/kern/init_sysent.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/init_sysent.c')
-rw-r--r--sys/kern/init_sysent.c40
1 files changed, 26 insertions, 14 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index 3d35692a03e..0140afdd85d 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: init_sysent.c,v 1.49 2001/03/09 15:12:52 art Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.50 2001/05/16 17:17:04 millert Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.44 2001/03/09 15:11:47 art Exp
+ * created from; OpenBSD: syscalls.master,v 1.45 2001/05/16 17:14:35 millert Exp
*/
#include <sys/param.h>
@@ -32,6 +32,18 @@
#define compat_10(func) sys_nosys
#endif
+#ifdef COMPAT_23
+#define compat_23(func) __CONCAT(compat_23_,func)
+#else
+#define compat_23(func) sys_nosys
+#endif
+
+#ifdef COMPAT_25
+#define compat_25(func) __CONCAT(compat_25_,func)
+#else
+#define compat_25(func) sys_nosys
+#endif
+
#define s(type) sizeof(type)
struct sysent sysent[] = {
@@ -71,8 +83,8 @@ struct sysent sysent[] = {
sys_chown }, /* 16 = chown */
{ 1, s(struct sys_obreak_args),
sys_obreak }, /* 17 = break */
- { 3, s(struct sys_ogetfsstat_args),
- sys_ogetfsstat }, /* 18 = ogetfsstat */
+ { 3, s(struct compat_25_sys_getfsstat_args),
+ compat_25(sys_getfsstat) }, /* 18 = compat_25 ogetfsstat */
{ 3, s(struct compat_43_sys_lseek_args),
compat_43(sys_lseek) }, /* 19 = compat_43 olseek */
{ 0, 0,
@@ -359,10 +371,10 @@ struct sysent sysent[] = {
#endif
{ 4, s(struct compat_43_sys_getdirentries_args),
compat_43(sys_getdirentries) }, /* 156 = compat_43 ogetdirentries */
- { 2, s(struct sys_ostatfs_args),
- sys_ostatfs }, /* 157 = ostatfs */
- { 2, s(struct sys_ofstatfs_args),
- sys_ofstatfs }, /* 158 = ofstatfs */
+ { 2, s(struct compat_25_sys_statfs_args),
+ compat_25(sys_statfs) }, /* 157 = compat_25 ostatfs */
+ { 2, s(struct compat_25_sys_fstatfs_args),
+ compat_25(sys_fstatfs) }, /* 158 = compat_25 ostatfs */
{ 0, 0,
sys_nosys }, /* 159 = unimplemented */
{ 0, 0,
@@ -542,8 +554,8 @@ struct sysent sysent[] = {
sys_nosys }, /* 219 = unimplemented */
#endif /* !LKM */
#ifdef SYSVSEM
- { 4, s(struct sys___osemctl_args),
- sys___osemctl }, /* 220 = __osemctl */
+ { 4, s(struct compat_23_sys___semctl_args),
+ compat_23(sys___semctl) }, /* 220 = compat_23 __osemctl */
{ 3, s(struct sys_semget_args),
sys_semget }, /* 221 = semget */
{ 3, s(struct sys_semop_args),
@@ -561,8 +573,8 @@ struct sysent sysent[] = {
sys_nosys }, /* 223 = unimplemented semconfig */
#endif
#ifdef SYSVMSG
- { 3, s(struct sys_omsgctl_args),
- sys_omsgctl }, /* 224 = omsgctl */
+ { 3, s(struct compat_23_sys_msgctl_args),
+ compat_23(sys_msgctl) }, /* 224 = compat_23 omsgctl */
{ 2, s(struct sys_msgget_args),
sys_msgget }, /* 225 = msgget */
{ 4, s(struct sys_msgsnd_args),
@@ -582,8 +594,8 @@ struct sysent sysent[] = {
#ifdef SYSVSHM
{ 3, s(struct sys_shmat_args),
sys_shmat }, /* 228 = shmat */
- { 3, s(struct sys_oshmctl_args),
- sys_oshmctl }, /* 229 = oshmctl */
+ { 3, s(struct compat_23_sys_shmctl_args),
+ compat_23(sys_shmctl) }, /* 229 = compat_23 oshmctl */
{ 1, s(struct sys_shmdt_args),
sys_shmdt }, /* 230 = shmdt */
{ 3, s(struct sys_shmget_args),