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

Randy Dunlap rdunlap at infradead.org
Mon Jan 26 17:55:46 UTC 2026



On 1/26/26 8:52 AM, Günther Noack wrote:
> 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
> 

Ack, that's good. Thanks.

-- 
~Randy




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