[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <18318.47287.qm@web36611.mail.mud.yahoo.com>
Date: Wed, 15 Aug 2007 09:30:42 -0700 (PDT)
From: Casey Schaufler <casey@...aufler-ca.com>
To: Stephen Smalley <sds@...ho.nsa.gov>, casey@...aufler-ca.com
Cc: David Howells <dhowells@...hat.com>, torvalds@...l.org,
akpm@...l.org, steved@...hat.com, trond.myklebust@....uio.no,
linux-fsdevel@...r.kernel.org, linux-cachefs@...hat.com,
nfsv4@...ux-nfs.org, linux-kernel@...r.kernel.org,
selinux@...ho.nsa.gov,
LSM List <linux-security-module@...r.kernel.org>
Subject: Re: [PATCH 00/16] Permit filesystem local caching [try #3]
--- Stephen Smalley <sds@...ho.nsa.gov> wrote:
> On Tue, 2007-08-14 at 08:53 -0700, Casey Schaufler wrote:
> > --- David Howells <dhowells@...hat.com> wrote:
> >
> > > Casey Schaufler <casey@...aufler-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.
That's true. The deamon needs to run with an appropriate label.
I don't believe that this is situation with a really simple solution
because the activity being performed is unusual.
> --
> Stephen Smalley
> National Security Agency
>
>
> --
> This message was distributed to subscribers of the selinux mailing list.
> If you no longer wish to subscribe, send mail to majordomo@...ho.nsa.gov with
> the words "unsubscribe selinux" without quotes as the message.
>
>
>
Casey Schaufler
casey@...aufler-ca.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists