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

Günther Noack gnoack3000 at gmail.com
Sun Feb 1 12:24:45 UTC 2026


On Thu, Jan 29, 2026 at 09:28:08PM +0100, Mickaël Salaün wrote:
> On Sun, Jan 25, 2026 at 08:58:53PM +0100, Günther Noack wrote:
> > At the moment, for the filesystem access rights, the data structure
> > has the same size as before, but once we introduce the 17th filesystem
> > access right, it will double in size (from 32 to 64 bytes), as
> > access_mask_t grows from 16 to 32 bit.  See the link below for
> > measurements.
> > 
> > Link: https://lore.kernel.org/all/20260120.haeCh4li9Vae@digikod.net/
> 
> When adding extra links, please add a [1] reference at the end and use
> this reference in the commit message.

Ack, done.

–Günther



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