domain_is_scoped(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to domain_is_scoped(9) from the Kernel API Manual πŸ’– this one is literally a vibe check for an interaction from a client/sender to a server/receiver β€” it checks whether that interaction should be restricted based on scope controls. no cap, that’s the whole assignment.


🌸 SYNOPSIS 🌸

bool domain_is_scoped (const struct landlock_domain *const client ,
const struct landlock_domain *const server , access_mask_t scope );

πŸŽ€ ARGUMENTS πŸŽ€

  • client β€” the IPC sender domain. like, the one sending the message πŸ’Œ
  • server β€” the IPC receiver domain. the one receiving the message 🫢
  • scope β€” the scope restriction criteria. the rules we’re checking against ✨

πŸ”₯ RETURN πŸ”₯

Returns true if server is in a different domain from client and client is scoped to access server (i.e. access should be denied), false otherwise. so yes bestie, sometimes the answer is β€œdeny” πŸ’… and sometimes it’s β€œyou’re good.”


πŸ¦‹ SEE ALSO πŸ¦‹


mwah πŸ’… this page lives in ./security/landlock, dated October 2026, and yes it’s still domain_is_scoped(9). periodt. πŸŽ€

πŸ“¦ where this page comes from