diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2003-07-23 17:42:40 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2003-07-23 17:42:40 +0000 |
commit | 195a504efd8d8bb3bbadca63f449af039b17dc13 (patch) | |
tree | cb178844153290bd2396402ba498d498ec208b02 | |
parent | f4588d84ab7e59c8e7c9de64f7f0cb6669f0d859 (diff) |
sync
-rw-r--r-- | sys/compat/linux/linux_syscall.h | 6 | ||||
-rw-r--r-- | sys/compat/linux/linux_syscallargs.h | 8 | ||||
-rw-r--r-- | sys/compat/linux/linux_syscalls.c | 4 | ||||
-rw-r--r-- | sys/compat/linux/linux_sysent.c | 7 |
4 files changed, 15 insertions, 10 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h index 3422a9dfbc7..4c312ffbdf1 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.39 2003/07/03 00:01:20 tedu Exp $ */ +/* $OpenBSD: linux_syscall.h,v 1.40 2003/07/23 17:42:39 tedu Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.38 2003/07/03 00:00:04 tedu Exp + * created from OpenBSD: syscalls.master,v 1.39 2003/07/23 17:42:09 tedu Exp */ /* syscall: "syscall" ret: "int" args: */ @@ -361,7 +361,7 @@ /* syscall: "swapoff" ret: "int" args: */ #define LINUX_SYS_swapoff 115 -/* syscall: "sysinfo" ret: "int" args: */ +/* syscall: "sysinfo" ret: "int" args: "struct linux_sys_sysinfo_args *" */ #define LINUX_SYS_sysinfo 116 /* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "caddr_t" */ diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h index 351a7971640..5f4f8824a55 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.41 2003/07/03 00:01:20 tedu Exp $ */ +/* $OpenBSD: linux_syscallargs.h,v 1.42 2003/07/23 17:42:39 tedu Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.38 2003/07/03 00:00:04 tedu Exp + * created from OpenBSD: syscalls.master,v 1.39 2003/07/23 17:42:09 tedu Exp */ #ifdef syscallarg @@ -296,6 +296,10 @@ struct linux_sys_wait4_args { syscallarg(struct rusage *) rusage; }; +struct linux_sys_sysinfo_args { + syscallarg(struct linux_sys_sysinfo_args *) sysinfo; +}; + struct linux_sys_ipc_args { syscallarg(int) what; syscallarg(int) a1; diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c index 08d95c973fb..dd8526a0b9f 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.39 2003/07/03 00:01:20 tedu Exp $ */ +/* $OpenBSD: linux_syscalls.c,v 1.40 2003/07/23 17:42:39 tedu Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.38 2003/07/03 00:00:04 tedu Exp + * created from OpenBSD: syscalls.master,v 1.39 2003/07/23 17:42:09 tedu Exp */ char *linux_syscallnames[] = { diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c index 208aab480c7..204087e418e 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.40 2003/07/03 00:01:21 tedu Exp $ */ +/* $OpenBSD: linux_sysent.c,v 1.41 2003/07/23 17:42:39 tedu Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.38 2003/07/03 00:00:04 tedu Exp + * created from OpenBSD: syscalls.master,v 1.39 2003/07/23 17:42:09 tedu Exp */ #include <sys/param.h> @@ -14,6 +14,7 @@ #include <sys/syscallargs.h> #include <compat/linux/linux_types.h> #include <compat/linux/linux_signal.h> +#include <compat/linux/linux_misc.h> #include <compat/linux/linux_syscallargs.h> #include <machine/linux_machdep.h> @@ -267,7 +268,7 @@ struct sysent linux_sysent[] = { linux_sys_wait4 }, /* 114 = wait4 */ { 0, 0, linux_sys_swapoff }, /* 115 = swapoff */ - { 0, 0, + { 1, s(struct linux_sys_sysinfo_args), linux_sys_sysinfo }, /* 116 = sysinfo */ { 5, s(struct linux_sys_ipc_args), linux_sys_ipc }, /* 117 = ipc */ |