Skip to contentSkip to conversation

Is SELinux support as a kernel module possible ??

DISCUSSION Leo Prasath 2 participants 2 messages Jan 1, 2008 – Jan 2, 2008 2 messages not in the archive SELinux security module

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 21 lines

Hi guys,

I have a need to install SELinux on a sytem running with a kernel without SELinux built into it. However, I cannot reinstall a custom kernel with the SELinux built into it.

So, I am looking at building a kernel module for SELinux and load it. I tried compiling the kernel with config option CONFIG_SECURITY_SELINUX=m and i got this error:

.config:984:warning: symbol value 'm' invalid for SECURITY_SELINUX

Is it possible to load SELinux as a kernel module ? Has anyone tried this ?

Any help is appreciated

Thanks,
Leo

#3 lore raw

Just answered on the fedora selinux list but I'll put it here as well.

No. Not possible.

-Eric

Quoted 10 lines · Leo Prasath
Quoted 7 lines

Hi guys,

I have a need to install SELinux on a sytem running with a kernel without

SELinux built into it. However, I cannot reinstall a custom kernel with the SELinux built into it.

Quoted 1 line
Quoted 14 lines
Quoted 1 line

So, I am looking at building a kernel module for SELinux and load it. I

tried compiling the kernel with config option CONFIG_SECURITY_SELINUX=m and i got this error:

Quoted 4 lines

.config:984:warning: symbol value 'm' invalid for SECURITY_SELINUX

Is it possible to load SELinux as a kernel module ? Has anyone tried this

?

Quoted 5 lines

Any help is appreciated

Thanks,
Leo

--
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.