summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/compat/linux/linux_syscall.h7
-rw-r--r--sys/compat/linux/linux_syscallargs.h10
-rw-r--r--sys/compat/linux/linux_syscalls.c6
-rw-r--r--sys/compat/linux/linux_sysent.c8
4 files changed, 20 insertions, 11 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h
index 1f6887602bf..af12460288f 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.70 2012/05/23 11:12:46 pirofti Exp $ */
+/* $OpenBSD: linux_syscall.h,v 1.71 2012/05/23 19:48:26 pirofti Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.66 2011/12/14 08:33:18 robert Exp
+ * created from OpenBSD: syscalls.master,v 1.67 2012/05/23 11:08:57 pirofti Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -745,6 +745,9 @@
/* syscall: "statfs64" ret: "int" args: "char *" "struct linux_statfs64 *" */
#define LINUX_SYS_statfs64 268
+/* syscall: "fstatfs64" ret: "int" args: "int" "struct linux_statfs64 *" */
+#define LINUX_SYS_fstatfs64 269
+
/* syscall: "set_robust_list" ret: "int" args: "struct linux_robust_list_head *" "size_t" */
#define LINUX_SYS_set_robust_list 311
diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h
index 23404366a8e..b4d25dec684 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.72 2012/05/23 11:12:46 pirofti Exp $ */
+/* $OpenBSD: linux_syscallargs.h,v 1.73 2012/05/23 19:48:26 pirofti Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.66 2011/12/14 08:33:18 robert Exp
+ * created from OpenBSD: syscalls.master,v 1.67 2012/05/23 11:08:57 pirofti Exp
*/
#ifdef syscallarg
@@ -618,6 +618,11 @@ struct linux_sys_statfs64_args {
syscallarg(struct linux_statfs64 *) sp;
};
+struct linux_sys_fstatfs64_args {
+ syscallarg(int) fd;
+ syscallarg(struct linux_statfs64 *) sp;
+};
+
struct linux_sys_set_robust_list_args {
syscallarg(struct linux_robust_list_head *) head;
syscallarg(size_t) len;
@@ -899,6 +904,7 @@ int linux_sys_set_tid_address(struct proc *, void *, register_t *);
int linux_sys_clock_gettime(struct proc *, void *, register_t *);
int linux_sys_clock_getres(struct proc *, void *, register_t *);
int linux_sys_statfs64(struct proc *, void *, register_t *);
+int linux_sys_fstatfs64(struct proc *, void *, register_t *);
int linux_sys_set_robust_list(struct proc *, void *, register_t *);
int linux_sys_get_robust_list(struct proc *, void *, register_t *);
int linux_sys_pipe2(struct proc *, void *, register_t *);
diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c
index ce29273bf42..974781487e5 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.70 2012/05/23 11:12:46 pirofti Exp $ */
+/* $OpenBSD: linux_syscalls.c,v 1.71 2012/05/23 19:48:26 pirofti Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.66 2011/12/14 08:33:18 robert Exp
+ * created from OpenBSD: syscalls.master,v 1.67 2012/05/23 11:08:57 pirofti Exp
*/
char *linux_syscallnames[] = {
@@ -297,7 +297,7 @@ char *linux_syscallnames[] = {
"clock_getres", /* 266 = clock_getres */
"#267 (unimplemented linux_sys_clock_nanosleep)", /* 267 = unimplemented linux_sys_clock_nanosleep */
"statfs64", /* 268 = statfs64 */
- "#269 (unimplemented linux_sys_fstatfs64)", /* 269 = unimplemented linux_sys_fstatfs64 */
+ "fstatfs64", /* 269 = fstatfs64 */
"#270 (unimplemented linux_sys_tgkill)", /* 270 = unimplemented linux_sys_tgkill */
"#271 (unimplemented linux_sys_utimes)", /* 271 = unimplemented linux_sys_utimes */
"#272 (unimplemented linux_sys_fadvise64_64)", /* 272 = unimplemented linux_sys_fadvise64_64 */
diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c
index da2d0999c04..71f8ff40791 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.71 2012/05/23 11:12:46 pirofti Exp $ */
+/* $OpenBSD: linux_sysent.c,v 1.72 2012/05/23 19:48:26 pirofti Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.66 2011/12/14 08:33:18 robert Exp
+ * created from OpenBSD: syscalls.master,v 1.67 2012/05/23 11:08:57 pirofti Exp
*/
#include <sys/param.h>
@@ -584,8 +584,8 @@ struct sysent linux_sysent[] = {
sys_nosys }, /* 267 = unimplemented linux_sys_clock_nanosleep */
{ 2, s(struct linux_sys_statfs64_args), 0,
linux_sys_statfs64 }, /* 268 = statfs64 */
- { 0, 0, 0,
- sys_nosys }, /* 269 = unimplemented linux_sys_fstatfs64 */
+ { 2, s(struct linux_sys_fstatfs64_args), 0,
+ linux_sys_fstatfs64 }, /* 269 = fstatfs64 */
{ 0, 0, 0,
sys_nosys }, /* 270 = unimplemented linux_sys_tgkill */
{ 0, 0, 0,