diff options
author | David S. Miller <davem@davemloft.net> | 2008-05-10 00:31:28 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-05-15 07:50:06 -0700 |
commit | 7d33036198e7c7e0c298dc447aa355f18840120b (patch) | |
tree | 8afa3e74ec4d635b32f6f116645e91781ec70870 /arch | |
parent | b6c84db1836c4af6c84d2e6d69c060354ff0d9e0 (diff) |
sparc32: Don't twiddle PT_DTRACE in exec.
[ Upstream commit: c07c6053c41f736711ed856aa377007078c7c396 ]
That bit isn't used on this platform.
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc/kernel/process.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sparc/kernel/process.c b/arch/sparc/kernel/process.c index 709de5ec373b..a65aed3e1626 100644 --- a/arch/sparc/kernel/process.c +++ b/arch/sparc/kernel/process.c @@ -640,11 +640,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; } |