aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/process.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-03-17 01:01:20 -0400
committerPaul Mackerras <paulus@samba.org>2008-03-25 17:44:05 -0400
commit71e91a0abb839f8d2372236d8fe0513c295ec717 (patch)
tree4dd6b080fb61de5eb309df52c05df8f450439ab6 /arch/powerpc/kernel/process.c
parentbceabd15050d8d0e3742af350f072a110510a2aa (diff)
[POWERPC] Don't touch PT_DTRACE in exec
The PT_DTRACE flag is meaningless and obsolete. Don't touch it. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/process.c')
-rw-r--r--arch/powerpc/kernel/process.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
index 4846bf543a8c..7c8e3da23810 100644
--- a/arch/powerpc/kernel/process.c
+++ b/arch/powerpc/kernel/process.c
@@ -862,11 +862,6 @@ int sys_execve(unsigned long a0, unsigned long a1, unsigned long a2,
862 flush_spe_to_thread(current); 862 flush_spe_to_thread(current);
863 error = do_execve(filename, (char __user * __user *) a1, 863 error = do_execve(filename, (char __user * __user *) a1,
864 (char __user * __user *) a2, regs); 864 (char __user * __user *) a2, regs);
865 if (error == 0) {
866 task_lock(current);
867 current->ptrace &= ~PT_DTRACE;
868 task_unlock(current);
869 }
870 putname(filename); 865 putname(filename);
871out: 866out:
872 return error; 867 return error;