[PATCH v2 3/3] landlock: transpose the layer masks data structure

Günther Noack gnoack3000 at gmail.com
Mon Jan 26 16:52:16 UTC 2026


On Sun, Jan 25, 2026 at 02:02:50PM -0800, Randy Dunlap wrote:
> The first line here is confusing: "in @rule in @masks"
> Maybe:
> 
> On 1/25/26 11:58 AM, Günther Noack wrote:
> > +/**
> > + * landlock_unmask_layers - Cross off access rights granted in @rule in @masks
> 
>                              - Update (or Remove) access rights in @masks that are
>                                granted in @rules
> 
> ?

Thanks, that is a better wording indeed.

Will be included in next patch set version,
I think this is less grammatically ambiguous:

- * landlock_unmask_layers - Cross off access rights granted in @rule in @masks
+ * landlock_unmask_layers - Remove the access rights in @masks
+ *                          which are granted in @rule

–Günther



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