diff options
-rw-r--r-- | sys/compat/linux/linux_syscall.h | 4 | ||||
-rw-r--r-- | sys/compat/linux/linux_syscallargs.h | 12 | ||||
-rw-r--r-- | sys/compat/linux/linux_syscalls.c | 4 | ||||
-rw-r--r-- | sys/compat/linux/linux_sysent.c | 8 |
4 files changed, 17 insertions, 11 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h index 11b170eb2ae..a5384cec7c1 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.55 2011/02/10 12:00:01 pirofti Exp $ */ +/* $OpenBSD: linux_syscall.h,v 1.56 2011/02/11 21:41:46 pirofti Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.51 2010/06/30 21:54:12 guenther Exp + * created from OpenBSD: syscalls.master,v 1.53 2011/02/11 21:40:04 pirofti Exp */ /* syscall: "syscall" ret: "int" args: */ diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h index 5dd5140c6b9..862627d98d7 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.57 2011/02/10 12:00:01 pirofti Exp $ */ +/* $OpenBSD: linux_syscallargs.h,v 1.58 2011/02/11 21:41:46 pirofti Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.51 2010/06/30 21:54:12 guenther Exp + * created from OpenBSD: syscalls.master,v 1.53 2011/02/11 21:40:04 pirofti Exp */ #ifdef syscallarg @@ -327,6 +327,12 @@ struct linux_sys_modify_ldt_args { syscallarg(size_t) bytecount; }; +struct linux_sys_mprotect_args { + syscallarg(caddr_t) addr; + syscallarg(int) len; + syscallarg(int) prot; +}; + struct linux_sys_sigprocmask_args { syscallarg(int) how; syscallarg(linux_old_sigset_t *) set; @@ -695,7 +701,7 @@ int linux_sys_modify_ldt(struct proc *, void *, register_t *); int linux_sys_modify_ldt(struct proc *, void *, register_t *); #endif int linux_sys_adjtimex(struct proc *, void *, register_t *); -int sys_mprotect(struct proc *, void *, register_t *); +int linux_sys_mprotect(struct proc *, void *, register_t *); int linux_sys_sigprocmask(struct proc *, void *, register_t *); int linux_sys_create_module(struct proc *, void *, register_t *); int linux_sys_init_module(struct proc *, void *, register_t *); diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c index f97f0cf04c9..529a6042863 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.55 2011/02/10 12:00:01 pirofti Exp $ */ +/* $OpenBSD: linux_syscalls.c,v 1.56 2011/02/11 21:41:46 pirofti Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.51 2010/06/30 21:54:12 guenther Exp + * created from OpenBSD: syscalls.master,v 1.53 2011/02/11 21:40:04 pirofti Exp */ char *linux_syscallnames[] = { diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c index 8b587cf04ba..11a8f7a5e23 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.56 2011/02/10 12:00:01 pirofti Exp $ */ +/* $OpenBSD: linux_sysent.c,v 1.57 2011/02/11 21:41:46 pirofti Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.51 2010/06/30 21:54:12 guenther Exp + * created from OpenBSD: syscalls.master,v 1.53 2011/02/11 21:40:04 pirofti Exp */ #include <sys/param.h> @@ -296,8 +296,8 @@ struct sysent linux_sysent[] = { #endif { 0, 0, 0, linux_sys_adjtimex }, /* 124 = adjtimex */ - { 3, s(struct sys_mprotect_args), 0, - sys_mprotect }, /* 125 = mprotect */ + { 3, s(struct linux_sys_mprotect_args), 0, + linux_sys_mprotect }, /* 125 = mprotect */ { 3, s(struct linux_sys_sigprocmask_args), 0, linux_sys_sigprocmask }, /* 126 = sigprocmask */ { 0, 0, 0, |