diff options
Diffstat (limited to 'sys/compat/linux')
-rw-r--r-- | sys/compat/linux/linux_syscall.h | 7 | ||||
-rw-r--r-- | sys/compat/linux/linux_syscallargs.h | 5 | ||||
-rw-r--r-- | sys/compat/linux/linux_syscalls.c | 6 | ||||
-rw-r--r-- | sys/compat/linux/linux_sysent.c | 6 |
4 files changed, 14 insertions, 10 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h index 3c03e05947c..ecd7c182ce8 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.44 2003/08/15 14:03:23 fgsch Exp $ */ +/* $OpenBSD: linux_syscall.h,v 1.45 2003/09/01 14:01:10 fgsch Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.43 2003/08/15 14:02:22 fgsch Exp + * created from OpenBSD: syscalls.master,v 1.44 2003/09/01 14:00:23 fgsch Exp */ /* syscall: "syscall" ret: "int" args: */ @@ -682,6 +682,9 @@ /* syscall: "fcntl64" ret: "int" args: "u_int" "u_int" "void *" */ #define LINUX_SYS_fcntl64 221 +/* syscall: "fadvise64" ret: "int" args: */ +#define LINUX_SYS_fadvise64 250 + /* syscall: "linux_exit_group" ret: "int" args: "int" */ #define LINUX_SYS_linux_exit_group 252 diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h index 9d8b93d6d4e..85193841c88 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.46 2003/08/15 14:03:23 fgsch Exp $ */ +/* $OpenBSD: linux_syscallargs.h,v 1.47 2003/09/01 14:01:10 fgsch Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.43 2003/08/15 14:02:22 fgsch Exp + * created from OpenBSD: syscalls.master,v 1.44 2003/09/01 14:00:23 fgsch Exp */ #ifdef syscallarg @@ -788,4 +788,5 @@ int linux_sys_mincore(struct proc *, void *, register_t *); int linux_sys_madvise(struct proc *, void *, register_t *); int linux_sys_getdents64(struct proc *, void *, register_t *); int linux_sys_fcntl64(struct proc *, void *, register_t *); +int linux_sys_fadvise64(struct proc *, void *, register_t *); int sys_exit(struct proc *, void *, register_t *); diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c index 50d160ad839..af723fa5657 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.44 2003/08/15 14:03:23 fgsch Exp $ */ +/* $OpenBSD: linux_syscalls.c,v 1.45 2003/09/01 14:01:10 fgsch Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.43 2003/08/15 14:02:22 fgsch Exp + * created from OpenBSD: syscalls.master,v 1.44 2003/09/01 14:00:23 fgsch Exp */ char *linux_syscallnames[] = { @@ -274,7 +274,7 @@ char *linux_syscallnames[] = { "#247 (unimplemented linux_sys_io_getevents)", /* 247 = unimplemented linux_sys_io_getevents */ "#248 (unimplemented linux_sys_io_submit)", /* 248 = unimplemented linux_sys_io_submit */ "#249 (unimplemented linux_sys_io_cancel)", /* 249 = unimplemented linux_sys_io_cancel */ - "#250 (unimplemented linux_sys_fadvise64)", /* 250 = unimplemented linux_sys_fadvise64 */ + "fadvise64", /* 250 = fadvise64 */ "#251 (unimplemented)", /* 251 = unimplemented */ "linux_exit_group", /* 252 = linux_exit_group */ "#253 (unimplemented linux_sys_lookup_dcookie)", /* 253 = unimplemented linux_sys_lookup_dcookie */ diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c index 530fde23b50..d9bae5ef39a 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.45 2003/08/15 14:03:23 fgsch Exp $ */ +/* $OpenBSD: linux_sysent.c,v 1.46 2003/09/01 14:01:10 fgsch Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.43 2003/08/15 14:02:22 fgsch Exp + * created from OpenBSD: syscalls.master,v 1.44 2003/09/01 14:00:23 fgsch Exp */ #include <sys/param.h> @@ -542,7 +542,7 @@ struct sysent linux_sysent[] = { { 0, 0, sys_nosys }, /* 249 = unimplemented linux_sys_io_cancel */ { 0, 0, - sys_nosys }, /* 250 = unimplemented linux_sys_fadvise64 */ + linux_sys_fadvise64 }, /* 250 = fadvise64 */ { 0, 0, sys_nosys }, /* 251 = unimplemented */ { 1, s(struct sys_exit_args), |