Module Name:    src
Committed By:   njoly
Date:           Fri Jun  5 16:46:52 UTC 2009

Modified Files:
        src/sys/compat/linux32/arch/amd64: linux32_syscall.h
            linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c

Log Message:
Regen for fstatfs.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 \
    src/sys/compat/linux32/arch/amd64/linux32_syscall.h \
    src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h \
    src/sys/compat/linux32/arch/amd64/linux32_syscalls.c \
    src/sys/compat/linux32/arch/amd64/linux32_sysent.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux32/arch/amd64/linux32_syscall.h
diff -u src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.55 src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.56
--- src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.55	Thu Jun  4 18:01:02 2009
+++ src/sys/compat/linux32/arch/amd64/linux32_syscall.h	Fri Jun  5 16:46:52 2009
@@ -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
 
Index: src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h
diff -u src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.55 src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.56
--- src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.55	Thu Jun  4 18:01:02 2009
+++ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h	Fri Jun  5 16:46:52 2009
@@ -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 @@
 };
 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	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 *);
Index: src/sys/compat/linux32/arch/amd64/linux32_syscalls.c
diff -u src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.55 src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.56
--- src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.55	Thu Jun  4 18:01:02 2009
+++ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c	Fri Jun  5 16:46:52 2009
@@ -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 @@
 	/*  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)",
Index: src/sys/compat/linux32/arch/amd64/linux32_sysent.c
diff -u src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.55 src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.56
--- src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.55	Thu Jun  4 18:01:02 2009
+++ src/sys/compat/linux32/arch/amd64/linux32_sysent.c	Fri Jun  5 16:46:52 2009
@@ -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 @@
 	    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,

Reply via email to