From 0cf3f9db4e4d9c10009d4148b66c29ce59642434 Mon Sep 17 00:00:00 2001 From: matt Date: Wed, 30 Aug 2006 11:34:26 +0000 Subject: [PATCH] Add || defined(_KERNEL) to ptrace entry (like ktrace). --- sys/kern/syscalls.master | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index f56b1c111bc6..c9062f85367e 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -1,4 +1,4 @@ - $NetBSD: syscalls.master,v 1.157 2006/08/29 23:34:48 matt Exp $ + $NetBSD: syscalls.master,v 1.158 2006/08/30 11:34:26 matt Exp $ ; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 @@ -105,7 +105,7 @@ 24 STD { uid_t sys_getuid(void); } #endif 25 STD { uid_t sys_geteuid(void); } -#ifdef PTRACE +#if defined(PTRACE) || !defined(_KERNEL) 26 STD { int sys_ptrace(int req, pid_t pid, caddr_t addr, \ int data); } #else