summaryrefslogtreecommitdiff
path: root/sys/compat/svr4
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>1999-10-07 17:24:39 +0000
committerBrad Smith <brad@cvs.openbsd.org>1999-10-07 17:24:39 +0000
commitdfab32b69ee9380b015096220a108e9d64ffb13a (patch)
treefcac4156e46169f7c3cd817463c573f85e59f60e /sys/compat/svr4
parenta1088c6616f8a77bc5c5fd38a08fd99af61853dc (diff)
regen
Diffstat (limited to 'sys/compat/svr4')
-rw-r--r--sys/compat/svr4/svr4_syscall.h16
-rw-r--r--sys/compat/svr4/svr4_syscallargs.h31
-rw-r--r--sys/compat/svr4/svr4_syscalls.c12
-rw-r--r--sys/compat/svr4/svr4_sysent.c20
4 files changed, 59 insertions, 20 deletions
diff --git a/sys/compat/svr4/svr4_syscall.h b/sys/compat/svr4/svr4_syscall.h
index b59b49167d8..86dfff2615a 100644
--- a/sys/compat/svr4/svr4_syscall.h
+++ b/sys/compat/svr4/svr4_syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: svr4_syscall.h,v 1.25 1999/06/07 07:18:36 deraadt Exp $ */
+/* $OpenBSD: svr4_syscall.h,v 1.26 1999/10/07 17:24:38 brad Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.24 1999/06/07 07:17:48 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.26 1999/10/07 17:23:53 brad Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -337,6 +337,9 @@
/* syscall: "pwrite" ret: "ssize_t" args: "int" "const void *" "size_t" "svr4_off_t" */
#define SVR4_SYS_pwrite 174
+/* syscall: "llseek" ret: "svr4_off64_t" args: "int" "long" "long" "int" */
+#define SVR4_SYS_llseek 175
+
/* syscall: "acl" ret: "int" args: "char *" "int" "int" "struct svr4_aclent *" */
#define SVR4_SYS_acl 185
@@ -364,6 +367,15 @@
/* syscall: "setregid" ret: "int" args: "int" "int" */
#define SVR4_SYS_setregid 203
+/* syscall: "fstat64" ret: "int" args: "int" "struct svr4_stat64 *" */
+#define SVR4_SYS_fstat64 217
+
+/* syscall: "fstatvfs64" ret: "int" args: "int" "struct svr4_statvfs64 *" */
+#define SVR4_SYS_fstatvfs64 219
+
+/* syscall: "open64" ret: "int" args: "char *" "int" "int" */
+#define SVR4_SYS_open64 225
+
/* syscall: "socket" ret: "int" args: "int" "int" "int" */
#define SVR4_SYS_socket 230
diff --git a/sys/compat/svr4/svr4_syscallargs.h b/sys/compat/svr4/svr4_syscallargs.h
index 1972bda163d..c7bba803ea1 100644
--- a/sys/compat/svr4/svr4_syscallargs.h
+++ b/sys/compat/svr4/svr4_syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: svr4_syscallargs.h,v 1.25 1999/06/07 07:18:37 deraadt Exp $ */
+/* $OpenBSD: svr4_syscallargs.h,v 1.26 1999/10/07 17:24:38 brad Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.24 1999/06/07 07:17:48 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.26 1999/10/07 17:23:53 brad Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -339,6 +339,13 @@ struct svr4_sys_pwrite_args {
syscallarg(svr4_off_t) off;
};
+struct svr4_sys_llseek_args {
+ syscallarg(int) fd;
+ syscallarg(long) offset1;
+ syscallarg(long) offset2;
+ syscallarg(int) whence;
+};
+
struct svr4_sys_acl_args {
syscallarg(char *) path;
syscallarg(int) cmd;
@@ -362,6 +369,22 @@ struct svr4_sys_facl_args {
syscallarg(struct svr4_aclent *) buf;
};
+struct svr4_sys_fstat64_args {
+ syscallarg(int) fd;
+ syscallarg(struct svr4_stat64 *) sb;
+};
+
+struct svr4_sys_fstatvfs64_args {
+ syscallarg(int) fd;
+ syscallarg(struct svr4_statvfs64 *) fs;
+};
+
+struct svr4_sys_open64_args {
+ syscallarg(char *) path;
+ syscallarg(int) flags;
+ syscallarg(int) mode;
+};
+
struct svr4_sys_socket_args {
syscallarg(int) domain;
syscallarg(int) type;
@@ -488,6 +511,7 @@ int sys_getitimer __P((struct proc *, void *, register_t *));
int sys_setitimer __P((struct proc *, void *, register_t *));
int svr4_sys_pread __P((struct proc *, void *, register_t *));
int svr4_sys_pwrite __P((struct proc *, void *, register_t *));
+int svr4_sys_llseek __P((struct proc *, void *, register_t *));
int svr4_sys_acl __P((struct proc *, void *, register_t *));
int svr4_sys_auditsys __P((struct proc *, void *, register_t *));
int sys_clock_gettime __P((struct proc *, void *, register_t *));
@@ -497,6 +521,9 @@ int sys_nanosleep __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 svr4_sys_fstat64 __P((struct proc *, void *, register_t *));
+int svr4_sys_fstatvfs64 __P((struct proc *, void *, register_t *));
+int svr4_sys_open64 __P((struct proc *, void *, register_t *));
int svr4_sys_socket __P((struct proc *, void *, register_t *));
int sys_socketpair __P((struct proc *, void *, register_t *));
int sys_bind __P((struct proc *, void *, register_t *));
diff --git a/sys/compat/svr4/svr4_syscalls.c b/sys/compat/svr4/svr4_syscalls.c
index 3e98b687709..9c671b294d4 100644
--- a/sys/compat/svr4/svr4_syscalls.c
+++ b/sys/compat/svr4/svr4_syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: svr4_syscalls.c,v 1.25 1999/06/07 07:18:37 deraadt Exp $ */
+/* $OpenBSD: svr4_syscalls.c,v 1.26 1999/10/07 17:24:38 brad Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.24 1999/06/07 07:17:48 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.26 1999/10/07 17:23:53 brad Exp
*/
char *svr4_syscallnames[] = {
@@ -195,7 +195,7 @@ char *svr4_syscallnames[] = {
"#172 (unimplemented lwp_cond_broadcast)", /* 172 = unimplemented lwp_cond_broadcast */
"pread", /* 173 = pread */
"pwrite", /* 174 = pwrite */
- "#175 (unimplemented llseek)", /* 175 = unimplemented llseek */
+ "llseek", /* 175 = llseek */
"#176 (unimplemented inst_sync)", /* 176 = unimplemented inst_sync */
"#177 (unimplemented)", /* 177 = unimplemented */
"#178 (unimplemented kaio)", /* 178 = unimplemented kaio */
@@ -237,15 +237,15 @@ char *svr4_syscallnames[] = {
"#214 (unimplemented mmap64)", /* 214 = unimplemented mmap64 */
"#215 (unimplemented stat64)", /* 215 = unimplemented stat64 */
"#216 (unimplemented lstat64)", /* 216 = unimplemented lstat64 */
- "#217 (unimplemented fstat64)", /* 217 = unimplemented fstat64 */
+ "fstat64", /* 217 = fstat64 */
"#218 (unimplemented statvfs64)", /* 218 = unimplemented statvfs64 */
- "#219 (unimplemented fstatvfs64)", /* 219 = unimplemented fstatvfs64 */
+ "fstatvfs64", /* 219 = 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 */
+ "open64", /* 225 = open64 */
"#226 (unimplemented rpcsys)", /* 226 = unimplemented rpcsys */
"#227 (unimplemented)", /* 227 = unimplemented */
"#228 (unimplemented)", /* 228 = unimplemented */
diff --git a/sys/compat/svr4/svr4_sysent.c b/sys/compat/svr4/svr4_sysent.c
index 51587691168..a5f436b6256 100644
--- a/sys/compat/svr4/svr4_sysent.c
+++ b/sys/compat/svr4/svr4_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: svr4_sysent.c,v 1.25 1999/06/07 07:18:37 deraadt Exp $ */
+/* $OpenBSD: svr4_sysent.c,v 1.26 1999/10/07 17:24:38 brad Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.24 1999/06/07 07:17:48 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.26 1999/10/07 17:23:53 brad Exp
*/
#include <sys/param.h>
@@ -406,8 +406,8 @@ struct sysent svr4_sysent[] = {
svr4_sys_pread }, /* 173 = pread */
{ 4, s(struct svr4_sys_pwrite_args),
svr4_sys_pwrite }, /* 174 = pwrite */
- { 0, 0,
- sys_nosys }, /* 175 = unimplemented llseek */
+ { 4, s(struct svr4_sys_llseek_args),
+ svr4_sys_llseek }, /* 175 = llseek */
{ 0, 0,
sys_nosys }, /* 176 = unimplemented inst_sync */
{ 0, 0,
@@ -490,12 +490,12 @@ struct sysent svr4_sysent[] = {
sys_nosys }, /* 215 = unimplemented stat64 */
{ 0, 0,
sys_nosys }, /* 216 = unimplemented lstat64 */
- { 0, 0,
- sys_nosys }, /* 217 = unimplemented fstat64 */
+ { 2, s(struct svr4_sys_fstat64_args),
+ svr4_sys_fstat64 }, /* 217 = fstat64 */
{ 0, 0,
sys_nosys }, /* 218 = unimplemented statvfs64 */
- { 0, 0,
- sys_nosys }, /* 219 = unimplemented fstatvfs64 */
+ { 2, s(struct svr4_sys_fstatvfs64_args),
+ svr4_sys_fstatvfs64 }, /* 219 = fstatvfs64 */
{ 0, 0,
sys_nosys }, /* 220 = unimplemented setrlimit64 */
{ 0, 0,
@@ -506,8 +506,8 @@ struct sysent svr4_sysent[] = {
sys_nosys }, /* 223 = unimplemented pwrite64 */
{ 0, 0,
sys_nosys }, /* 224 = unimplemented creat64 */
- { 0, 0,
- sys_nosys }, /* 225 = unimplemented open64 */
+ { 3, s(struct svr4_sys_open64_args),
+ svr4_sys_open64 }, /* 225 = open64 */
{ 0, 0,
sys_nosys }, /* 226 = unimplemented rpcsys */
{ 0, 0,