summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-13 07:27:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-13 07:27:10 +0000
commitbc06d0d21db3a10a488a1fd696ad42121b620d01 (patch)
treeb65247a1c198e6e19549dd55ea1aeb1df784f5e2 /sys
parent25089bdd3c6175be1129c7f59f5759d132231a2d (diff)
sync
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/freebsd/freebsd_syscall.h2
-rw-r--r--sys/compat/freebsd/freebsd_syscallargs.h11
-rw-r--r--sys/compat/freebsd/freebsd_syscalls.c23
-rw-r--r--sys/compat/freebsd/freebsd_sysent.c35
4 files changed, 67 insertions, 4 deletions
diff --git a/sys/compat/freebsd/freebsd_syscall.h b/sys/compat/freebsd/freebsd_syscall.h
index cffafbe18b0..cd6a6b688f0 100644
--- a/sys/compat/freebsd/freebsd_syscall.h
+++ b/sys/compat/freebsd/freebsd_syscall.h
@@ -2,7 +2,7 @@
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.5 1997/11/13 06:53:51 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.6 1997/11/13 07:27:03 deraadt Exp
*/
#define FREEBSD_SYS_syscall 0
diff --git a/sys/compat/freebsd/freebsd_syscallargs.h b/sys/compat/freebsd/freebsd_syscallargs.h
index 7f33a130072..98acbd54c81 100644
--- a/sys/compat/freebsd/freebsd_syscallargs.h
+++ b/sys/compat/freebsd/freebsd_syscallargs.h
@@ -2,7 +2,7 @@
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.5 1997/11/13 06:53:51 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.6 1997/11/13 07:27:03 deraadt Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -409,18 +409,27 @@ int freebsd_sys_undelete __P((struct proc *, void *, register_t *));
#endif
int sys_getpgid __P((struct proc *, void *, register_t *));
int sys_poll __P((struct proc *, void *, register_t *));
+#ifdef SYSVSEM
int sys___semctl __P((struct proc *, void *, register_t *));
int sys_semget __P((struct proc *, void *, register_t *));
int sys_semop __P((struct proc *, void *, register_t *));
int sys_semconfig __P((struct proc *, void *, register_t *));
+#else
+#endif
+#ifdef SYSVMSG
int sys_msgctl __P((struct proc *, void *, register_t *));
int sys_msgget __P((struct proc *, void *, register_t *));
int sys_msgsnd __P((struct proc *, void *, register_t *));
int sys_msgrcv __P((struct proc *, void *, register_t *));
+#else
+#endif
+#ifdef SYSVSHM
int sys_shmat __P((struct proc *, void *, register_t *));
int sys_shmctl __P((struct proc *, void *, register_t *));
int sys_shmdt __P((struct proc *, void *, register_t *));
int sys_shmget __P((struct proc *, void *, register_t *));
+#else
+#endif
int sys_nanosleep __P((struct proc *, void *, register_t *));
int sys_minherit __P((struct proc *, void *, register_t *));
int sys_rfork __P((struct proc *, void *, register_t *));
diff --git a/sys/compat/freebsd/freebsd_syscalls.c b/sys/compat/freebsd/freebsd_syscalls.c
index 88b92d9076b..15d1b0fe9f9 100644
--- a/sys/compat/freebsd/freebsd_syscalls.c
+++ b/sys/compat/freebsd/freebsd_syscalls.c
@@ -2,7 +2,7 @@
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.5 1997/11/13 06:53:51 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.6 1997/11/13 07:27:03 deraadt Exp
*/
char *freebsd_syscallnames[] = {
@@ -265,18 +265,39 @@ char *freebsd_syscallnames[] = {
"#217 (unimplemented)", /* 217 = unimplemented */
"#218 (unimplemented)", /* 218 = unimplemented */
"#219 (unimplemented)", /* 219 = unimplemented */
+#ifdef SYSVSEM
"__semctl", /* 220 = __semctl */
"semget", /* 221 = semget */
"semop", /* 222 = semop */
"semconfig", /* 223 = semconfig */
+#else
+ "#220 (unimplemented sys___semctl)", /* 220 = unimplemented sys___semctl */
+ "#221 (unimplemented sys_semget)", /* 221 = unimplemented sys_semget */
+ "#222 (unimplemented sys_semop)", /* 222 = unimplemented sys_semop */
+ "#223 (unimplemented sys_semconfig)", /* 223 = unimplemented sys_semconfig */
+#endif
+#ifdef SYSVMSG
"msgctl", /* 224 = msgctl */
"msgget", /* 225 = msgget */
"msgsnd", /* 226 = msgsnd */
"msgrcv", /* 227 = msgrcv */
+#else
+ "#224 (unimplemented sys_msgctl)", /* 224 = unimplemented sys_msgctl */
+ "#225 (unimplemented sys_msgget)", /* 225 = unimplemented sys_msgget */
+ "#226 (unimplemented sys_msgsnd)", /* 226 = unimplemented sys_msgsnd */
+ "#227 (unimplemented sys_msgrcv)", /* 227 = unimplemented sys_msgrcv */
+#endif
+#ifdef SYSVSHM
"shmat", /* 228 = shmat */
"shmctl", /* 229 = shmctl */
"shmdt", /* 230 = shmdt */
"shmget", /* 231 = shmget */
+#else
+ "#228 (unimplemented sys_shmat)", /* 228 = unimplemented sys_shmat */
+ "#229 (unimplemented sys_shmctl)", /* 229 = unimplemented sys_shmctl */
+ "#230 (unimplemented sys_shmdt)", /* 230 = unimplemented sys_shmdt */
+ "#231 (unimplemented sys_shmget)", /* 231 = unimplemented sys_shmget */
+#endif
"#232 (unimplemented)", /* 232 = unimplemented */
"#233 (unimplemented)", /* 233 = unimplemented */
"#234 (unimplemented)", /* 234 = unimplemented */
diff --git a/sys/compat/freebsd/freebsd_sysent.c b/sys/compat/freebsd/freebsd_sysent.c
index a5ed7b1b297..c7d40d4a676 100644
--- a/sys/compat/freebsd/freebsd_sysent.c
+++ b/sys/compat/freebsd/freebsd_sysent.c
@@ -2,7 +2,7 @@
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.5 1997/11/13 06:53:51 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.6 1997/11/13 07:27:03 deraadt Exp
*/
#include <sys/param.h>
@@ -507,6 +507,7 @@ struct sysent freebsd_sysent[] = {
sys_nosys }, /* 218 = unimplemented */
{ 0, 0,
sys_nosys }, /* 219 = unimplemented */
+#ifdef SYSVSEM
{ 4, s(struct sys___semctl_args),
sys___semctl }, /* 220 = __semctl */
{ 3, s(struct sys_semget_args),
@@ -515,6 +516,17 @@ struct sysent freebsd_sysent[] = {
sys_semop }, /* 222 = semop */
{ 1, s(struct sys_semconfig_args),
sys_semconfig }, /* 223 = semconfig */
+#else
+ { 0, 0,
+ sys_nosys }, /* 220 = unimplemented sys___semctl */
+ { 0, 0,
+ sys_nosys }, /* 221 = unimplemented sys_semget */
+ { 0, 0,
+ sys_nosys }, /* 222 = unimplemented sys_semop */
+ { 0, 0,
+ sys_nosys }, /* 223 = unimplemented sys_semconfig */
+#endif
+#ifdef SYSVMSG
{ 3, s(struct sys_msgctl_args),
sys_msgctl }, /* 224 = msgctl */
{ 2, s(struct sys_msgget_args),
@@ -523,6 +535,17 @@ struct sysent freebsd_sysent[] = {
sys_msgsnd }, /* 226 = msgsnd */
{ 5, s(struct sys_msgrcv_args),
sys_msgrcv }, /* 227 = msgrcv */
+#else
+ { 0, 0,
+ sys_nosys }, /* 224 = unimplemented sys_msgctl */
+ { 0, 0,
+ sys_nosys }, /* 225 = unimplemented sys_msgget */
+ { 0, 0,
+ sys_nosys }, /* 226 = unimplemented sys_msgsnd */
+ { 0, 0,
+ sys_nosys }, /* 227 = unimplemented sys_msgrcv */
+#endif
+#ifdef SYSVSHM
{ 3, s(struct sys_shmat_args),
sys_shmat }, /* 228 = shmat */
{ 3, s(struct sys_shmctl_args),
@@ -531,6 +554,16 @@ struct sysent freebsd_sysent[] = {
sys_shmdt }, /* 230 = shmdt */
{ 3, s(struct sys_shmget_args),
sys_shmget }, /* 231 = shmget */
+#else
+ { 0, 0,
+ sys_nosys }, /* 228 = unimplemented sys_shmat */
+ { 0, 0,
+ sys_nosys }, /* 229 = unimplemented sys_shmctl */
+ { 0, 0,
+ sys_nosys }, /* 230 = unimplemented sys_shmdt */
+ { 0, 0,
+ sys_nosys }, /* 231 = unimplemented sys_shmget */
+#endif
{ 0, 0,
sys_nosys }, /* 232 = unimplemented */
{ 0, 0,