]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86: sys32_execve PT_DTRACE
authorRoland McGrath <roland@redhat.com>
Mon, 17 Mar 2008 05:00:05 +0000 (22:00 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:13 +0000 (17:41 +0200)
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>
arch/x86/ia32/sys_ia32.c

index 44d931f084145bd1c4274002ed9a7f24230f1f7c..7cede7a9e0dc4831cf80349ce2a049b88cf8cab8 100644 (file)
@@ -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;
 }