summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Nordin <nordin@cvs.openbsd.org>2002-07-06 19:22:44 +0000
committerThomas Nordin <nordin@cvs.openbsd.org>2002-07-06 19:22:44 +0000
commitae7c2c9c6d9216bc92b3e7f78d9e951463c0fdd5 (patch)
tree2af3b308f749f8c8bdcdaf6c200446070b8b7386
parent05a8eb13502ed0f64231f022e3965d3507794b26 (diff)
sync
-rw-r--r--sys/compat/freebsd/freebsd_syscall.h7
-rw-r--r--sys/compat/freebsd/freebsd_syscallargs.h9
-rw-r--r--sys/compat/freebsd/freebsd_syscalls.c6
-rw-r--r--sys/compat/freebsd/freebsd_sysent.c8
-rw-r--r--sys/compat/netbsd/netbsd_syscall.h10
-rw-r--r--sys/compat/netbsd/netbsd_syscallargs.h9
-rw-r--r--sys/compat/netbsd/netbsd_syscalls.c9
-rw-r--r--sys/compat/netbsd/netbsd_sysent.c11
-rw-r--r--sys/compat/svr4/svr4_syscall.h10
-rw-r--r--sys/compat/svr4/svr4_syscallargs.h9
-rw-r--r--sys/compat/svr4/svr4_syscalls.c9
-rw-r--r--sys/compat/svr4/svr4_sysent.c11
12 files changed, 27 insertions, 81 deletions
diff --git a/sys/compat/freebsd/freebsd_syscall.h b/sys/compat/freebsd/freebsd_syscall.h
index 706dc8cbd64..c957dd7ad09 100644
--- a/sys/compat/freebsd/freebsd_syscall.h
+++ b/sys/compat/freebsd/freebsd_syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: freebsd_syscall.h,v 1.18 2002/03/14 00:44:20 miod Exp $ */
+/* $OpenBSD: freebsd_syscall.h,v 1.19 2002/07/06 19:22:43 nordin Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.17 2002/03/14 00:42:25 miod Exp
+ * created from OpenBSD: syscalls.master,v 1.18 2002/07/06 19:14:20 nordin Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -478,9 +478,6 @@
/* syscall: "shmsys" ret: "int" args: "int" "int" "int" "int" */
#define FREEBSD_SYS_shmsys 171
-/* syscall: "freebsd_ntp_adjtime" ret: "int" args: "struct freebsd_timex *" */
-#define FREEBSD_SYS_freebsd_ntp_adjtime 176
-
/* syscall: "setgid" ret: "int" args: "gid_t" */
#define FREEBSD_SYS_setgid 181
diff --git a/sys/compat/freebsd/freebsd_syscallargs.h b/sys/compat/freebsd/freebsd_syscallargs.h
index 22fce67bc7e..39240b8baf7 100644
--- a/sys/compat/freebsd/freebsd_syscallargs.h
+++ b/sys/compat/freebsd/freebsd_syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: freebsd_syscallargs.h,v 1.20 2002/03/14 01:26:49 millert Exp $ */
+/* $OpenBSD: freebsd_syscallargs.h,v 1.21 2002/07/06 19:22:43 nordin Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.17 2002/03/14 00:42:25 miod Exp
+ * created from OpenBSD: syscalls.master,v 1.18 2002/07/06 19:14:20 nordin Exp
*/
#ifdef syscallarg
@@ -201,10 +201,6 @@ struct freebsd_sys_rtprio_args {
syscallarg(struct freebsd_rtprio *) rtp;
};
-struct freebsd_ntp_adjtime_args {
- syscallarg(struct freebsd_timex *) tp;
-};
-
struct freebsd_sys_stat_args {
syscallarg(char *) path;
syscallarg(struct stat *) ub;
@@ -438,7 +434,6 @@ int compat_10_sys_msgsys(struct proc *, void *, register_t *);
int compat_10_sys_shmsys(struct proc *, void *, register_t *);
#else
#endif
-int freebsd_ntp_adjtime(struct proc *, void *, register_t *);
int sys_setgid(struct proc *, void *, register_t *);
int sys_setegid(struct proc *, void *, register_t *);
int sys_seteuid(struct proc *, void *, register_t *);
diff --git a/sys/compat/freebsd/freebsd_syscalls.c b/sys/compat/freebsd/freebsd_syscalls.c
index 6985fb8da87..8f8750cd2fe 100644
--- a/sys/compat/freebsd/freebsd_syscalls.c
+++ b/sys/compat/freebsd/freebsd_syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: freebsd_syscalls.c,v 1.18 2002/03/14 00:44:20 miod Exp $ */
+/* $OpenBSD: freebsd_syscalls.c,v 1.19 2002/07/06 19:22:43 nordin Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.17 2002/03/14 00:42:25 miod Exp
+ * created from OpenBSD: syscalls.master,v 1.18 2002/07/06 19:14:20 nordin Exp
*/
char *freebsd_syscallnames[] = {
@@ -216,7 +216,7 @@ char *freebsd_syscallnames[] = {
"#173 (unimplemented pread)", /* 173 = unimplemented pread */
"#174 (unimplemented pwrite)", /* 174 = unimplemented pwrite */
"#175 (unimplemented)", /* 175 = unimplemented */
- "freebsd_ntp_adjtime", /* 176 = freebsd_ntp_adjtime */
+ "#176 (unimplemented ntp_adjtime)", /* 176 = unimplemented ntp_adjtime */
"#177 (unimplemented sfork)", /* 177 = unimplemented sfork */
"#178 (unimplemented getdescriptor)", /* 178 = unimplemented getdescriptor */
"#179 (unimplemented setdescriptor)", /* 179 = unimplemented setdescriptor */
diff --git a/sys/compat/freebsd/freebsd_sysent.c b/sys/compat/freebsd/freebsd_sysent.c
index 9635815797e..59353fefe65 100644
--- a/sys/compat/freebsd/freebsd_sysent.c
+++ b/sys/compat/freebsd/freebsd_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: freebsd_sysent.c,v 1.19 2002/03/14 00:44:20 miod Exp $ */
+/* $OpenBSD: freebsd_sysent.c,v 1.20 2002/07/06 19:22:43 nordin Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.17 2002/03/14 00:42:25 miod Exp
+ * created from OpenBSD: syscalls.master,v 1.18 2002/07/06 19:14:20 nordin Exp
*/
#include <sys/param.h>
@@ -411,8 +411,8 @@ struct sysent freebsd_sysent[] = {
sys_nosys }, /* 174 = unimplemented pwrite */
{ 0, 0,
sys_nosys }, /* 175 = unimplemented */
- { 1, s(struct freebsd_ntp_adjtime_args),
- freebsd_ntp_adjtime }, /* 176 = freebsd_ntp_adjtime */
+ { 0, 0,
+ sys_nosys }, /* 176 = unimplemented ntp_adjtime */
{ 0, 0,
sys_nosys }, /* 177 = unimplemented sfork */
{ 0, 0,
diff --git a/sys/compat/netbsd/netbsd_syscall.h b/sys/compat/netbsd/netbsd_syscall.h
index 7546c4d1389..fe3551add45 100644
--- a/sys/compat/netbsd/netbsd_syscall.h
+++ b/sys/compat/netbsd/netbsd_syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: netbsd_syscall.h,v 1.17 2002/03/14 00:44:20 miod Exp $ */
+/* $OpenBSD: netbsd_syscall.h,v 1.18 2002/07/06 19:22:43 nordin Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.16 2002/03/14 00:42:25 miod Exp
+ * created from; OpenBSD: syscalls.master,v 1.17 2002/07/06 19:14:20 nordin Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -481,12 +481,6 @@
/* syscall: "pwrite" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "off_t" */
#define NETBSD_SYS_pwrite 174
-/* syscall: "ntp_gettime" ret: "int" args: "struct ntptimeval *" */
-#define NETBSD_SYS_ntp_gettime 175
-
-/* syscall: "ntp_adjtime" ret: "int" args: "struct timex *" */
-#define NETBSD_SYS_ntp_adjtime 176
-
/* syscall: "setgid" ret: "int" args: "gid_t" */
#define NETBSD_SYS_setgid 181
diff --git a/sys/compat/netbsd/netbsd_syscallargs.h b/sys/compat/netbsd/netbsd_syscallargs.h
index 2a5c8ff9a7d..19cf1f8e60b 100644
--- a/sys/compat/netbsd/netbsd_syscallargs.h
+++ b/sys/compat/netbsd/netbsd_syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: netbsd_syscallargs.h,v 1.18 2002/03/14 01:26:50 millert Exp $ */
+/* $OpenBSD: netbsd_syscallargs.h,v 1.19 2002/07/06 19:22:43 nordin Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.16 2002/03/14 00:42:25 miod Exp
+ * created from; OpenBSD: syscalls.master,v 1.17 2002/07/06 19:14:20 nordin Exp
*/
#ifdef syscallarg
@@ -415,11 +415,6 @@ int compat_10_sys_shmsys(struct proc *, void *, register_t *);
#endif
int sys_pread(struct proc *, void *, register_t *);
int sys_pwrite(struct proc *, void *, register_t *);
-#ifdef NTP
-int sys_ntp_gettime(struct proc *, void *, register_t *);
-int sys_ntp_adjtime(struct proc *, void *, register_t *);
-#else
-#endif
int sys_setgid(struct proc *, void *, register_t *);
int sys_setegid(struct proc *, void *, register_t *);
int sys_seteuid(struct proc *, void *, register_t *);
diff --git a/sys/compat/netbsd/netbsd_syscalls.c b/sys/compat/netbsd/netbsd_syscalls.c
index 9b966bd5f6b..a1415197107 100644
--- a/sys/compat/netbsd/netbsd_syscalls.c
+++ b/sys/compat/netbsd/netbsd_syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: netbsd_syscalls.c,v 1.17 2002/03/14 00:44:20 miod Exp $ */
+/* $OpenBSD: netbsd_syscalls.c,v 1.18 2002/07/06 19:22:43 nordin Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.16 2002/03/14 00:42:25 miod Exp
+ * created from; OpenBSD: syscalls.master,v 1.17 2002/07/06 19:14:20 nordin Exp
*/
char *netbsd_syscallnames[] = {
@@ -223,13 +223,8 @@ char *netbsd_syscallnames[] = {
"#172 (unimplemented)", /* 172 = unimplemented */
"pread", /* 173 = pread */
"pwrite", /* 174 = pwrite */
-#ifdef NTP
- "ntp_gettime", /* 175 = ntp_gettime */
- "ntp_adjtime", /* 176 = ntp_adjtime */
-#else
"#175 (unimplemented ntp_gettime)", /* 175 = unimplemented ntp_gettime */
"#176 (unimplemented ntp_adjtime)", /* 176 = unimplemented ntp_adjtime */
-#endif
"#177 (unimplemented)", /* 177 = unimplemented */
"#178 (unimplemented)", /* 178 = unimplemented */
"#179 (unimplemented)", /* 179 = unimplemented */
diff --git a/sys/compat/netbsd/netbsd_sysent.c b/sys/compat/netbsd/netbsd_sysent.c
index 553e10fb054..59a682cacab 100644
--- a/sys/compat/netbsd/netbsd_sysent.c
+++ b/sys/compat/netbsd/netbsd_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: netbsd_sysent.c,v 1.17 2002/03/14 00:44:20 miod Exp $ */
+/* $OpenBSD: netbsd_sysent.c,v 1.18 2002/07/06 19:22:43 nordin Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.16 2002/03/14 00:42:25 miod Exp
+ * created from; OpenBSD: syscalls.master,v 1.17 2002/07/06 19:14:20 nordin Exp
*/
#include <sys/param.h>
@@ -422,17 +422,10 @@ struct sysent netbsd_sysent[] = {
sys_pread }, /* 173 = pread */
{ 5, s(struct sys_pwrite_args),
sys_pwrite }, /* 174 = pwrite */
-#ifdef NTP
- { 1, s(struct sys_ntp_gettime_args),
- sys_ntp_gettime }, /* 175 = ntp_gettime */
- { 1, s(struct sys_ntp_adjtime_args),
- sys_ntp_adjtime }, /* 176 = ntp_adjtime */
-#else
{ 0, 0,
sys_nosys }, /* 175 = unimplemented ntp_gettime */
{ 0, 0,
sys_nosys }, /* 176 = unimplemented ntp_adjtime */
-#endif
{ 0, 0,
sys_nosys }, /* 177 = unimplemented */
{ 0, 0,
diff --git a/sys/compat/svr4/svr4_syscall.h b/sys/compat/svr4/svr4_syscall.h
index 28ef0e7dcdf..7c4a4a2a8c1 100644
--- a/sys/compat/svr4/svr4_syscall.h
+++ b/sys/compat/svr4/svr4_syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: svr4_syscall.h,v 1.32 2001/08/26 04:14:27 deraadt Exp $ */
+/* $OpenBSD: svr4_syscall.h,v 1.33 2002/07/06 19:22:43 nordin Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.30 2000/08/23 19:31:35 fgsch Exp
+ * created from OpenBSD: syscalls.master,v 1.32 2002/07/06 19:14:20 nordin Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -448,10 +448,4 @@
/* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "const void *" "int" */
#define SVR4_SYS_setsockopt 246
-/* syscall: "ntp_gettime" ret: "int" args: "struct ntptimeval *" */
-#define SVR4_SYS_ntp_gettime 248
-
-/* syscall: "ntp_adjtime" ret: "int" args: "struct timex *" */
-#define SVR4_SYS_ntp_adjtime 249
-
#define SVR4_SYS_MAXSYSCALL 250
diff --git a/sys/compat/svr4/svr4_syscallargs.h b/sys/compat/svr4/svr4_syscallargs.h
index 57668125cd7..10271ad7ceb 100644
--- a/sys/compat/svr4/svr4_syscallargs.h
+++ b/sys/compat/svr4/svr4_syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: svr4_syscallargs.h,v 1.33 2002/03/14 01:26:51 millert Exp $ */
+/* $OpenBSD: svr4_syscallargs.h,v 1.34 2002/07/06 19:22:43 nordin Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.30 2000/08/23 19:31:35 fgsch Exp
+ * created from OpenBSD: syscalls.master,v 1.32 2002/07/06 19:14:20 nordin Exp
*/
#ifdef syscallarg
@@ -606,8 +606,3 @@ int compat_43_sys_getpeername(struct proc *, void *, register_t *);
int compat_43_sys_getsockname(struct proc *, void *, register_t *);
int sys_getsockopt(struct proc *, void *, register_t *);
int sys_setsockopt(struct proc *, void *, register_t *);
-#ifdef NTP
-int sys_ntp_gettime(struct proc *, void *, register_t *);
-int sys_ntp_adjtime(struct proc *, void *, register_t *);
-#else
-#endif
diff --git a/sys/compat/svr4/svr4_syscalls.c b/sys/compat/svr4/svr4_syscalls.c
index d45adeadf12..04e7256175c 100644
--- a/sys/compat/svr4/svr4_syscalls.c
+++ b/sys/compat/svr4/svr4_syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: svr4_syscalls.c,v 1.32 2001/08/26 04:14:27 deraadt Exp $ */
+/* $OpenBSD: svr4_syscalls.c,v 1.33 2002/07/06 19:22:43 nordin Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.30 2000/08/23 19:31:35 fgsch Exp
+ * created from OpenBSD: syscalls.master,v 1.32 2002/07/06 19:14:20 nordin Exp
*/
char *svr4_syscallnames[] = {
@@ -268,11 +268,6 @@ char *svr4_syscallnames[] = {
"getsockopt", /* 245 = getsockopt */
"setsockopt", /* 246 = setsockopt */
"#247 (unimplemented sockconfig)", /* 247 = unimplemented sockconfig */
-#ifdef NTP
- "ntp_gettime", /* 248 = ntp_gettime */
- "ntp_adjtime", /* 249 = ntp_adjtime */
-#else
"#248 (unimplemented ntp_gettime)", /* 248 = unimplemented ntp_gettime */
"#249 (unimplemented ntp_adjtime)", /* 249 = unimplemented ntp_adjtime */
-#endif
};
diff --git a/sys/compat/svr4/svr4_sysent.c b/sys/compat/svr4/svr4_sysent.c
index 6208e40f66b..d59dbff3ca7 100644
--- a/sys/compat/svr4/svr4_sysent.c
+++ b/sys/compat/svr4/svr4_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: svr4_sysent.c,v 1.32 2001/08/26 04:14:27 deraadt Exp $ */
+/* $OpenBSD: svr4_sysent.c,v 1.33 2002/07/06 19:22:43 nordin Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.30 2000/08/23 19:31:35 fgsch Exp
+ * created from OpenBSD: syscalls.master,v 1.32 2002/07/06 19:14:20 nordin Exp
*/
#include <sys/param.h>
@@ -534,16 +534,9 @@ struct sysent svr4_sysent[] = {
sys_setsockopt }, /* 246 = setsockopt */
{ 0, 0,
sys_nosys }, /* 247 = unimplemented sockconfig */
-#ifdef NTP
- { 1, s(struct sys_ntp_gettime_args),
- sys_ntp_gettime }, /* 248 = ntp_gettime */
- { 1, s(struct sys_ntp_adjtime_args),
- sys_ntp_adjtime }, /* 249 = ntp_adjtime */
-#else
{ 0, 0,
sys_nosys }, /* 248 = unimplemented ntp_gettime */
{ 0, 0,
sys_nosys }, /* 249 = unimplemented ntp_adjtime */
-#endif
};