summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-18 08:54:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-18 08:54:19 +0000
commitefd9877df0239f0a0ef823532f35664dd689f7cd (patch)
tree402b1a13ef4103b82d72e89cd173a28ea9a6dbc4 /sys
parent49b93a47757d509217c0ac5cb322971163f11208 (diff)
sync to syscalls.master
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/init_sysent.c5
-rw-r--r--sys/kern/syscalls.c3
-rw-r--r--sys/sys/syscall.h5
-rw-r--r--sys/sys/syscallargs.h9
4 files changed, 17 insertions, 5 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index 04c53519fb4..56b4a703284 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -2,7 +2,7 @@
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD
+ * created from OpenBSD: syscalls.master,v 1.9 1996/05/18 08:53:10 deraadt Exp
*/
#include <sys/param.h>
@@ -10,6 +10,7 @@
#include <sys/signal.h>
#include <sys/mount.h>
#include <sys/syscallargs.h>
+#include <sys/poll.h>
#ifdef COMPAT_43
#define compat_43(func) __CONCAT(compat_43_,func)
@@ -645,5 +646,7 @@ struct sysent sysent[] = {
sys_minherit }, /* 250 = minherit */
{ 1, s(struct sys_rfork_args),
sys_rfork }, /* 251 = rfork */
+ { 3, s(struct sys_poll_args),
+ sys_poll }, /* 252 = poll */
};
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index 27d064051ed..9e3fb6bc9e3 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 OpenBSD
+ * created from OpenBSD: syscalls.master,v 1.9 1996/05/18 08:53:10 deraadt Exp
*/
char *syscallnames[] = {
@@ -332,4 +332,5 @@ char *syscallnames[] = {
"#249 (unimplemented)", /* 249 = unimplemented */
"minherit", /* 250 = minherit */
"rfork", /* 251 = rfork */
+ "poll", /* 252 = poll */
};
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index 352df46fa1f..28d5124c914 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 OpenBSD
+ * created from OpenBSD: syscalls.master,v 1.9 1996/05/18 08:53:10 deraadt Exp
*/
#define SYS_syscall 0
@@ -208,4 +208,5 @@
#define SYS_shmget 231
#define SYS_minherit 250
#define SYS_rfork 251
-#define SYS_MAXSYSCALL 252
+#define SYS_poll 252
+#define SYS_MAXSYSCALL 253
diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h
index b49020dc494..679cd4bc7cc 100644
--- a/sys/sys/syscallargs.h
+++ b/sys/sys/syscallargs.h
@@ -2,7 +2,7 @@
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD
+ * created from OpenBSD: syscalls.master,v 1.9 1996/05/18 08:53:10 deraadt Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -963,6 +963,12 @@ struct sys_rfork_args {
syscallarg(int) flags;
};
+struct sys_poll_args {
+ syscallarg(struct pollfd *) fds;
+ syscallarg(unsigned long) nfds;
+ syscallarg(int) timeout;
+};
+
/*
* System call prototypes.
*/
@@ -1210,3 +1216,4 @@ int sys_shmget __P((struct proc *, void *, register_t *));
#endif
int sys_minherit __P((struct proc *, void *, register_t *));
int sys_rfork __P((struct proc *, void *, register_t *));
+int sys_poll __P((struct proc *, void *, register_t *));