landlock_union_access_masks(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ landlock_union_access_masks(9) πŸ¦‹

okay so bestie, welcome to the Kernel API Manual ✨ β€” this is the page for landlock_union_access_masks, and yes it's a kernel function, no it's not scary, we're gonna get through it together πŸ’…


πŸ’– NAME πŸ’–

landlock_union_access_masks β€” returns, like, all the access rights that are handled in the domain 🫢

basically it's the "gimme the whole picture" function, no cap.


🌸 SYNOPSIS 🌸

struct access_masks landlock_union_access_masks (const struct
landlock_domain *const domain );

it's giving "one function, one job, one iconic signature" ⭐


πŸŽ€ ARGUMENTS πŸŽ€

  • domain β€” the Landlock domain. literally the domain. that's it. that's the whole input πŸ¦‹

πŸ”₯ RETURN πŸ”₯

it hands you back an access_masks result β€” the OR of all the domain's access masks πŸ’œ so every mask in the domain gets OR'd together into one big combined answer. that's the vibe check and it passed πŸ‘‘


🌈 SEE ALSO 🌈

  • the kernel file ./security/landlock/domain.h (that's where the structs live, go look, iykyk πŸ‘€)
  • struct landlock_details(9)
  • struct landlock_hierarchy(9)
  • struct landlock_domain(9)

a little note from me to you: the SEE ALSO entries are struct pages, so bestie, if you're clicking around, bring the struct with you πŸ’…

<div>okay that's the whole page, love u, go read ./security/landlock πŸ“</div>

β€” written under the ./security/landlock source, October 2026, and yes you'll find this exact page filed under landlock_union_access_masks(9) in the manual, periodt πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from