Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14460
b: refs/heads/master
c: 83aceb5
h: refs/heads/master
v: v3
  • Loading branch information
Matthew Wilcox authored and Kyle McMartin committed Nov 17, 2005
1 parent 85c69b9 commit 799b26d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 92495c0ebc99ee00651571cba6939783234f7696
refs/heads/master: 83aceb5b6a561c7fd7cc2d481fb55a0a2ae37c12
5 changes: 3 additions & 2 deletions trunk/arch/parisc/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
* sigkill. perhaps it should be put in the status
* that it wants to exit.
*/
ret = 0;
DBG("sys_ptrace(KILL)\n");
if (child->exit_state == EXIT_ZOMBIE) /* already dead */
goto out_tsk;
Expand Down Expand Up @@ -344,11 +345,11 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)

case PTRACE_GETEVENTMSG:
ret = put_user(child->ptrace_message, (unsigned int __user *) data);
goto out;
goto out_tsk;

default:
ret = ptrace_request(child, request, addr, data);
goto out;
goto out_tsk;
}

out_wake_notrap:
Expand Down

0 comments on commit 799b26d

Please sign in to comment.