summaryrefslogtreecommitdiff
path: root/sys/kern/init_sysent.c
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/kern/init_sysent.c
parent4e75a2f3d47fcb4101ad6c63743e4262538a944a (diff)
Regen after syscall changes (option PTRACE)
Diffstat (limited to 'sys/kern/init_sysent.c')
-rw-r--r--sys/kern/init_sysent.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index b6bbe518fd2..fc74337c149 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: init_sysent.c,v 1.55 2002/02/22 20:55:28 drahn Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.56 2002/03/14 00:44:16 miod Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.48 2002/02/22 20:37:45 drahn Exp
+ * created from; OpenBSD: syscalls.master,v 1.49 2002/03/14 00:42:25 miod Exp
*/
#include <sys/param.h>
@@ -99,8 +99,13 @@ struct sysent sysent[] = {
sys_getuid }, /* 24 = getuid */
{ 0, 0,
sys_geteuid }, /* 25 = geteuid */
+#ifdef PTRACE
{ 4, s(struct sys_ptrace_args),
sys_ptrace }, /* 26 = ptrace */
+#else
+ { 0, 0,
+ sys_nosys }, /* 26 = unimplemented ptrace */
+#endif
{ 3, s(struct sys_recvmsg_args),
sys_recvmsg }, /* 27 = recvmsg */
{ 3, s(struct sys_sendmsg_args),