lsm sb_delete hook, was Re: [PATCH 4/7] vfs: Convert sb->s_inodes iteration to super_iter_inodes()
Mickaël Salaün
mic at digikod.net
Sat Oct 5 16:03:19 UTC 2024
On Sat, Oct 05, 2024 at 05:21:30PM +0200, Mickaël Salaün wrote:
> On Sat, Oct 05, 2024 at 08:57:32AM +1000, Dave Chinner wrote:
> > Actually, it's not as bad as I thought it was going to be. I've
> > already moved both fsnotify and LSM inode eviction to
> > evict_inodes() as preparatory patches...
>
> Good, please Cc me and Günther on related patch series.
>
> FYI, we have the two release_inodes tests to check this hook in
> tools/testing/selftests/landlock/fs_test.c
>
> >
> > Dave Chinner (2):
> > vfs: move fsnotify inode eviction to evict_inodes()
> > vfs, lsm: rework lsm inode eviction at unmount
> >
> > fs/inode.c | 52 +++++++++++++---
> > fs/notify/fsnotify.c | 60 -------------------
> > fs/super.c | 8 +--
> > include/linux/lsm_hook_defs.h | 2 +-
> > include/linux/security.h | 2 +-
> > security/landlock/fs.c | 134 ++++++++++--------------------------------
Please run clang-format -i security/landlock/fs.c
> > security/security.c | 31 ++++++----
> > 7 files changed, 99 insertions(+), 190 deletions(-)
> >
> > -Dave.
> > --
> > Dave Chinner
> > david at fromorbit.com
> >
More information about the Linux-security-module-archive
mailing list