summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authornjoly <njoly@NetBSD.org>2007-03-14 12:47:46 +0000
committernjoly <njoly@NetBSD.org>2007-03-14 12:47:46 +0000
commitde5304fe4b2be821b1507efda99d16ccc51bfb40 (patch)
tree90caaeb6f14ae2f576611bb2be4091f93c727394 /sys/compat/linux
parent4e3a8d7d1d8101b66f052ddcf59f48836f74e801 (diff)
Regen (statfs/fstatfs fixes).
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/arch/amd64/linux_syscall.h12
-rw-r--r--sys/compat/linux/arch/amd64/linux_syscallargs.h18
-rw-r--r--sys/compat/linux/arch/amd64/linux_syscalls.c10
-rw-r--r--sys/compat/linux/arch/amd64/linux_sysent.c14
4 files changed, 26 insertions, 28 deletions
diff --git a/sys/compat/linux/arch/amd64/linux_syscall.h b/sys/compat/linux/arch/amd64/linux_syscall.h
index 62623d1fc51..8955efc8080 100644
--- a/sys/compat/linux/arch/amd64/linux_syscall.h
+++ b/sys/compat/linux/arch/amd64/linux_syscall.h
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.17 2007/03/04 06:01:18 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.18 2007/03/14 12:47:46 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.15 2006/09/01 20:58:18 matt Exp
+ * created from NetBSD: syscalls.master,v 1.18 2007/03/14 12:44:39 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@@ -418,11 +418,11 @@
/* syscall: "personality" ret: "int" args: "int" */
#define LINUX_SYS_personality 135
-/* syscall: "statfs64" ret: "int" args: "const char *" "size_t" "struct linux_statfs64 *" */
-#define LINUX_SYS_statfs64 137
+/* syscall: "statfs" ret: "int" args: "const char *" "struct linux_statfs *" */
+#define LINUX_SYS_statfs 137
-/* syscall: "fstatfs64" ret: "int" args: "int" "size_t" "struct linux_statfs64 *" */
-#define LINUX_SYS_fstatfs64 138
+/* syscall: "fstatfs" ret: "int" args: "int" "struct linux_statfs *" */
+#define LINUX_SYS_fstatfs 138
/* syscall: "getpriority" ret: "int" args: "int" "int" */
#define LINUX_SYS_getpriority 140
diff --git a/sys/compat/linux/arch/amd64/linux_syscallargs.h b/sys/compat/linux/arch/amd64/linux_syscallargs.h
index d914bf20b73..e705c0de47b 100644
--- a/sys/compat/linux/arch/amd64/linux_syscallargs.h
+++ b/sys/compat/linux/arch/amd64/linux_syscallargs.h
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.17 2007/03/04 06:01:19 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.18 2007/03/14 12:47:46 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.15 2006/09/01 20:58:18 matt Exp
+ * created from NetBSD: syscalls.master,v 1.18 2007/03/14 12:44:39 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -467,16 +467,14 @@ struct linux_sys_personality_args {
syscallarg(int) per;
};
-struct linux_sys_statfs64_args {
+struct linux_sys_statfs_args {
syscallarg(const char *) path;
- syscallarg(size_t) sz;
- syscallarg(struct linux_statfs64 *) sp;
+ syscallarg(struct linux_statfs *) sp;
};
-struct linux_sys_fstatfs64_args {
+struct linux_sys_fstatfs_args {
syscallarg(int) fd;
- syscallarg(size_t) sz;
- syscallarg(struct linux_statfs64 *) sp;
+ syscallarg(struct linux_statfs *) sp;
};
struct linux_sys_getpriority_args {
@@ -998,9 +996,9 @@ int linux_sys_uselib(struct lwp *, void *, register_t *);
#endif
int linux_sys_personality(struct lwp *, void *, register_t *);
-int linux_sys_statfs64(struct lwp *, void *, register_t *);
+int linux_sys_statfs(struct lwp *, void *, register_t *);
-int linux_sys_fstatfs64(struct lwp *, void *, register_t *);
+int linux_sys_fstatfs(struct lwp *, void *, register_t *);
int linux_sys_getpriority(struct lwp *, void *, register_t *);
diff --git a/sys/compat/linux/arch/amd64/linux_syscalls.c b/sys/compat/linux/arch/amd64/linux_syscalls.c
index cd26eb3de65..4e522213491 100644
--- a/sys/compat/linux/arch/amd64/linux_syscalls.c
+++ b/sys/compat/linux/arch/amd64/linux_syscalls.c
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.17 2007/02/09 21:55:18 ad Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.18 2007/03/14 12:47:46 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.15 2006/09/01 20:58:18 matt Exp
+ * created from NetBSD: syscalls.master,v 1.18 2007/03/14 12:44:39 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.17 2007/02/09 21:55:18 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.18 2007/03/14 12:47:46 njoly Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@@ -196,8 +196,8 @@ const char *const linux_syscallnames[] = {
#endif
"personality", /* 135 = personality */
"#136 (unimplemented ustat)", /* 136 = unimplemented ustat */
- "statfs64", /* 137 = statfs64 */
- "fstatfs64", /* 138 = fstatfs64 */
+ "statfs", /* 137 = statfs */
+ "fstatfs", /* 138 = fstatfs */
"#139 (unimplemented sysfs)", /* 139 = unimplemented sysfs */
"getpriority", /* 140 = getpriority */
"setpriority", /* 141 = setpriority */
diff --git a/sys/compat/linux/arch/amd64/linux_sysent.c b/sys/compat/linux/arch/amd64/linux_sysent.c
index b7c4394a06c..ba7b20a39ce 100644
--- a/sys/compat/linux/arch/amd64/linux_sysent.c
+++ b/sys/compat/linux/arch/amd64/linux_sysent.c
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.17 2007/02/09 21:55:18 ad Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.18 2007/03/14 12:47:46 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.15 2006/09/01 20:58:18 matt Exp
+ * created from NetBSD: syscalls.master,v 1.18 2007/03/14 12:44:39 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.17 2007/02/09 21:55:18 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.18 2007/03/14 12:47:46 njoly Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
@@ -345,10 +345,10 @@ struct sysent linux_sysent[] = {
linux_sys_personality }, /* 135 = personality */
{ 0, 0, 0,
linux_sys_nosys }, /* 136 = unimplemented ustat */
- { 3, s(struct linux_sys_statfs64_args), 0,
- linux_sys_statfs64 }, /* 137 = statfs64 */
- { 3, s(struct linux_sys_fstatfs64_args), 0,
- linux_sys_fstatfs64 }, /* 138 = fstatfs64 */
+ { 2, s(struct linux_sys_statfs_args), 0,
+ linux_sys_statfs }, /* 137 = statfs */
+ { 2, s(struct linux_sys_fstatfs_args), 0,
+ linux_sys_fstatfs }, /* 138 = fstatfs */
{ 0, 0, 0,
linux_sys_nosys }, /* 139 = unimplemented sysfs */
{ 2, s(struct linux_sys_getpriority_args), 0,