public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Implementing a Linux Security Module
@ 2008-04-13 13:05 d.capitella
  2008-04-13 16:23 ` Casey Schaufler
  0 siblings, 1 reply; 2+ messages in thread
From: d.capitella @ 2008-04-13 13:05 UTC (permalink / raw)
  To: linux-kernel

Hi there! I'm studying the Linux Security Module Framework, and I'm
experiencing some issues while trying to register the modules I create.

I created a basic test module that just registers itself as a lsm. I
tried to load it on many distros, Ubuntu, Fedora, RedHat but it is not
allowed to register. 

May this be due to other LSMs that doesn't 
support stacking and that are
already loaded on those distros? If 
that's the problem, can't we just
create a security module that does 
nothing but managing the stacking of
other security modules?

Thanks,
Donato Capitella

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Implementing a Linux Security Module
  2008-04-13 13:05 Implementing a Linux Security Module d.capitella
@ 2008-04-13 16:23 ` Casey Schaufler
  0 siblings, 0 replies; 2+ messages in thread
From: Casey Schaufler @ 2008-04-13 16:23 UTC (permalink / raw)
  To: d.capitella@tin.it, linux-kernel, LSM List


--- "d.capitella@tin.it" <d.capitella@tin.it> wrote:

> Hi there! I'm studying the Linux Security Module Framework, and I'm
> experiencing some issues while trying to register the modules I create.
> 
> I created a basic test module that just registers itself as a lsm. I
> tried to load it on many distros, Ubuntu, Fedora, RedHat but it is not
> allowed to register. 
> 
> May this be due to other LSMs that doesn't 
> support stacking and that are
> already loaded on those distros? If 
> that's the problem, can't we just
> create a security module that does 
> nothing but managing the stacking of
> other security modules?

Yes, that is an option.

There was work on a stacking module early on, but the
lack of available modules and some of the stickier interaction
issues lead to it being set aside.

It certainly makes sense to stack a time-clock access
module and a physical location module. It would not
make sense to stack SELinux and ... well, anything.

What you need to do in the current environment is build your
own kernel, not just the module. It takes more time, disk,
and cpu, but that's about it.


Casey Schaufler
casey@schaufler-ca.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-13 16:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-13 13:05 Implementing a Linux Security Module d.capitella
2008-04-13 16:23 ` Casey Schaufler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox