[PATCH v4 1/3] landlock: Refactor filesystem access mask management

Günther Noack gnoack at google.com
Sat Nov 9 18:36:23 UTC 2024


On Sat, Nov 09, 2024 at 12:14:49PM +0100, Mickaël Salaün wrote:
> On Sat, Nov 09, 2024 at 12:08:54PM +0100, Mickaël Salaün wrote:
> > Replace get_raw_handled_fs_accesses() with a generic
> > landlock_merge_access_masks(), and replace get_fs_domain() with a
> > generic landlock_match_ruleset().  These helpers will also be useful for
> > other types of access.
> 
> Of course I need to update the commit messages with the new names...

Yes, those are still using the old function names.

At this point my other two remaining remarks are so minor,
I think we can skip another version of this patch set. 👍

Thanks for simplifying the code!

—Günther




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