# \[PATCH 08/30\] kexec\_file: Restrict at runtime if the kernel is locked down

- From: Jiri Bohac \<hidden\>
- Date: 2018-02-22 19:08:19 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2018/02/5213632
- Thread: https://ratatoskr.run/linux-security-module/2017/11/5129734/t.md

```text
On Thu, Feb 22, 2018 at 02:20:43PM +0000, David Howells wrote:
> commit 87a39b258eca2e15884ee90c3fcd5758d6057b17
> Author: David Howells [ref]
> 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 <redacted>

-- 
Jiri Bohac [ref]
SUSE Labs, Prague, Czechia

--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
