summaryrefslogtreecommitdiff
path: root/sys/compat/svr4
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-08-29 19:36:11 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-08-29 19:36:11 +0000
commita645ff96eda2439b793581d3ed8290ad8b421dae (patch)
tree7c440738cea0c5f8eafc6d9409f392148630ab3a /sys/compat/svr4
parent664196bd745d146b922e491aa6b8f4e3fb76808b (diff)
regen for sockets
Diffstat (limited to 'sys/compat/svr4')
-rw-r--r--sys/compat/svr4/svr4_syscall.h20
-rw-r--r--sys/compat/svr4/svr4_syscallargs.h18
-rw-r--r--sys/compat/svr4/svr4_syscalls.c47
-rw-r--r--sys/compat/svr4/svr4_sysent.c84
4 files changed, 156 insertions, 13 deletions
diff --git a/sys/compat/svr4/svr4_syscall.h b/sys/compat/svr4/svr4_syscall.h
index 40c13b17d89..2b517ce3958 100644
--- a/sys/compat/svr4/svr4_syscall.h
+++ b/sys/compat/svr4/svr4_syscall.h
@@ -2,7 +2,7 @@
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.13 1997/08/29 18:45:52 kstailey Exp
+ * created from OpenBSD: syscalls.master,v 1.14 1997/08/29 19:35:20 kstailey Exp
*/
#define SVR4_SYS_syscall 0
@@ -126,4 +126,20 @@
#define SVR4_SYS_facl 200
#define SVR4_SYS_setreuid 202
#define SVR4_SYS_setregid 203
-#define SVR4_SYS_MAXSYSCALL 213
+#define SVR4_SYS_socketpair 231
+#define SVR4_SYS_bind 232
+#define SVR4_SYS_listen 233
+#define SVR4_SYS_accept 234
+#define SVR4_SYS_connect 235
+#define SVR4_SYS_shutdown 236
+#define SVR4_SYS_recv 237
+#define SVR4_SYS_recvfrom 238
+#define SVR4_SYS_recvmsg 239
+#define SVR4_SYS_send 240
+#define SVR4_SYS_sendmsg 241
+#define SVR4_SYS_sendto 242
+#define SVR4_SYS_getpeername 243
+#define SVR4_SYS_getsockname 244
+#define SVR4_SYS_getsockopt 245
+#define SVR4_SYS_setsockopt 246
+#define SVR4_SYS_MAXSYSCALL 250
diff --git a/sys/compat/svr4/svr4_syscallargs.h b/sys/compat/svr4/svr4_syscallargs.h
index 3e7e9f0ecf7..2935fffd73f 100644
--- a/sys/compat/svr4/svr4_syscallargs.h
+++ b/sys/compat/svr4/svr4_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.13 1997/08/29 18:45:52 kstailey Exp
+ * created from OpenBSD: syscalls.master,v 1.14 1997/08/29 19:35:20 kstailey Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -474,3 +474,19 @@ int svr4_sys_acl __P((struct proc *, void *, register_t *));
int svr4_sys_facl __P((struct proc *, void *, register_t *));
int compat_43_sys_setreuid __P((struct proc *, void *, register_t *));
int compat_43_sys_setregid __P((struct proc *, void *, register_t *));
+int sys_socketpair __P((struct proc *, void *, register_t *));
+int sys_bind __P((struct proc *, void *, register_t *));
+int sys_listen __P((struct proc *, void *, register_t *));
+int compat_43_sys_accept __P((struct proc *, void *, register_t *));
+int sys_connect __P((struct proc *, void *, register_t *));
+int sys_shutdown __P((struct proc *, void *, register_t *));
+int compat_43_sys_recv __P((struct proc *, void *, register_t *));
+int compat_43_sys_recvfrom __P((struct proc *, void *, register_t *));
+int compat_43_sys_recvmsg __P((struct proc *, void *, register_t *));
+int compat_43_sys_send __P((struct proc *, void *, register_t *));
+int compat_43_sys_sendmsg __P((struct proc *, void *, register_t *));
+int sys_sendto __P((struct proc *, void *, register_t *));
+int compat_43_sys_getpeername __P((struct proc *, void *, register_t *));
+int compat_43_sys_getsockname __P((struct proc *, void *, register_t *));
+int sys_getsockopt __P((struct proc *, void *, register_t *));
+int sys_setsockopt __P((struct proc *, void *, register_t *));
diff --git a/sys/compat/svr4/svr4_syscalls.c b/sys/compat/svr4/svr4_syscalls.c
index 46f9ca2a8b2..2cb880d36e7 100644
--- a/sys/compat/svr4/svr4_syscalls.c
+++ b/sys/compat/svr4/svr4_syscalls.c
@@ -2,7 +2,7 @@
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.13 1997/08/29 18:45:52 kstailey Exp
+ * created from OpenBSD: syscalls.master,v 1.14 1997/08/29 19:35:20 kstailey Exp
*/
char *svr4_syscallnames[] = {
@@ -226,13 +226,50 @@ char *svr4_syscallnames[] = {
"#201 (unimplemented door)", /* 201 = unimplemented door */
"setreuid", /* 202 = setreuid */
"setregid", /* 203 = setregid */
- "#204 (unimplemented)", /* 204 = unimplemented */
- "#205 (unimplemented)", /* 205 = unimplemented */
- "#206 (unimplemented)", /* 206 = unimplemented */
- "#207 (unimplemented)", /* 207 = unimplemented */
+ "#204 (unimplemented install_utrap)", /* 204 = unimplemented install_utrap */
+ "#205 (unimplemented signotify)", /* 205 = unimplemented signotify */
+ "#206 (unimplemented schedctl)", /* 206 = unimplemented schedctl */
+ "#207 (unimplemented pset)", /* 207 = unimplemented pset */
"#208 (unimplemented)", /* 208 = unimplemented */
"#209 (unimplemented)", /* 209 = unimplemented */
"#210 (unimplemented signotifywait)", /* 210 = unimplemented signotifywait */
"#211 (unimplemented lwp_sigredirect)", /* 211 = unimplemented lwp_sigredirect */
"#212 (unimplemented lwp_alarm)", /* 212 = unimplemented lwp_alarm */
+ "#213 (unimplemented getdents64)", /* 213 = unimplemented getdents64 */
+ "#214 (unimplemented mmap64)", /* 214 = unimplemented mmap64 */
+ "#215 (unimplemented stat64)", /* 215 = unimplemented stat64 */
+ "#216 (unimplemented lstat64)", /* 216 = unimplemented lstat64 */
+ "#217 (unimplemented fstat64)", /* 217 = unimplemented fstat64 */
+ "#218 (unimplemented statvfs64)", /* 218 = unimplemented statvfs64 */
+ "#219 (unimplemented fstatvfs64)", /* 219 = unimplemented fstatvfs64 */
+ "#220 (unimplemented setrlimit64)", /* 220 = unimplemented setrlimit64 */
+ "#221 (unimplemented getrlimit64)", /* 221 = unimplemented getrlimit64 */
+ "#222 (unimplemented pread64)", /* 222 = unimplemented pread64 */
+ "#223 (unimplemented pwrite64)", /* 223 = unimplemented pwrite64 */
+ "#224 (unimplemented creat64)", /* 224 = unimplemented creat64 */
+ "#225 (unimplemented open64)", /* 225 = unimplemented open64 */
+ "#226 (unimplemented rpcsys)", /* 226 = unimplemented rpcsys */
+ "#227 (unimplemented)", /* 227 = unimplemented */
+ "#228 (unimplemented)", /* 228 = unimplemented */
+ "#229 (unimplemented)", /* 229 = unimplemented */
+ "#230 (unimplemented { int svr4_sys_socket ( int domain , int type , int protocol ) ; })", /* 230 = unimplemented { int svr4_sys_socket ( int domain , int type , int protocol ) ; } */
+ "socketpair", /* 231 = socketpair */
+ "bind", /* 232 = bind */
+ "listen", /* 233 = listen */
+ "accept", /* 234 = accept */
+ "connect", /* 235 = connect */
+ "shutdown", /* 236 = shutdown */
+ "recv", /* 237 = recv */
+ "recvfrom", /* 238 = recvfrom */
+ "recvmsg", /* 239 = recvmsg */
+ "send", /* 240 = send */
+ "sendmsg", /* 241 = sendmsg */
+ "sendto", /* 242 = sendto */
+ "getpeername", /* 243 = getpeername */
+ "getsockname", /* 244 = getsockname */
+ "getsockopt", /* 245 = getsockopt */
+ "setsockopt", /* 246 = setsockopt */
+ "#247 (unimplemented sockconfig)", /* 247 = unimplemented sockconfig */
+ "#248 (unimplemented ntp_gettime)", /* 248 = unimplemented ntp_gettime */
+ "#249 (unimplemented ntp_adjtime)", /* 249 = unimplemented ntp_adjtime */
};
diff --git a/sys/compat/svr4/svr4_sysent.c b/sys/compat/svr4/svr4_sysent.c
index 59fa33f58b4..cc7060c616a 100644
--- a/sys/compat/svr4/svr4_sysent.c
+++ b/sys/compat/svr4/svr4_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.13 1997/08/29 18:45:52 kstailey Exp
+ * created from OpenBSD: syscalls.master,v 1.14 1997/08/29 19:35:20 kstailey Exp
*/
#include <sys/param.h>
@@ -468,13 +468,13 @@ struct sysent svr4_sysent[] = {
{ 2, s(struct compat_43_sys_setregid_args),
compat_43_sys_setregid }, /* 203 = setregid */
{ 0, 0,
- sys_nosys }, /* 204 = unimplemented */
+ sys_nosys }, /* 204 = unimplemented install_utrap */
{ 0, 0,
- sys_nosys }, /* 205 = unimplemented */
+ sys_nosys }, /* 205 = unimplemented signotify */
{ 0, 0,
- sys_nosys }, /* 206 = unimplemented */
+ sys_nosys }, /* 206 = unimplemented schedctl */
{ 0, 0,
- sys_nosys }, /* 207 = unimplemented */
+ sys_nosys }, /* 207 = unimplemented pset */
{ 0, 0,
sys_nosys }, /* 208 = unimplemented */
{ 0, 0,
@@ -485,5 +485,79 @@ struct sysent svr4_sysent[] = {
sys_nosys }, /* 211 = unimplemented lwp_sigredirect */
{ 0, 0,
sys_nosys }, /* 212 = unimplemented lwp_alarm */
+ { 0, 0,
+ sys_nosys }, /* 213 = unimplemented getdents64 */
+ { 0, 0,
+ sys_nosys }, /* 214 = unimplemented mmap64 */
+ { 0, 0,
+ sys_nosys }, /* 215 = unimplemented stat64 */
+ { 0, 0,
+ sys_nosys }, /* 216 = unimplemented lstat64 */
+ { 0, 0,
+ sys_nosys }, /* 217 = unimplemented fstat64 */
+ { 0, 0,
+ sys_nosys }, /* 218 = unimplemented statvfs64 */
+ { 0, 0,
+ sys_nosys }, /* 219 = unimplemented fstatvfs64 */
+ { 0, 0,
+ sys_nosys }, /* 220 = unimplemented setrlimit64 */
+ { 0, 0,
+ sys_nosys }, /* 221 = unimplemented getrlimit64 */
+ { 0, 0,
+ sys_nosys }, /* 222 = unimplemented pread64 */
+ { 0, 0,
+ sys_nosys }, /* 223 = unimplemented pwrite64 */
+ { 0, 0,
+ sys_nosys }, /* 224 = unimplemented creat64 */
+ { 0, 0,
+ sys_nosys }, /* 225 = unimplemented open64 */
+ { 0, 0,
+ sys_nosys }, /* 226 = unimplemented rpcsys */
+ { 0, 0,
+ sys_nosys }, /* 227 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 228 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 229 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 230 = unimplemented { int svr4_sys_socket ( int domain , int type , int protocol ) ; } */
+ { 4, s(struct sys_socketpair_args),
+ sys_socketpair }, /* 231 = socketpair */
+ { 3, s(struct sys_bind_args),
+ sys_bind }, /* 232 = bind */
+ { 2, s(struct sys_listen_args),
+ sys_listen }, /* 233 = listen */
+ { 3, s(struct compat_43_sys_accept_args),
+ compat_43_sys_accept }, /* 234 = accept */
+ { 3, s(struct sys_connect_args),
+ sys_connect }, /* 235 = connect */
+ { 2, s(struct sys_shutdown_args),
+ sys_shutdown }, /* 236 = shutdown */
+ { 4, s(struct compat_43_sys_recv_args),
+ compat_43_sys_recv }, /* 237 = recv */
+ { 6, s(struct compat_43_sys_recvfrom_args),
+ compat_43_sys_recvfrom }, /* 238 = recvfrom */
+ { 3, s(struct compat_43_sys_recvmsg_args),
+ compat_43_sys_recvmsg }, /* 239 = recvmsg */
+ { 4, s(struct compat_43_sys_send_args),
+ compat_43_sys_send }, /* 240 = send */
+ { 3, s(struct compat_43_sys_sendmsg_args),
+ compat_43_sys_sendmsg }, /* 241 = sendmsg */
+ { 6, s(struct sys_sendto_args),
+ sys_sendto }, /* 242 = sendto */
+ { 3, s(struct compat_43_sys_getpeername_args),
+ compat_43_sys_getpeername }, /* 243 = getpeername */
+ { 3, s(struct compat_43_sys_getsockname_args),
+ compat_43_sys_getsockname }, /* 244 = getsockname */
+ { 5, s(struct sys_getsockopt_args),
+ sys_getsockopt }, /* 245 = getsockopt */
+ { 5, s(struct sys_setsockopt_args),
+ sys_setsockopt }, /* 246 = setsockopt */
+ { 0, 0,
+ sys_nosys }, /* 247 = unimplemented sockconfig */
+ { 0, 0,
+ sys_nosys }, /* 248 = unimplemented ntp_gettime */
+ { 0, 0,
+ sys_nosys }, /* 249 = unimplemented ntp_adjtime */
};