mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* SE Linux as module?
@ 2003-08-11 17:25 Andrey Borzenkov
  2003-08-11 18:27 ` Valdis.Kletnieks
  2003-08-11 18:37 ` Chris Wright
  0 siblings, 2 replies; 3+ messages in thread
From: Andrey Borzenkov @ 2003-08-11 17:25 UTC (permalink / raw)
  To: linux-kernel

config does not suggest building it as module. Is it not possible by design?

TIA

-andrey

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

* Re: SE Linux as module?
  2003-08-11 17:25 SE Linux as module? Andrey Borzenkov
@ 2003-08-11 18:27 ` Valdis.Kletnieks
  2003-08-11 18:37 ` Chris Wright
  1 sibling, 0 replies; 3+ messages in thread
From: Valdis.Kletnieks @ 2003-08-11 18:27 UTC (permalink / raw)
  To: Andrey Borzenkov; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

On Mon, 11 Aug 2003 21:25:04 +0400, Andrey Borzenkov <arvidjaar@mail.ru>  said:
> config does not suggest building it as module. Is it not possible by design?

It wants to initialize itself as early as possible.  If it's a module, then it
can't get itself loaded until *after* userspace has already been started - at
which point we have some unknown number of things already running that don't
have any security context attached to them.  Yes, you still need to load policy
from userspace, but at least every process has been tagged with a "yes, we know
about it".  In addition, if you're loading from userspace, that's a whole
additional set of attacks on it during the bot (for instance, keeping the
insmod from running at all, inserting a trojaned module or policy, etc etc
etc...)


[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]

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

* Re: SE Linux as module?
  2003-08-11 17:25 SE Linux as module? Andrey Borzenkov
  2003-08-11 18:27 ` Valdis.Kletnieks
@ 2003-08-11 18:37 ` Chris Wright
  1 sibling, 0 replies; 3+ messages in thread
From: Chris Wright @ 2003-08-11 18:37 UTC (permalink / raw)
  To: Andrey Borzenkov; +Cc: linux-kernel

* Andrey Borzenkov (arvidjaar@mail.ru) wrote:
> config does not suggest building it as module. Is it not possible by design?

That's correct.  The SELinux module needs to take advantage of early
initialization of all security labels, and thus must be compiled into
the kernel statically.

thanks
-chris
-- 
Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net

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

end of thread, other threads:[~2003-08-11 18:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-11 17:25 SE Linux as module? Andrey Borzenkov
2003-08-11 18:27 ` Valdis.Kletnieks
2003-08-11 18:37 ` Chris Wright

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

Powered by JetHome