From: David S. Miller Date: Sat, 10 May 2008 07:31:28 +0000 (-0700) Subject: sparc32: Don't twiddle PT_DTRACE in exec. X-Git-Tag: v2.6.26-rc2~4^2~2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c07c6053c41f736711ed856aa377007078c7c396;p=linux-2.6 sparc32: Don't twiddle PT_DTRACE in exec. That bit isn't used on this platform. Signed-off-by: David S. Miller --- diff --git a/arch/sparc/kernel/process.c b/arch/sparc/kernel/process.c index 36431f377d..da48d248cc 100644 --- a/arch/sparc/kernel/process.c +++ b/arch/sparc/kernel/process.c @@ -638,11 +638,6 @@ asmlinkage int sparc_execve(struct pt_regs *regs) (char __user * __user *)regs->u_regs[base + UREG_I2], regs); putname(filename); - if (error == 0) { - task_lock(current); - current->ptrace &= ~PT_DTRACE; - task_unlock(current); - } out: return error; }