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

Roberto Sassu
2025-03-26T10:14:58Z

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