diff options
Diffstat (limited to 'include/linux/ptrace.h')
| -rw-r--r-- | include/linux/ptrace.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/ptrace.h b/include/linux/ptrace.h index ee918bc6e18c..eeb1976ef7bf 100644 --- a/include/linux/ptrace.h +++ b/include/linux/ptrace.h | |||
| @@ -16,8 +16,8 @@ | |||
| 16 | #define PTRACE_KILL 8 | 16 | #define PTRACE_KILL 8 |
| 17 | #define PTRACE_SINGLESTEP 9 | 17 | #define PTRACE_SINGLESTEP 9 |
| 18 | 18 | ||
| 19 | #define PTRACE_ATTACH 0x10 | 19 | #define PTRACE_ATTACH 16 |
| 20 | #define PTRACE_DETACH 0x11 | 20 | #define PTRACE_DETACH 17 |
| 21 | 21 | ||
| 22 | #define PTRACE_SYSCALL 24 | 22 | #define PTRACE_SYSCALL 24 |
| 23 | 23 | ||
| @@ -88,7 +88,6 @@ extern int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __us | |||
| 88 | extern int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len); | 88 | extern int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len); |
| 89 | extern int ptrace_attach(struct task_struct *tsk); | 89 | extern int ptrace_attach(struct task_struct *tsk); |
| 90 | extern int ptrace_detach(struct task_struct *, unsigned int); | 90 | extern int ptrace_detach(struct task_struct *, unsigned int); |
| 91 | extern void __ptrace_detach(struct task_struct *, unsigned int); | ||
| 92 | extern void ptrace_disable(struct task_struct *); | 91 | extern void ptrace_disable(struct task_struct *); |
| 93 | extern int ptrace_check_attach(struct task_struct *task, int kill); | 92 | extern int ptrace_check_attach(struct task_struct *task, int kill); |
| 94 | extern int ptrace_request(struct task_struct *child, long request, long addr, long data); | 93 | extern int ptrace_request(struct task_struct *child, long request, long addr, long data); |
