|
@@ -94,6 +94,7 @@ extern void ptrace_notify(int exit_code);
|
|
extern void __ptrace_link(struct task_struct *child,
|
|
extern void __ptrace_link(struct task_struct *child,
|
|
struct task_struct *new_parent);
|
|
struct task_struct *new_parent);
|
|
extern void __ptrace_unlink(struct task_struct *child);
|
|
extern void __ptrace_unlink(struct task_struct *child);
|
|
|
|
+extern int __ptrace_detach(struct task_struct *tracer, struct task_struct *p);
|
|
extern void ptrace_fork(struct task_struct *task, unsigned long clone_flags);
|
|
extern void ptrace_fork(struct task_struct *task, unsigned long clone_flags);
|
|
#define PTRACE_MODE_READ 1
|
|
#define PTRACE_MODE_READ 1
|
|
#define PTRACE_MODE_ATTACH 2
|
|
#define PTRACE_MODE_ATTACH 2
|