summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-05-10 00:31:28 -0700
committerDavid S. Miller <davem@davemloft.net>2008-05-10 00:31:28 -0700
commitc07c6053c41f736711ed856aa377007078c7c396 (patch)
tree4def633e98841376f7feed3ac6ec78ccc09ef351
parent6cd5a86b56ec8fc8651c043bdb05ea0c662fb704 (diff)
downloadop-kernel-dev-c07c6053c41f736711ed856aa377007078c7c396.zip
op-kernel-dev-c07c6053c41f736711ed856aa377007078c7c396.tar.gz
sparc32: Don't twiddle PT_DTRACE in exec.
That bit isn't used on this platform. Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--arch/sparc/kernel/process.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sparc/kernel/process.c b/arch/sparc/kernel/process.c
index 36431f3..da48d24 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;
}
OpenPOWER on IntegriCloud