Re: [Patch 7/7] IBAC Patch

From: Pavel Machek
Date: Tue Mar 27 2007 - 12:15:35 EST


Hi!

> > > This is a new Integrity Based Access Control(IBAC) LSM module which
> > > bases access control decisions on the new integrity framework services.
> > > IBAC is a sample LSM module to help clarify the interaction between
> > > LSM and Linux Integrity Modules(LIM).
> > >
> > > - Updated Kconfig SECURITY_IBAC description
> > > and SECURITY_IBAC_BOOTPARAM default value
> > > - Prefixed all log messages with "ibac:"
> > > - Redefined a couple of 'int' variables as 'static int'
> > >
> > > signed-off-by: Mimi Zohar <zohar@xxxxxxxxxx>
> > > ---
> > > Index: linux-2.6.21-rc4-mm1/security/ibac/Kconfig
> > > ===================================================================
> > > --- /dev/null
> > > +++ linux-2.6.21-rc4-mm1/security/ibac/Kconfig
> > > @@ -0,0 +1,41 @@
> > > +config SECURITY_IBAC
> > > + boolean "IBAC support"
> > > + depends on SECURITY && SECURITY_NETWORK && INTEGRITY
> > > + help
> > > + Integrity Based Access Control(IBAC) uses the Linux
> > > + Integrity Module(LIM) API calls to verify an executable's
> > > + metadata and data's integrity. Based on the results,
> > > + execution permission is permitted/denied. Integrity
> > > + providers may implement the LIM hooks differently. For
> > > + more information on integrity verification refer to the
> > > + specific integrity provider documentation.
> >
> > ...sounds like pseudosecurity piece of **** whose only purpose is to
> > prevent computer's owner to hack his own system?
> >
> > Why do we want it?
>
> I assume, as it says not too far above, we want it as
>
> "a sample LSM module to help clarify the interaction between LSM
> and Linux Integrity Modules(LIM)"
>
> Since the LIM stuff is infrastructure code, a simple user is nice of her
> to provide, like the root_plug LSM.
>
> Perhaps the comments should warn that using this for real by itself
> would be trivial to work around?

Certainly. And I'm not sure if we are not carying enough example code
already :-).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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/