[PATCH 1/1] export inode_capable
Serge Hallyn
serge.hallyn at ubuntu.com
Fri Jul 5 23:44:50 CDT 2013
Hi Dwight,
as I mentioned earlier I did need this patch to build with xfs=m. But
other than that, I've got a kernel built using your patchset (full src at
http://kernel.ubuntu.com/git?p=serge/ubuntu-saucy.git;a=summary) and
was able to start a user ns container with that kernel. I'll use that
kernel for some more regular lxc testing next week.
Thanks!
Signed-off-by: Serge Hallyn <serge.hallyn at canonical.com>
---
kernel/capability.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/kernel/capability.c b/kernel/capability.c
index f6c2ce5..a04f86f 100644
--- a/kernel/capability.c
+++ b/kernel/capability.c
@@ -464,3 +464,5 @@ bool inode_capable(const struct inode *inode, int cap)
return ns_capable(ns, cap) && kuid_has_mapping(ns, inode->i_uid);
}
+
+EXPORT_SYMBOL_GPL(inode_capable);
--
1.7.9.5
More information about the xfs
mailing list