[PATCH] ima: process_measurement() needlessly takes inode_lock() on MAY_READ

Roberto Sassu roberto.sassu at huaweicloud.com
Wed Mar 26 09:56:02 UTC 2025


On 3/25/2025 7:18 PM, Frederick Lawler wrote:
> My mistake, this is PATCH v2. I forgot to change the subject in git
> send-email. I can resend if that's needed.

No problem. However, let's change:

mask & MAY_WRITE

with

file->f_mode & FMODE_WRITE

Thanks

Roberto




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