The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/include/sys/ptrace.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* <sys/ptrace.h>
    2  * definitions for ptrace(2) 
    3  */
    4 
    5 #ifndef _PTRACE_H
    6 #define _PTRACE_H
    7 
    8 #define T_STOP         -1       /* stop the process */
    9 #define T_OK            0       /* enable tracing by parent for this process */
   10 #define T_GETINS        1       /* return value from instruction space */
   11 #define T_GETDATA       2       /* return value from data space */
   12 #define T_GETUSER       3       /* return value from user process table */
   13 #define T_SETINS        4       /* set value from instruction space */
   14 #define T_SETDATA       5       /* set value from data space */
   15 #define T_SETUSER       6       /* set value in user process table */
   16 #define T_RESUME        7       /* resume execution */
   17 #define T_EXIT          8       /* exit */
   18 #define T_STEP          9       /* set trace bit */
   19 
   20 /* Function Prototypes. */
   21 #ifndef _ANSI_H
   22 #include <ansi.h>
   23 #endif
   24 
   25 _PROTOTYPE( long ptrace, (int _req, pid_t _pid, long _addr, long _data) );
   26 
   27 #endif /* _PTRACE_H */

Cache object: db3c1e124253ea3a0468060a29cf78d9


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.