This commit is contained in:
tron 1999-12-16 15:13:41 +00:00
parent 764eda2f33
commit 885afa5fce
8 changed files with 44 additions and 22 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.13 1999/12/05 21:26:36 tron Exp $ */
/* $NetBSD: linux_syscall.h,v 1.14 1999/12/16 15:13:41 tron Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.14 1999/12/05 21:25:36 tron Exp
* created from NetBSD: syscalls.master,v 1.15 1999/12/16 15:13:01 tron Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -64,6 +64,9 @@
/* syscall: "getuid" ret: "uid_t" args: */
#define LINUX_SYS_getuid 24
/* syscall: "ptrace" ret: "int" args: "int" "int" "int" "int" */
#define LINUX_SYS_ptrace 26
/* syscall: "access" ret: "int" args: "char *" "int" */
#define LINUX_SYS_access 33

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.13 1999/12/05 21:26:36 tron Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.14 1999/12/16 15:13:41 tron Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.14 1999/12/05 21:25:36 tron Exp
* created from NetBSD: syscalls.master,v 1.15 1999/12/16 15:13:01 tron Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -60,6 +60,13 @@ struct linux_sys_brk_args {
syscallarg(char *) nsize;
};
struct linux_sys_ptrace_args {
syscallarg(int) request;
syscallarg(int) pid;
syscallarg(int) addr;
syscallarg(int) data;
};
struct linux_sys_access_args {
syscallarg(char *) path;
syscallarg(int) flags;
@ -415,6 +422,7 @@ int compat_43_sys_lseek __P((struct proc *, void *, register_t *));
int sys_getpid __P((struct proc *, void *, register_t *));
int sys_setuid __P((struct proc *, void *, register_t *));
int sys_getuid __P((struct proc *, void *, register_t *));
int linux_sys_ptrace __P((struct proc *, void *, register_t *));
int linux_sys_access __P((struct proc *, void *, register_t *));
int sys_sync __P((struct proc *, void *, register_t *));
int linux_sys_kill __P((struct proc *, void *, register_t *));

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscalls.c,v 1.13 1999/12/05 21:26:36 tron Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.14 1999/12/16 15:13:41 tron Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.14 1999/12/05 21:25:36 tron Exp
* created from NetBSD: syscalls.master,v 1.15 1999/12/16 15:13:01 tron Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@ -54,7 +54,7 @@ char *linux_syscallnames[] = {
"setuid", /* 23 = setuid */
"getuid", /* 24 = getuid */
"#25 (unimplemented)", /* 25 = unimplemented */
"#26 (unimplemented ptrace)", /* 26 = unimplemented ptrace */
"ptrace", /* 26 = ptrace */
"#27 (unimplemented)", /* 27 = unimplemented */
"#28 (unimplemented)", /* 28 = unimplemented */
"#29 (unimplemented)", /* 29 = unimplemented */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_sysent.c,v 1.14 1999/12/05 21:26:36 tron Exp $ */
/* $NetBSD: linux_sysent.c,v 1.15 1999/12/16 15:13:41 tron Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.14 1999/12/05 21:25:36 tron Exp
* created from NetBSD: syscalls.master,v 1.15 1999/12/16 15:13:01 tron Exp
*/
#include "opt_sysv.h"
@ -80,8 +80,8 @@ struct sysent linux_sysent[] = {
sys_getuid }, /* 24 = getuid */
{ 0, 0,
sys_nosys }, /* 25 = unimplemented */
{ 0, 0,
sys_nosys }, /* 26 = unimplemented ptrace */
{ 4, s(struct linux_sys_ptrace_args),
linux_sys_ptrace }, /* 26 = ptrace */
{ 0, 0,
sys_nosys }, /* 27 = unimplemented */
{ 0, 0,

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.11 1999/12/05 21:26:39 tron Exp $ */
/* $NetBSD: linux_syscall.h,v 1.12 1999/12/16 15:13:42 tron Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.11 1999/12/05 21:24:30 tron Exp
* created from NetBSD: syscalls.master,v 1.12 1999/12/16 15:13:02 tron Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -76,6 +76,9 @@
/* syscall: "stime" ret: "int" args: "linux_time_t *" */
#define LINUX_SYS_stime 25
/* syscall: "ptrace" ret: "int" args: "int" "int" "int" "int" */
#define LINUX_SYS_ptrace 26
/* syscall: "alarm" ret: "int" args: "unsigned int" */
#define LINUX_SYS_alarm 27

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.11 1999/12/05 21:26:40 tron Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.12 1999/12/16 15:13:42 tron Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.11 1999/12/05 21:24:30 tron Exp
* created from NetBSD: syscalls.master,v 1.12 1999/12/16 15:13:02 tron Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -82,6 +82,13 @@ struct linux_sys_stime_args {
syscallarg(linux_time_t *) t;
};
struct linux_sys_ptrace_args {
syscallarg(int) request;
syscallarg(int) pid;
syscallarg(int) addr;
syscallarg(int) data;
};
struct linux_sys_alarm_args {
syscallarg(unsigned int) secs;
};
@ -467,6 +474,7 @@ int sys_getpid __P((struct proc *, void *, register_t *));
int sys_setuid __P((struct proc *, void *, register_t *));
int sys_getuid __P((struct proc *, void *, register_t *));
int linux_sys_stime __P((struct proc *, void *, register_t *));
int linux_sys_ptrace __P((struct proc *, void *, register_t *));
int linux_sys_alarm __P((struct proc *, void *, register_t *));
int linux_sys_pause __P((struct proc *, void *, register_t *));
int linux_sys_utime __P((struct proc *, void *, register_t *));

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscalls.c,v 1.11 1999/12/05 21:26:40 tron Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.12 1999/12/16 15:13:42 tron Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.11 1999/12/05 21:24:30 tron Exp
* created from NetBSD: syscalls.master,v 1.12 1999/12/16 15:13:02 tron Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@ -54,7 +54,7 @@ char *linux_syscallnames[] = {
"setuid", /* 23 = setuid */
"getuid", /* 24 = getuid */
"stime", /* 25 = stime */
"#26 (unimplemented ptrace)", /* 26 = unimplemented ptrace */
"ptrace", /* 26 = ptrace */
"alarm", /* 27 = alarm */
"#28 (obsolete ofstat)", /* 28 = obsolete ofstat */
"pause", /* 29 = pause */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_sysent.c,v 1.11 1999/12/05 21:26:40 tron Exp $ */
/* $NetBSD: linux_sysent.c,v 1.12 1999/12/16 15:13:42 tron Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.11 1999/12/05 21:24:30 tron Exp
* created from NetBSD: syscalls.master,v 1.12 1999/12/16 15:13:02 tron Exp
*/
#include "opt_compat_netbsd.h"
@ -81,8 +81,8 @@ struct sysent linux_sysent[] = {
sys_getuid }, /* 24 = getuid */
{ 1, s(struct linux_sys_stime_args),
linux_sys_stime }, /* 25 = stime */
{ 0, 0,
sys_nosys }, /* 26 = unimplemented ptrace */
{ 4, s(struct linux_sys_ptrace_args),
linux_sys_ptrace }, /* 26 = ptrace */
{ 1, s(struct linux_sys_alarm_args),
linux_sys_alarm }, /* 27 = alarm */
{ 0, 0,