Hi All,

As part of hardening of kernel, I want to disable module support. so that in the server dynamic loading of module is not supported. Otherwise it is possible to create malicious modules and load it.
When i try to disable the module support.I am not able to compile the kernel.

Do I need to make changes in kernel.spec file.

Thanks in advance.