Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256859
b: refs/heads/master
c: 0347e17
h: refs/heads/master
i:
  256857: d443c35
  256855: c191627
v: v3
  • Loading branch information
Oleg Nesterov committed Jun 27, 2011
1 parent 355e4c4 commit 6dd0513
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 087806b1281563e4ae7a5bce3155f894af5f4118
refs/heads/master: 0347e17739095c58c0194fed6a61aced3536d258
2 changes: 1 addition & 1 deletion trunk/include/linux/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ extern bool ptrace_may_access(struct task_struct *task, unsigned int mode);

static inline int ptrace_reparented(struct task_struct *child)
{
return child->real_parent != child->parent;
return !same_thread_group(child->real_parent, child->parent);
}

static inline void ptrace_unlink(struct task_struct *child)
Expand Down

0 comments on commit 6dd0513

Please sign in to comment.