summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authortron <tron@NetBSD.org>1999-12-16 15:13:41 +0000
committertron <tron@NetBSD.org>1999-12-16 15:13:41 +0000
commit885afa5fcedb3d77ab367d48cfdacb743650aee4 (patch)
treeb27cc841d2df70bde97cffd2f36a09b8f5258fb6 /sys/compat/linux
parent764eda2f33b38038931d0d76f9726758baa0f1d2 (diff)
Regen.
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/arch/alpha/linux_syscall.h7
-rw-r--r--sys/compat/linux/arch/alpha/linux_syscallargs.h12
-rw-r--r--sys/compat/linux/arch/alpha/linux_syscalls.c6
-rw-r--r--sys/compat/linux/arch/alpha/linux_sysent.c8
-rw-r--r--sys/compat/linux/arch/m68k/linux_syscall.h7
-rw-r--r--sys/compat/linux/arch/m68k/linux_syscallargs.h12
-rw-r--r--sys/compat/linux/arch/m68k/linux_syscalls.c6
-rw-r--r--sys/compat/linux/arch/m68k/linux_sysent.c8
8 files changed, 44 insertions, 22 deletions
diff --git a/sys/compat/linux/arch/alpha/linux_syscall.h b/sys/compat/linux/arch/alpha/linux_syscall.h
index 2c103bcfc11..6df8de98b66 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.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
diff --git a/sys/compat/linux/arch/alpha/linux_syscallargs.h b/sys/compat/linux/arch/alpha/linux_syscallargs.h
index adfb5d2faab..8e0ab5a94db 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.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 *));
diff --git a/sys/compat/linux/arch/alpha/linux_syscalls.c b/sys/compat/linux/arch/alpha/linux_syscalls.c
index 57a44468f92..d49f2bd432b 100644
--- a/sys/compat/linux/arch/alpha/linux_syscalls.c
+++ b/sys/compat/linux/arch/alpha/linux_syscalls.c
@@ -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 */
diff --git a/sys/compat/linux/arch/alpha/linux_sysent.c b/sys/compat/linux/arch/alpha/linux_sysent.c
index 55d1b201732..f220a633dd0 100644
--- a/sys/compat/linux/arch/alpha/linux_sysent.c
+++ b/sys/compat/linux/arch/alpha/linux_sysent.c
@@ -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,
diff --git a/sys/compat/linux/arch/m68k/linux_syscall.h b/sys/compat/linux/arch/m68k/linux_syscall.h
index bfb02b9ff1b..8044affd818 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.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
diff --git a/sys/compat/linux/arch/m68k/linux_syscallargs.h b/sys/compat/linux/arch/m68k/linux_syscallargs.h
index d19c51b72ac..c2ecbba1a55 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.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 *));
diff --git a/sys/compat/linux/arch/m68k/linux_syscalls.c b/sys/compat/linux/arch/m68k/linux_syscalls.c
index f6aa65b167b..b7f593c799a 100644
--- a/sys/compat/linux/arch/m68k/linux_syscalls.c
+++ b/sys/compat/linux/arch/m68k/linux_syscalls.c
@@ -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 */
diff --git a/sys/compat/linux/arch/m68k/linux_sysent.c b/sys/compat/linux/arch/m68k/linux_sysent.c
index 02cc80dbb1a..eee3484bd64 100644
--- a/sys/compat/linux/arch/m68k/linux_sysent.c
+++ b/sys/compat/linux/arch/m68k/linux_sysent.c
@@ -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,