summaryrefslogtreecommitdiffstats
path: root/include/linux/ptrace.h
blob: c98e66a68353d4a65f9ad94d9a230f568bc3e771 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef _LINUX_PTRACE_H
#define _LINUX_PTRACE_H

/*
 * linux/include/linux/ptrace.h
 *
 * structs and defines to help the user use the ptrace system call.
 */

#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		0x10
#define PTRACE_DETACH		0x11

#define PTRACE_SYSCALL		  24

/*
 * include machine dependend stuff
 */
#include <asm/ptrace.h>

#endif