aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1994-08-26 18:15:25 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1994-08-26 18:15:25 +0000
commit24ea21ced448436d33879f6eb9e2e0bba15025f1 (patch)
treea7478f2846bd8622e928def469a8154c39a3111d
parent559c1aff1f14edaddca4b60aa3b9c22d00a0a06a (diff)
Notes
-rw-r--r--sys/kern/init_sysent.c6
-rw-r--r--sys/kern/syscalls.c6
-rw-r--r--sys/kern/syscalls.master6
-rw-r--r--sys/sys/syscall.h4
4 files changed, 13 insertions, 9 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index 45370dc3e26b..c1e55a37486d 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -145,6 +145,8 @@ int sysarch();
int shmsys();
#else
#endif
+int nosys();
+int nosys();
int setgid();
int setegid();
int seteuid();
@@ -451,8 +453,8 @@ struct sysent sysent[] = {
{ 0, nosys }, /* 172 = nosys */
{ 0, nosys }, /* 173 = nosys */
{ 0, nosys }, /* 174 = nosys */
- { 0, nosys }, /* 175 = nosys */
- { 0, nosys }, /* 176 = nosys */
+ { 1, nosys }, /* 175 = ntp_gettime */
+ { 1, nosys }, /* 176 = ntp_adjtime */
{ 0, nosys }, /* 177 = nosys */
{ 0, nosys }, /* 178 = nosys */
{ 0, nosys }, /* 179 = nosys */
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index 1d55538db40e..67e4cf41d3b2 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -2,7 +2,7 @@
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from $Id: syscalls.master,v 1.3 1994/08/02 07:42:44 davidg Exp $
+ * created from $Id: syscalls.master,v 1.4 1994/08/19 11:45:23 davidg Exp $
*/
char *syscallnames[] = {
@@ -205,8 +205,8 @@ char *syscallnames[] = {
"#172", /* 172 = nosys */
"#173", /* 173 = nosys */
"#174", /* 174 = nosys */
- "#175", /* 175 = nosys */
- "#176", /* 176 = nosys */
+ "ntp_gettime", /* 175 = ntp_gettime */
+ "ntp_adjtime", /* 176 = ntp_adjtime */
"#177", /* 177 = nosys */
"#178", /* 178 = nosys */
"#179", /* 179 = nosys */
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index 0db6dc65679a..9611daf2aabe 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -1,4 +1,4 @@
- $Id: syscalls.master,v 1.3 1994/08/02 07:42:44 davidg Exp $
+ $Id: syscalls.master,v 1.4 1994/08/19 11:45:23 davidg Exp $
; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94
;
; System call name/number master file.
@@ -231,8 +231,8 @@
172 UNIMPL 0 nosys
173 UNIMPL 0 nosys
174 UNIMPL 0 nosys
-175 UNIMPL 0 nosys
-176 UNIMPL 0 nosys
+175 STD 1 nosys ntp_gettime
+176 STD 1 nosys ntp_adjtime
177 UNIMPL 0 nosys
178 UNIMPL 0 nosys
179 UNIMPL 0 nosys
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index 58f6c72ba207..e22e8c9e0c31 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -2,7 +2,7 @@
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from $Id: syscalls.master,v 1.3 1994/08/02 07:42:44 davidg Exp $
+ * created from $Id: syscalls.master,v 1.4 1994/08/19 11:45:23 davidg Exp $
*/
#define SYS_syscall 0
@@ -165,6 +165,8 @@
#define SYS_uname 164
#define SYS_sysarch 165
#define SYS_shmsys 171
+#define SYS_ntp_gettime 175
+#define SYS_ntp_adjtime 176
#define SYS_setgid 181
#define SYS_setegid 182
#define SYS_seteuid 183