diff options
author | Roland McGrath <roland@redhat.com> | 2008-03-17 01:01:20 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-03-25 17:44:05 -0400 |
commit | 71e91a0abb839f8d2372236d8fe0513c295ec717 (patch) | |
tree | 4dd6b080fb61de5eb309df52c05df8f450439ab6 /arch/powerpc/kernel/sys_ppc32.c | |
parent | bceabd15050d8d0e3742af350f072a110510a2aa (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/sys_ppc32.c')
-rw-r--r-- | arch/powerpc/kernel/sys_ppc32.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/sys_ppc32.c b/arch/powerpc/kernel/sys_ppc32.c index 4a4f5c6b560b..9c3371e6958e 100644 --- a/arch/powerpc/kernel/sys_ppc32.c +++ b/arch/powerpc/kernel/sys_ppc32.c | |||
@@ -368,11 +368,6 @@ long compat_sys_execve(unsigned long a0, unsigned long a1, unsigned long a2, | |||
368 | 368 | ||
369 | error = compat_do_execve(filename, compat_ptr(a1), compat_ptr(a2), regs); | 369 | error = compat_do_execve(filename, compat_ptr(a1), compat_ptr(a2), regs); |
370 | 370 | ||
371 | if (error == 0) { | ||
372 | task_lock(current); | ||
373 | current->ptrace &= ~PT_DTRACE; | ||
374 | task_unlock(current); | ||
375 | } | ||
376 | putname(filename); | 371 | putname(filename); |
377 | 372 | ||
378 | out: | 373 | out: |