Re: [PATCH v10 6/8] ima: kexec: move IMA log copy from kexec load to execute
From: Mimi Zohar <zohar@linux.ibm.com>
Date: 2025-03-26 23:44:37
Also in:
kexec, linux-integrity, lkml
From: Mimi Zohar <zohar@linux.ibm.com>
Date: 2025-03-26 23:44:37
Also in:
kexec, linux-integrity, lkml
quoted
Hmm, it's easier, while maybe not good. We should not repeatedly introduce similar things into codes. Here, it's similar as what kexec_apply_relocations() and arch_kexec_apply_relocations() are doing. int machine_kexec_post_load(struct kimage *image)
(As discussed) just as kexec_apply_relocation calls arch_kexec_apply_relocations(). Name this function kexec_post_load() and call machine_kexec_post_load(). Mimi
quoted
{ #ifdef CONFIG_IMA_KEXEC ima_kexec_post_load(image); #endif return arch_machine_kexec_post_load(); }