summaryrefslogtreecommitdiff
path: root/sys/compat/sunos
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-13 18:38:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-13 18:38:11 +0000
commit3ddfd7de2d542f3c51c91d0225423f44f7fe101a (patch)
tree8d0aa1b6583aaf281ae35c3d47b57ed733accf3c /sys/compat/sunos
parent794ce5f22b8dbaa4f1e0221b157364f627e07ee3 (diff)
sync
Diffstat (limited to 'sys/compat/sunos')
-rw-r--r--sys/compat/sunos/sunos_syscall.h4
-rw-r--r--sys/compat/sunos/sunos_syscallargs.h10
-rw-r--r--sys/compat/sunos/sunos_syscalls.c4
-rw-r--r--sys/compat/sunos/sunos_sysent.c6
4 files changed, 9 insertions, 15 deletions
diff --git a/sys/compat/sunos/sunos_syscall.h b/sys/compat/sunos/sunos_syscall.h
index f15adb185eb..c030d075794 100644
--- a/sys/compat/sunos/sunos_syscall.h
+++ b/sys/compat/sunos/sunos_syscall.h
@@ -2,7 +2,7 @@
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.7 1997/07/28 09:53:13 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.8 1997/11/13 18:35:29 deraadt Exp
*/
#define SUNOS_SYS_syscall 0
@@ -53,7 +53,7 @@
#define SUNOS_SYS_chroot 61
#define SUNOS_SYS_fstat 62
#define SUNOS_SYS_getpagesize 64
-#define SUNOS_SYS_omsync 65
+#define SUNOS_SYS_msync 65
#define SUNOS_SYS_vfork 66
/* 67 is obsolete vread */
/* 68 is obsolete vwrite */
diff --git a/sys/compat/sunos/sunos_syscallargs.h b/sys/compat/sunos/sunos_syscallargs.h
index be86482043e..1553a3144ee 100644
--- a/sys/compat/sunos/sunos_syscallargs.h
+++ b/sys/compat/sunos/sunos_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.7 1997/07/28 09:53:13 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.8 1997/11/13 18:35:29 deraadt Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -87,12 +87,6 @@ struct sunos_sys_execve_args {
syscallarg(char **) envp;
};
-struct sunos_sys_omsync_args {
- syscallarg(caddr_t) addr;
- syscallarg(size_t) len;
- syscallarg(int) flags;
-};
-
struct sunos_sys_mmap_args {
syscallarg(caddr_t) addr;
syscallarg(size_t) len;
@@ -257,7 +251,7 @@ int sys_umask __P((struct proc *, void *, register_t *));
int sys_chroot __P((struct proc *, void *, register_t *));
int compat_43_sys_fstat __P((struct proc *, void *, register_t *));
int compat_43_sys_getpagesize __P((struct proc *, void *, register_t *));
-int sunos_sys_omsync __P((struct proc *, void *, register_t *));
+int sys_msync __P((struct proc *, void *, register_t *));
int sys_vfork __P((struct proc *, void *, register_t *));
int sys_sbrk __P((struct proc *, void *, register_t *));
int sys_sstk __P((struct proc *, void *, register_t *));
diff --git a/sys/compat/sunos/sunos_syscalls.c b/sys/compat/sunos/sunos_syscalls.c
index ee6bac0e56c..f325e2fbf95 100644
--- a/sys/compat/sunos/sunos_syscalls.c
+++ b/sys/compat/sunos/sunos_syscalls.c
@@ -2,7 +2,7 @@
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.7 1997/07/28 09:53:13 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.8 1997/11/13 18:35:29 deraadt Exp
*/
char *sunos_syscallnames[] = {
@@ -71,7 +71,7 @@ char *sunos_syscallnames[] = {
"fstat", /* 62 = fstat */
"#63 (unimplemented)", /* 63 = unimplemented */
"getpagesize", /* 64 = getpagesize */
- "omsync", /* 65 = omsync */
+ "msync", /* 65 = msync */
"vfork", /* 66 = vfork */
"#67 (obsolete vread)", /* 67 = obsolete vread */
"#68 (obsolete vwrite)", /* 68 = obsolete vwrite */
diff --git a/sys/compat/sunos/sunos_sysent.c b/sys/compat/sunos/sunos_sysent.c
index 069aa8c55ae..1890d58e9ea 100644
--- a/sys/compat/sunos/sunos_sysent.c
+++ b/sys/compat/sunos/sunos_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.7 1997/07/28 09:53:13 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.8 1997/11/13 18:35:29 deraadt Exp
*/
#include <sys/param.h>
@@ -165,8 +165,8 @@ struct sysent sunos_sysent[] = {
sys_nosys }, /* 63 = unimplemented */
{ 0, 0,
compat_43_sys_getpagesize }, /* 64 = getpagesize */
- { 3, s(struct sunos_sys_omsync_args),
- sunos_sys_omsync }, /* 65 = omsync */
+ { 3, s(struct sys_msync_args),
+ sys_msync }, /* 65 = msync */
{ 0, 0,
sys_vfork }, /* 66 = vfork */
{ 0, 0,