diff options
| author | christos <christos@NetBSD.org> | 2005-10-18 19:52:07 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2005-10-18 19:52:07 +0000 |
| commit | e780c5edaf2604cfd02ddd1ca2c0394669faaf65 (patch) | |
| tree | 782d08fad5344f0743c37b583315f610f254c40e /sys | |
| parent | 8fc452caf82ca4a0ac2f18662b68a75919591d87 (diff) | |
regen
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/compat/linux/arch/powerpc/linux_syscall.h | 7 | ||||
| -rw-r--r-- | sys/compat/linux/arch/powerpc/linux_syscallargs.h | 10 | ||||
| -rw-r--r-- | sys/compat/linux/arch/powerpc/linux_syscalls.c | 10 | ||||
| -rw-r--r-- | sys/compat/linux/arch/powerpc/linux_sysent.c | 11 |
4 files changed, 28 insertions, 10 deletions
diff --git a/sys/compat/linux/arch/powerpc/linux_syscall.h b/sys/compat/linux/arch/powerpc/linux_syscall.h index 0c780677ee2..88bfe63d7b7 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.30 2005/05/16 21:18:19 fvdl Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.31 2005/10/18 19:52:07 christos Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.23 2005/05/16 21:17:11 fvdl Exp + * created from NetBSD: syscalls.master,v 1.25 2005/10/18 19:51:47 christos Exp */ /* syscall: "syscall" ret: "int" args: */ @@ -234,9 +234,12 @@ /* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */ #define LINUX_SYS_readlink 85 +#ifdef EXEC_AOUT /* syscall: "uselib" ret: "int" args: "const char *" */ #define LINUX_SYS_uselib 86 +#else +#endif /* syscall: "swapon" ret: "int" args: "char *" */ #define LINUX_SYS_swapon 87 diff --git a/sys/compat/linux/arch/powerpc/linux_syscallargs.h b/sys/compat/linux/arch/powerpc/linux_syscallargs.h index 87a561b98e9..543039fc15d 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.29 2005/05/16 21:18:19 fvdl Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.30 2005/10/18 19:52:07 christos Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.23 2005/05/16 21:17:11 fvdl Exp + * created from NetBSD: syscalls.master,v 1.25 2005/10/18 19:51:47 christos Exp */ #ifndef _LINUX_SYS__SYSCALLARGS_H_ @@ -223,10 +223,13 @@ struct linux_sys_readlink_args { syscallarg(char *) buf; syscallarg(int) count; }; +#ifdef EXEC_AOUT struct linux_sys_uselib_args { syscallarg(const char *) path; }; +#else +#endif struct linux_sys_swapon_args { syscallarg(char *) name; @@ -815,8 +818,11 @@ int compat_43_sys_lstat(struct lwp *, void *, register_t *); int linux_sys_readlink(struct lwp *, void *, register_t *); +#ifdef EXEC_AOUT int linux_sys_uselib(struct lwp *, void *, register_t *); +#else +#endif int linux_sys_swapon(struct lwp *, void *, register_t *); int linux_sys_reboot(struct lwp *, void *, register_t *); diff --git a/sys/compat/linux/arch/powerpc/linux_syscalls.c b/sys/compat/linux/arch/powerpc/linux_syscalls.c index d94692bc328..ed1a10ebad6 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.29 2005/05/16 21:18:19 fvdl Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.30 2005/10/18 19:52:07 christos Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.23 2005/05/16 21:17:11 fvdl Exp + * created from NetBSD: syscalls.master,v 1.25 2005/10/18 19:51:47 christos Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.29 2005/05/16 21:18:19 fvdl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.30 2005/10/18 19:52:07 christos Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) @@ -117,7 +117,11 @@ const char *const linux_syscallnames[] = { "symlink", /* 83 = symlink */ "oolstat", /* 84 = oolstat */ "readlink", /* 85 = readlink */ +#ifdef EXEC_AOUT "uselib", /* 86 = uselib */ +#else + "#86 (unimplemented sys_uselib)", /* 86 = unimplemented sys_uselib */ +#endif "swapon", /* 87 = swapon */ "reboot", /* 88 = reboot */ "readdir", /* 89 = readdir */ diff --git a/sys/compat/linux/arch/powerpc/linux_sysent.c b/sys/compat/linux/arch/powerpc/linux_sysent.c index 9887791f0fd..3701b889a60 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.30 2005/05/16 21:18:19 fvdl Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.31 2005/10/18 19:52:07 christos Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.23 2005/05/16 21:17:11 fvdl Exp + * created from NetBSD: syscalls.master,v 1.25 2005/10/18 19:51:47 christos Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.30 2005/05/16 21:18:19 fvdl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.31 2005/10/18 19:52:07 christos Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -203,8 +203,13 @@ struct sysent linux_sysent[] = { compat_43_sys_lstat }, /* 84 = oolstat */ { 3, s(struct linux_sys_readlink_args), 0, linux_sys_readlink }, /* 85 = readlink */ +#ifdef EXEC_AOUT { 1, s(struct linux_sys_uselib_args), 0, linux_sys_uselib }, /* 86 = uselib */ +#else + { 0, 0, 0, + linux_sys_nosys }, /* 86 = unimplemented sys_uselib */ +#endif { 1, s(struct linux_sys_swapon_args), 0, linux_sys_swapon }, /* 87 = swapon */ { 4, s(struct linux_sys_reboot_args), 0, |
