diff --git a/sys/compat/linux/arch/alpha/linux_syscall.h b/sys/compat/linux/arch/alpha/linux_syscall.h index cbd84f069487..59f726f67d40 100644 --- a/sys/compat/linux/arch/alpha/linux_syscall.h +++ b/sys/compat/linux/arch/alpha/linux_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscall.h,v 1.65 2007/12/21 22:28:41 njoly Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.66 2007/12/24 14:21:40 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.60 2007/12/21 22:26:20 njoly Exp + * created from NetBSD: syscalls.master,v 1.61 2007/12/24 14:17:17 njoly Exp */ #ifndef _LINUX_SYS_SYSCALL_H_ @@ -357,7 +357,7 @@ /* syscall: "msync" ret: "int" args: "void *" "int" "int" */ #define LINUX_SYS_msync 217 -/* syscall: "getpgid" ret: "int" args: "int" */ +/* syscall: "getpgid" ret: "pid_t" args: "pid_t" */ #define LINUX_SYS_getpgid 233 /* syscall: "getsid" ret: "pid_t" args: "pid_t" */ diff --git a/sys/compat/linux/arch/alpha/linux_syscallargs.h b/sys/compat/linux/arch/alpha/linux_syscallargs.h index 55b5e6ad0378..c52512b1d61c 100644 --- a/sys/compat/linux/arch/alpha/linux_syscallargs.h +++ b/sys/compat/linux/arch/alpha/linux_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscallargs.h,v 1.64 2007/12/21 22:28:41 njoly Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.65 2007/12/24 14:21:40 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.60 2007/12/21 22:26:20 njoly Exp + * created from NetBSD: syscalls.master,v 1.61 2007/12/24 14:17:17 njoly Exp */ #ifndef _LINUX_SYS_SYSCALLARGS_H_ @@ -509,10 +509,7 @@ struct linux_sys_msync_args { }; check_syscall_args(linux_sys_msync) -struct linux_sys_getpgid_args { - syscallarg(int) pid; -}; -check_syscall_args(linux_sys_getpgid) +struct sys_getpgid_args; struct sys_getsid_args; @@ -1178,7 +1175,7 @@ int linux_sys_shmget(struct lwp *, const struct linux_sys_shmget_args *, registe #endif int linux_sys_msync(struct lwp *, const struct linux_sys_msync_args *, register_t *); -int linux_sys_getpgid(struct lwp *, const struct linux_sys_getpgid_args *, register_t *); +int sys_getpgid(struct lwp *, const struct sys_getpgid_args *, register_t *); int sys_getsid(struct lwp *, const struct sys_getsid_args *, register_t *); diff --git a/sys/compat/linux/arch/alpha/linux_syscalls.c b/sys/compat/linux/arch/alpha/linux_syscalls.c index 15989aac6b67..f159a4be86a2 100644 --- a/sys/compat/linux/arch/alpha/linux_syscalls.c +++ b/sys/compat/linux/arch/alpha/linux_syscalls.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_syscalls.c,v 1.66 2007/12/21 22:28:41 njoly Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.67 2007/12/24 14:21:40 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.60 2007/12/21 22:26:20 njoly Exp + * created from NetBSD: syscalls.master,v 1.61 2007/12/24 14:17:17 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.66 2007/12/21 22:28:41 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.67 2007/12/24 14:21:40 njoly Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) diff --git a/sys/compat/linux/arch/alpha/linux_sysent.c b/sys/compat/linux/arch/alpha/linux_sysent.c index 4432f6c7d845..45d0377fb275 100644 --- a/sys/compat/linux/arch/alpha/linux_sysent.c +++ b/sys/compat/linux/arch/alpha/linux_sysent.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_sysent.c,v 1.65 2007/12/21 22:28:41 njoly Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.66 2007/12/24 14:21:41 njoly Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.60 2007/12/21 22:26:20 njoly Exp + * created from NetBSD: syscalls.master,v 1.61 2007/12/24 14:17:17 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.65 2007/12/21 22:28:41 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.66 2007/12/24 14:21:41 njoly Exp $"); #if defined(_KERNEL_OPT) #include "opt_sysv.h" @@ -533,8 +533,8 @@ struct sysent linux_sysent[] = { linux_sys_nosys }, /* 231 = unimplemented */ { 0, 0, 0, linux_sys_nosys }, /* 232 = unimplemented */ - { ns(struct linux_sys_getpgid_args), 0, - (sy_call_t *)linux_sys_getpgid }, /* 233 = getpgid */ + { ns(struct sys_getpgid_args), 0, + (sy_call_t *)sys_getpgid }, /* 233 = getpgid */ { ns(struct sys_getsid_args), 0, (sy_call_t *)sys_getsid }, /* 234 = getsid */ { 0, 0, 0, diff --git a/sys/compat/linux/arch/amd64/linux_syscall.h b/sys/compat/linux/arch/amd64/linux_syscall.h index c26d0511ec91..72eb24b8dc5f 100644 --- a/sys/compat/linux/arch/amd64/linux_syscall.h +++ b/sys/compat/linux/arch/amd64/linux_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscall.h,v 1.21 2007/12/21 22:28:42 njoly Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.22 2007/12/24 14:21:41 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.21 2007/12/21 22:26:21 njoly Exp + * created from NetBSD: syscalls.master,v 1.22 2007/12/24 14:17:17 njoly Exp */ #ifndef _LINUX_SYS_SYSCALL_H_ @@ -381,7 +381,7 @@ /* syscall: "getresgid" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */ #define LINUX_SYS_getresgid 120 -/* syscall: "getpgid" ret: "int" args: "int" */ +/* syscall: "getpgid" ret: "pid_t" args: "pid_t" */ #define LINUX_SYS_getpgid 121 /* syscall: "setfsuid" ret: "int" args: "uid_t" */ diff --git a/sys/compat/linux/arch/amd64/linux_syscallargs.h b/sys/compat/linux/arch/amd64/linux_syscallargs.h index b345c7766ccd..685128a876fe 100644 --- a/sys/compat/linux/arch/amd64/linux_syscallargs.h +++ b/sys/compat/linux/arch/amd64/linux_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscallargs.h,v 1.21 2007/12/21 22:28:42 njoly Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.22 2007/12/24 14:21:41 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.21 2007/12/21 22:26:21 njoly Exp + * created from NetBSD: syscalls.master,v 1.22 2007/12/24 14:17:17 njoly Exp */ #ifndef _LINUX_SYS_SYSCALLARGS_H_ @@ -502,10 +502,7 @@ struct linux_sys_getresgid_args { }; check_syscall_args(linux_sys_getresgid) -struct linux_sys_getpgid_args { - syscallarg(int) pid; -}; -check_syscall_args(linux_sys_getpgid) +struct sys_getpgid_args; struct linux_sys_setfsuid_args { syscallarg(uid_t) uid; @@ -1131,7 +1128,7 @@ int linux_sys_setresgid(struct lwp *, const struct linux_sys_setresgid_args *, r int linux_sys_getresgid(struct lwp *, const struct linux_sys_getresgid_args *, register_t *); -int linux_sys_getpgid(struct lwp *, const struct linux_sys_getpgid_args *, register_t *); +int sys_getpgid(struct lwp *, const struct sys_getpgid_args *, register_t *); int linux_sys_setfsuid(struct lwp *, const struct linux_sys_setfsuid_args *, register_t *); diff --git a/sys/compat/linux/arch/amd64/linux_syscalls.c b/sys/compat/linux/arch/amd64/linux_syscalls.c index 63c4ed50f026..3c764861351d 100644 --- a/sys/compat/linux/arch/amd64/linux_syscalls.c +++ b/sys/compat/linux/arch/amd64/linux_syscalls.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_syscalls.c,v 1.21 2007/12/21 22:28:42 njoly Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.22 2007/12/24 14:21:41 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.21 2007/12/21 22:26:21 njoly Exp + * created from NetBSD: syscalls.master,v 1.22 2007/12/24 14:17:17 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.21 2007/12/21 22:28:42 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.22 2007/12/24 14:21:41 njoly Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) diff --git a/sys/compat/linux/arch/amd64/linux_sysent.c b/sys/compat/linux/arch/amd64/linux_sysent.c index 8b47fd8aa0d6..c97a04bb56ef 100644 --- a/sys/compat/linux/arch/amd64/linux_sysent.c +++ b/sys/compat/linux/arch/amd64/linux_sysent.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_sysent.c,v 1.21 2007/12/21 22:28:42 njoly Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.22 2007/12/24 14:21:41 njoly Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.21 2007/12/21 22:26:21 njoly Exp + * created from NetBSD: syscalls.master,v 1.22 2007/12/24 14:17:17 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.21 2007/12/21 22:28:42 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.22 2007/12/24 14:21:41 njoly Exp $"); #if defined(_KERNEL_OPT) #include "opt_sysv.h" @@ -312,8 +312,8 @@ struct sysent linux_sysent[] = { (sy_call_t *)linux_sys_setresgid }, /* 119 = setresgid */ { ns(struct linux_sys_getresgid_args), 0, (sy_call_t *)linux_sys_getresgid }, /* 120 = getresgid */ - { ns(struct linux_sys_getpgid_args), 0, - (sy_call_t *)linux_sys_getpgid }, /* 121 = getpgid */ + { ns(struct sys_getpgid_args), 0, + (sy_call_t *)sys_getpgid }, /* 121 = getpgid */ { ns(struct linux_sys_setfsuid_args), 0, (sy_call_t *)linux_sys_setfsuid }, /* 122 = setfsuid */ { ns(struct linux_sys_setfsgid_args), 0, diff --git a/sys/compat/linux/arch/arm/linux_syscall.h b/sys/compat/linux/arch/arm/linux_syscall.h index 4a40104ac38a..c6d94f87a26c 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.32 2007/12/21 22:28:42 njoly Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.33 2007/12/24 14:21:41 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.31 2007/12/21 22:26:21 njoly Exp + * created from NetBSD: syscalls.master,v 1.32 2007/12/24 14:17:17 njoly Exp */ #ifndef _LINUX_SYS_SYSCALL_H_ @@ -342,7 +342,7 @@ /* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */ #define LINUX_SYS_sigprocmask 126 -/* syscall: "getpgid" ret: "int" args: "int" */ +/* syscall: "getpgid" ret: "pid_t" args: "pid_t" */ #define LINUX_SYS_getpgid 132 /* syscall: "fchdir" ret: "int" args: "int" */ diff --git a/sys/compat/linux/arch/arm/linux_syscallargs.h b/sys/compat/linux/arch/arm/linux_syscallargs.h index d72a3fb1f712..6b2e30680ebd 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.32 2007/12/21 22:28:42 njoly Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.33 2007/12/24 14:21:41 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.31 2007/12/21 22:26:21 njoly Exp + * created from NetBSD: syscalls.master,v 1.32 2007/12/24 14:17:17 njoly Exp */ #ifndef _LINUX_SYS_SYSCALLARGS_H_ @@ -431,10 +431,7 @@ struct linux_sys_sigprocmask_args { }; check_syscall_args(linux_sys_sigprocmask) -struct linux_sys_getpgid_args { - syscallarg(int) pid; -}; -check_syscall_args(linux_sys_getpgid) +struct sys_getpgid_args; struct sys_fchdir_args; @@ -1094,7 +1091,7 @@ int linux_sys_mprotect(struct lwp *, const struct linux_sys_mprotect_args *, reg int linux_sys_sigprocmask(struct lwp *, const struct linux_sys_sigprocmask_args *, register_t *); -int linux_sys_getpgid(struct lwp *, const struct linux_sys_getpgid_args *, register_t *); +int sys_getpgid(struct lwp *, const struct sys_getpgid_args *, register_t *); int sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *); diff --git a/sys/compat/linux/arch/arm/linux_syscalls.c b/sys/compat/linux/arch/arm/linux_syscalls.c index 2ad78106da1a..6e55c449bba2 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.32 2007/12/21 22:28:42 njoly Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.33 2007/12/24 14:21:41 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.31 2007/12/21 22:26:21 njoly Exp + * created from NetBSD: syscalls.master,v 1.32 2007/12/24 14:17:17 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.32 2007/12/21 22:28:42 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.33 2007/12/24 14:21:41 njoly Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) diff --git a/sys/compat/linux/arch/arm/linux_sysent.c b/sys/compat/linux/arch/arm/linux_sysent.c index e4964d2bdbe1..a911a7dde94f 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.32 2007/12/21 22:28:42 njoly Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.33 2007/12/24 14:21:42 njoly Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.31 2007/12/21 22:26:21 njoly Exp + * created from NetBSD: syscalls.master,v 1.32 2007/12/24 14:17:17 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.32 2007/12/21 22:28:42 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.33 2007/12/24 14:21:42 njoly Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_43.h" @@ -300,8 +300,8 @@ struct sysent linux_sysent[] = { linux_sys_nosys }, /* 130 = unimplemented get_kernel_syms */ { 0, 0, 0, linux_sys_nosys }, /* 131 = unimplemented quotactl */ - { ns(struct linux_sys_getpgid_args), 0, - (sy_call_t *)linux_sys_getpgid }, /* 132 = getpgid */ + { ns(struct sys_getpgid_args), 0, + (sy_call_t *)sys_getpgid }, /* 132 = getpgid */ { ns(struct sys_fchdir_args), 0, (sy_call_t *)sys_fchdir }, /* 133 = fchdir */ { 0, 0, 0, diff --git a/sys/compat/linux/arch/i386/linux_syscall.h b/sys/compat/linux/arch/i386/linux_syscall.h index 786f4a4d5382..b1a29d62ff19 100644 --- a/sys/compat/linux/arch/i386/linux_syscall.h +++ b/sys/compat/linux/arch/i386/linux_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscall.h,v 1.71 2007/12/21 22:28:43 njoly Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.72 2007/12/24 14:21:42 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.87 2007/12/21 22:26:21 njoly Exp + * created from NetBSD: syscalls.master,v 1.88 2007/12/24 14:17:18 njoly Exp */ #ifndef _LINUX_SYS_SYSCALL_H_ @@ -364,7 +364,7 @@ /* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */ #define LINUX_SYS_sigprocmask 126 -/* syscall: "getpgid" ret: "int" args: "int" */ +/* syscall: "getpgid" ret: "pid_t" args: "pid_t" */ #define LINUX_SYS_getpgid 132 /* syscall: "fchdir" ret: "int" args: "int" */ diff --git a/sys/compat/linux/arch/i386/linux_syscallargs.h b/sys/compat/linux/arch/i386/linux_syscallargs.h index 4c2d97cbbfd9..17e324b2d254 100644 --- a/sys/compat/linux/arch/i386/linux_syscallargs.h +++ b/sys/compat/linux/arch/i386/linux_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscallargs.h,v 1.71 2007/12/21 22:28:43 njoly Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.72 2007/12/24 14:21:42 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.87 2007/12/21 22:26:21 njoly Exp + * created from NetBSD: syscalls.master,v 1.88 2007/12/24 14:17:18 njoly Exp */ #ifndef _LINUX_SYS_SYSCALLARGS_H_ @@ -479,10 +479,7 @@ struct linux_sys_sigprocmask_args { }; check_syscall_args(linux_sys_sigprocmask) -struct linux_sys_getpgid_args { - syscallarg(int) pid; -}; -check_syscall_args(linux_sys_getpgid) +struct sys_getpgid_args; struct sys_fchdir_args; @@ -1226,7 +1223,7 @@ int linux_sys_mprotect(struct lwp *, const struct linux_sys_mprotect_args *, reg int linux_sys_sigprocmask(struct lwp *, const struct linux_sys_sigprocmask_args *, register_t *); -int linux_sys_getpgid(struct lwp *, const struct linux_sys_getpgid_args *, register_t *); +int sys_getpgid(struct lwp *, const struct sys_getpgid_args *, register_t *); int sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *); diff --git a/sys/compat/linux/arch/i386/linux_syscalls.c b/sys/compat/linux/arch/i386/linux_syscalls.c index 9f0e2b63beca..896fccb07d25 100644 --- a/sys/compat/linux/arch/i386/linux_syscalls.c +++ b/sys/compat/linux/arch/i386/linux_syscalls.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_syscalls.c,v 1.72 2007/12/21 22:28:43 njoly Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.73 2007/12/24 14:21:42 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.87 2007/12/21 22:26:21 njoly Exp + * created from NetBSD: syscalls.master,v 1.88 2007/12/24 14:17:18 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.72 2007/12/21 22:28:43 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.73 2007/12/24 14:21:42 njoly Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) diff --git a/sys/compat/linux/arch/i386/linux_sysent.c b/sys/compat/linux/arch/i386/linux_sysent.c index 6f25c7d7b2e7..e8c2c73b0b8e 100644 --- a/sys/compat/linux/arch/i386/linux_sysent.c +++ b/sys/compat/linux/arch/i386/linux_sysent.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_sysent.c,v 1.71 2007/12/21 22:28:43 njoly Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.72 2007/12/24 14:21:42 njoly Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.87 2007/12/21 22:26:21 njoly Exp + * created from NetBSD: syscalls.master,v 1.88 2007/12/24 14:17:18 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.71 2007/12/21 22:28:43 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.72 2007/12/24 14:21:42 njoly Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_43.h" @@ -310,8 +310,8 @@ struct sysent linux_sysent[] = { linux_sys_nosys }, /* 130 = unimplemented get_kernel_syms */ { 0, 0, 0, linux_sys_nosys }, /* 131 = unimplemented quotactl */ - { ns(struct linux_sys_getpgid_args), 0, - (sy_call_t *)linux_sys_getpgid }, /* 132 = getpgid */ + { ns(struct sys_getpgid_args), 0, + (sy_call_t *)sys_getpgid }, /* 132 = getpgid */ { ns(struct sys_fchdir_args), 0, (sy_call_t *)sys_fchdir }, /* 133 = fchdir */ { 0, 0, 0, diff --git a/sys/compat/linux/arch/m68k/linux_syscall.h b/sys/compat/linux/arch/m68k/linux_syscall.h index 66df46227cfe..2f5450b4ba92 100644 --- a/sys/compat/linux/arch/m68k/linux_syscall.h +++ b/sys/compat/linux/arch/m68k/linux_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscall.h,v 1.62 2007/12/21 22:28:43 njoly Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.63 2007/12/24 14:21:42 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.57 2007/12/21 22:26:21 njoly Exp + * created from NetBSD: syscalls.master,v 1.58 2007/12/24 14:17:18 njoly Exp */ #ifndef _LINUX_SYS_SYSCALL_H_ @@ -350,7 +350,7 @@ /* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */ #define LINUX_SYS_sigprocmask 126 -/* syscall: "getpgid" ret: "int" args: "int" */ +/* syscall: "getpgid" ret: "pid_t" args: "pid_t" */ #define LINUX_SYS_getpgid 132 /* syscall: "fchdir" ret: "int" args: "int" */ diff --git a/sys/compat/linux/arch/m68k/linux_syscallargs.h b/sys/compat/linux/arch/m68k/linux_syscallargs.h index b22c001b16b9..e9127a7a25f8 100644 --- a/sys/compat/linux/arch/m68k/linux_syscallargs.h +++ b/sys/compat/linux/arch/m68k/linux_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscallargs.h,v 1.61 2007/12/21 22:28:43 njoly Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.62 2007/12/24 14:21:42 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.57 2007/12/21 22:26:21 njoly Exp + * created from NetBSD: syscalls.master,v 1.58 2007/12/24 14:17:18 njoly Exp */ #ifndef _LINUX_SYS_SYSCALLARGS_H_ @@ -452,10 +452,7 @@ struct linux_sys_sigprocmask_args { }; check_syscall_args(linux_sys_sigprocmask) -struct linux_sys_getpgid_args { - syscallarg(int) pid; -}; -check_syscall_args(linux_sys_getpgid) +struct sys_getpgid_args; struct sys_fchdir_args; @@ -1099,7 +1096,7 @@ int linux_sys_mprotect(struct lwp *, const struct linux_sys_mprotect_args *, reg int linux_sys_sigprocmask(struct lwp *, const struct linux_sys_sigprocmask_args *, register_t *); -int linux_sys_getpgid(struct lwp *, const struct linux_sys_getpgid_args *, register_t *); +int sys_getpgid(struct lwp *, const struct sys_getpgid_args *, register_t *); int sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *); diff --git a/sys/compat/linux/arch/m68k/linux_syscalls.c b/sys/compat/linux/arch/m68k/linux_syscalls.c index f2c3dbb5f622..5e136a6b46e9 100644 --- a/sys/compat/linux/arch/m68k/linux_syscalls.c +++ b/sys/compat/linux/arch/m68k/linux_syscalls.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_syscalls.c,v 1.62 2007/12/21 22:28:43 njoly Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.63 2007/12/24 14:21:43 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.57 2007/12/21 22:26:21 njoly Exp + * created from NetBSD: syscalls.master,v 1.58 2007/12/24 14:17:18 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.62 2007/12/21 22:28:43 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.63 2007/12/24 14:21:43 njoly Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) diff --git a/sys/compat/linux/arch/m68k/linux_sysent.c b/sys/compat/linux/arch/m68k/linux_sysent.c index 1e1047f5d6cd..9b7b4eaf971c 100644 --- a/sys/compat/linux/arch/m68k/linux_sysent.c +++ b/sys/compat/linux/arch/m68k/linux_sysent.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_sysent.c,v 1.62 2007/12/21 22:28:44 njoly Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.63 2007/12/24 14:21:43 njoly Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.57 2007/12/21 22:26:21 njoly Exp + * created from NetBSD: syscalls.master,v 1.58 2007/12/24 14:17:18 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.62 2007/12/21 22:28:44 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.63 2007/12/24 14:21:43 njoly Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -321,8 +321,8 @@ struct sysent linux_sysent[] = { linux_sys_nosys }, /* 130 = unimplemented get_kernel_syms */ { 0, 0, 0, linux_sys_nosys }, /* 131 = unimplemented quotactl */ - { ns(struct linux_sys_getpgid_args), 0, - (sy_call_t *)linux_sys_getpgid }, /* 132 = getpgid */ + { ns(struct sys_getpgid_args), 0, + (sy_call_t *)sys_getpgid }, /* 132 = getpgid */ { ns(struct sys_fchdir_args), 0, (sy_call_t *)sys_fchdir }, /* 133 = fchdir */ { 0, 0, 0, diff --git a/sys/compat/linux/arch/mips/linux_syscall.h b/sys/compat/linux/arch/mips/linux_syscall.h index fbbdbb15326e..f8056e023652 100644 --- a/sys/compat/linux/arch/mips/linux_syscall.h +++ b/sys/compat/linux/arch/mips/linux_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscall.h,v 1.30 2007/12/21 22:28:44 njoly Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.31 2007/12/24 14:21:43 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.26 2007/12/21 22:26:21 njoly Exp + * created from NetBSD: syscalls.master,v 1.27 2007/12/24 14:17:18 njoly Exp */ #ifndef _LINUX_SYS_SYSCALL_H_ @@ -325,7 +325,7 @@ /* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */ #define LINUX_SYS_sigprocmask 126 -/* syscall: "getpgid" ret: "int" args: "int" */ +/* syscall: "getpgid" ret: "pid_t" args: "pid_t" */ #define LINUX_SYS_getpgid 132 /* syscall: "fchdir" ret: "int" args: "int" */ diff --git a/sys/compat/linux/arch/mips/linux_syscallargs.h b/sys/compat/linux/arch/mips/linux_syscallargs.h index a5ebf665e380..9909be8e6b9c 100644 --- a/sys/compat/linux/arch/mips/linux_syscallargs.h +++ b/sys/compat/linux/arch/mips/linux_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscallargs.h,v 1.29 2007/12/21 22:28:44 njoly Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.30 2007/12/24 14:21:43 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.26 2007/12/21 22:26:21 njoly Exp + * created from NetBSD: syscalls.master,v 1.27 2007/12/24 14:17:18 njoly Exp */ #ifndef _LINUX_SYS_SYSCALLARGS_H_ @@ -410,10 +410,7 @@ struct linux_sys_sigprocmask_args { }; check_syscall_args(linux_sys_sigprocmask) -struct linux_sys_getpgid_args { - syscallarg(int) pid; -}; -check_syscall_args(linux_sys_getpgid) +struct sys_getpgid_args; struct sys_fchdir_args; @@ -1070,7 +1067,7 @@ int linux_sys_mprotect(struct lwp *, const struct linux_sys_mprotect_args *, reg int linux_sys_sigprocmask(struct lwp *, const struct linux_sys_sigprocmask_args *, register_t *); -int linux_sys_getpgid(struct lwp *, const struct linux_sys_getpgid_args *, register_t *); +int sys_getpgid(struct lwp *, const struct sys_getpgid_args *, register_t *); int sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *); diff --git a/sys/compat/linux/arch/mips/linux_syscalls.c b/sys/compat/linux/arch/mips/linux_syscalls.c index 1c5bb737ef31..aee72e08f44d 100644 --- a/sys/compat/linux/arch/mips/linux_syscalls.c +++ b/sys/compat/linux/arch/mips/linux_syscalls.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_syscalls.c,v 1.29 2007/12/21 22:28:44 njoly Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.30 2007/12/24 14:21:43 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.26 2007/12/21 22:26:21 njoly Exp + * created from NetBSD: syscalls.master,v 1.27 2007/12/24 14:17:18 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.29 2007/12/21 22:28:44 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.30 2007/12/24 14:21:43 njoly Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) diff --git a/sys/compat/linux/arch/mips/linux_sysent.c b/sys/compat/linux/arch/mips/linux_sysent.c index e8649ea1a779..47a17c356899 100644 --- a/sys/compat/linux/arch/mips/linux_sysent.c +++ b/sys/compat/linux/arch/mips/linux_sysent.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_sysent.c,v 1.29 2007/12/21 22:28:44 njoly Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.30 2007/12/24 14:21:43 njoly Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.26 2007/12/21 22:26:21 njoly Exp + * created from NetBSD: syscalls.master,v 1.27 2007/12/24 14:17:18 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.29 2007/12/21 22:28:44 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.30 2007/12/24 14:21:43 njoly Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -298,8 +298,8 @@ struct sysent linux_sysent[] = { linux_sys_nosys }, /* 130 = unimplemented get_kernel_syms */ { 0, 0, 0, linux_sys_nosys }, /* 131 = unimplemented quotactl */ - { ns(struct linux_sys_getpgid_args), 0, - (sy_call_t *)linux_sys_getpgid }, /* 132 = getpgid */ + { ns(struct sys_getpgid_args), 0, + (sy_call_t *)sys_getpgid }, /* 132 = getpgid */ { ns(struct sys_fchdir_args), 0, (sy_call_t *)sys_fchdir }, /* 133 = fchdir */ { 0, 0, 0, diff --git a/sys/compat/linux/arch/powerpc/linux_syscall.h b/sys/compat/linux/arch/powerpc/linux_syscall.h index 22f2f2f58741..e4a5e22d503f 100644 --- a/sys/compat/linux/arch/powerpc/linux_syscall.h +++ b/sys/compat/linux/arch/powerpc/linux_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscall.h,v 1.39 2007/12/21 22:28:44 njoly Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.40 2007/12/24 14:21:43 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.34 2007/12/21 22:26:22 njoly Exp + * created from NetBSD: syscalls.master,v 1.35 2007/12/24 14:17:18 njoly Exp */ #ifndef _LINUX_SYS_SYSCALL_H_ @@ -344,7 +344,7 @@ /* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */ #define LINUX_SYS_sigprocmask 126 -/* syscall: "getpgid" ret: "int" args: "int" */ +/* syscall: "getpgid" ret: "pid_t" args: "pid_t" */ #define LINUX_SYS_getpgid 132 /* syscall: "fchdir" ret: "int" args: "int" */ diff --git a/sys/compat/linux/arch/powerpc/linux_syscallargs.h b/sys/compat/linux/arch/powerpc/linux_syscallargs.h index 16a477fbe400..dc4405fbe36e 100644 --- a/sys/compat/linux/arch/powerpc/linux_syscallargs.h +++ b/sys/compat/linux/arch/powerpc/linux_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscallargs.h,v 1.38 2007/12/21 22:28:44 njoly Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.39 2007/12/24 14:21:43 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.34 2007/12/21 22:26:22 njoly Exp + * created from NetBSD: syscalls.master,v 1.35 2007/12/24 14:17:18 njoly Exp */ #ifndef _LINUX_SYS_SYSCALLARGS_H_ @@ -429,10 +429,7 @@ struct linux_sys_sigprocmask_args { }; check_syscall_args(linux_sys_sigprocmask) -struct linux_sys_getpgid_args { - syscallarg(int) pid; -}; -check_syscall_args(linux_sys_getpgid) +struct sys_getpgid_args; struct sys_fchdir_args; @@ -1058,7 +1055,7 @@ int linux_sys_mprotect(struct lwp *, const struct linux_sys_mprotect_args *, reg int linux_sys_sigprocmask(struct lwp *, const struct linux_sys_sigprocmask_args *, register_t *); -int linux_sys_getpgid(struct lwp *, const struct linux_sys_getpgid_args *, register_t *); +int sys_getpgid(struct lwp *, const struct sys_getpgid_args *, register_t *); int sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *); diff --git a/sys/compat/linux/arch/powerpc/linux_syscalls.c b/sys/compat/linux/arch/powerpc/linux_syscalls.c index dc1b03102aa5..af3b6088ce93 100644 --- a/sys/compat/linux/arch/powerpc/linux_syscalls.c +++ b/sys/compat/linux/arch/powerpc/linux_syscalls.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_syscalls.c,v 1.38 2007/12/21 22:28:45 njoly Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.39 2007/12/24 14:21:44 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.34 2007/12/21 22:26:22 njoly Exp + * created from NetBSD: syscalls.master,v 1.35 2007/12/24 14:17:18 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.38 2007/12/21 22:28:45 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.39 2007/12/24 14:21:44 njoly Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) diff --git a/sys/compat/linux/arch/powerpc/linux_sysent.c b/sys/compat/linux/arch/powerpc/linux_sysent.c index 7310834d3b5b..e1eda1f2f272 100644 --- a/sys/compat/linux/arch/powerpc/linux_sysent.c +++ b/sys/compat/linux/arch/powerpc/linux_sysent.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_sysent.c,v 1.39 2007/12/21 22:28:45 njoly Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.40 2007/12/24 14:21:44 njoly Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.34 2007/12/21 22:26:22 njoly Exp + * created from NetBSD: syscalls.master,v 1.35 2007/12/24 14:17:18 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.39 2007/12/21 22:28:45 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.40 2007/12/24 14:21:44 njoly Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -301,8 +301,8 @@ struct sysent linux_sysent[] = { linux_sys_nosys }, /* 130 = unimplemented get_kernel_syms */ { 0, 0, 0, linux_sys_nosys }, /* 131 = unimplemented quotactl */ - { ns(struct linux_sys_getpgid_args), 0, - (sy_call_t *)linux_sys_getpgid }, /* 132 = getpgid */ + { ns(struct sys_getpgid_args), 0, + (sy_call_t *)sys_getpgid }, /* 132 = getpgid */ { ns(struct sys_fchdir_args), 0, (sy_call_t *)sys_fchdir }, /* 133 = fchdir */ { 0, 0, 0,