Re: [RFC] IMA Log Snapshotting Design Proposal

2023-08-07 Thread Stefan Berger
On 8/1/23 17:21, James Bottomley wrote: On Tue, 2023-08-01 at 12:12 -0700, Sush Shringarputale wrote: [...] Truncating IMA log to reclaim memory is not feasible, since it makes the log go out of sync with the TPM PCR quote making remote attestation fail. This assumption isn't entirely true.

Re: [PATCHv7 3/5] kexec/zboot: Add arch independent zboot support

2023-08-07 Thread Pingfan Liu
On Mon, Aug 7, 2023 at 9:23 PM Simon Horman wrote: > > On Thu, Aug 03, 2023 at 10:41:50AM +0800, Pingfan Liu wrote: > > From: Jeremy Linton > > > > The linux kernel CONFIG_ZBOOT option creates > > self decompressing PE kernel images. So this means > > that kexec should have a generic understandin

Re: [PATCH v2 RESEND] kexec_lock: Replace kexec_mutex() by kexec_lock() in two comments

2023-08-07 Thread Mimi Zohar
On Mon, 2023-08-07 at 10:52 +0800, Wenyu Liu wrote: > kexec_mutex is replaced by an atomic variable > in 05c6257433b (panic, kexec: make __crash_kexec() NMI safe). > > But there are still two comments that referenced kexec_mutex, > replace them by kexec_lock. > > Signed-off-by: Wenyu Liu > Acked

Re: [PATCHv7 1/5] kexec/arm64: Simplify the code for zImage

2023-08-07 Thread Dave Young
On Mon, 7 Aug 2023 at 21:23, Simon Horman wrote: > > On Thu, Aug 03, 2023 at 10:41:48AM +0800, Pingfan Liu wrote: > > Inside zimage_probe(), it uncompresses the kernel and performs some > > check, similar to image_probe(). Taking a close look, the uncompressing > > has already executed before the

Re: [PATCHv7 3/5] kexec/zboot: Add arch independent zboot support

2023-08-07 Thread Simon Horman
On Thu, Aug 03, 2023 at 10:41:50AM +0800, Pingfan Liu wrote: > From: Jeremy Linton > > The linux kernel CONFIG_ZBOOT option creates > self decompressing PE kernel images. So this means > that kexec should have a generic understanding of > the format which may be used by multiple arches. > > So l

Re: [PATCHv7 1/5] kexec/arm64: Simplify the code for zImage

2023-08-07 Thread Simon Horman
On Thu, Aug 03, 2023 at 10:41:48AM +0800, Pingfan Liu wrote: > Inside zimage_probe(), it uncompresses the kernel and performs some > check, similar to image_probe(). Taking a close look, the uncompressing > has already executed before the image probe is called. What is missing > here is to provide