summaryrefslogtreecommitdiff
path: root/bin/systrace
diff options
context:
space:
mode:
authorNikolay Sturm <sturm@cvs.openbsd.org>2006-01-01 11:48:46 +0000
committerNikolay Sturm <sturm@cvs.openbsd.org>2006-01-01 11:48:46 +0000
commit56eb95b649ea1cb2461b32886770036859e85ef1 (patch)
tree37c287258be242b461bef0cb31352b3a5f1da607 /bin/systrace
parent80b293666a65080a54e86037afd2f28290af71d4 (diff)
add PTRACE and RTHREADS defines
ok miod
Diffstat (limited to 'bin/systrace')
-rw-r--r--bin/systrace/openbsd-syscalls.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/systrace/openbsd-syscalls.c b/bin/systrace/openbsd-syscalls.c
index b958e423206..f0ec7ac11cf 100644
--- a/bin/systrace/openbsd-syscalls.c
+++ b/bin/systrace/openbsd-syscalls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: openbsd-syscalls.c,v 1.28 2004/07/09 23:51:42 deraadt Exp $ */
+/* $OpenBSD: openbsd-syscalls.c,v 1.29 2006/01/01 11:48:45 sturm Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -47,12 +47,14 @@
#include <compat/ultrix/ultrix_syscall.h>
#define KTRACE
+#define PTRACE
#define NFSCLIENT
#define NFSSERVER
#define SYSVSEM
#define SYSVMSG
#define SYSVSHM
#define LFS
+#define RTHREADS
#include <kern/syscalls.c>
#include <compat/bsdos/bsdos_syscalls.c>
@@ -68,12 +70,14 @@
#include <compat/svr4/svr4_syscalls.c>
#include <compat/ultrix/ultrix_syscalls.c>
#undef KTRACE
+#undef PTRACE
#undef NFSCLIENT
#undef NFSSERVER
#undef SYSVSEM
#undef SYSVMSG
#undef SYSVSHM
#undef LFS
+#undef RTHREADS
#include <sys/ioctl.h>
#include <sys/tree.h>