summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2008-03-16 19:43:42 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2008-03-16 19:43:42 +0000
commit7435237f19b3a3259211e6928f4170f6a6721b00 (patch)
tree43b67587a510b13fdf7198fccc264bdd2445a5c5 /sys/kern
parentd4545e818f0707235e329a03a45dae9d48d70808 (diff)
regen
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/init_sysent.c34
-rw-r--r--sys/kern/syscalls.c16
-rw-r--r--sys/kern/syscalls.conf4
3 files changed, 36 insertions, 18 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index bd9900ed5f0..12fc85e329f 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: init_sysent.c,v 1.102 2008/01/05 00:38:13 miod Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.103 2008/03/16 19:43:41 otto Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.89 2008/01/05 00:36:13 miod Exp
+ * created from; OpenBSD: syscalls.master,v 1.90 2008/03/16 19:42:57 otto Exp
*/
#include <sys/param.h>
@@ -52,6 +52,12 @@
#define compat_35(func) sys_nosys
#endif
+#ifdef COMPAT_O43
+#define compat_o43(func) __CONCAT(compat_o43_,func)
+#else
+#define compat_o43(func) sys_nosys
+#endif
+
#define s(type) sizeof(type)
struct sysent sysent[] = {
@@ -692,20 +698,20 @@ struct sysent sysent[] = {
{ 0, 0, 0,
sys_nosys }, /* 259 = unimplemented */
#endif
- { 3, s(struct sys_getfsstat_args), 0,
- sys_getfsstat }, /* 260 = getfsstat */
- { 2, s(struct sys_statfs_args), 0,
- sys_statfs }, /* 261 = statfs */
- { 2, s(struct sys_fstatfs_args), 0,
- sys_fstatfs }, /* 262 = fstatfs */
+ { 3, s(struct compat_o43_sys_getfsstat_args), 0,
+ compat_o43(sys_getfsstat) }, /* 260 = compat_o43 getfsstat */
+ { 2, s(struct compat_o43_sys_statfs_args), 0,
+ compat_o43(sys_statfs) }, /* 261 = compat_o43 statfs */
+ { 2, s(struct compat_o43_sys_fstatfs_args), 0,
+ compat_o43(sys_fstatfs) }, /* 262 = compat_o43 fstatfs */
{ 1, s(struct sys_pipe_args), 0,
sys_pipe }, /* 263 = pipe */
{ 2, s(struct sys_fhopen_args), 0,
sys_fhopen }, /* 264 = fhopen */
{ 2, s(struct compat_35_sys_fhstat_args), 0,
compat_35(sys_fhstat) }, /* 265 = compat_35 fhstat */
- { 2, s(struct sys_fhstatfs_args), 0,
- sys_fhstatfs }, /* 266 = fhstatfs */
+ { 2, s(struct compat_o43_sys_fhstatfs_args), 0,
+ compat_o43(sys_fhstatfs) }, /* 266 = compat_o43 fhstatfs */
{ 5, s(struct sys_preadv_args), 0,
sys_preadv }, /* 267 = preadv */
{ 5, s(struct sys_pwritev_args), 0,
@@ -822,5 +828,13 @@ struct sysent sysent[] = {
sys___getcwd }, /* 304 = __getcwd */
{ 2, s(struct sys_adjfreq_args), 0,
sys_adjfreq }, /* 305 = adjfreq */
+ { 3, s(struct sys_getfsstat_args), 0,
+ sys_getfsstat }, /* 306 = getfsstat */
+ { 2, s(struct sys_statfs_args), 0,
+ sys_statfs }, /* 307 = statfs */
+ { 2, s(struct sys_fstatfs_args), 0,
+ sys_fstatfs }, /* 308 = fstatfs */
+ { 2, s(struct sys_fhstatfs_args), 0,
+ sys_fhstatfs }, /* 309 = fhstatfs */
};
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index c8574b094b7..4fb35f0fb42 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscalls.c,v 1.103 2008/01/05 00:38:13 miod Exp $ */
+/* $OpenBSD: syscalls.c,v 1.104 2008/03/16 19:43:41 otto Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.89 2008/01/05 00:36:13 miod Exp
+ * created from; OpenBSD: syscalls.master,v 1.90 2008/03/16 19:42:57 otto Exp
*/
char *syscallnames[] = {
@@ -349,13 +349,13 @@ char *syscallnames[] = {
#else
"#259 (unimplemented)", /* 259 = unimplemented */
#endif
- "getfsstat", /* 260 = getfsstat */
- "statfs", /* 261 = statfs */
- "fstatfs", /* 262 = fstatfs */
+ "compat_o43_getfsstat", /* 260 = compat_o43 getfsstat */
+ "compat_o43_statfs", /* 261 = compat_o43 statfs */
+ "compat_o43_fstatfs", /* 262 = compat_o43 fstatfs */
"pipe", /* 263 = pipe */
"fhopen", /* 264 = fhopen */
"compat_35_fhstat", /* 265 = compat_35 fhstat */
- "fhstatfs", /* 266 = fhstatfs */
+ "compat_o43_fhstatfs", /* 266 = compat_o43 fhstatfs */
"preadv", /* 267 = preadv */
"pwritev", /* 268 = pwritev */
"kqueue", /* 269 = kqueue */
@@ -423,4 +423,8 @@ char *syscallnames[] = {
#endif
"__getcwd", /* 304 = __getcwd */
"adjfreq", /* 305 = adjfreq */
+ "getfsstat", /* 306 = getfsstat */
+ "statfs", /* 307 = statfs */
+ "fstatfs", /* 308 = fstatfs */
+ "fhstatfs", /* 309 = fhstatfs */
};
diff --git a/sys/kern/syscalls.conf b/sys/kern/syscalls.conf
index a3ecd66c8d1..6fafbfcd75f 100644
--- a/sys/kern/syscalls.conf
+++ b/sys/kern/syscalls.conf
@@ -1,11 +1,11 @@
-# $OpenBSD: syscalls.conf,v 1.6 2004/05/03 17:38:48 millert Exp $
+# $OpenBSD: syscalls.conf,v 1.7 2008/03/16 19:43:41 otto Exp $
# $NetBSD: syscalls.conf,v 1.2 1994/10/26 06:45:57 cgd Exp $
sysnames="syscalls.c"
sysnumhdr="../sys/syscall.h"
syssw="init_sysent.c"
sysarghdr="../sys/syscallargs.h"
-compatopts="compat_43 compat_09 compat_10 compat_23 compat_25 compat_35"
+compatopts="compat_43 compat_09 compat_10 compat_23 compat_25 compat_35 compat_o43"
libcompatopts=""
switchname="sysent"