Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165703
b: refs/heads/master
c: e5a4738
h: refs/heads/master
i:
  165701: 9984797
  165699: 01f4cc9
  165695: 97c7950
v: v3
  • Loading branch information
Sukadev Bhattiprolu authored and Linus Torvalds committed Sep 24, 2009
1 parent 78c7bb0 commit 84a924d
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: 123be07b0b399670a7cc3d82fef0cb4f93ef885c
refs/heads/master: e5a4738699d6eca408dcb225bd350413927701e2
2 changes: 1 addition & 1 deletion trunk/kernel/pid_namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ struct pid_namespace *copy_pid_ns(unsigned long flags, struct pid_namespace *old
{
if (!(flags & CLONE_NEWPID))
return get_pid_ns(old_ns);
if (flags & CLONE_THREAD)
if (flags & (CLONE_THREAD|CLONE_PARENT))
return ERR_PTR(-EINVAL);
return create_pid_namespace(old_ns);
}
Expand Down

0 comments on commit 84a924d

Please sign in to comment.