[PATCH v5 4/6] module: strip the signature marker in the verification function.

Luis Chamberlain mcgrof at kernel.org
Tue Jan 25 20:23:51 UTC 2022


On Tue, Jan 11, 2022 at 12:37:46PM +0100, Michal Suchanek wrote:
> It is stripped by each caller separately.
> 
> Note: this changes the error for kexec_file from EKEYREJECTED to ENODATA
> when the signature marker is missing.
> 
> Signed-off-by: Michal Suchanek <msuchanek at suse.de>
> ---
> v3: - Philipp Rudo <prudo at redhat.com>: Update the commit with note about
>       change of raturn value
>     - the module_signature.h is now no longer needed for kexec_file

Reviewed-by: Luis Chamberlain <mcgrof at kernel.org>

  Luis



More information about the Linux-security-module-archive mailing list