I read:
i was looking for solution to this on the net and found this "realtime-lsm" kernel modules that i can perhaps use which will perhaps solve the problem. is this the right thing to use?
yes
or is there a option i need to set in compiling the kernel?
you need to enable the security modules to be able to use rt-lsm, my .config looks like this:
CONFIG_SECURITY=y CONFIG_SECURITY_CAPABILITIES=m CONFIG_SECURITY_SELINUX=y CONFIG_SECURITY_SELINUX_DEVELOP=y
HTH
x