This commit is contained in:
joerg 2005-10-18 19:08:51 +00:00
parent 39fcee12fe
commit 5e74202601
12 changed files with 84 additions and 30 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.5 2005/06/22 15:10:51 manu Exp $ */
/* $NetBSD: linux_syscall.h,v 1.6 2005/10/18 19:08:51 joerg Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.4 2005/05/22 19:29:15 fvdl Exp
* created from NetBSD: syscalls.master,v 1.6 2005/10/18 18:37:44 joerg Exp
*/
/* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
@ -361,9 +361,12 @@
/* syscall: "mknod" ret: "int" args: "const char *" "int" "int" */
#define LINUX_SYS_mknod 133
#ifdef EXEC_AOUT
/* syscall: "uselib" ret: "int" args: "const char *" */
#define LINUX_SYS_uselib 134
#else
#endif
/* syscall: "personality" ret: "int" args: "int" */
#define LINUX_SYS_personality 135

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.5 2005/06/22 15:10:51 manu Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.6 2005/10/18 19:08:51 joerg Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.4 2005/05/22 19:29:15 fvdl Exp
* created from NetBSD: syscalls.master,v 1.6 2005/10/18 18:37:44 joerg Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -418,10 +418,13 @@ struct linux_sys_mknod_args {
syscallarg(int) mode;
syscallarg(int) dev;
};
#ifdef EXEC_AOUT
struct linux_sys_uselib_args {
syscallarg(const char *) path;
};
#else
#endif
struct linux_sys_personality_args {
syscallarg(int) per;
@ -880,8 +883,11 @@ int linux_sys_utime(struct lwp *, void *, register_t *);
int linux_sys_mknod(struct lwp *, void *, register_t *);
#ifdef EXEC_AOUT
int linux_sys_uselib(struct lwp *, void *, register_t *);
#else
#endif
int linux_sys_personality(struct lwp *, void *, register_t *);
int linux_sys_statfs64(struct lwp *, void *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.5 2005/06/22 15:10:51 manu Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.6 2005/10/18 19:08:51 joerg Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.4 2005/05/22 19:29:15 fvdl Exp
* created from NetBSD: syscalls.master,v 1.6 2005/10/18 18:37:44 joerg Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.5 2005/06/22 15:10:51 manu Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.6 2005/10/18 19:08:51 joerg Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -164,7 +164,11 @@ const char *const linux_syscallnames[] = {
"sigaltstack", /* 131 = sigaltstack */
"utime", /* 132 = utime */
"mknod", /* 133 = mknod */
#ifdef EXEC_AOUT
"uselib", /* 134 = uselib */
#else
"#134 (unimplemented sys_uselib)", /* 134 = unimplemented sys_uselib */
#endif
"personality", /* 135 = personality */
"#136 (unimplemented ustat)", /* 136 = unimplemented ustat */
"statfs64", /* 137 = statfs64 */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.5 2005/06/22 15:10:51 manu Exp $ */
/* $NetBSD: linux_sysent.c,v 1.6 2005/10/18 19:08:51 joerg Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.4 2005/05/22 19:29:15 fvdl Exp
* created from NetBSD: syscalls.master,v 1.6 2005/10/18 18:37:44 joerg Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.5 2005/06/22 15:10:51 manu Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.6 2005/10/18 19:08:51 joerg Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_43.h"
@ -298,8 +298,13 @@ struct sysent linux_sysent[] = {
linux_sys_utime }, /* 132 = utime */
{ 3, s(struct linux_sys_mknod_args), 0,
linux_sys_mknod }, /* 133 = mknod */
#ifdef EXEC_AOUT
{ 1, s(struct linux_sys_uselib_args), 0,
linux_sys_uselib }, /* 134 = uselib */
#else
{ 0, 0, 0,
linux_sys_nosys }, /* 134 = unimplemented sys_uselib */
#endif
{ 1, s(struct linux_sys_personality_args), 0,
linux_sys_personality }, /* 135 = personality */
{ 0, 0, 0,

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.57 2005/05/16 21:18:19 fvdl Exp $ */
/* $NetBSD: linux_syscall.h,v 1.58 2005/10/18 19:08:52 joerg Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.73 2005/05/16 21:17:11 fvdl Exp
* created from NetBSD: syscalls.master,v 1.74 2005/10/18 18:37:44 joerg Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -236,9 +236,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

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.57 2005/05/16 21:18:19 fvdl Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.58 2005/10/18 19:08:52 joerg Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.73 2005/05/16 21:17:11 fvdl Exp
* created from NetBSD: syscalls.master,v 1.74 2005/10/18 18:37:44 joerg Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -243,10 +243,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;
@ -881,8 +884,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 *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.58 2005/05/16 21:18:19 fvdl Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.59 2005/10/18 19:08:52 joerg Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.73 2005/05/16 21:17:11 fvdl Exp
* created from NetBSD: syscalls.master,v 1.74 2005/10/18 18:37:44 joerg Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.58 2005/05/16 21:18:19 fvdl Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.59 2005/10/18 19:08:52 joerg Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -116,7 +116,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 */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.57 2005/05/16 21:18:19 fvdl Exp $ */
/* $NetBSD: linux_sysent.c,v 1.58 2005/10/18 19:08:52 joerg Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.73 2005/05/16 21:17:11 fvdl Exp
* created from NetBSD: syscalls.master,v 1.74 2005/10/18 18:37:44 joerg Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.57 2005/05/16 21:18:19 fvdl Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.58 2005/10/18 19:08:52 joerg Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_43.h"
@ -202,8 +202,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,

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.52 2005/05/23 23:22:27 jmc Exp $ */
/* $NetBSD: linux_syscall.h,v 1.53 2005/10/18 19:08:52 joerg Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.46 2005/05/23 23:21:49 jmc Exp
* created from NetBSD: syscalls.master,v 1.47 2005/10/18 18:37:44 joerg Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -240,9 +240,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

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.51 2005/05/23 23:22:27 jmc Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.52 2005/10/18 19:08:52 joerg Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.46 2005/05/23 23:21:49 jmc Exp
* created from NetBSD: syscalls.master,v 1.47 2005/10/18 18:37:44 joerg Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -244,10 +244,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;
@ -847,8 +850,11 @@ int compat_43_sys_lstat(struct lwp *, void *, register_t *);
#endif
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 *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.52 2005/05/23 23:22:27 jmc Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.53 2005/10/18 19:08:52 joerg Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.46 2005/05/23 23:21:49 jmc Exp
* created from NetBSD: syscalls.master,v 1.47 2005/10/18 18:37:44 joerg Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.52 2005/05/23 23:22:27 jmc Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.53 2005/10/18 19:08:52 joerg Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -129,7 +129,11 @@ const char *const linux_syscallnames[] = {
"#84 (unimplemented compat_43_sys_lstat)", /* 84 = unimplemented compat_43_sys_lstat */
#endif
"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 */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.52 2005/05/23 23:22:27 jmc Exp $ */
/* $NetBSD: linux_sysent.c,v 1.53 2005/10/18 19:08:52 joerg Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.46 2005/05/23 23:21:49 jmc Exp
* created from NetBSD: syscalls.master,v 1.47 2005/10/18 18:37:44 joerg Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.52 2005/05/23 23:22:27 jmc Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.53 2005/10/18 19:08:52 joerg Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@ -218,8 +218,13 @@ struct sysent linux_sysent[] = {
#endif
{ 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,