linux-stable/arch
Michal Suchanek cdfceb371d kexec, KEYS, s390: Make use of built-in and secondary keyring for signature verification
[ Upstream commit 0828c4a39b ]

commit e23a8020ce ("s390/kexec_file: Signature verification prototype")
adds support for KEXEC_SIG verification with keys from platform keyring
but the built-in keys and secondary keyring are not used.

Add support for the built-in keys and secondary keyring as x86 does.

Fixes: e23a8020ce ("s390/kexec_file: Signature verification prototype")
Cc: stable@vger.kernel.org
Cc: Philipp Rudo <prudo@linux.ibm.com>
Cc: kexec@lists.infradead.org
Cc: keyrings@vger.kernel.org
Cc: linux-security-module@vger.kernel.org
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Reviewed-by: "Lee, Chun-Yi" <jlee@suse.com>
Acked-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Coiby Xu <coxu@redhat.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-17 14:42:23 +02:00
..
alpha alpha: fix alloc_zeroed_user_highpage_movable() 2022-06-09 10:29:51 +02:00
arc
arm crypto: blake2s - remove shash module 2022-08-17 14:42:20 +02:00
arm64 kexec_file: drop weak attribute from functions 2022-08-17 14:42:23 +02:00
csky csky: patch_text: Fixup last cpu should be master 2022-06-09 10:30:50 +02:00
h8300
hexagon
ia64 ia64: fix typos in comments 2022-08-17 14:40:35 +02:00
m68k m68knommu: fix undefined reference to `mach_get_rtc_pll' 2022-06-14 18:45:03 +02:00
microblaze
mips MIPS: Fixed __debug_virt_addr_valid() 2022-08-17 14:42:06 +02:00
nios2
openrisc openrisc: start CPU timer early in boot 2022-06-09 10:29:44 +02:00
parisc parisc: io_pgetevents_time64() needs compat syscall in 32-bit compat mode 2022-08-17 14:40:09 +02:00
powerpc kexec_file: drop weak attribute from functions 2022-08-17 14:42:23 +02:00
riscv riscv: spinwait: Fix hartid variable type 2022-08-17 14:42:08 +02:00
s390 kexec, KEYS, s390: Make use of built-in and secondary keyring for signature verification 2022-08-17 14:42:23 +02:00
sh sh: convert nommu io{re,un}map() to static inline functions 2022-07-22 10:21:22 +02:00
sparc signal: Deliver SIGTRAP on perf event asynchronously if blocked 2022-06-09 10:30:00 +02:00
um um: random: Don't initialise hwrng struct with zero 2022-08-17 14:41:49 +02:00
x86 kexec_file: drop weak attribute from functions 2022-08-17 14:42:23 +02:00
xtensa xtensa: iss: fix handling error cases in iss_net_configure() 2022-08-17 14:41:47 +02:00
.gitignore
Kconfig arch: make TRACE_IRQFLAGS_NMI_SUPPORT generic 2022-08-17 14:40:20 +02:00