Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256861
b: refs/heads/master
c: 479bf98
h: refs/heads/master
i:
  256859: 6dd0513
v: v3
  • Loading branch information
Oleg Nesterov committed Jun 27, 2011
1 parent 87104d8 commit 98e9c66
Show file tree
Hide file tree
Showing 2 changed files with 2 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: bb3696da89743d580f869142d0a6e6ba9b7fe89a
refs/heads/master: 479bf98c1c29b40d86e40a4e6e4944c2f03d9493
3 changes: 1 addition & 2 deletions trunk/kernel/exit.c
Original file line number Diff line number Diff line change
Expand Up @@ -1599,8 +1599,7 @@ static int wait_consider_task(struct wait_opts *wo, int ptrace,
* own children, it should create a separate process which
* takes the role of real parent.
*/
if (likely(!ptrace) && p->ptrace &&
same_thread_group(p->parent, p->real_parent))
if (likely(!ptrace) && p->ptrace && !ptrace_reparented(p))
return 0;

/*
Expand Down

0 comments on commit 98e9c66

Please sign in to comment.