summaryrefslogtreecommitdiff
path: root/sys/compat/osf1
diff options
context:
space:
mode:
authorEric Jackson <ericj@cvs.openbsd.org>2000-07-21 19:27:08 +0000
committerEric Jackson <ericj@cvs.openbsd.org>2000-07-21 19:27:08 +0000
commita1054c50dbb8e1fea66aa4efd7937ddf0643b0ff (patch)
tree5c5a38257e7903225f9fed3052492d5d15835d21 /sys/compat/osf1
parent1a02509ca947c64ecbab91372ce5fd742881d072 (diff)
regen
Diffstat (limited to 'sys/compat/osf1')
-rw-r--r--sys/compat/osf1/osf1_syscall.h10
-rw-r--r--sys/compat/osf1/osf1_syscallargs.h6
-rw-r--r--sys/compat/osf1/osf1_syscalls.c8
-rw-r--r--sys/compat/osf1/osf1_sysent.c12
4 files changed, 22 insertions, 14 deletions
diff --git a/sys/compat/osf1/osf1_syscall.h b/sys/compat/osf1/osf1_syscall.h
index 13299a474a6..9e27aa78f02 100644
--- a/sys/compat/osf1/osf1_syscall.h
+++ b/sys/compat/osf1/osf1_syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: osf1_syscall.h,v 1.6 1999/06/07 07:18:35 deraadt Exp $ */
+/* $OpenBSD: osf1_syscall.h,v 1.7 2000/07/21 19:27:07 ericj Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.6 1999/06/07 07:17:47 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.6 1999/06/07 07:17:47 deraadt Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -206,6 +206,9 @@
/* syscall: "connect" ret: "int" args: "int" "caddr_t" "int" */
#define OSF1_SYS_connect 98
+/* syscall: "accept" ret: "int" args: "int" "caddr_t" "int *" */
+#define OSF1_SYS_accept 99
+
/* syscall: "getpriority" ret: "int" args: "int" "int" */
#define OSF1_SYS_getpriority 100
@@ -224,6 +227,9 @@
/* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "caddr_t" "int" */
#define OSF1_SYS_setsockopt 105
+/* syscall: "listen" ret: "int" args: "int" "int" */
+#define OSF1_SYS_listen 106
+
/* syscall: "sigsuspend" ret: "int" args: "int" */
#define OSF1_SYS_sigsuspend 111
diff --git a/sys/compat/osf1/osf1_syscallargs.h b/sys/compat/osf1/osf1_syscallargs.h
index edf8a1fe458..c0be6da7bb4 100644
--- a/sys/compat/osf1/osf1_syscallargs.h
+++ b/sys/compat/osf1/osf1_syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: osf1_syscallargs.h,v 1.6 1999/06/07 07:18:36 deraadt Exp $ */
+/* $OpenBSD: osf1_syscallargs.h,v 1.7 2000/07/21 19:27:07 ericj Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.6 1999/06/07 07:17:47 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.6 1999/06/07 07:17:47 deraadt Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -262,12 +262,14 @@ int sys_fsync __P((struct proc *, void *, register_t *));
int sys_setpriority __P((struct proc *, void *, register_t *));
int osf1_sys_socket __P((struct proc *, void *, register_t *));
int sys_connect __P((struct proc *, void *, register_t *));
+int compat_43_sys_accept __P((struct proc *, void *, register_t *));
int sys_getpriority __P((struct proc *, void *, register_t *));
int compat_43_sys_send __P((struct proc *, void *, register_t *));
int compat_43_sys_recv __P((struct proc *, void *, register_t *));
int sys_sigreturn __P((struct proc *, void *, register_t *));
int sys_bind __P((struct proc *, void *, register_t *));
int sys_setsockopt __P((struct proc *, void *, register_t *));
+int sys_listen __P((struct proc *, void *, register_t *));
int sys_sigsuspend __P((struct proc *, void *, register_t *));
int compat_43_sys_sigstack __P((struct proc *, void *, register_t *));
int sys_gettimeofday __P((struct proc *, void *, register_t *));
diff --git a/sys/compat/osf1/osf1_syscalls.c b/sys/compat/osf1/osf1_syscalls.c
index 81b5a7c6cf3..b9146392400 100644
--- a/sys/compat/osf1/osf1_syscalls.c
+++ b/sys/compat/osf1/osf1_syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: osf1_syscalls.c,v 1.6 1999/06/07 07:18:36 deraadt Exp $ */
+/* $OpenBSD: osf1_syscalls.c,v 1.7 2000/07/21 19:27:07 ericj Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.6 1999/06/07 07:17:47 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.6 1999/06/07 07:17:47 deraadt Exp
*/
char *osf1_syscallnames[] = {
@@ -107,14 +107,14 @@ char *osf1_syscallnames[] = {
"setpriority", /* 96 = setpriority */
"socket", /* 97 = socket */
"connect", /* 98 = connect */
- "#99 (unimplemented old accept)", /* 99 = unimplemented old accept */
+ "accept", /* 99 = accept */
"getpriority", /* 100 = getpriority */
"send", /* 101 = send */
"recv", /* 102 = recv */
"sigreturn", /* 103 = sigreturn */
"bind", /* 104 = bind */
"setsockopt", /* 105 = setsockopt */
- "#106 (unimplemented listen)", /* 106 = unimplemented listen */
+ "listen", /* 106 = listen */
"#107 (unimplemented plock)", /* 107 = unimplemented plock */
"#108 (unimplemented old sigvec)", /* 108 = unimplemented old sigvec */
"#109 (unimplemented old sigblock)", /* 109 = unimplemented old sigblock */
diff --git a/sys/compat/osf1/osf1_sysent.c b/sys/compat/osf1/osf1_sysent.c
index 6a37333df2f..9280d4a10d7 100644
--- a/sys/compat/osf1/osf1_sysent.c
+++ b/sys/compat/osf1/osf1_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: osf1_sysent.c,v 1.6 1999/06/07 07:18:36 deraadt Exp $ */
+/* $OpenBSD: osf1_sysent.c,v 1.7 2000/07/21 19:27:07 ericj Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.6 1999/06/07 07:17:47 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.6 1999/06/07 07:17:47 deraadt Exp
*/
#include <sys/param.h>
@@ -216,8 +216,8 @@ struct sysent osf1_sysent[] = {
osf1_sys_socket }, /* 97 = socket */
{ 3, s(struct sys_connect_args),
sys_connect }, /* 98 = connect */
- { 0, 0,
- sys_nosys }, /* 99 = unimplemented old accept */
+ { 3, s(struct compat_43_sys_accept_args),
+ compat_43_sys_accept }, /* 99 = accept */
{ 2, s(struct sys_getpriority_args),
sys_getpriority }, /* 100 = getpriority */
{ 4, s(struct compat_43_sys_send_args),
@@ -230,8 +230,8 @@ struct sysent osf1_sysent[] = {
sys_bind }, /* 104 = bind */
{ 5, s(struct sys_setsockopt_args),
sys_setsockopt }, /* 105 = setsockopt */
- { 0, 0,
- sys_nosys }, /* 106 = unimplemented listen */
+ { 2, s(struct sys_listen_args),
+ sys_listen }, /* 106 = listen */
{ 0, 0,
sys_nosys }, /* 107 = unimplemented plock */
{ 0, 0,