Re: [RFC PATCH] fw_lockdown: new micro LSM module to prevent loading unsigned firmware

Mimi Zohar
2017-11-10T20:13:43Z

On Fri, 2017-11-10 at 12:58 -0500, Mimi Zohar wrote:
>
> +
> +static struct security_hook_list fw_lockdown_hooks[] = {
> + LSM_HOOK_INIT(fw_lockdown_file_check, fw_lockdown_bprm_check)

Sigh, that should have be:
LSM_HOOK_INIT(kernel_read_file, fw_lockdown_read_file)

> +};