Hi, What do you mean by changing kernel.spec? are you building it with rpmbuild ? can you describe how you are trying to build it ? KW On Fri, Dec 27, 2013 at 4:22 PM, Andy Johnson <johnsonzjo@xxxxxxxxx> wrote: > Laxmi, > How exactly do you try to disable it? do you set CONFIG_MODULES to N? > which error do you get in compile ? can you please post it here ? > > regards, > Rami Rosen > http://ramirose.wix.com/ramirosen > > On Fri, Dec 27, 2013 at 10:54 AM, Laxmi Meena <laxmicair@xxxxxxxxx> wrote: >> 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. >> >> _______________________________________________ >> Kernelnewbies mailing list >> Kernelnewbies@xxxxxxxxxxxxxxxxx >> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies >> > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies@xxxxxxxxxxxxxxxxx > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies