]> git.baikalelectronics.ru Git - kernel.git/commit
kexec, KEYS, s390: Make use of built-in and secondary keyring for signature verification
authorMichal Suchanek <msuchanek@suse.de>
Thu, 14 Jul 2022 13:40:27 +0000 (21:40 +0800)
committerMimi Zohar <zohar@linux.ibm.com>
Fri, 15 Jul 2022 16:21:16 +0000 (12:21 -0400)
commita47ec778d0917af2ddf7785a4c9011fdadea53a0
tree4df1671788f5ace5cffe50430d5d482acca90cc0
parent004c6c75188253fe75cd040eafb0761f4a8ca9e1
kexec, KEYS, s390: Make use of built-in and secondary keyring for signature verification

commit 2eafec7364f3 ("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: 2eafec7364f3 ("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>
arch/s390/kernel/machine_kexec_file.c