[PATCH] kexec: add sysctl to disable kexec

Khalid Aziz khalid at gonehiking.org
Mon Dec 9 19:19:48 EST 2013


On Mon, 2013-12-09 at 15:38 -0800, Kees Cook wrote:
> For general-purpose (i.e. distro) kernel builds it makes sense to build with
> CONFIG_KEXEC to allow end users to choose what kind of things they want to do
> with kexec. However, in the face of trying to lock down a system with such
> a kernel, there needs to be a way to disable kexec (much like module loading
> can be disabled). Without this, it is too easy for the root user to modify
> kernel memory even when CONFIG_STRICT_DEVMEM and modules_disabled are set.
> 
> Signed-off-by: Kees Cook <keescook at chromium.org>

Giving Sys admins more control to secure their system is a good idea.
This addition looks good to me.

--
Khalid




More information about the kexec mailing list