Re: [PATCH v8 5/7] ima: kexec: move IMA log copy from kexec load to execute

2025-02-19 Thread kernel test robot
-6-chenste%40linux.microsoft.com patch subject: [PATCH v8 5/7] ima: kexec: move IMA log copy from kexec load to execute config: x86_64-buildonly-randconfig-001-20250220 (https://download.01.org/0day-ci/archive/20250220/202502200920.royk1770-...@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0

Re: [PATCH v8 5/7] ima: kexec: move IMA log copy from kexec load to execute

2025-02-19 Thread steven chen
On 2/19/2025 7:57 AM, Stefan Berger wrote: On 2/18/25 5:55 PM, steven chen wrote: ima_dump_measurement_list() is called during kexec 'load', which may result in loss of IMA measurements during kexec soft reboot.  It needs ... due to missed measurements that only occurred after kexec 'load'.

Re: [PATCH v8 5/7] ima: kexec: move IMA log copy from kexec load to execute

2025-02-19 Thread Stefan Berger
On 2/18/25 5:55 PM, steven chen wrote: ima_dump_measurement_list() is called during kexec 'load', which may result in loss of IMA measurements during kexec soft reboot. It needs ... due to missed measurements that only occurred after kexec 'load'. Therefore, this function needs to be ...

[PATCH v8 5/7] ima: kexec: move IMA log copy from kexec load to execute

2025-02-18 Thread steven chen
ima_dump_measurement_list() is called during kexec 'load', which may result in loss of IMA measurements during kexec soft reboot. It needs to be called during kexec 'execute'. This patch includes the following changes: - Implement kimage_file_post_load() function to be invoked after the new K