summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2003-07-03 00:01:22 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2003-07-03 00:01:22 +0000
commitb84e77907ce6d506705a2edb8611357525cde5e3 (patch)
tree3aadee349b33de7134601f33b8930b5904b01024
parent5b289f2a4e23cf2913a693870efa299a200b65e9 (diff)
sync
-rw-r--r--sys/compat/linux/linux_syscall.h6
-rw-r--r--sys/compat/linux/linux_syscallargs.h13
-rw-r--r--sys/compat/linux/linux_syscalls.c4
-rw-r--r--sys/compat/linux/linux_sysent.c6
4 files changed, 19 insertions, 10 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h
index 4761b177275..3422a9dfbc7 100644
--- a/sys/compat/linux/linux_syscall.h
+++ b/sys/compat/linux/linux_syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: linux_syscall.h,v 1.38 2003/05/10 17:55:56 miod Exp $ */
+/* $OpenBSD: linux_syscall.h,v 1.39 2003/07/03 00:01:20 tedu Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.37 2003/05/10 17:53:57 miod Exp
+ * created from OpenBSD: syscalls.master,v 1.38 2003/07/03 00:00:04 tedu Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -592,7 +592,7 @@
/* syscall: "ugetrlimit" ret: "int" args: "u_int" "struct linux_rlimit *" */
#define LINUX_SYS_ugetrlimit 191
-/* syscall: "mmap2" ret: "int" args: */
+/* syscall: "mmap2" ret: "linux_off_t" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
#define LINUX_SYS_mmap2 192
/* syscall: "truncate64" ret: "int" args: "char *" "off_t" */
diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h
index 323d2cd5ced..351a7971640 100644
--- a/sys/compat/linux/linux_syscallargs.h
+++ b/sys/compat/linux/linux_syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: linux_syscallargs.h,v 1.40 2003/05/10 17:55:56 miod Exp $ */
+/* $OpenBSD: linux_syscallargs.h,v 1.41 2003/07/03 00:01:20 tedu Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.37 2003/05/10 17:53:57 miod Exp
+ * created from OpenBSD: syscalls.master,v 1.38 2003/07/03 00:00:04 tedu Exp
*/
#ifdef syscallarg
@@ -493,6 +493,15 @@ struct linux_sys_ugetrlimit_args {
syscallarg(struct linux_rlimit *) rlp;
};
+struct linux_sys_mmap2_args {
+ syscallarg(unsigned long) addr;
+ syscallarg(size_t) len;
+ syscallarg(int) prot;
+ syscallarg(int) flags;
+ syscallarg(int) fd;
+ syscallarg(linux_off_t) offset;
+};
+
struct linux_sys_truncate64_args {
syscallarg(char *) path;
syscallarg(off_t) length;
diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c
index a59c105bc6b..08d95c973fb 100644
--- a/sys/compat/linux/linux_syscalls.c
+++ b/sys/compat/linux/linux_syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: linux_syscalls.c,v 1.38 2003/05/10 17:55:56 miod Exp $ */
+/* $OpenBSD: linux_syscalls.c,v 1.39 2003/07/03 00:01:20 tedu Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.37 2003/05/10 17:53:57 miod Exp
+ * created from OpenBSD: syscalls.master,v 1.38 2003/07/03 00:00:04 tedu Exp
*/
char *linux_syscallnames[] = {
diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c
index a1d24b09e8e..208aab480c7 100644
--- a/sys/compat/linux/linux_sysent.c
+++ b/sys/compat/linux/linux_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: linux_sysent.c,v 1.39 2003/05/10 17:55:56 miod Exp $ */
+/* $OpenBSD: linux_sysent.c,v 1.40 2003/07/03 00:01:21 tedu Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.37 2003/05/10 17:53:57 miod Exp
+ * created from OpenBSD: syscalls.master,v 1.38 2003/07/03 00:00:04 tedu Exp
*/
#include <sys/param.h>
@@ -424,7 +424,7 @@ struct sysent linux_sysent[] = {
sys_vfork }, /* 190 = vfork */
{ 2, s(struct linux_sys_ugetrlimit_args),
linux_sys_ugetrlimit }, /* 191 = ugetrlimit */
- { 0, 0,
+ { 6, s(struct linux_sys_mmap2_args),
linux_sys_mmap2 }, /* 192 = mmap2 */
{ 2, s(struct linux_sys_truncate64_args),
linux_sys_truncate64 }, /* 193 = truncate64 */