lkml.org 
[lkml]   [2007]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 08/28] SECURITY: Allow kernel services to override LSM settings for task actions [try #2]
    From
    Date
    On Wed, 2007-12-12 at 11:20 -0800, Casey Schaufler wrote:
    > --- David Howells <dhowells@redhat.com> wrote:
    >
    > > Casey Schaufler <casey@schaufler-ca.com> wrote:
    > >
    > > > You may need to have an application, say cachefileselinuxcontext, that will
    > > > read the current policy and spit out an appropriate value of "<whatever>",
    > > > but that can be separate and LSM specific without mucking up your basic
    > > > infrastructure applications.
    > >
    > > What would I do with such a thing? How would it get run? Spat out to where?
    >
    > Put it in /etc/init.d/cachefiles and run it at boot time. Put the
    > result into /etc/cachefiles.conf. Have cachefilesd read it and pass
    > it downward.

    More likely, run it at build time in your .spec file to generate
    cachefiles.conf, then run it again maybe upon a policy update or if the
    user selects a different policy.

    --
    Stephen Smalley
    National Security Agency



    \
     
     \ /
      Last update: 2007-12-12 20:41    [W:4.100 / U:0.080 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site