Re: [PATCH] tpm: ftpm_tee: remove incorrect of_match_ptr annotation

2025-02-27 Thread Sumit Garg
On Tue, Feb 25, 2025 at 05:37:15PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > Building with W=1 shows a warning about of_ftpm_tee_ids being unused when > CONFIG_OF is disabled: > > drivers/char/tpm/tpm_ftpm_tee.c:356:34: error: unused variable > 'of_ftpm_tee_ids' [-Werror,-Wunuse

Re: [RFC][PATCH] ima: add measurement for first unverified write on ima policy file

2025-02-27 Thread Roberto Sassu
On Thu, 2025-02-27 at 11:36 +, Enrico Bravi wrote: > On Wed, 2025-02-26 at 22:05 -0500, Mimi Zohar wrote: > > On Wed, 2025-02-26 at 22:53 +, Enrico  Bravi wrote: > > > On Tue, 2025-02-25 at 20:53 -0500, Mimi Zohar wrote: > > > > On Tue, 2025-02-25 at 14:12 +0100, Enrico Bravi wrote: > > >

Re: [PATCH 2/2] ima: limit the number of ToMToU integrity violations

2025-02-27 Thread Roberto Sassu
On Wed, 2025-02-26 at 14:19 -0500, Mimi Zohar wrote: > Hi Roberto, > > On Fri, 2025-02-21 at 18:36 +0100, Roberto Sassu wrote: > > On Wed, 2025-02-19 at 11:21 -0500, Mimi Zohar wrote: > > > Each time a file in policy, that is already opened for read, is opened > > > for write a Time-of-Measure-Tim

Re: [RFC][PATCH] ima: add measurement for first unverified write on ima policy file

2025-02-27 Thread Enrico Bravi
On Wed, 2025-02-26 at 22:05 -0500, Mimi Zohar wrote: > On Wed, 2025-02-26 at 22:53 +, Enrico  Bravi wrote: > > On Tue, 2025-02-25 at 20:53 -0500, Mimi Zohar wrote: > > > On Tue, 2025-02-25 at 14:12 +0100, Enrico Bravi wrote: > > > > The first write on the ima policy file permits to override the