]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/kernel/process.c
[POWERPC] Don't touch PT_DTRACE in exec
[linux-2.6-omap-h63xx.git] / arch / powerpc / kernel / process.c
index 4846bf543a8c5cf9dd2f95a611c4deae04cd9863..7c8e3da238107b43fc943f999294cc7f8610671f 100644 (file)
@@ -862,11 +862,6 @@ int sys_execve(unsigned long a0, unsigned long a1, unsigned long a2,
        flush_spe_to_thread(current);
        error = do_execve(filename, (char __user * __user *) a1,
                          (char __user * __user *) a2, regs);
-       if (error == 0) {
-               task_lock(current);
-               current->ptrace &= ~PT_DTRACE;
-               task_unlock(current);
-       }
        putname(filename);
 out:
        return error;