Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
ptrace.h File Reference
#include <asm/ptrace.h>

Go to the source code of this file.

Macros

#define PTRACE_TRACEME   0
 
#define PTRACE_PEEKTEXT   1
 
#define PTRACE_PEEKDATA   2
 
#define PTRACE_PEEKUSR   3
 
#define PTRACE_POKETEXT   4
 
#define PTRACE_POKEDATA   5
 
#define PTRACE_POKEUSR   6
 
#define PTRACE_CONT   7
 
#define PTRACE_KILL   8
 
#define PTRACE_SINGLESTEP   9
 
#define PTRACE_ATTACH   16
 
#define PTRACE_DETACH   17
 
#define PTRACE_SYSCALL   24
 
#define PTRACE_SETOPTIONS   0x4200
 
#define PTRACE_GETEVENTMSG   0x4201
 
#define PTRACE_GETSIGINFO   0x4202
 
#define PTRACE_SETSIGINFO   0x4203
 
#define PTRACE_GETREGSET   0x4204
 
#define PTRACE_SETREGSET   0x4205
 
#define PTRACE_SEIZE   0x4206
 
#define PTRACE_INTERRUPT   0x4207
 
#define PTRACE_LISTEN   0x4208
 
#define PTRACE_EVENT_FORK   1
 
#define PTRACE_EVENT_VFORK   2
 
#define PTRACE_EVENT_CLONE   3
 
#define PTRACE_EVENT_EXEC   4
 
#define PTRACE_EVENT_VFORK_DONE   5
 
#define PTRACE_EVENT_EXIT   6
 
#define PTRACE_EVENT_SECCOMP   7
 
#define PTRACE_EVENT_STOP   128
 
#define PTRACE_O_TRACESYSGOOD   1
 
#define PTRACE_O_TRACEFORK   (1 << PTRACE_EVENT_FORK)
 
#define PTRACE_O_TRACEVFORK   (1 << PTRACE_EVENT_VFORK)
 
#define PTRACE_O_TRACECLONE   (1 << PTRACE_EVENT_CLONE)
 
#define PTRACE_O_TRACEEXEC   (1 << PTRACE_EVENT_EXEC)
 
#define PTRACE_O_TRACEVFORKDONE   (1 << PTRACE_EVENT_VFORK_DONE)
 
#define PTRACE_O_TRACEEXIT   (1 << PTRACE_EVENT_EXIT)
 
#define PTRACE_O_TRACESECCOMP   (1 << PTRACE_EVENT_SECCOMP)
 
#define PTRACE_O_MASK   0x000000ff
 

Macro Definition Documentation

#define PTRACE_ATTACH   16

Definition at line 20 of file ptrace.h.

#define PTRACE_CONT   7

Definition at line 16 of file ptrace.h.

#define PTRACE_DETACH   17

Definition at line 21 of file ptrace.h.

#define PTRACE_EVENT_CLONE   3

Definition at line 58 of file ptrace.h.

#define PTRACE_EVENT_EXEC   4

Definition at line 59 of file ptrace.h.

#define PTRACE_EVENT_EXIT   6

Definition at line 61 of file ptrace.h.

#define PTRACE_EVENT_FORK   1

Definition at line 56 of file ptrace.h.

#define PTRACE_EVENT_SECCOMP   7

Definition at line 62 of file ptrace.h.

#define PTRACE_EVENT_STOP   128

Definition at line 64 of file ptrace.h.

#define PTRACE_EVENT_VFORK   2

Definition at line 57 of file ptrace.h.

#define PTRACE_EVENT_VFORK_DONE   5

Definition at line 60 of file ptrace.h.

#define PTRACE_GETEVENTMSG   0x4201

Definition at line 27 of file ptrace.h.

#define PTRACE_GETREGSET   0x4204

Definition at line 48 of file ptrace.h.

#define PTRACE_GETSIGINFO   0x4202

Definition at line 28 of file ptrace.h.

#define PTRACE_INTERRUPT   0x4207

Definition at line 52 of file ptrace.h.

#define PTRACE_KILL   8

Definition at line 17 of file ptrace.h.

#define PTRACE_LISTEN   0x4208

Definition at line 53 of file ptrace.h.

#define PTRACE_O_MASK   0x000000ff

Definition at line 76 of file ptrace.h.

#define PTRACE_O_TRACECLONE   (1 << PTRACE_EVENT_CLONE)

Definition at line 70 of file ptrace.h.

#define PTRACE_O_TRACEEXEC   (1 << PTRACE_EVENT_EXEC)

Definition at line 71 of file ptrace.h.

#define PTRACE_O_TRACEEXIT   (1 << PTRACE_EVENT_EXIT)

Definition at line 73 of file ptrace.h.

#define PTRACE_O_TRACEFORK   (1 << PTRACE_EVENT_FORK)

Definition at line 68 of file ptrace.h.

#define PTRACE_O_TRACESECCOMP   (1 << PTRACE_EVENT_SECCOMP)

Definition at line 74 of file ptrace.h.

#define PTRACE_O_TRACESYSGOOD   1

Definition at line 67 of file ptrace.h.

#define PTRACE_O_TRACEVFORK   (1 << PTRACE_EVENT_VFORK)

Definition at line 69 of file ptrace.h.

#define PTRACE_O_TRACEVFORKDONE   (1 << PTRACE_EVENT_VFORK_DONE)

Definition at line 72 of file ptrace.h.

#define PTRACE_PEEKDATA   2

Definition at line 11 of file ptrace.h.

#define PTRACE_PEEKTEXT   1

Definition at line 10 of file ptrace.h.

#define PTRACE_PEEKUSR   3

Definition at line 12 of file ptrace.h.

#define PTRACE_POKEDATA   5

Definition at line 14 of file ptrace.h.

#define PTRACE_POKETEXT   4

Definition at line 13 of file ptrace.h.

#define PTRACE_POKEUSR   6

Definition at line 15 of file ptrace.h.

#define PTRACE_SEIZE   0x4206

Definition at line 51 of file ptrace.h.

#define PTRACE_SETOPTIONS   0x4200

Definition at line 26 of file ptrace.h.

#define PTRACE_SETREGSET   0x4205

Definition at line 49 of file ptrace.h.

#define PTRACE_SETSIGINFO   0x4203

Definition at line 29 of file ptrace.h.

#define PTRACE_SINGLESTEP   9

Definition at line 18 of file ptrace.h.

#define PTRACE_SYSCALL   24

Definition at line 23 of file ptrace.h.

#define PTRACE_TRACEME   0

Definition at line 9 of file ptrace.h.