summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-03-14 00:44:21 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-03-14 00:44:21 +0000
commit23f1eb80011a08ad6a6ea4f200e3a7d86c78ae1d (patch)
tree8b4e8efa5cc44875877208842538b99cd651e5c3 /sys/compat/linux
parent4e75a2f3d47fcb4101ad6c63743e4262538a944a (diff)
Regen after syscall changes (option PTRACE)
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/linux_syscall.h4
-rw-r--r--sys/compat/linux/linux_syscallargs.h7
-rw-r--r--sys/compat/linux/linux_syscalls.c8
-rw-r--r--sys/compat/linux/linux_sysent.c9
4 files changed, 20 insertions, 8 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h
index 1d4d3840560..b567c016415 100644
--- a/sys/compat/linux/linux_syscall.h
+++ b/sys/compat/linux/linux_syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: linux_syscall.h,v 1.33 2002/02/04 20:06:16 provos Exp $ */
+/* $OpenBSD: linux_syscall.h,v 1.34 2002/03/14 00:44:20 miod Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.32 2002/02/04 20:04:52 provos Exp
+ * created from OpenBSD: syscalls.master,v 1.33 2002/03/14 00:42:25 miod Exp
*/
/* syscall: "syscall" ret: "int" args: */
diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h
index 53b00bd1a3e..42438b81615 100644
--- a/sys/compat/linux/linux_syscallargs.h
+++ b/sys/compat/linux/linux_syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: linux_syscallargs.h,v 1.34 2002/02/04 20:06:16 provos Exp $ */
+/* $OpenBSD: linux_syscallargs.h,v 1.35 2002/03/14 00:44:20 miod Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.32 2002/02/04 20:04:52 provos Exp
+ * created from OpenBSD: syscalls.master,v 1.33 2002/03/14 00:42:25 miod Exp
*/
#ifdef syscallarg
@@ -553,7 +553,10 @@ int linux_sys_umount __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 *));
+#ifdef PTRACE
int linux_sys_ptrace __P((struct proc *, void *, register_t *));
+#else
+#endif
int linux_sys_alarm __P((struct proc *, void *, register_t *));
int linux_sys_ofstat __P((struct proc *, void *, register_t *));
int linux_sys_pause __P((struct proc *, void *, register_t *));
diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c
index 17cc8bee84c..00a090d3b35 100644
--- a/sys/compat/linux/linux_syscalls.c
+++ b/sys/compat/linux/linux_syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: linux_syscalls.c,v 1.33 2002/02/04 20:06:16 provos Exp $ */
+/* $OpenBSD: linux_syscalls.c,v 1.34 2002/03/14 00:44:20 miod Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.32 2002/02/04 20:04:52 provos Exp
+ * created from OpenBSD: syscalls.master,v 1.33 2002/03/14 00:42:25 miod Exp
*/
char *linux_syscallnames[] = {
@@ -34,7 +34,11 @@ char *linux_syscallnames[] = {
"linux_setuid16", /* 23 = linux_setuid16 */
"linux_getuid16", /* 24 = linux_getuid16 */
"stime", /* 25 = stime */
+#ifdef PTRACE
"ptrace", /* 26 = ptrace */
+#else
+ "#26 (unimplemented ptrace)", /* 26 = unimplemented ptrace */
+#endif
"alarm", /* 27 = alarm */
"ofstat", /* 28 = ofstat */
"pause", /* 29 = pause */
diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c
index 3867d92625a..2875f99c9bd 100644
--- a/sys/compat/linux/linux_sysent.c
+++ b/sys/compat/linux/linux_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: linux_sysent.c,v 1.34 2002/02/04 20:06:16 provos Exp $ */
+/* $OpenBSD: linux_sysent.c,v 1.35 2002/03/14 00:44:20 miod Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.32 2002/02/04 20:04:52 provos Exp
+ * created from OpenBSD: syscalls.master,v 1.33 2002/03/14 00:42:25 miod Exp
*/
#include <sys/param.h>
@@ -72,8 +72,13 @@ struct sysent linux_sysent[] = {
sys_getuid }, /* 24 = linux_getuid16 */
{ 1, s(struct linux_sys_stime_args),
linux_sys_stime }, /* 25 = stime */
+#ifdef PTRACE
{ 0, 0,
linux_sys_ptrace }, /* 26 = ptrace */
+#else
+ { 0, 0,
+ sys_nosys }, /* 26 = unimplemented ptrace */
+#endif
{ 1, s(struct linux_sys_alarm_args),
linux_sys_alarm }, /* 27 = alarm */
{ 0, 0,