[PATCH v3 15/25] security: Introduce file_pre_free_security hook

Mimi Zohar zohar at linux.ibm.com
Fri Oct 13 13:50:07 UTC 2023


On Mon, 2023-09-04 at 15:34 +0200, Roberto Sassu wrote:
[..]

> It is useful for IMA to calculate the digest of the file content, just
> before a file descriptor is closed, and update the security.ima xattr with
> the new value.

--> before the last file descriptor opened for write is closed

-- 
thanks,

Mimi



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