Fix spurious syscall tracing after PTRACE_DETACH + PTRACE_ATTACH
[profile/ivi/kernel-x86-ivi.git] / arch / ia64 / kernel / ptrace.c
index 122444a..2e96f17 100644 (file)
@@ -1577,7 +1577,6 @@ sys_ptrace (long request, pid_t pid, unsigned long addr, unsigned long data)
 
              case PTRACE_DETACH:
                /* detach a process that was attached. */
-               clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE);
                ret = ptrace_detach(child, data);
                goto out_tsk;