[Buildroot] How can I compile a module into the kernel?
Baruch Siach
baruch at tkos.co.il
Sun Oct 21 17:47:05 UTC 2018
Hi Thomas, Patrick,
Thomas Petazzoni writes:
> On Sun, 21 Oct 2018 13:20:58 -0400, Patrick Doyle wrote:
>> Is it possible to permanently disable loadable modules from user space
>> at runtime? Or to only load signed modules? Or do I need to look
>> more carefully at selinux?
>
> Yes, you can lock to only load signed modules, and I think you can also
> lock to no longer load any modules, i.e you can load a few modules at
> boot time, and then ask the kernel to no longer load any other module.
See the 'modules_disabled' sysctl. It's documented in
Documentation/sysctl/kernel.txt.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
More information about the buildroot
mailing list