[PATCH v5 2/6] powerpc/kexec_file: Add KEXEC_SIG support.

Michael Ellerman mpe at ellerman.id.au
Wed Feb 9 04:43:17 UTC 2022


Michal Suchanek <msuchanek at suse.de> writes:
> Copy the code from s390x
>
> Both powerpc and s390x use appended signature format (as opposed to EFI
> based patforms using PE format).
>
> Signed-off-by: Michal Suchanek <msuchanek at suse.de>
> ---
> v3: - Philipp Rudo <prudo at redhat.com>: Update the comit message with
>       explanation why the s390 code is usable on powerpc.
>     - Include correct header for mod_check_sig
>     - Nayna <nayna at linux.vnet.ibm.com>: Mention additional IMA features
>       in kconfig text
> ---
>  arch/powerpc/Kconfig        | 16 ++++++++++++++++
>  arch/powerpc/kexec/elf_64.c | 36 ++++++++++++++++++++++++++++++++++++
>  2 files changed, 52 insertions(+)

I haven't tested this on powerpc, but assuming you have Michal this
looks OK to me.

Acked-by: Michael Ellerman <mpe at ellerman.id.au>

cheers



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