aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/ptrace.h
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-01-24 18:11:23 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-01-24 18:11:23 +0000
commitbf5bfe45abafa8fdd4e3622caba07996e593ee28 (patch)
treebdd07601a48664202e06e91e38c13ea148fdd4bf /sys/sys/ptrace.h
parent1f8d3d74852eba803996791882da412547c7b02a (diff)
downloadsrc-bf5bfe45abafa8fdd4e3622caba07996e593ee28.tar.gz
src-bf5bfe45abafa8fdd4e3622caba07996e593ee28.zip
proc.h: Add PHOLD()/PRELE() macros to ensure the U area is not swapped
while doing ptrace/procfs in it. ptrace.h: uncomment PT_ATTACH/PT_DETACH, I am committing code to do this.
Notes
Notes: svn path=/head/; revision=13606
Diffstat (limited to 'sys/sys/ptrace.h')
-rw-r--r--sys/sys/ptrace.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/sys/ptrace.h b/sys/sys/ptrace.h
index 9c6c15945a9b..55b176e0ceeb 100644
--- a/sys/sys/ptrace.h
+++ b/sys/sys/ptrace.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ptrace.h 8.2 (Berkeley) 1/4/94
- * $Id: ptrace.h,v 1.3 1994/08/08 13:00:27 davidg Exp $
+ * $Id: ptrace.h,v 1.4 1995/03/16 18:16:23 bde Exp $
*/
#ifndef _SYS_PTRACE_H_
@@ -48,10 +48,8 @@
#define PT_KILL 8 /* kill the child process */
#define PT_STEP 9 /* single step the child */
-#ifdef notdef
#define PT_ATTACH 10 /* trace some running process */
#define PT_DETACH 11 /* stop tracing a process */
-#endif
#define PT_FIRSTMACH 32 /* for machine-specific requests */
#include <machine/ptrace.h> /* machine-specific requests, if any */