diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2004-04-05 00:01:35 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2004-04-05 00:01:35 +0000 |
commit | 2d134a7b62f6e54b99a22db431c73c3509ddb089 (patch) | |
tree | 904ae77e41deff6c769fad4de208eefd2a2369b8 /sys/compat | |
parent | d3c73c92759b3b0be9e84245c3197e360950fe14 (diff) |
sync
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_syscall.h | 6 | ||||
-rw-r--r-- | sys/compat/linux/linux_syscallargs.h | 6 | ||||
-rw-r--r-- | sys/compat/linux/linux_syscalls.c | 4 | ||||
-rw-r--r-- | sys/compat/linux/linux_sysent.c | 8 |
4 files changed, 12 insertions, 12 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h index bef01d80e21..9f495dc5e6f 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.46 2003/09/04 02:57:44 tedu Exp $ */ +/* $OpenBSD: linux_syscall.h,v 1.47 2004/04/05 00:01:34 tedu Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.45 2003/09/04 02:57:22 tedu Exp + * created from OpenBSD: syscalls.master,v 1.46 2004/04/05 00:01:12 tedu Exp */ /* syscall: "syscall" ret: "int" args: */ @@ -673,7 +673,7 @@ /* syscall: "mincore" ret: "int" args: */ #define LINUX_SYS_mincore 218 -/* syscall: "madvise" ret: "int" args: */ +/* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */ #define LINUX_SYS_madvise 219 /* syscall: "getdents64" ret: "int" args: "int" "void *" "unsigned" */ diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h index a1dfa17ead0..683266940d0 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.48 2003/09/04 02:57:44 tedu Exp $ */ +/* $OpenBSD: linux_syscallargs.h,v 1.49 2004/04/05 00:01:34 tedu Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.45 2003/09/04 02:57:22 tedu Exp + * created from OpenBSD: syscalls.master,v 1.46 2004/04/05 00:01:12 tedu Exp */ #ifdef syscallarg @@ -785,7 +785,7 @@ int linux_sys_setfsuid(struct proc *, void *, register_t *); int linux_sys_setfsgid(struct proc *, void *, register_t *); int linux_sys_pivot_root(struct proc *, void *, register_t *); int linux_sys_mincore(struct proc *, void *, register_t *); -int linux_sys_madvise(struct proc *, void *, register_t *); +int 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_setxattr(struct proc *, void *, register_t *); diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c index 95313d25805..adc59b89c4d 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.46 2003/09/04 02:57:44 tedu Exp $ */ +/* $OpenBSD: linux_syscalls.c,v 1.47 2004/04/05 00:01:34 tedu Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.45 2003/09/04 02:57:22 tedu Exp + * created from OpenBSD: syscalls.master,v 1.46 2004/04/05 00:01:12 tedu Exp */ char *linux_syscallnames[] = { diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c index f5fc4b7c247..05deb735f7a 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.47 2003/09/04 02:57:44 tedu Exp $ */ +/* $OpenBSD: linux_sysent.c,v 1.48 2004/04/05 00:01:34 tedu Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.45 2003/09/04 02:57:22 tedu Exp + * created from OpenBSD: syscalls.master,v 1.46 2004/04/05 00:01:12 tedu Exp */ #include <sys/param.h> @@ -479,8 +479,8 @@ struct sysent linux_sysent[] = { linux_sys_pivot_root }, /* 217 = pivot_root */ { 0, 0, linux_sys_mincore }, /* 218 = mincore */ - { 0, 0, - linux_sys_madvise }, /* 219 = madvise */ + { 3, s(struct sys_madvise_args), + sys_madvise }, /* 219 = madvise */ { 3, s(struct linux_sys_getdents64_args), linux_sys_getdents64 }, /* 220 = getdents64 */ { 3, s(struct linux_sys_fcntl64_args), |