[PATCH v3 4/6] ima: Mark concurrent accesses to the iint pointer in the inode security blob

Mimi Zohar zohar at linux.ibm.com
Fri Jan 31 16:59:29 UTC 2025


On Wed, 2025-01-22 at 18:24 +0100, Roberto Sassu wrote:
> From: Roberto Sassu <roberto.sassu at huawei.com>
> 
> Use the READ_ONCE() and WRITE_ONCE() macros to mark concurrent read and
> write accesses to the portion of the inode security blob containing the
> iint pointer.
> 
> Writers are serialized by the iint lock.
> 
> Reviewed-by: Mimi Zohar <zohar at linux.ibm.com>
> Signed-off-by: Roberto Sassu <roberto.sassu at huawei.com>

Reviewed-by: Mimi Zohar <zohar at linux.ibm.com>



More information about the Linux-security-module-archive mailing list