diff options
author | Philipp Rudo | 2019-02-26 10:50:39 +0100 |
---|---|---|
committer | Martin Schwidefsky | 2019-04-29 10:44:01 +0200 |
commit | e23a8020ce4e094e10d717d39a8ce799243bf8c1 (patch) | |
tree | aa5253ea9daa7ccacaa018e72161e773ee4a2ac5 /arch/s390/include | |
parent | s390/kexec_file: Load new kernel to absolute 0 (diff) | |
download | kernel-qcow2-linux-e23a8020ce4e094e10d717d39a8ce799243bf8c1.tar.gz kernel-qcow2-linux-e23a8020ce4e094e10d717d39a8ce799243bf8c1.tar.xz kernel-qcow2-linux-e23a8020ce4e094e10d717d39a8ce799243bf8c1.zip |
s390/kexec_file: Signature verification prototype
Add kernel signature verification to kexec_file. The verification is based
on module signature verification and works with kernel images signed via
scripts/sign-file.
Signed-off-by: Philipp Rudo <prudo@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include')
-rw-r--r-- | arch/s390/include/asm/kexec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/kexec.h b/arch/s390/include/asm/kexec.h index 9ec077b0fb4d..59026899e766 100644 --- a/arch/s390/include/asm/kexec.h +++ b/arch/s390/include/asm/kexec.h @@ -65,6 +65,7 @@ struct s390_load_data { size_t memsz; }; +int s390_verify_sig(const char *kernel, unsigned long kernel_len); void *kexec_file_add_components(struct kimage *image, int (*add_kernel)(struct kimage *image, struct s390_load_data *data)); |