Commit c07c6053 authored by David S. Miller's avatar David S. Miller

sparc32: Don't twiddle PT_DTRACE in exec.

That bit isn't used on this platform.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6cd5a86b
...@@ -638,11 +638,6 @@ asmlinkage int sparc_execve(struct pt_regs *regs) ...@@ -638,11 +638,6 @@ asmlinkage int sparc_execve(struct pt_regs *regs)
(char __user * __user *)regs->u_regs[base + UREG_I2], (char __user * __user *)regs->u_regs[base + UREG_I2],
regs); regs);
putname(filename); putname(filename);
if (error == 0) {
task_lock(current);
current->ptrace &= ~PT_DTRACE;
task_unlock(current);
}
out: out:
return error; return error;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment