Re: [PATCH 00/16] Permit filesystem local caching [try #3]

From: Stephen Smalley
Date: Tue Aug 14 2007 - 13:47:25 EST


On Tue, 2007-08-14 at 08:53 -0700, Casey Schaufler wrote:
> --- David Howells <dhowells@xxxxxxxxxx> wrote:
>
> > Casey Schaufler <casey@xxxxxxxxxxxxxxxx> 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/