SELinux and kernel module compatibility
Hi,
This is a newbie question.
I have a loadable kernel module that works on linux (RH6.2), when I try to compile it in SELinux, it compiles (it looks like that). When I do an insmod module.o,I get the error saying that it was compiled for a different linux version, while this is an lsm version.
Probably my Makefile is wrong.
Could anyone tell me how to compile in SELinux?
Thanks in advance,
Femitha Majeed
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--
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.
Quoted 10 lines · Femitha Majeed
This is a newbie question.
I have a loadable kernel module that works on linux (RH6.2), when I try to compile it in SELinux, it compiles (it looks like that). When I do an insmod module.o,I get the error saying that it was compiled for a different linux version, while this is an lsm version.
Probably my
Makefileis wrong.Could anyone tell me how to compile in SELinux?
Did you compile the module using the same kernel source tree as used to compile SE Linux?
The proceedure should be:
compile kernel with SE support (don't do "make clean" or anything) compile module.
Anything else can't be expected to work.
Signature · 3 lines
I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won't use my address in the
Quoted 1 line
From field.
--
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.