projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cd5a86
)
sparc32: Don't twiddle PT_DTRACE in exec.
author
David S. Miller
<davem@davemloft.net>
Sat, 10 May 2008 07:31:28 +0000
(
00:31
-0700)
committer
David S. Miller
<davem@davemloft.net>
Sat, 10 May 2008 07:31:28 +0000
(
00:31
-0700)
That bit isn't used on this platform.
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/process.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sparc/kernel/process.c
b/arch/sparc/kernel/process.c
index 36431f377deed29c370077df39575a65a0c4ae3c..da48d248cc17d6d9da5f9cb4faf96d1cb41e17e2 100644
(file)
--- 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;
}