diff options
author | 2006-07-19 18:38:42 +0000 | |
---|---|---|
committer | 2006-07-19 18:38:42 +0000 | |
commit | c51e6b7e228454a7d988a6a60e65de61747f418c (patch) | |
tree | 860cd7ba24ff1b5a0a2297e2b2a106404e265405 /sys/kern/sys_process.c | |
parent | from FreeBSD: (diff) | |
download | wireguard-openbsd-c51e6b7e228454a7d988a6a60e65de61747f418c.tar.xz wireguard-openbsd-c51e6b7e228454a7d988a6a60e65de61747f418c.zip |
make kernels w/o PTRACE compile again.
help from mickey@, "commit it" miod@
Diffstat (limited to 'sys/kern/sys_process.c')
-rw-r--r-- | sys/kern/sys_process.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index 45c1e2f77af..55554087a5a 100644 --- a/sys/kern/sys_process.c +++ b/sys/kern/sys_process.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sys_process.c,v 1.35 2006/05/18 21:27:24 miod Exp $ */ +/* $OpenBSD: sys_process.c,v 1.36 2006/07/19 18:38:42 grunk Exp $ */ /* $NetBSD: sys_process.c,v 1.55 1996/05/15 06:17:47 tls Exp $ */ /*- @@ -67,6 +67,7 @@ #include <machine/reg.h> +#ifdef PTRACE /* * Process debugging system call. */ @@ -547,6 +548,7 @@ sys_ptrace(struct proc *p, void *v, register_t *retval) #endif return 0; } +#endif /* PTRACE */ /* * Check if a process is allowed to fiddle with the memory of another. |