diff options
Diffstat (limited to 'arch/x86/ia32')
-rw-r--r-- | arch/x86/ia32/sys_ia32.c | 5 |
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, | |||
780 | if (IS_ERR(filename)) | 780 | if (IS_ERR(filename)) |
781 | return error; | 781 | return error; |
782 | error = compat_do_execve(filename, argv, envp, regs); | 782 | error = compat_do_execve(filename, argv, envp, regs); |
783 | if (error == 0) { | ||
784 | task_lock(current); | ||
785 | current->ptrace &= ~PT_DTRACE; | ||
786 | task_unlock(current); | ||
787 | } | ||
788 | putname(filename); | 783 | putname(filename); |
789 | return error; | 784 | return error; |
790 | } | 785 | } |