summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorjasoni <jasoni@cvs.openbsd.org>2001-01-29 07:24:19 +0000
committerjasoni <jasoni@cvs.openbsd.org>2001-01-29 07:24:19 +0000
commit966b0d65a6b481ceff231bada6ca1999337ddd02 (patch)
treebf3448b121575aa7014ef632d50904445f672ca7 /sys
parent042c6e26cf62ad4c614c84ce6a3851107d0c6814 (diff)
sync
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/linux/linux_syscall.h8
-rw-r--r--sys/compat/linux/linux_syscallargs.h6
-rw-r--r--sys/compat/linux/linux_syscalls.c6
-rw-r--r--sys/compat/linux/linux_sysent.c8
4 files changed, 14 insertions, 14 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h
index 49742b6cb0e..09035a42da6 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.25 2000/12/22 07:34:50 jasoni Exp $ */
+/* $OpenBSD: linux_syscall.h,v 1.26 2001/01/29 07:24:18 jasoni Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.26 2000/12/22 07:34:02 jasoni Exp
+ * created from OpenBSD: syscalls.master,v 1.27 2001/01/29 07:23:54 jasoni Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -598,8 +598,8 @@
/* syscall: "truncate64" ret: "int" args: "char *" "off_t" */
#define LINUX_SYS_truncate64 193
-/* syscall: "ftruncate64" ret: "int" args: */
-#define LINUX_SYS_ftruncate64 194
+/* syscall: "linux_ftruncate64" ret: "int" args: "int" "off_t" */
+#define LINUX_SYS_linux_ftruncate64 194
/* syscall: "stat64" ret: "int" args: "char *" "struct linux_stat64 *" */
#define LINUX_SYS_stat64 195
diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h
index 5ef5dbaa7b3..84dda4b80ac 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.26 2000/12/22 07:34:50 jasoni Exp $ */
+/* $OpenBSD: linux_syscallargs.h,v 1.27 2001/01/29 07:24:18 jasoni Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.26 2000/12/22 07:34:02 jasoni Exp
+ * created from OpenBSD: syscalls.master,v 1.27 2001/01/29 07:23:54 jasoni Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -680,7 +680,7 @@ int sys_vfork __P((struct proc *, void *, register_t *));
int linux_sys_ugetrlimit __P((struct proc *, void *, register_t *));
int linux_sys_mmap2 __P((struct proc *, void *, register_t *));
int linux_sys_truncate64 __P((struct proc *, void *, register_t *));
-int linux_sys_ftruncate64 __P((struct proc *, void *, register_t *));
+int sys_ftruncate __P((struct proc *, void *, register_t *));
int linux_sys_stat64 __P((struct proc *, void *, register_t *));
int linux_sys_lstat64 __P((struct proc *, void *, register_t *));
int linux_sys_fstat64 __P((struct proc *, void *, register_t *));
diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c
index 747741e9315..c9eb434f25c 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.25 2000/12/22 07:34:50 jasoni Exp $ */
+/* $OpenBSD: linux_syscalls.c,v 1.26 2001/01/29 07:24:18 jasoni Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.26 2000/12/22 07:34:02 jasoni Exp
+ * created from OpenBSD: syscalls.master,v 1.27 2001/01/29 07:23:54 jasoni Exp
*/
char *linux_syscallnames[] = {
@@ -214,7 +214,7 @@ char *linux_syscallnames[] = {
"ugetrlimit", /* 191 = ugetrlimit */
"mmap2", /* 192 = mmap2 */
"truncate64", /* 193 = truncate64 */
- "ftruncate64", /* 194 = ftruncate64 */
+ "linux_ftruncate64", /* 194 = linux_ftruncate64 */
"stat64", /* 195 = stat64 */
"lstat64", /* 196 = lstat64 */
"fstat64", /* 197 = fstat64 */
diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c
index 8586b93c439..d4e779038ed 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.26 2000/12/22 07:34:50 jasoni Exp $ */
+/* $OpenBSD: linux_sysent.c,v 1.27 2001/01/29 07:24:18 jasoni Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.26 2000/12/22 07:34:02 jasoni Exp
+ * created from OpenBSD: syscalls.master,v 1.27 2001/01/29 07:23:54 jasoni Exp
*/
#include <sys/param.h>
@@ -423,8 +423,8 @@ struct sysent linux_sysent[] = {
linux_sys_mmap2 }, /* 192 = mmap2 */
{ 2, s(struct linux_sys_truncate64_args),
linux_sys_truncate64 }, /* 193 = truncate64 */
- { 0, 0,
- linux_sys_ftruncate64 }, /* 194 = ftruncate64 */
+ { 2, s(struct sys_ftruncate_args),
+ sys_ftruncate }, /* 194 = linux_ftruncate64 */
{ 2, s(struct linux_sys_stat64_args),
linux_sys_stat64 }, /* 195 = stat64 */
{ 2, s(struct linux_sys_lstat64_args),