]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kexec: Disable at runtime if securelevel has been set.
authorMatthew Garrett <matthew.garrett@nebula.com>
Mon, 9 Sep 2013 22:49:42 +0000 (15:49 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 10 Aug 2015 16:24:06 +0000 (09:24 -0700)
commite6c869c53abea68f4582805a8acd2152b0f8b1f3
treef04f0d915c2b6859c33a2883f1bfca700c12b027
parentad0eb71d4366e8375d91ab39c40c30e04eba9171
kexec: Disable at runtime if securelevel has been set.

Orabug: 21539498

kexec permits the loading and execution of arbitrary code in ring 0, which
permits the modification of the running kernel. Prevent this if securelevel
has been set.

Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
kernel/kexec.c