Skip to content

arm64: kexec_file: use more system keyrings to verify kernel image signature + dependencies

Michal Suchanek kexec keyrings linux-arm-kernel linux-s390 linux-security-module linuxppc-dev lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6s390/kexec_file: move kernel image size checkarch/s390/boot/head.S arch/s390/include/asm/setup.h arch/s390/kernel/machine_kexec_file.c+2 -180 replies
2/6kexec_file: drop weak attribute from functionsarch/arm64/include/asm/kexec.h arch/powerpc/include/asm/kexec.h arch/s390/include/asm/kexec.h +3 more+61 -400 replies
3/6kexec: drop weak attribute from functionsarch/arm64/include/asm/kexec.h arch/powerpc/include/asm/kexec.h arch/s390/include/asm/kexec.h +3 more+66 -330 replies
4/6kexec: clean up arch_kexec_kernel_verify_siginclude/linux/kexec.h kernel/kexec_file.c+13 -250 replies
5/6kexec, KEYS: make the code in bzImage64_verify_sig genericarch/x86/kernel/kexec-bzimage64.c include/linux/kexec.h kernel/kexec_file.c+25 -190 replies
6/6arm64: kexec_file: use more system keyrings to verify kernel image signaturearch/arm64/kernel/kexec_image.c+1 -100 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by.

PatchHeiko CarstensMichal SuchanekBaoquan HeWill Deacon
1/6R-b
2/6
3/6
4/6R-b A-b
5/6R-b
6/6A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 5.15 0/6] arm64: kexec_file: use more system keyrings to verify kernel image signature + dependencies

Hello,

this is backport of commit 0d519cadf751
("arm64: kexec_file: use more system keyrings to verify kernel image signature") to table 5.15 tree including the preparatory patches.

Some patches needed minor adjustment for context.

Thanks

Michal

Coiby Xu (3):
kexec: clean up arch_kexec_kernel_verify_sig
kexec, KEYS: make the code in bzImage64_verify_sig generic
arm64: kexec_file: use more system keyrings to verify kernel image
signature

Naveen N. Rao (2):
kexec_file: drop weak attribute from functions
kexec: drop weak attribute from functions

Sven Schnelle (1):
s390/kexec_file: move kernel image size check

 arch/arm64/include/asm/kexec.h        | 20 ++++++-
 arch/arm64/kernel/kexec_image.c       | 11 +---
 arch/powerpc/include/asm/kexec.h      | 14 +++++
 arch/s390/boot/head.S                 |  2 -
 arch/s390/include/asm/kexec.h         | 14 +++++
 arch/s390/include/asm/setup.h         |  1 -
 arch/s390/kernel/machine_kexec_file.c | 17 +-----
 arch/x86/include/asm/kexec.h          | 12 ++++
 arch/x86/kernel/kexec-bzimage64.c     | 20 +------
 include/linux/kexec.h                 | 82 ++++++++++++++++++++++----
 kernel/kexec_core.c                   | 27 ---------
 kernel/kexec_file.c                   | 83 ++++++++++-----------------
 12 files changed, 163 insertions(+), 140 deletions(-)
Signature · 1 line
2.35.3