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