From 7359db6620a3f5d74593fcb4c42d78fdee3acc71 Mon Sep 17 00:00:00 2001 From: christos Date: Fri, 22 Mar 2002 15:16:14 +0000 Subject: [PATCH] regen --- sys/compat/linux/arch/arm/linux_syscall.h | 9 +++----- sys/compat/linux/arch/arm/linux_syscallargs.h | 22 ++++++++----------- sys/compat/linux/arch/arm/linux_syscalls.c | 8 +++---- sys/compat/linux/arch/arm/linux_sysent.c | 14 ++++++------ 4 files changed, 23 insertions(+), 30 deletions(-) diff --git a/sys/compat/linux/arch/arm/linux_syscall.h b/sys/compat/linux/arch/arm/linux_syscall.h index ea43b92c01b2..f3733fe58e02 100644 --- a/sys/compat/linux/arch/arm/linux_syscall.h +++ b/sys/compat/linux/arch/arm/linux_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscall.h,v 1.8 2002/02/17 22:30:24 bjh21 Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.9 2002/03/22 15:16:14 christos Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.8 2002/02/17 22:29:46 bjh21 Exp + * created from NetBSD: syscalls.master,v 1.9 2002/03/22 15:16:02 christos Exp */ /* syscall: "nosys" ret: "int" args: */ @@ -328,7 +328,7 @@ /* syscall: "uname" ret: "int" args: "struct linux_utsname *" */ #define LINUX_SYS_uname 122 -/* syscall: "mprotect" ret: "int" args: "caddr_t" "int" "int" */ +/* syscall: "mprotect" ret: "int" args: "const void *" "unsigned long" "int" */ #define LINUX_SYS_mprotect 125 /* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */ @@ -469,9 +469,6 @@ /* syscall: "ugetrlimit" ret: "int" args: "int" "struct rlimit *" */ #define LINUX_SYS_ugetrlimit 191 -/* syscall: "mmap2" ret: "int" args: "void *" "size_t" "int" "int" "int" "off_t" */ -#define LINUX_SYS_mmap2 192 - /* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */ #define LINUX_SYS_truncate64 193 diff --git a/sys/compat/linux/arch/arm/linux_syscallargs.h b/sys/compat/linux/arch/arm/linux_syscallargs.h index 78206ff0b02e..88108732fc49 100644 --- a/sys/compat/linux/arch/arm/linux_syscallargs.h +++ b/sys/compat/linux/arch/arm/linux_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscallargs.h,v 1.8 2002/02/17 22:30:25 bjh21 Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.9 2002/03/22 15:16:14 christos Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.8 2002/02/17 22:29:46 bjh21 Exp + * created from NetBSD: syscalls.master,v 1.9 2002/03/22 15:16:02 christos Exp */ #ifndef _LINUX_SYS__SYSCALLARGS_H_ @@ -331,6 +331,12 @@ struct linux_sys_uname_args { syscallarg(struct linux_utsname *) up; }; +struct linux_sys_mprotect_args { + syscallarg(const void *) start; + syscallarg(unsigned long) len; + syscallarg(int) prot; +}; + struct linux_sys_sigprocmask_args { syscallarg(int) how; syscallarg(const linux_old_sigset_t *) set; @@ -504,15 +510,6 @@ struct linux_sys_ugetrlimit_args { syscallarg(struct rlimit *) rlp; }; -struct linux_sys_mmap2_args { - syscallarg(void *) addr; - syscallarg(size_t) len; - syscallarg(int) prot; - syscallarg(int) flags; - syscallarg(int) fd; - syscallarg(off_t) offset; -}; - struct linux_sys_truncate64_args { syscallarg(const char *) path; syscallarg(off_t) length; @@ -660,7 +657,7 @@ int linux_sys_sigreturn(struct proc *, void *, register_t *); int linux_sys_clone(struct proc *, void *, register_t *); int linux_sys_setdomainname(struct proc *, void *, register_t *); int linux_sys_uname(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_getpgid(struct proc *, void *, register_t *); int sys_fchdir(struct proc *, void *, register_t *); @@ -707,7 +704,6 @@ int sys___getcwd(struct proc *, void *, register_t *); int linux_sys_sigaltstack(struct proc *, void *, register_t *); int sys___vfork14(struct proc *, void *, register_t *); int linux_sys_ugetrlimit(struct proc *, void *, register_t *); -int linux_sys_mmap2(struct proc *, void *, register_t *); int linux_sys_truncate64(struct proc *, void *, register_t *); int sys_ftruncate(struct proc *, void *, register_t *); int linux_sys_stat64(struct proc *, void *, register_t *); diff --git a/sys/compat/linux/arch/arm/linux_syscalls.c b/sys/compat/linux/arch/arm/linux_syscalls.c index 13d61e04e541..e5ce3ec1bb99 100644 --- a/sys/compat/linux/arch/arm/linux_syscalls.c +++ b/sys/compat/linux/arch/arm/linux_syscalls.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_syscalls.c,v 1.8 2002/02/17 22:30:23 bjh21 Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.9 2002/03/22 15:16:15 christos Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.8 2002/02/17 22:29:46 bjh21 Exp + * created from NetBSD: syscalls.master,v 1.9 2002/03/22 15:16:02 christos Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.8 2002/02/17 22:30:23 bjh21 Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.9 2002/03/22 15:16:15 christos Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) @@ -224,7 +224,7 @@ const char *const linux_syscallnames[] = { "#189 (unimplemented putpmsg)", /* 189 = unimplemented putpmsg */ "vfork", /* 190 = vfork */ "ugetrlimit", /* 191 = ugetrlimit */ - "mmap2", /* 192 = mmap2 */ + "#192 (unimplemented mmap2)", /* 192 = unimplemented mmap2 */ "truncate64", /* 193 = truncate64 */ "ftruncate64", /* 194 = ftruncate64 */ "stat64", /* 195 = stat64 */ diff --git a/sys/compat/linux/arch/arm/linux_sysent.c b/sys/compat/linux/arch/arm/linux_sysent.c index 79d6fed2fcd2..ce6eda8f2fd6 100644 --- a/sys/compat/linux/arch/arm/linux_sysent.c +++ b/sys/compat/linux/arch/arm/linux_sysent.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_sysent.c,v 1.8 2002/02/17 22:30:22 bjh21 Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.9 2002/03/22 15:16:15 christos Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.8 2002/02/17 22:29:46 bjh21 Exp + * created from NetBSD: syscalls.master,v 1.9 2002/03/22 15:16:02 christos Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.8 2002/02/17 22:30:22 bjh21 Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.9 2002/03/22 15:16:15 christos Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_43.h" @@ -283,8 +283,8 @@ struct sysent linux_sysent[] = { linux_sys_nosys }, /* 123 = unimplemented modify_ldt */ { 0, 0, 0, linux_sys_nosys }, /* 124 = unimplemented 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, @@ -417,8 +417,8 @@ struct sysent linux_sysent[] = { sys___vfork14 }, /* 190 = vfork */ { 2, s(struct linux_sys_ugetrlimit_args), 0, linux_sys_ugetrlimit }, /* 191 = ugetrlimit */ - { 6, s(struct linux_sys_mmap2_args), 0, - linux_sys_mmap2 }, /* 192 = mmap2 */ + { 0, 0, 0, + linux_sys_nosys }, /* 192 = unimplemented mmap2 */ { 2, s(struct linux_sys_truncate64_args), 0, linux_sys_truncate64 }, /* 193 = truncate64 */ { 2, s(struct sys_ftruncate_args), 0,