[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170714192909.zoxnlm32nrxguqao@thunk.org>
Date: Fri, 14 Jul 2017 15:29:09 -0400
From: Theodore Ts'o <tytso@....edu>
To: Mimi Zohar <zohar@...ux.vnet.ibm.com>
Cc: "Serge E. Hallyn" <serge@...lyn.com>,
Stefan Berger <stefanb@...ux.vnet.ibm.com>,
Mimi Zohar <zohar@...ibm.com>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
containers@...ts.linux-foundation.org, lkp@...org,
linux-kernel@...r.kernel.org, tycho@...ker.com,
James.Bottomley@...senPartnership.com, vgoyal@...hat.com,
christian.brauner@...lbox.org, amir73il@...il.com,
linux-security-module@...r.kernel.org, casey@...aufler-ca.com
Subject: Re: [PATCH v2] xattr: Enable security.capability in user namespaces
On Fri, Jul 14, 2017 at 02:48:10PM -0400, Mimi Zohar wrote:
>
> If I'm understanding the discussion correctly, this isn't an issue for
> layered copy on write filesystems, as each fs layer could have it's
> own set of xattrs. The underlying and layered xattrs should be able
> to co-exist. Use the layered xattr if it exists, but fall back to
> using the underlying xattr if it doesn't.
Note that this assumes that it is possible to "copy up" the xattrs
without necessarily "copying up" all of the data blocks. This might
be true for some layers, but I don't believe it is currently true for
overlayfs, for example.
- Ted
Powered by blists - more mailing lists