projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
KVM: nEPT: reset PDPTR register cache on nested vmentry emulation
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
capability.c
diff --git
a/kernel/capability.c
b/kernel/capability.c
index 6fc1c8af44df745bad512e02be04645984d1b5a1..4e66bf9275b03edf3c62e0e350afc5248f2b00b8 100644
(file)
--- a/
kernel/capability.c
+++ b/
kernel/capability.c
@@
-452,3
+452,4
@@
bool inode_capable(const struct inode *inode, int cap)
return ns_capable(ns, cap) && kuid_has_mapping(ns, inode->i_uid);
}
return ns_capable(ns, cap) && kuid_has_mapping(ns, inode->i_uid);
}
+EXPORT_SYMBOL(inode_capable);