Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346320
b: refs/heads/master
c: ae11e0f
h: refs/heads/master
v: v3
  • Loading branch information
Zhao Hongjiang authored and Eric W. Biederman committed Nov 19, 2012
1 parent fb16227 commit 9012486
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: 0c55cfc4166d9a0f38de779bd4d75a90afbe7734
refs/heads/master: ae11e0f18482bfe0cd83b9b61434ea7e0bd94e25
2 changes: 1 addition & 1 deletion trunk/fs/namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -2775,7 +2775,7 @@ static int mntns_install(struct nsproxy *nsproxy, void *ns)

if (!ns_capable(mnt_ns->user_ns, CAP_SYS_ADMIN) ||
!nsown_capable(CAP_SYS_CHROOT))
return -EINVAL;
return -EPERM;

if (fs->users != 1)
return -EINVAL;
Expand Down

0 comments on commit 9012486

Please sign in to comment.