diff options
| author | njoly <njoly@NetBSD.org> | 2009-06-05 16:46:52 +0000 |
|---|---|---|
| committer | njoly <njoly@NetBSD.org> | 2009-06-05 16:46:52 +0000 |
| commit | b0b09eac890bdfaf5644f9c8bdf13b21703f1ece (patch) | |
| tree | 974e8fd71cdd13689aa3af3b1660c0ab619f63fe /sys/compat/linux32 | |
| parent | ca080002aaf1384e3c253dd8e95176a5b374d8e3 (diff) | |
Regen for fstatfs.
Diffstat (limited to 'sys/compat/linux32')
| -rw-r--r-- | sys/compat/linux32/arch/amd64/linux32_syscall.h | 7 | ||||
| -rw-r--r-- | sys/compat/linux32/arch/amd64/linux32_syscallargs.h | 12 | ||||
| -rw-r--r-- | sys/compat/linux32/arch/amd64/linux32_syscalls.c | 8 | ||||
| -rw-r--r-- | sys/compat/linux32/arch/amd64/linux32_sysent.c | 10 |
4 files changed, 24 insertions, 13 deletions
diff --git a/sys/compat/linux32/arch/amd64/linux32_syscall.h b/sys/compat/linux32/arch/amd64/linux32_syscall.h index caf190f3f53..237f8c627d2 100644 --- a/sys/compat/linux32/arch/amd64/linux32_syscall.h +++ b/sys/compat/linux32/arch/amd64/linux32_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscall.h,v 1.55 2009/06/04 18:01:02 njoly Exp $ */ +/* $NetBSD: linux32_syscall.h,v 1.56 2009/06/05 16:46:52 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.52 2009/06/04 17:59:30 njoly Exp + * created from NetBSD: syscalls.master,v 1.53 2009/06/05 16:45:33 njoly Exp */ #ifndef _LINUX32_SYS_SYSCALL_H_ @@ -268,6 +268,9 @@ /* syscall: "statfs" ret: "int" args: "netbsd32_charp" "linux32_statfsp" */ #define LINUX32_SYS_statfs 99 +/* syscall: "fstatfs" ret: "int" args: "int" "linux32_statfsp" */ +#define LINUX32_SYS_fstatfs 100 + /* syscall: "socketcall" ret: "int" args: "int" "netbsd32_voidp" */ #define LINUX32_SYS_socketcall 102 diff --git a/sys/compat/linux32/arch/amd64/linux32_syscallargs.h b/sys/compat/linux32/arch/amd64/linux32_syscallargs.h index f3d738166ba..f10428183ea 100644 --- a/sys/compat/linux32/arch/amd64/linux32_syscallargs.h +++ b/sys/compat/linux32/arch/amd64/linux32_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscallargs.h,v 1.55 2009/06/04 18:01:02 njoly Exp $ */ +/* $NetBSD: linux32_syscallargs.h,v 1.56 2009/06/05 16:46:52 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.52 2009/06/04 17:59:30 njoly Exp + * created from NetBSD: syscalls.master,v 1.53 2009/06/05 16:45:33 njoly Exp */ #ifndef _LINUX32_SYS_SYSCALLARGS_H_ @@ -319,6 +319,12 @@ struct linux32_sys_statfs_args { }; check_syscall_args(linux32_sys_statfs) +struct linux32_sys_fstatfs_args { + syscallarg(int) fd; + syscallarg(linux32_statfsp) sp; +}; +check_syscall_args(linux32_sys_fstatfs) + struct linux32_sys_socketcall_args { syscallarg(int) what; syscallarg(netbsd32_voidp) args; @@ -902,6 +908,8 @@ int netbsd32_setpriority(struct lwp *, const struct netbsd32_setpriority_args *, int linux32_sys_statfs(struct lwp *, const struct linux32_sys_statfs_args *, register_t *); +int linux32_sys_fstatfs(struct lwp *, const struct linux32_sys_fstatfs_args *, register_t *); + int linux32_sys_socketcall(struct lwp *, const struct linux32_sys_socketcall_args *, register_t *); int compat_50_netbsd32_setitimer(struct lwp *, const struct compat_50_netbsd32_setitimer_args *, register_t *); diff --git a/sys/compat/linux32/arch/amd64/linux32_syscalls.c b/sys/compat/linux32/arch/amd64/linux32_syscalls.c index 3e5e8a00fdb..8aae83258ba 100644 --- a/sys/compat/linux32/arch/amd64/linux32_syscalls.c +++ b/sys/compat/linux32/arch/amd64/linux32_syscalls.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux32_syscalls.c,v 1.55 2009/06/04 18:01:02 njoly Exp $ */ +/* $NetBSD: linux32_syscalls.c,v 1.56 2009/06/05 16:46:52 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.52 2009/06/04 17:59:30 njoly Exp + * created from NetBSD: syscalls.master,v 1.53 2009/06/05 16:45:33 njoly Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.55 2009/06/04 18:01:02 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.56 2009/06/05 16:46:52 njoly Exp $"); #if defined(_KERNEL_OPT) #include <sys/param.h> @@ -135,7 +135,7 @@ const char *const linux32_syscallnames[] = { /* 97 */ "netbsd32_setpriority", /* 98 */ "#98 (unimplemented profil)", /* 99 */ "statfs", - /* 100 */ "#100 (unimplemented fstatfs)", + /* 100 */ "fstatfs", /* 101 */ "#101 (unimplemented ioperm)", /* 102 */ "socketcall", /* 103 */ "#103 (unimplemented syslog)", diff --git a/sys/compat/linux32/arch/amd64/linux32_sysent.c b/sys/compat/linux32/arch/amd64/linux32_sysent.c index b2e80d301a2..fd2c0d6ff26 100644 --- a/sys/compat/linux32/arch/amd64/linux32_sysent.c +++ b/sys/compat/linux32/arch/amd64/linux32_sysent.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux32_sysent.c,v 1.55 2009/06/04 18:01:02 njoly Exp $ */ +/* $NetBSD: linux32_sysent.c,v 1.56 2009/06/05 16:46:52 njoly Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.52 2009/06/04 17:59:30 njoly Exp + * created from NetBSD: syscalls.master,v 1.53 2009/06/05 16:45:33 njoly Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.55 2009/06/04 18:01:02 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.56 2009/06/05 16:46:52 njoly Exp $"); #include <sys/param.h> #include <sys/poll.h> @@ -237,8 +237,8 @@ struct sysent linux32_sysent[] = { linux_sys_nosys }, /* 98 = unimplemented profil */ { ns(struct linux32_sys_statfs_args), 0, (sy_call_t *)linux32_sys_statfs }, /* 99 = statfs */ - { 0, 0, 0, - linux_sys_nosys }, /* 100 = unimplemented fstatfs */ + { ns(struct linux32_sys_fstatfs_args), 0, + (sy_call_t *)linux32_sys_fstatfs }, /* 100 = fstatfs */ { 0, 0, 0, linux_sys_nosys }, /* 101 = unimplemented ioperm */ { ns(struct linux32_sys_socketcall_args), 0, |
