Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346315
b: refs/heads/master
c: a85fb27
h: refs/heads/master
i:
  346313: 9b58564
  346311: af94264
v: v3
  • Loading branch information
Eric W. Biederman committed Nov 19, 2012
1 parent d351cc0 commit eac8aa8
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: 50804fe3737ca6a5942fdc2057a18a8141d00141
refs/heads/master: a85fb273c94648cbf20a5f9bcf8bbbb075f271ad
2 changes: 1 addition & 1 deletion trunk/fs/open.c
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ SYSCALL_DEFINE1(chroot, const char __user *, filename)
goto dput_and_out;

error = -EPERM;
if (!capable(CAP_SYS_CHROOT))
if (!nsown_capable(CAP_SYS_CHROOT))
goto dput_and_out;
error = security_path_chroot(&path);
if (error)
Expand Down

0 comments on commit eac8aa8

Please sign in to comment.