STRUCT LAYER_MASKS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct layer_masks(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this page is literally about struct layer_masks, and it’s giving β€œarray of layers” main character energy. Let’s go. πŸ¦‹βœ¨


🌸 NAME 🌸

struct layer_masks β€” an array of struct layer_mask, one per layer. That’s the whole vibe, no cap. πŸ’–

πŸŽ€ SYNOPSIS πŸŽ€

       struct layer_masks {
           struct layer_mask layers[LANDLOCK_MAX_NUM_LAYERS];
        };

✨ Members ✨

  • layers β€” the unfulfilled access rights for each layer. One per layer, bestie, and yes it’s exactly what it sounds like. πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./security/landlock/access.h β€” the kernel file to check out, periodt. πŸ‘‘
  • struct layer_mask(9) β€” the related man page, go give it a read. ✨

mwah πŸ’‹ β€” this page is from ./security/landlock, stamped October 2026, and it’s struct layer_masks(9). πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from