|
|
1.1 root 1: /*
2: * opcodes for ptrace
3: * should be in a system header
4: * sigh
5: */
6:
7: #define P_INIT 0 /* let my parent trace me */
8: #define P_RDI 1 /* read a word of i-space */
9: #define P_RDD 2 /* read a word of d-space */
10: #define P_RDU 3 /* read a word of user block */
11: #define P_WRI 4 /* write a word of i-space */
12: #define P_WRD 5 /* write a word of d-space */
13: #define P_WRU 6 /* write a word to user block */
14: #define P_CONT 7 /* continue running after signal */
15: #define P_KILL 8 /* kill tracee */
16: #define P_STEP 9 /* single step */
17:
18: #define CONTNEXT (int *)1 /* continue where we stopped */
19:
20: typedef long PTWORD;
21: PTWORD ptrace();
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.