mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
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>
This commit is contained in:
parent
6cd5a86b56
commit
c07c6053c4
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user