[Top] [All Lists]

[PATCH 1/1] export inode_capable

To: Dwight Engen <dwight.engen@xxxxxxxxxx>
Subject: [PATCH 1/1] export inode_capable
From: Serge Hallyn <serge.hallyn@xxxxxxxxxx>
Date: Fri, 5 Jul 2013 23:44:50 -0500
Cc: Dave Chinner <david@xxxxxxxxxxxxx>, "Eric W. Biederman" <ebiederm@xxxxxxxxx>, xfs@xxxxxxxxxxx, Brian Foster <bfoster@xxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20130624091035.6274800f@xxxxxxxxxx>
References: <20130619110948.0bfafa2b@xxxxxxxxxx> <20130620001341.GM29338@dastard> <20130620095410.1917d235@xxxxxxxxxx> <20130620220311.GT29376@dastard> <20130621111420.5592707e@xxxxxxxxxx> <20130624003316.GH29376@dastard> <20130624091035.6274800f@xxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
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.


Signed-off-by: Serge Hallyn <serge.hallyn@xxxxxxxxxxxxx>
 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);

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH 1/1] export inode_capable, Serge Hallyn <=