Re: [PATCH 08/30] kexec_file: Restrict at runtime if the kernel is locked down

From: Jiri Bohac
Date: Thu Feb 22 2018 - 14:08:22 EST


On Thu, Feb 22, 2018 at 02:20:43PM +0000, David Howells wrote:
> commit 87a39b258eca2e15884ee90c3fcd5758d6057b17
> Author: David Howells <dhowells@xxxxxxxxxx>
> Date: Thu Feb 22 13:42:04 2018 +0000
>
> kexec_file: split KEXEC_VERIFY_SIG into KEXEC_SIG and KEXEC_SIG_FORCE
>
> This is a preparatory patch for kexec_file_load() lockdown. A locked down
> kernel needs to prevent unsigned kernel images to be loaded with

s/to be loaded/from being loaded/
(my own mistake :-))

Otherwise looks good. Thanks for improving my idea.

Reviewed-by: Jiri Bohac <jbohac@xxxxxxx>

--
Jiri Bohac <jbohac@xxxxxxx>
SUSE Labs, Prague, Czechia