projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm...
[linux-2.6-block.git]
/
fs
/
open.c
diff --git
a/fs/open.c
b/fs/open.c
index 8070825b285b93ae6120622eb315d673858e3ce0..2a731b0d08bc456af047ad58ce68c6823f7b1972 100644
(file)
--- a/
fs/open.c
+++ b/
fs/open.c
@@
-443,7
+443,7
@@
retry:
goto dput_and_out;
error = -EPERM;
- if (!ns
own_capable(
CAP_SYS_CHROOT))
+ if (!ns
_capable(current_user_ns(),
CAP_SYS_CHROOT))
goto dput_and_out;
error = security_path_chroot(&path);
if (error)