summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-06-12 08:32:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-06-12 08:32:02 +0000
commit1f2539406b7aa62e8e991d139b088c4e26b2fc06 (patch)
tree412c78a668a54b2a66cfe7655d6983eef05f29c6
parentc289a71eb76f234739af0fd7f9be2d474746dac7 (diff)
sync
-rw-r--r--sys/kern/init_sysent.c10
-rw-r--r--sys/kern/syscalls.c10
-rw-r--r--sys/sys/syscall.h4
-rw-r--r--sys/sys/syscallargs.h10
4 files changed, 26 insertions, 8 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index 79c00dfd4b5..66d214ab3e2 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: init_sysent.c,v 1.29 1998/06/11 18:31:21 deraadt Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.30 1998/06/12 08:32:00 deraadt Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.27 1998/06/11 18:29:53 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.28 1998/06/12 08:31:11 deraadt Exp
*/
#include <sys/param.h>
@@ -664,11 +664,17 @@ struct sysent sysent[] = {
sys_getsid }, /* 255 = getsid */
{ 3, s(struct sys_msync_args),
sys_msync }, /* 256 = msync */
+#ifdef SYSVSEM
{ 4, s(struct sys___semctl_args),
sys___semctl }, /* 257 = __semctl */
+#endif
+#ifdef SYSVSHM
{ 3, s(struct sys_shmctl_args),
sys_shmctl }, /* 258 = shmctl */
+#endif
+#ifdef SYSVMSG
{ 3, s(struct sys_msgctl_args),
sys_msgctl }, /* 259 = msgctl */
+#endif
};
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index 41c268eba2e..5482354f296 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscalls.c,v 1.29 1998/06/11 18:31:22 deraadt Exp $ */
+/* $OpenBSD: syscalls.c,v 1.30 1998/06/12 08:32:01 deraadt Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.27 1998/06/11 18:29:53 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.28 1998/06/12 08:31:11 deraadt Exp
*/
char *syscallnames[] = {
@@ -339,7 +339,13 @@ char *syscallnames[] = {
"lchown", /* 254 = lchown */
"getsid", /* 255 = getsid */
"msync", /* 256 = msync */
+#ifdef SYSVSEM
"__semctl", /* 257 = __semctl */
+#endif
+#ifdef SYSVSHM
"shmctl", /* 258 = shmctl */
+#endif
+#ifdef SYSVMSG
"msgctl", /* 259 = msgctl */
+#endif
};
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index e822d3b62ab..56146bf3f90 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscall.h,v 1.29 1998/06/11 18:31:17 deraadt Exp $ */
+/* $OpenBSD: syscall.h,v 1.30 1998/06/12 08:31:56 deraadt Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.27 1998/06/11 18:29:53 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.28 1998/06/12 08:31:11 deraadt Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h
index b793b6daa67..c58ce71dc44 100644
--- a/sys/sys/syscallargs.h
+++ b/sys/sys/syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscallargs.h,v 1.30 1998/06/11 18:31:19 deraadt Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.31 1998/06/12 08:31:57 deraadt Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.27 1998/06/11 18:29:53 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.28 1998/06/12 08:31:11 deraadt Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -1285,6 +1285,12 @@ int sys_issetugid __P((struct proc *, void *, register_t *));
int sys_lchown __P((struct proc *, void *, register_t *));
int sys_getsid __P((struct proc *, void *, register_t *));
int sys_msync __P((struct proc *, void *, register_t *));
+#ifdef SYSVSEM
int sys___semctl __P((struct proc *, void *, register_t *));
+#endif
+#ifdef SYSVSHM
int sys_shmctl __P((struct proc *, void *, register_t *));
+#endif
+#ifdef SYSVMSG
int sys_msgctl __P((struct proc *, void *, register_t *));
+#endif