Re: [PATCH 01/10] ima: implement function to allocate buffer at kexec load

2023-07-12 Thread Tushar Sugandhi
On 7/11/23 14:11, Mimi Zohar wrote: On Tue, 2023-07-11 at 10:59 -0700, Tushar Sugandhi wrote: Adding Eric to cc. On 7/7/23 06:00, Mimi Zohar wrote: Hi Tushar, On Mon, 2023-07-03 at 14:57 -0700, Tushar Sugandhi wrote: IMA does not provide a mechanism to allocate memory for IMA log storage

Re: [PATCH 01/10] ima: implement function to allocate buffer at kexec load

2023-07-11 Thread Mimi Zohar
On Tue, 2023-07-11 at 10:59 -0700, Tushar Sugandhi wrote: > Adding Eric to cc. > > On 7/7/23 06:00, Mimi Zohar wrote: > > Hi Tushar, > > > > On Mon, 2023-07-03 at 14:57 -0700, Tushar Sugandhi wrote: > >> IMA does not provide a mechanism to allocate memory for IMA log storage > >> during kexec

Re: [PATCH 01/10] ima: implement function to allocate buffer at kexec load

2023-07-11 Thread Tushar Sugandhi
Adding Eric to cc. On 7/7/23 06:00, Mimi Zohar wrote: Hi Tushar, On Mon, 2023-07-03 at 14:57 -0700, Tushar Sugandhi wrote: IMA does not provide a mechanism to allocate memory for IMA log storage during kexec operation. The IMA measurement list is currently being carried across kexec, so

Re: [PATCH 01/10] ima: implement function to allocate buffer at kexec load

2023-07-07 Thread Mimi Zohar
Hi Tushar, On Mon, 2023-07-03 at 14:57 -0700, Tushar Sugandhi wrote: > IMA does not provide a mechanism to allocate memory for IMA log storage > during kexec operation. The IMA measurement list is currently being carried across kexec, so obviously a buffer is being allocated for it. IMA not

[PATCH 01/10] ima: implement function to allocate buffer at kexec load

2023-07-03 Thread Tushar Sugandhi
IMA does not provide a mechanism to allocate memory for IMA log storage during kexec operation. The function should handle the scenario where the kexec load is called multiple times. Implement a function to allocate buffer of size kexec_segment_size at kexec load. If the buffer was already