summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorfvdl <fvdl@NetBSD.org>1995-12-18 14:35:43 +0000
committerfvdl <fvdl@NetBSD.org>1995-12-18 14:35:43 +0000
commit4ed045ab27adee1cdeba6f9e57ff805affa3aeda (patch)
tree7e3eebb288acaba5bf68a5bbf19245b801c84e39 /sys/compat/linux
parent2df1785997d36deafbafc381ad47be10b00ed141 (diff)
syscalls.master changed
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/linux_syscall.h7
-rw-r--r--sys/compat/linux/linux_syscallargs.h11
-rw-r--r--sys/compat/linux/linux_syscalls.c5
-rw-r--r--sys/compat/linux/linux_sysent.c8
4 files changed, 26 insertions, 5 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h
index 4adb328d24a..9975c899f30 100644
--- a/sys/compat/linux/linux_syscall.h
+++ b/sys/compat/linux/linux_syscall.h
@@ -2,7 +2,7 @@
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.14 1995/12/09 04:01:47 mycroft Exp
+ * created from NetBSD: syscalls.master,v 1.15 1995/12/18 14:35:10 fvdl Exp
*/
#define LINUX_SYS_syscall 0
@@ -117,4 +117,7 @@
#define LINUX_SYS_getdents 141
#define LINUX_SYS_select 142
#define LINUX_SYS_flock 143
-#define LINUX_SYS_MAXSYSCALL 144
+#define LINUX_SYS_msync 144
+#define LINUX_SYS_readv 145
+#define LINUX_SYS_writev 146
+#define LINUX_SYS_MAXSYSCALL 147
diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h
index eaa503f0d8f..b47f63a4874 100644
--- a/sys/compat/linux/linux_syscallargs.h
+++ b/sys/compat/linux/linux_syscallargs.h
@@ -2,7 +2,7 @@
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.14 1995/12/09 04:01:47 mycroft Exp
+ * created from NetBSD: syscalls.master,v 1.15 1995/12/18 14:35:10 fvdl Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -308,6 +308,12 @@ struct linux_sys_select_args {
syscallarg(struct timeval *) timeout;
};
+struct linux_sys_msync_args {
+ syscallarg(caddr_t) addr;
+ syscallarg(int) len;
+ syscallarg(int) fl;
+};
+
/*
* System call prototypes.
*/
@@ -431,3 +437,6 @@ int linux_sys_llseek __P((struct proc *, void *, register_t *));
int linux_sys_getdents __P((struct proc *, void *, register_t *));
int linux_sys_select __P((struct proc *, void *, register_t *));
int sys_flock __P((struct proc *, void *, register_t *));
+int linux_sys_msync __P((struct proc *, void *, register_t *));
+int sys_readv __P((struct proc *, void *, register_t *));
+int sys_writev __P((struct proc *, void *, register_t *));
diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c
index cfc027283d5..5062a0fb5bf 100644
--- a/sys/compat/linux/linux_syscalls.c
+++ b/sys/compat/linux/linux_syscalls.c
@@ -2,7 +2,7 @@
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.14 1995/12/09 04:01:47 mycroft Exp
+ * created from NetBSD: syscalls.master,v 1.15 1995/12/18 14:35:10 fvdl Exp
*/
char *linux_syscallnames[] = {
@@ -162,4 +162,7 @@ char *linux_syscallnames[] = {
"getdents", /* 141 = getdents */
"select", /* 142 = select */
"flock", /* 143 = flock */
+ "msync", /* 144 = msync */
+ "readv", /* 145 = readv */
+ "writev", /* 146 = writev */
};
diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c
index b2fd1cbb220..db61518a095 100644
--- a/sys/compat/linux/linux_sysent.c
+++ b/sys/compat/linux/linux_sysent.c
@@ -2,7 +2,7 @@
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.14 1995/12/09 04:01:47 mycroft Exp
+ * created from NetBSD: syscalls.master,v 1.15 1995/12/18 14:35:10 fvdl Exp
*/
#include <sys/param.h>
@@ -321,5 +321,11 @@ struct sysent linux_sysent[] = {
linux_sys_select }, /* 142 = select */
{ 2, s(struct sys_flock_args),
sys_flock }, /* 143 = flock */
+ { 3, s(struct linux_sys_msync_args),
+ linux_sys_msync }, /* 144 = msync */
+ { 3, s(struct sys_readv_args),
+ sys_readv }, /* 145 = readv */
+ { 3, s(struct sys_writev_args),
+ sys_writev }, /* 146 = writev */
};