summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@nevyn.them.org>2002-10-31 01:39:30 -0500
committerDaniel Jacobowitz <drow@nevyn.them.org>2002-10-31 01:39:30 -0500
commitd4a1dada4ba3d3ad75b1e055c1b1701456539d12 (patch)
tree522d8bd8bc3039d3abd5b1b95c388c6f30e821a7 /include/linux
parentb1b782f7b7fced03a6dc51d3e52595fcfc9ac106 (diff)
parente3e8889df67f4d6ce595329ed4afa81c9a0938ca (diff)
Merge nevyn.them.org:/nevyn/big/kernel/linux-2.5
into nevyn.them.org:/nevyn/big/kernel/test/linux-2.5-trace1
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ptrace.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/ptrace.h b/include/linux/ptrace.h
index a0378ef64867..8d4f8dcefbab 100644
--- a/include/linux/ptrace.h
+++ b/include/linux/ptrace.h
@@ -23,6 +23,12 @@
#define PTRACE_SYSCALL 24
+/* 0x4200-0x4300 are reserved for architecture-independent additions. */
+#define PTRACE_SETOPTIONS 0x4200
+
+/* options set using PTRACE_SETOPTIONS */
+#define PTRACE_O_TRACESYSGOOD 0x00000001
+
#include <asm/ptrace.h>
#include <linux/sched.h>
@@ -32,6 +38,7 @@ extern int ptrace_attach(struct task_struct *tsk);
extern int ptrace_detach(struct task_struct *, unsigned int);
extern void ptrace_disable(struct task_struct *);
extern int ptrace_check_attach(struct task_struct *task, int kill);
+extern int ptrace_request(struct task_struct *child, long request, long addr, long data);
extern void __ptrace_link(struct task_struct *child,
struct task_struct *new_parent);
extern void __ptrace_unlink(struct task_struct *child);