diff options
Diffstat (limited to 'kernel/ptrace.c')
-rw-r--r-- | kernel/ptrace.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/ptrace.c b/kernel/ptrace.c index 3eca7a55f2ee..0870523c2ae4 100644 --- a/kernel/ptrace.c +++ b/kernel/ptrace.c | |||
@@ -386,6 +386,9 @@ int ptrace_request(struct task_struct *child, long request, | |||
386 | case PTRACE_SETSIGINFO: | 386 | case PTRACE_SETSIGINFO: |
387 | ret = ptrace_setsiginfo(child, (siginfo_t __user *) data); | 387 | ret = ptrace_setsiginfo(child, (siginfo_t __user *) data); |
388 | break; | 388 | break; |
389 | case PTRACE_DETACH: /* detach a process that was attached. */ | ||
390 | ret = ptrace_detach(child, data); | ||
391 | break; | ||
389 | default: | 392 | default: |
390 | break; | 393 | break; |
391 | } | 394 | } |