Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346311
b: refs/heads/master
c: 225778d
h: refs/heads/master
i:
  346309: 57ff284
  346307: 47e3940
  346303: b5eb86d
v: v3
  • Loading branch information
Eric W. Biederman committed Nov 19, 2012
1 parent a60c68d commit af94264
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: af4b8a83add95ef40716401395b44a1b579965f4
refs/heads/master: 225778d68d98e7cfe2579f8d8b2d7b76f8541b8b
2 changes: 2 additions & 0 deletions trunk/kernel/pid_namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ struct pid_namespace *copy_pid_ns(unsigned long flags,
return get_pid_ns(old_ns);
if (flags & (CLONE_THREAD|CLONE_PARENT))
return ERR_PTR(-EINVAL);
if (task_active_pid_ns(current) != old_ns)
return ERR_PTR(-EINVAL);
return create_pid_namespace(user_ns, old_ns);
}

Expand Down

0 comments on commit af94264

Please sign in to comment.