projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix spurious syscall tracing after PTRACE_DETACH + PTRACE_ATTACH
[linux-2.6-block.git]
/
arch
/
i386
/
kernel
/
ptrace.c
diff --git
a/arch/i386/kernel/ptrace.c
b/arch/i386/kernel/ptrace.c
index 0c8f00e69c4d92630256a6530b03e4b4cf4d6190..7c1b92522e95c1177bfb2fb70df497c9262a4856 100644
(file)
--- a/
arch/i386/kernel/ptrace.c
+++ b/
arch/i386/kernel/ptrace.c
@@
-274,7
+274,6
@@
static void clear_singlestep(struct task_struct *child)
void ptrace_disable(struct task_struct *child)
{
clear_singlestep(child);
- clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE);
clear_tsk_thread_flag(child, TIF_SYSCALL_EMU);
}