Thread (101 messages) 101 messages, 7 authors, 2024-02-15

Re: [PATCH v9 13/25] security: Introduce file_release hook

From: Al Viro <viro@zeniv.linux.org.uk>
Date: 2024-01-15 19:15:48
Also in: keyrings, linux-fsdevel, linux-integrity, linux-kselftest, linux-nfs, lkml, selinux

On Mon, Jan 15, 2024 at 07:17:57PM +0100, Roberto Sassu wrote:
From: Roberto Sassu <roberto.sassu@huawei.com>

In preparation for moving IMA and EVM to the LSM infrastructure, introduce
the file_release hook.

IMA calculates at file close the new digest of the file content and writes
it to security.ima, so that appraisal at next file access succeeds.

An LSM could implement an exclusive access scheme for files, only allowing
access to files that have no references.
Elaborate that last part, please.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help