Re: [PATCH v8 22/24] evm: Make it independent from 'integrity' LSM

2023-12-26 Thread Mimi Zohar
On Thu, 2023-12-14 at 18:08 +0100, Roberto Sassu wrote: > From: Roberto Sassu > > Define a new structure for EVM-specific metadata, called evm_iint_cache, > and embed it in the inode security blob. Introduce evm_iint_inode() to > retrieve metadata, and register evm_inode_alloc_security() for the

[PATCH v8 22/24] evm: Make it independent from 'integrity' LSM

2023-12-14 Thread Roberto Sassu
From: Roberto Sassu Define a new structure for EVM-specific metadata, called evm_iint_cache, and embed it in the inode security blob. Introduce evm_iint_inode() to retrieve metadata, and register evm_inode_alloc_security() for the inode_alloc_security LSM hook, to initialize the structure (before