diff options
| author | christos <christos@NetBSD.org> | 2006-06-10 21:16:49 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2006-06-10 21:16:49 +0000 |
| commit | ee08f35b9aa9c7ec3469ec37d627cdcf0dcbedae (patch) | |
| tree | 936652e9ece1dccc022b9687b81c8fb7b76f1040 /sys/compat/linux/arch | |
| parent | c02c268f6b1250a8b99febb62c601b094cb99b6b (diff) | |
regen
Diffstat (limited to 'sys/compat/linux/arch')
28 files changed, 163 insertions, 109 deletions
diff --git a/sys/compat/linux/arch/alpha/linux_syscall.h b/sys/compat/linux/arch/alpha/linux_syscall.h index dee4201fac8..f2fc0fb6aa5 100644 --- a/sys/compat/linux/arch/alpha/linux_syscall.h +++ b/sys/compat/linux/arch/alpha/linux_syscall.h @@ -1,12 +1,15 @@ -/* $NetBSD: linux_syscall.h,v 1.58 2005/12/11 12:20:12 christos Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.59 2006/06/10 21:16:49 christos Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.51 2005/05/16 21:17:11 fvdl Exp + * created from NetBSD: syscalls.master,v 1.53 2006/06/10 21:15:33 christos Exp */ +#ifndef _LINUX_SYS_SYSCALL_H_ +#define _LINUX_SYS_SYSCALL_H_ + /* syscall: "syscall" ret: "int" args: */ #define LINUX_SYS_syscall 0 @@ -561,3 +564,4 @@ #define LINUX_SYS_MAXSYSCALL 438 #define LINUX_SYS_NSYSENT 512 +#endif /* _LINUX_SYS_SYSCALL_H_ */ diff --git a/sys/compat/linux/arch/alpha/linux_syscallargs.h b/sys/compat/linux/arch/alpha/linux_syscallargs.h index 16ebc8086b0..1e14d38e1d9 100644 --- a/sys/compat/linux/arch/alpha/linux_syscallargs.h +++ b/sys/compat/linux/arch/alpha/linux_syscallargs.h @@ -1,14 +1,14 @@ -/* $NetBSD: linux_syscallargs.h,v 1.57 2005/12/11 12:20:12 christos Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.58 2006/06/10 21:16:49 christos Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.51 2005/05/16 21:17:11 fvdl Exp + * created from NetBSD: syscalls.master,v 1.53 2006/06/10 21:15:33 christos Exp */ -#ifndef _LINUX_SYS__SYSCALLARGS_H_ -#define _LINUX_SYS__SYSCALLARGS_H_ +#ifndef _LINUX_SYS_SYSCALLARGS_H_ +#define _LINUX_SYS_SYSCALLARGS_H_ #ifdef syscallarg #undef syscallarg @@ -190,6 +190,11 @@ struct linux_sys_accept_args { syscallarg(int *) anamelen; }; +struct linux_sys_getpriority_args { + syscallarg(int) which; + syscallarg(int) who; +}; + struct linux_sys_send_args { syscallarg(int) s; syscallarg(caddr_t) buf; @@ -841,7 +846,7 @@ int linux_sys_connect(struct lwp *, void *, register_t *); int linux_sys_accept(struct lwp *, void *, register_t *); -int sys_getpriority(struct lwp *, void *, register_t *); +int linux_sys_getpriority(struct lwp *, void *, register_t *); int linux_sys_send(struct lwp *, void *, register_t *); @@ -1115,4 +1120,4 @@ int linux_sys_clock_getres(struct lwp *, void *, register_t *); int linux_sys_clock_nanosleep(struct lwp *, void *, register_t *); -#endif /* _LINUX_SYS__SYSCALLARGS_H_ */ +#endif /* _LINUX_SYS_SYSCALLARGS_H_ */ diff --git a/sys/compat/linux/arch/alpha/linux_syscalls.c b/sys/compat/linux/arch/alpha/linux_syscalls.c index 8bf2c9e0e1a..ee7dc17116c 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.59 2005/12/11 12:20:12 christos Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.60 2006/06/10 21:16:49 christos Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.51 2005/05/16 21:17:11 fvdl Exp + * created from NetBSD: syscalls.master,v 1.53 2006/06/10 21:15:33 christos Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.59 2005/12/11 12:20:12 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.60 2006/06/10 21:16:49 christos 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 5e3e16db28d..2e9eb9ca590 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.58 2005/12/11 12:20:12 christos Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.59 2006/06/10 21:16:49 christos Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.51 2005/05/16 21:17:11 fvdl Exp + * created from NetBSD: syscalls.master,v 1.53 2006/06/10 21:15:33 christos Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.58 2005/12/11 12:20:12 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.59 2006/06/10 21:16:49 christos Exp $"); #if defined(_KERNEL_OPT) #include "opt_sysv.h" @@ -235,8 +235,8 @@ struct sysent linux_sysent[] = { linux_sys_connect }, /* 98 = connect */ { 3, s(struct linux_sys_accept_args), 0, linux_sys_accept }, /* 99 = accept */ - { 2, s(struct sys_getpriority_args), 0, - sys_getpriority }, /* 100 = getpriority */ + { 2, s(struct linux_sys_getpriority_args), 0, + linux_sys_getpriority }, /* 100 = getpriority */ { 4, s(struct linux_sys_send_args), 0, linux_sys_send }, /* 101 = send */ { 4, s(struct linux_sys_recv_args), 0, diff --git a/sys/compat/linux/arch/amd64/linux_syscall.h b/sys/compat/linux/arch/amd64/linux_syscall.h index 1c07be79dd7..0acbfcc9768 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.10 2006/02/09 19:18:56 manu Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.11 2006/06/10 21:16:49 christos Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.9 2005/11/23 16:14:57 manu Exp + * created from NetBSD: syscalls.master,v 1.11 2006/06/10 21:15:33 christos Exp */ #ifndef _LINUX_SYS_SYSCALL_H_ diff --git a/sys/compat/linux/arch/amd64/linux_syscallargs.h b/sys/compat/linux/arch/amd64/linux_syscallargs.h index 3b91c80cd90..d97328c22b5 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.10 2006/02/09 19:18:56 manu Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.11 2006/06/10 21:16:49 christos Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.9 2005/11/23 16:14:57 manu Exp + * created from NetBSD: syscalls.master,v 1.11 2006/06/10 21:15:33 christos Exp */ #ifndef _LINUX_SYS_SYSCALLARGS_H_ @@ -486,6 +486,11 @@ struct linux_sys_fstatfs64_args { syscallarg(struct linux_statfs64 *) sp; }; +struct linux_sys_getpriority_args { + syscallarg(int) which; + syscallarg(int) who; +}; + struct linux_sys_sched_setparam_args { syscallarg(pid_t) pid; syscallarg(const struct linux_sched_param *) sp; @@ -1004,7 +1009,7 @@ int linux_sys_statfs64(struct lwp *, void *, register_t *); int linux_sys_fstatfs64(struct lwp *, void *, register_t *); -int sys_getpriority(struct lwp *, void *, register_t *); +int linux_sys_getpriority(struct lwp *, void *, register_t *); int sys_setpriority(struct lwp *, void *, register_t *); diff --git a/sys/compat/linux/arch/amd64/linux_syscalls.c b/sys/compat/linux/arch/amd64/linux_syscalls.c index e90a8ed373e..24683981ffb 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.10 2006/02/09 19:18:56 manu Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.11 2006/06/10 21:16:49 christos Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.9 2005/11/23 16:14:57 manu Exp + * created from NetBSD: syscalls.master,v 1.11 2006/06/10 21:15:33 christos Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.10 2006/02/09 19:18:56 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.11 2006/06/10 21:16:49 christos 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 fdcfa7349a2..b2a27cb1d4a 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.10 2006/02/09 19:18:56 manu Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.11 2006/06/10 21:16:49 christos Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.9 2005/11/23 16:14:57 manu Exp + * created from NetBSD: syscalls.master,v 1.11 2006/06/10 21:15:33 christos Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.10 2006/02/09 19:18:56 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.11 2006/06/10 21:16:49 christos Exp $"); #if defined(_KERNEL_OPT) #include "opt_sysv.h" @@ -352,8 +352,8 @@ struct sysent linux_sysent[] = { linux_sys_fstatfs64 }, /* 138 = fstatfs64 */ { 0, 0, 0, linux_sys_nosys }, /* 139 = unimplemented sysfs */ - { 2, s(struct sys_getpriority_args), 0, - sys_getpriority }, /* 140 = getpriority */ + { 2, s(struct linux_sys_getpriority_args), 0, + linux_sys_getpriority }, /* 140 = getpriority */ { 3, s(struct sys_setpriority_args), 0, sys_setpriority }, /* 141 = setpriority */ { 2, s(struct linux_sys_sched_setparam_args), 0, diff --git a/sys/compat/linux/arch/arm/linux_syscall.h b/sys/compat/linux/arch/arm/linux_syscall.h index b02b18adb6c..6bc94d0a41a 100644 --- a/sys/compat/linux/arch/arm/linux_syscall.h +++ b/sys/compat/linux/arch/arm/linux_syscall.h @@ -1,12 +1,15 @@ -/* $NetBSD: linux_syscall.h,v 1.25 2005/12/11 12:20:14 christos Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.26 2006/06/10 21:16:49 christos Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.22 2005/05/16 21:17:11 fvdl Exp + * created from NetBSD: syscalls.master,v 1.24 2006/06/10 21:15:33 christos Exp */ +#ifndef _LINUX_SYS_SYSCALL_H_ +#define _LINUX_SYS_SYSCALL_H_ + /* syscall: "nosys" ret: "int" args: */ #define LINUX_SYS_nosys 0 @@ -624,3 +627,4 @@ #define LINUX_SYS_MAXSYSCALL 389 #define LINUX_SYS_NSYSENT 512 +#endif /* _LINUX_SYS_SYSCALL_H_ */ diff --git a/sys/compat/linux/arch/arm/linux_syscallargs.h b/sys/compat/linux/arch/arm/linux_syscallargs.h index 13efe40eaa0..130f77654ff 100644 --- a/sys/compat/linux/arch/arm/linux_syscallargs.h +++ b/sys/compat/linux/arch/arm/linux_syscallargs.h @@ -1,14 +1,14 @@ -/* $NetBSD: linux_syscallargs.h,v 1.25 2005/12/11 12:20:14 christos Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.26 2006/06/10 21:16:49 christos Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.22 2005/05/16 21:17:11 fvdl Exp + * created from NetBSD: syscalls.master,v 1.24 2006/06/10 21:15:33 christos Exp */ -#ifndef _LINUX_SYS__SYSCALLARGS_H_ -#define _LINUX_SYS__SYSCALLARGS_H_ +#ifndef _LINUX_SYS_SYSCALLARGS_H_ +#define _LINUX_SYS_SYSCALLARGS_H_ #ifdef syscallarg #undef syscallarg @@ -259,6 +259,11 @@ struct linux_sys_fchown16_args { syscallarg(int) gid; }; +struct linux_sys_getpriority_args { + syscallarg(int) which; + syscallarg(int) who; +}; + struct linux_sys_statfs_args { syscallarg(const char *) path; syscallarg(struct linux_statfs *) sp; @@ -854,7 +859,7 @@ int sys_fchmod(struct lwp *, void *, register_t *); int linux_sys_fchown16(struct lwp *, void *, register_t *); -int sys_getpriority(struct lwp *, void *, register_t *); +int linux_sys_getpriority(struct lwp *, void *, register_t *); int sys_setpriority(struct lwp *, void *, register_t *); @@ -1058,4 +1063,4 @@ int linux_sys_breakpoint(struct lwp *, void *, register_t *); int linux_sys_cacheflush(struct lwp *, void *, register_t *); -#endif /* _LINUX_SYS__SYSCALLARGS_H_ */ +#endif /* _LINUX_SYS_SYSCALLARGS_H_ */ diff --git a/sys/compat/linux/arch/arm/linux_syscalls.c b/sys/compat/linux/arch/arm/linux_syscalls.c index e4d5d7aa070..ce6077acbfd 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.25 2005/12/11 12:20:14 christos Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.26 2006/06/10 21:16:49 christos Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.22 2005/05/16 21:17:11 fvdl Exp + * created from NetBSD: syscalls.master,v 1.24 2006/06/10 21:15:33 christos Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.25 2005/12/11 12:20:14 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.26 2006/06/10 21:16:49 christos 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 c50ae604e7a..2c502319614 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.25 2005/12/11 12:20:14 christos Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.26 2006/06/10 21:16:49 christos Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.22 2005/05/16 21:17:11 fvdl Exp + * created from NetBSD: syscalls.master,v 1.24 2006/06/10 21:15:33 christos Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.25 2005/12/11 12:20:14 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.26 2006/06/10 21:16:49 christos Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_43.h" @@ -227,8 +227,8 @@ struct sysent linux_sysent[] = { sys_fchmod }, /* 94 = fchmod */ { 3, s(struct linux_sys_fchown16_args), 0, linux_sys_fchown16 }, /* 95 = fchown16 */ - { 2, s(struct sys_getpriority_args), 0, - sys_getpriority }, /* 96 = getpriority */ + { 2, s(struct linux_sys_getpriority_args), 0, + linux_sys_getpriority }, /* 96 = getpriority */ { 3, s(struct sys_setpriority_args), 0, sys_setpriority }, /* 97 = setpriority */ { 4, s(struct sys_profil_args), 0, diff --git a/sys/compat/linux/arch/i386/linux_syscall.h b/sys/compat/linux/arch/i386/linux_syscall.h index 51b641d7476..558e750fecb 100644 --- a/sys/compat/linux/arch/i386/linux_syscall.h +++ b/sys/compat/linux/arch/i386/linux_syscall.h @@ -1,12 +1,15 @@ -/* $NetBSD: linux_syscall.h,v 1.62 2005/12/11 12:20:14 christos Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.63 2006/06/10 21:16:49 christos Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.76 2005/11/06 18:16:31 manu Exp + * created from NetBSD: syscalls.master,v 1.78 2006/06/10 21:15:33 christos Exp */ +#ifndef _LINUX_SYS_SYSCALL_H_ +#define _LINUX_SYS_SYSCALL_H_ + /* syscall: "syscall" ret: "int" args: */ #define LINUX_SYS_syscall 0 @@ -631,3 +634,4 @@ #define LINUX_SYS_MAXSYSCALL 284 #define LINUX_SYS_NSYSENT 512 +#endif /* _LINUX_SYS_SYSCALL_H_ */ diff --git a/sys/compat/linux/arch/i386/linux_syscallargs.h b/sys/compat/linux/arch/i386/linux_syscallargs.h index 35b2750e368..4c1b2b59946 100644 --- a/sys/compat/linux/arch/i386/linux_syscallargs.h +++ b/sys/compat/linux/arch/i386/linux_syscallargs.h @@ -1,14 +1,14 @@ -/* $NetBSD: linux_syscallargs.h,v 1.62 2005/12/11 12:20:14 christos Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.63 2006/06/10 21:16:49 christos Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.76 2005/11/06 18:16:31 manu Exp + * created from NetBSD: syscalls.master,v 1.78 2006/06/10 21:15:33 christos Exp */ -#ifndef _LINUX_SYS__SYSCALLARGS_H_ -#define _LINUX_SYS__SYSCALLARGS_H_ +#ifndef _LINUX_SYS_SYSCALLARGS_H_ +#define _LINUX_SYS_SYSCALLARGS_H_ #ifdef syscallarg #undef syscallarg @@ -283,6 +283,11 @@ struct linux_sys_fchown16_args { syscallarg(int) gid; }; +struct linux_sys_getpriority_args { + syscallarg(int) which; + syscallarg(int) who; +}; + struct linux_sys_statfs_args { syscallarg(const char *) path; syscallarg(struct linux_statfs *) sp; @@ -907,7 +912,7 @@ int sys_fchmod(struct lwp *, void *, register_t *); int linux_sys_fchown16(struct lwp *, void *, register_t *); -int sys_getpriority(struct lwp *, void *, register_t *); +int linux_sys_getpriority(struct lwp *, void *, register_t *); int sys_setpriority(struct lwp *, void *, register_t *); @@ -1127,4 +1132,4 @@ int linux_sys_statfs64(struct lwp *, void *, register_t *); int linux_sys_fstatfs64(struct lwp *, void *, register_t *); -#endif /* _LINUX_SYS__SYSCALLARGS_H_ */ +#endif /* _LINUX_SYS_SYSCALLARGS_H_ */ diff --git a/sys/compat/linux/arch/i386/linux_syscalls.c b/sys/compat/linux/arch/i386/linux_syscalls.c index 9230fa21753..8c32fc41fee 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.63 2005/12/11 12:20:14 christos Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.64 2006/06/10 21:16:49 christos Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.76 2005/11/06 18:16:31 manu Exp + * created from NetBSD: syscalls.master,v 1.78 2006/06/10 21:15:33 christos Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.63 2005/12/11 12:20:14 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.64 2006/06/10 21:16:49 christos 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 3dabb8b1c49..614e93fb133 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.62 2005/12/11 12:20:14 christos Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.63 2006/06/10 21:16:49 christos Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.76 2005/11/06 18:16:31 manu Exp + * created from NetBSD: syscalls.master,v 1.78 2006/06/10 21:15:33 christos Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.62 2005/12/11 12:20:14 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.63 2006/06/10 21:16:49 christos Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_43.h" @@ -227,8 +227,8 @@ struct sysent linux_sysent[] = { sys_fchmod }, /* 94 = fchmod */ { 3, s(struct linux_sys_fchown16_args), 0, linux_sys_fchown16 }, /* 95 = fchown16 */ - { 2, s(struct sys_getpriority_args), 0, - sys_getpriority }, /* 96 = getpriority */ + { 2, s(struct linux_sys_getpriority_args), 0, + linux_sys_getpriority }, /* 96 = getpriority */ { 3, s(struct sys_setpriority_args), 0, sys_setpriority }, /* 97 = setpriority */ { 4, s(struct sys_profil_args), 0, diff --git a/sys/compat/linux/arch/m68k/linux_syscall.h b/sys/compat/linux/arch/m68k/linux_syscall.h index 32948224efe..eb6fb858d9f 100644 --- a/sys/compat/linux/arch/m68k/linux_syscall.h +++ b/sys/compat/linux/arch/m68k/linux_syscall.h @@ -1,12 +1,15 @@ -/* $NetBSD: linux_syscall.h,v 1.54 2005/12/11 12:20:16 christos Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.55 2006/06/10 21:16:49 christos Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.47 2005/10/18 18:37:44 joerg Exp + * created from NetBSD: syscalls.master,v 1.49 2006/06/10 21:15:33 christos Exp */ +#ifndef _LINUX_SYS_SYSCALL_H_ +#define _LINUX_SYS_SYSCALL_H_ + /* syscall: "syscall" ret: "int" args: */ #define LINUX_SYS_syscall 0 @@ -611,3 +614,4 @@ #define LINUX_SYS_MAXSYSCALL 263 #define LINUX_SYS_NSYSENT 512 +#endif /* _LINUX_SYS_SYSCALL_H_ */ diff --git a/sys/compat/linux/arch/m68k/linux_syscallargs.h b/sys/compat/linux/arch/m68k/linux_syscallargs.h index d6b4837a826..b45d2a77780 100644 --- a/sys/compat/linux/arch/m68k/linux_syscallargs.h +++ b/sys/compat/linux/arch/m68k/linux_syscallargs.h @@ -1,14 +1,14 @@ -/* $NetBSD: linux_syscallargs.h,v 1.53 2005/12/11 12:20:16 christos Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.54 2006/06/10 21:16:50 christos Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.47 2005/10/18 18:37:44 joerg Exp + * created from NetBSD: syscalls.master,v 1.49 2006/06/10 21:15:33 christos Exp */ -#ifndef _LINUX_SYS__SYSCALLARGS_H_ -#define _LINUX_SYS__SYSCALLARGS_H_ +#ifndef _LINUX_SYS_SYSCALLARGS_H_ +#define _LINUX_SYS_SYSCALLARGS_H_ #ifdef syscallarg #undef syscallarg @@ -876,7 +876,7 @@ int sys_fchmod(struct lwp *, void *, register_t *); int linux_sys_fchown16(struct lwp *, void *, register_t *); -int sys_getpriority(struct lwp *, void *, register_t *); +int linux_sys_getpriority(struct lwp *, void *, register_t *); int sys_setpriority(struct lwp *, void *, register_t *); @@ -1078,4 +1078,4 @@ int linux_sys_clock_getres(struct lwp *, void *, register_t *); int linux_sys_clock_nanosleep(struct lwp *, void *, register_t *); -#endif /* _LINUX_SYS__SYSCALLARGS_H_ */ +#endif /* _LINUX_SYS_SYSCALLARGS_H_ */ diff --git a/sys/compat/linux/arch/m68k/linux_syscalls.c b/sys/compat/linux/arch/m68k/linux_syscalls.c index 352a5c2b2e9..da81d4841ed 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.54 2005/12/11 12:20:16 christos Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.55 2006/06/10 21:16:50 christos Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.47 2005/10/18 18:37:44 joerg Exp + * created from NetBSD: syscalls.master,v 1.49 2006/06/10 21:15:33 christos Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.54 2005/12/11 12:20:16 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.55 2006/06/10 21:16:50 christos 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 accd0a72c2c..5f763e5f747 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.54 2005/12/11 12:20:16 christos Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.55 2006/06/10 21:16:50 christos Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.47 2005/10/18 18:37:44 joerg Exp + * created from NetBSD: syscalls.master,v 1.49 2006/06/10 21:15:33 christos Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.54 2005/12/11 12:20:16 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.55 2006/06/10 21:16:50 christos Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -248,8 +248,8 @@ struct sysent linux_sysent[] = { sys_fchmod }, /* 94 = fchmod */ { 3, s(struct linux_sys_fchown16_args), 0, linux_sys_fchown16 }, /* 95 = fchown16 */ - { 2, s(struct sys_getpriority_args), 0, - sys_getpriority }, /* 96 = getpriority */ + { 2, s(struct linux_sys_getpriority_args), 0, + linux_sys_getpriority }, /* 96 = getpriority */ { 3, s(struct sys_setpriority_args), 0, sys_setpriority }, /* 97 = setpriority */ { 4, s(struct sys_profil_args), 0, diff --git a/sys/compat/linux/arch/mips/linux_syscall.h b/sys/compat/linux/arch/mips/linux_syscall.h index bf246fa4596..7edf293eb14 100644 --- a/sys/compat/linux/arch/mips/linux_syscall.h +++ b/sys/compat/linux/arch/mips/linux_syscall.h @@ -1,12 +1,15 @@ -/* $NetBSD: linux_syscall.h,v 1.25 2005/12/11 12:20:16 christos Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.26 2006/06/10 21:16:50 christos Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.19 2005/05/16 21:17:11 fvdl Exp + * created from NetBSD: syscalls.master,v 1.21 2006/06/10 21:15:33 christos Exp */ +#ifndef _LINUX_SYS_SYSCALL_H_ +#define _LINUX_SYS_SYSCALL_H_ + /* syscall: "syscall" ret: "int" args: */ #define LINUX_SYS_syscall 0 @@ -595,3 +598,4 @@ #define LINUX_SYS_MAXSYSCALL 277 #define LINUX_SYS_NSYSENT 512 +#endif /* _LINUX_SYS_SYSCALL_H_ */ diff --git a/sys/compat/linux/arch/mips/linux_syscallargs.h b/sys/compat/linux/arch/mips/linux_syscallargs.h index 21e99ede31b..afff52f568f 100644 --- a/sys/compat/linux/arch/mips/linux_syscallargs.h +++ b/sys/compat/linux/arch/mips/linux_syscallargs.h @@ -1,14 +1,14 @@ -/* $NetBSD: linux_syscallargs.h,v 1.24 2005/12/11 12:20:16 christos Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.25 2006/06/10 21:16:50 christos Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.19 2005/05/16 21:17:11 fvdl Exp + * created from NetBSD: syscalls.master,v 1.21 2006/06/10 21:15:33 christos Exp */ -#ifndef _LINUX_SYS__SYSCALLARGS_H_ -#define _LINUX_SYS__SYSCALLARGS_H_ +#ifndef _LINUX_SYS_SYSCALLARGS_H_ +#define _LINUX_SYS_SYSCALLARGS_H_ #ifdef syscallarg #undef syscallarg @@ -238,6 +238,11 @@ struct linux_sys_truncate_args { syscallarg(long) length; }; +struct linux_sys_getpriority_args { + syscallarg(int) which; + syscallarg(int) who; +}; + struct linux_sys_statfs_args { syscallarg(const char *) path; syscallarg(struct linux_statfs *) sp; @@ -827,7 +832,7 @@ int sys_fchmod(struct lwp *, void *, register_t *); int sys___posix_fchown(struct lwp *, void *, register_t *); -int sys_getpriority(struct lwp *, void *, register_t *); +int linux_sys_getpriority(struct lwp *, void *, register_t *); int sys_setpriority(struct lwp *, void *, register_t *); @@ -1055,4 +1060,4 @@ int linux_sys_clock_getres(struct lwp *, void *, register_t *); int linux_sys_clock_nanosleep(struct lwp *, void *, register_t *); -#endif /* _LINUX_SYS__SYSCALLARGS_H_ */ +#endif /* _LINUX_SYS_SYSCALLARGS_H_ */ diff --git a/sys/compat/linux/arch/mips/linux_syscalls.c b/sys/compat/linux/arch/mips/linux_syscalls.c index 87400deaae6..b4749d77767 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.24 2005/12/11 12:20:16 christos Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.25 2006/06/10 21:16:50 christos Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.19 2005/05/16 21:17:11 fvdl Exp + * created from NetBSD: syscalls.master,v 1.21 2006/06/10 21:15:33 christos Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.24 2005/12/11 12:20:16 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.25 2006/06/10 21:16:50 christos 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 6e39cf509d1..4bb144b59db 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.24 2005/12/11 12:20:16 christos Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.25 2006/06/10 21:16:50 christos Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.19 2005/05/16 21:17:11 fvdl Exp + * created from NetBSD: syscalls.master,v 1.21 2006/06/10 21:15:33 christos Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.24 2005/12/11 12:20:16 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.25 2006/06/10 21:16:50 christos Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -224,8 +224,8 @@ struct sysent linux_sysent[] = { sys_fchmod }, /* 94 = fchmod */ { 3, s(struct sys___posix_fchown_args), 0, sys___posix_fchown }, /* 95 = __posix_fchown */ - { 2, s(struct sys_getpriority_args), 0, - sys_getpriority }, /* 96 = getpriority */ + { 2, s(struct linux_sys_getpriority_args), 0, + linux_sys_getpriority }, /* 96 = getpriority */ { 3, s(struct sys_setpriority_args), 0, sys_setpriority }, /* 97 = setpriority */ { 0, 0, 0, diff --git a/sys/compat/linux/arch/powerpc/linux_syscall.h b/sys/compat/linux/arch/powerpc/linux_syscall.h index 01a80c31a73..048e08cd412 100644 --- a/sys/compat/linux/arch/powerpc/linux_syscall.h +++ b/sys/compat/linux/arch/powerpc/linux_syscall.h @@ -1,12 +1,15 @@ -/* $NetBSD: linux_syscall.h,v 1.32 2005/12/11 12:20:16 christos Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.33 2006/06/10 21:16:50 christos Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.25 2005/10/18 19:51:47 christos Exp + * created from NetBSD: syscalls.master,v 1.27 2006/06/10 21:15:33 christos Exp */ +#ifndef _LINUX_SYS_SYSCALL_H_ +#define _LINUX_SYS_SYSCALL_H_ + /* syscall: "syscall" ret: "int" args: */ #define LINUX_SYS_syscall 0 @@ -566,3 +569,4 @@ #define LINUX_SYS_MAXSYSCALL 269 #define LINUX_SYS_NSYSENT 512 +#endif /* _LINUX_SYS_SYSCALL_H_ */ diff --git a/sys/compat/linux/arch/powerpc/linux_syscallargs.h b/sys/compat/linux/arch/powerpc/linux_syscallargs.h index 6a60d3aa61b..b839e5de1a4 100644 --- a/sys/compat/linux/arch/powerpc/linux_syscallargs.h +++ b/sys/compat/linux/arch/powerpc/linux_syscallargs.h @@ -1,14 +1,14 @@ -/* $NetBSD: linux_syscallargs.h,v 1.31 2005/12/11 12:20:16 christos Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.32 2006/06/10 21:16:50 christos Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.25 2005/10/18 19:51:47 christos Exp + * created from NetBSD: syscalls.master,v 1.27 2006/06/10 21:15:33 christos Exp */ -#ifndef _LINUX_SYS__SYSCALLARGS_H_ -#define _LINUX_SYS__SYSCALLARGS_H_ +#ifndef _LINUX_SYS_SYSCALLARGS_H_ +#define _LINUX_SYS_SYSCALLARGS_H_ #ifdef syscallarg #undef syscallarg @@ -253,6 +253,11 @@ struct linux_sys_truncate_args { syscallarg(long) length; }; +struct linux_sys_getpriority_args { + syscallarg(int) which; + syscallarg(int) who; +}; + struct linux_sys_statfs_args { syscallarg(const char *) path; syscallarg(struct linux_statfs *) sp; @@ -841,7 +846,7 @@ int sys_fchmod(struct lwp *, void *, register_t *); int sys___posix_fchown(struct lwp *, void *, register_t *); -int sys_getpriority(struct lwp *, void *, register_t *); +int linux_sys_getpriority(struct lwp *, void *, register_t *); int sys_setpriority(struct lwp *, void *, register_t *); @@ -1039,4 +1044,4 @@ int linux_sys_statfs64(struct lwp *, void *, register_t *); int linux_sys_fstatfs64(struct lwp *, void *, register_t *); -#endif /* _LINUX_SYS__SYSCALLARGS_H_ */ +#endif /* _LINUX_SYS_SYSCALLARGS_H_ */ diff --git a/sys/compat/linux/arch/powerpc/linux_syscalls.c b/sys/compat/linux/arch/powerpc/linux_syscalls.c index eee81f56fe8..194933b3e90 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.31 2005/12/11 12:20:16 christos Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.32 2006/06/10 21:16:50 christos Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.25 2005/10/18 19:51:47 christos Exp + * created from NetBSD: syscalls.master,v 1.27 2006/06/10 21:15:33 christos Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.31 2005/12/11 12:20:16 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.32 2006/06/10 21:16:50 christos 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 6db136b9252..498c1478a6a 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.32 2005/12/11 12:20:16 christos Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.33 2006/06/10 21:16:50 christos Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.25 2005/10/18 19:51:47 christos Exp + * created from NetBSD: syscalls.master,v 1.27 2006/06/10 21:15:33 christos Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.32 2005/12/11 12:20:16 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.33 2006/06/10 21:16:50 christos Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -228,8 +228,8 @@ struct sysent linux_sysent[] = { sys_fchmod }, /* 94 = fchmod */ { 3, s(struct sys___posix_fchown_args), 0, sys___posix_fchown }, /* 95 = __posix_fchown */ - { 2, s(struct sys_getpriority_args), 0, - sys_getpriority }, /* 96 = getpriority */ + { 2, s(struct linux_sys_getpriority_args), 0, + linux_sys_getpriority }, /* 96 = getpriority */ { 3, s(struct sys_setpriority_args), 0, sys_setpriority }, /* 97 = setpriority */ { 4, s(struct sys_profil_args), 0, |
