[Linux-cachefs] Re: [PATCH 00/16] Permit filesystem local caching [try #3]
Stephen Smalley
sds at tycho.nsa.gov
Tue Aug 14 17:42:48 UTC 2007
On Tue, 2007-08-14 at 08:53 -0700, Casey Schaufler wrote:
> --- David Howells <dhowells at redhat.com> wrote:
>
> > Casey Schaufler <casey at schaufler-ca.com> wrote:
> >
> > > With Smack you can leave the label alone, raise CAP_MAC_OVERRIDE,
> > > do your business of setting the label correctly, and then drop
> > > the capability. No new hooks required.
> >
> > That sounds like a contradiction. How can you both leave it alone and set
> > it?
>
> Whoops, sorry. You leave the process label alone and explicitly
> set the file label using the xattr interfaces.
xattr interfaces don't help with the initial labeling of the file when
it is created.
--
Stephen Smalley
National Security Agency
More information about the Linux-cachefs
mailing list