Module: Ragweed::Wraposx::Ptrace

Defined in:
lib/ragweed/wraposx/constants.rb

Overview

PTRACE request constants

Constant Summary collapse

TRACE_ME =

child declares it’s being traced

0
READ_I =

(READ|WRITE)_ are not valid in OSX but defined in ptrace.h

1
READ_D =

read word in child’s I space

2
READ_U =

read word in child’s D space

3
WRITE_I =

read word in child’s user structure

4
WRITE_D =

write word in child’s I space

5
WRITE_U =

write word in child’s D space

6
CONTINUE =

write word in child’s user structure

7
KILL =

continue the child

8
STEP =

kill the child process

9
ATTACH =

single step the child

10
DETACH =

trace some running process

11
SIGEXC =

stop tracing a process

12
THUPDATE =

signals as exceptions for current_proc

13
ATTACHEXC =

signal for thread

14
FORCEQUOTA =

attach to running process with signal exception

30
DENY_ATTACH =

Enforce quota for root

31
FIRSTMACH =

Prevent process from being traced

32