summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-03-16 22:00:05 -0700
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:41:13 +0200
commitb00de174e3d52d9185e2e9937a6a2704c9d7d520 (patch)
treee523f1f4a9d4e34f0ebe0ef6f646eee53c8d03b7 /arch
parent48ee679a02406c65ced67c3951ad19744eb21083 (diff)
downloadlinux-b00de174e3d52d9185e2e9937a6a2704c9d7d520.tar.bz2
x86: sys32_execve PT_DTRACE
The PT_DTRACE flag is meaningless and obsolete. Don't touch it. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/ia32/sys_ia32.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/ia32/sys_ia32.c b/arch/x86/ia32/sys_ia32.c
index 44d931f08414..7cede7a9e0dc 100644
--- a/arch/x86/ia32/sys_ia32.c
+++ b/arch/x86/ia32/sys_ia32.c
@@ -780,11 +780,6 @@ asmlinkage long sys32_execve(char __user *name, compat_uptr_t __user *argv,
if (IS_ERR(filename))
return error;
error = compat_do_execve(filename, argv, envp, regs);
- if (error == 0) {
- task_lock(current);
- current->ptrace &= ~PT_DTRACE;
- task_unlock(current);
- }
putname(filename);
return error;
}