lsm sb_delete hook, was Re: [PATCH 4/7] vfs: Convert sb->s_inodes iteration to super_iter_inodes()
Linus Torvalds
torvalds at linux-foundation.org
Tue Oct 8 00:54:16 UTC 2024
On Mon, 7 Oct 2024 at 17:28, Linus Torvalds
<torvalds at linux-foundation.org> wrote:
>
> And yes, this changes the timing on when fsnotify events happen, but
> what I'm actually hoping for is that Jan will agree that it doesn't
> actually matter semantically.
.. and yes, I realize it might actually matter. fsnotify does do
'ihold()' to hold an inode ref, and with this that would actually be
more or less pointless, because the mark would be removed _despite_
such a ref.
So maybe it's not an option to do what I suggested. I don't know the
users well enough.
Linus
More information about the Linux-security-module-archive
mailing list