Thread (37 messages) 37 messages, 4 authors, 2020-11-16

Re: [PATCH v22 06/12] fs,security: Add sb_delete hook

From: Jann Horn <jannh@google.com>
Date: 2020-10-29 01:07:05
Also in: linux-api, linux-arch, linux-doc, linux-fsdevel, linux-kselftest, lkml

On Tue, Oct 27, 2020 at 9:04 PM Mickaël Salaün [off-list ref] wrote:
The sb_delete security hook is called when shutting down a superblock,
which may be useful to release kernel objects tied to the superblock's
lifetime (e.g. inodes).

This new hook is needed by Landlock to release (ephemerally) tagged
struct inodes.  This comes from the unprivileged nature of Landlock
described in the next commit.

Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: James Morris <jmorris@namei.org>
Cc: Jann Horn <jannh@google.com>
Cc: Kees Cook <redacted>
Cc: Serge E. Hallyn <serge@hallyn.com>
Signed-off-by: Mickaël Salaün <redacted>
Reviewed-by: Jann Horn <jannh@google.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help