Skip to contentSkip to conversation

How to use other LSM modules

DISCUSSION Park Lee 2 participants 2 messages Aug 5, 2004 SELinux security module

lore
Share & tools
lore

Park Lee

author
#0 lore raw

Dear sir,

Quoted 3 lines · you

SELinux needs to be built-in; it requires early initialization in order
to track all kernel objects and apply security labels to them.
Security subsystem is too tightly coupled to the core kernel anyway to >usefully deal with it as a separate "module"; the LSM API is too large >and tightly coupled to the core kernel, and is not guaranteed any >stability even within the stable kernel series. We attempted to support >SELinux as a loadable module for a while during the development of >LSM, but gave it up in 2002 in response to feedback from core kernel >developers.

Do you mean that SELinux is not implemented as a LSM module as it was described in <<Implementing SELinux as a Linux Security Module>>? Has this situation change now? and what about the capability module?

Thanks!

Park Lee

---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!

#1 lore raw
Quoted 3 lines · Park Lee

Do you mean that SELinux is not implemented as a LSM module as it was described in <<Implementing SELinux as a Linux Security Module>>? Has this situation change now? and what about the capability module?

SELinux is implementing using the LSM framework, and is a "security module", but it has to be built-in to the kernel; you cannot build it as a separate module and dynamically insert it into a running kernel. The capability module can be built-in or a loadable module, but if you make it a loadable module, you still need to load it very early in the initialization process to avoid problems with pre-existing processes that lack proper capability assignment. The technical report is out of date, as noted on the web site and in the introduction of the report.

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.