diff options
author | jasoni <jasoni@cvs.openbsd.org> | 2000-12-22 07:34:51 +0000 |
---|---|---|
committer | jasoni <jasoni@cvs.openbsd.org> | 2000-12-22 07:34:51 +0000 |
commit | a17ed311b10979237063b4bcc21f414d13242b27 (patch) | |
tree | bb5c64403d151c3b645c9c3d477ab0f479a58ad6 /sys | |
parent | b4175d2311819c0e1150cf2535e6bfe03252fc84 (diff) |
sync
Diffstat (limited to 'sys')
-rw-r--r-- | sys/compat/linux/linux_syscall.h | 12 | ||||
-rw-r--r-- | sys/compat/linux/linux_syscallargs.h | 24 | ||||
-rw-r--r-- | sys/compat/linux/linux_syscalls.c | 4 | ||||
-rw-r--r-- | sys/compat/linux/linux_sysent.c | 12 |
4 files changed, 36 insertions, 16 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h index 76777b6c91b..49742b6cb0e 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.24 2000/07/07 02:14:05 jasoni Exp $ */ +/* $OpenBSD: linux_syscall.h,v 1.25 2000/12/22 07:34:50 jasoni Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.25 2000/07/07 02:13:40 jasoni Exp + * created from OpenBSD: syscalls.master,v 1.26 2000/12/22 07:34:02 jasoni Exp */ /* syscall: "syscall" ret: "int" args: */ @@ -595,19 +595,19 @@ /* syscall: "mmap2" ret: "int" args: */ #define LINUX_SYS_mmap2 192 -/* syscall: "truncate64" ret: "int" args: */ +/* syscall: "truncate64" ret: "int" args: "char *" "off_t" */ #define LINUX_SYS_truncate64 193 /* syscall: "ftruncate64" ret: "int" args: */ #define LINUX_SYS_ftruncate64 194 -/* syscall: "stat64" ret: "int" args: */ +/* syscall: "stat64" ret: "int" args: "char *" "struct linux_stat64 *" */ #define LINUX_SYS_stat64 195 -/* syscall: "lstat64" ret: "int" args: */ +/* syscall: "lstat64" ret: "int" args: "char *" "struct linux_stat64 *" */ #define LINUX_SYS_lstat64 196 -/* syscall: "fstat64" ret: "int" args: */ +/* syscall: "fstat64" ret: "int" args: "int" "struct linux_stat64 *" */ #define LINUX_SYS_fstat64 197 #define LINUX_SYS_MAXSYSCALL 198 diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h index eb4d038e001..5ef5dbaa7b3 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.25 2000/07/07 02:14:05 jasoni Exp $ */ +/* $OpenBSD: linux_syscallargs.h,v 1.26 2000/12/22 07:34:50 jasoni Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.25 2000/07/07 02:13:40 jasoni Exp + * created from OpenBSD: syscalls.master,v 1.26 2000/12/22 07:34:02 jasoni Exp */ #define syscallarg(x) union { x datum; register_t pad; } @@ -450,6 +450,26 @@ struct linux_sys_ugetrlimit_args { syscallarg(struct linux_rlimit *) rlp; }; +struct linux_sys_truncate64_args { + syscallarg(char *) path; + syscallarg(off_t) length; +}; + +struct linux_sys_stat64_args { + syscallarg(char *) path; + syscallarg(struct linux_stat64 *) sp; +}; + +struct linux_sys_lstat64_args { + syscallarg(char *) path; + syscallarg(struct linux_stat64 *) sp; +}; + +struct linux_sys_fstat64_args { + syscallarg(int) fd; + syscallarg(struct linux_stat64 *) sp; +}; + /* * System call prototypes. */ diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c index 8b27a3a0179..747741e9315 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.24 2000/07/07 02:14:05 jasoni Exp $ */ +/* $OpenBSD: linux_syscalls.c,v 1.25 2000/12/22 07:34:50 jasoni Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.25 2000/07/07 02:13:40 jasoni Exp + * created from OpenBSD: syscalls.master,v 1.26 2000/12/22 07:34:02 jasoni Exp */ char *linux_syscallnames[] = { diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c index ce1c36c6c63..8586b93c439 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.25 2000/07/07 02:14:05 jasoni Exp $ */ +/* $OpenBSD: linux_sysent.c,v 1.26 2000/12/22 07:34:50 jasoni Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.25 2000/07/07 02:13:40 jasoni Exp + * created from OpenBSD: syscalls.master,v 1.26 2000/12/22 07:34:02 jasoni Exp */ #include <sys/param.h> @@ -421,15 +421,15 @@ struct sysent linux_sysent[] = { linux_sys_ugetrlimit }, /* 191 = ugetrlimit */ { 0, 0, linux_sys_mmap2 }, /* 192 = mmap2 */ - { 0, 0, + { 2, s(struct linux_sys_truncate64_args), linux_sys_truncate64 }, /* 193 = truncate64 */ { 0, 0, linux_sys_ftruncate64 }, /* 194 = ftruncate64 */ - { 0, 0, + { 2, s(struct linux_sys_stat64_args), linux_sys_stat64 }, /* 195 = stat64 */ - { 0, 0, + { 2, s(struct linux_sys_lstat64_args), linux_sys_lstat64 }, /* 196 = lstat64 */ - { 0, 0, + { 2, s(struct linux_sys_fstat64_args), linux_sys_fstat64 }, /* 197 = fstat64 */ }; |