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:
35df17c
)
[PATCH] xtensa: ptrace: EXIT_ZOMBIE fix
author
Bill Huey (hui
<billh@gnuppy.monkey.org>
Fri, 1 Sep 2006 04:27:39 +0000
(21:27 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 1 Sep 2006 18:39:08 +0000
(11:39 -0700)
We're testing the wrong task_struct field.
Acked-by: Chris Zankel <chris@zankel.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/xtensa/kernel/ptrace.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/xtensa/kernel/ptrace.c
b/arch/xtensa/kernel/ptrace.c
index 5064d9383963282433ab4109fcc89eba2c6ccfad..9aea23cc0dc5aee76324d6c74b29bca72afe0e5d 100644
(file)
--- a/
arch/xtensa/kernel/ptrace.c
+++ b/
arch/xtensa/kernel/ptrace.c
@@
-212,7
+212,7
@@
long arch_ptrace(struct task_struct *child, long request, long addr, long data)
*/
case PTRACE_KILL:
ret = 0;
- if (child->
state == EXIT_ZOMBIE)
/* already dead */
+ if (child->
exit_state == EXIT_ZOMBIE)
/* already dead */
break;
child->exit_code = SIGKILL;
child->ptrace &= ~PT_SINGLESTEP;