Re: [PATCH v3 1/7] ima: define and call ima_alloc_kexec_file_buf

2024-01-05 Thread Tushar Sugandhi
Thanks Mimi for the feedback on V3. Sorry for the late response, I was on vacation during the holidays. Responses inline. Happy new year! :) On 12/20/23 08:13, Mimi Zohar wrote: On Fri, 2023-12-15 at 17:07 -0800, Tushar Sugandhi wrote: Refactor ima_dump_measurement_list() to move the memory

Re: [PATCH v3 1/7] ima: define and call ima_alloc_kexec_file_buf

2023-12-20 Thread Mimi Zohar
On Fri, 2023-12-15 at 17:07 -0800, Tushar Sugandhi wrote: > Refactor ima_dump_measurement_list() to move the memory allocation part > to a separate function ima_alloc_kexec_file_buf() to allocate buffer of > size 'kexec_segment_size' at kexec 'load'. Make the local variables in > function ima_dump

[PATCH v3 1/7] ima: define and call ima_alloc_kexec_file_buf

2023-12-15 Thread Tushar Sugandhi
Refactor ima_dump_measurement_list() to move the memory allocation part to a separate function ima_alloc_kexec_file_buf() to allocate buffer of size 'kexec_segment_size' at kexec 'load'. Make the local variables in function ima_dump_measurement_list() global, so that they can be accessed from ima_