scope(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 scope(9) β€” from the Kernel API Manual, bestie ✨

okay so this one's short but it's important, so pay attention πŸ’…

🌈 NAME

scope β€” the scope flags, aka the lil switches that decide what your sandboxed process is allowed to reach outside its own vibe bubble 🫧

✨ Scope flags ✨

So here's the tea β˜•: these flags let you isolate a sandboxed process from a whole set of IPC actions. Basically you flip a flag on for a ruleset and boom β€” the Landlock domain gets isolated, and it's now forbidden from connecting to resources outside the domain. No cap, it's a whole lockdown πŸ’€πŸ”’

πŸ’– Heads up bestie: this is supported since Landlock ABI version 6. If you're on anything older, this is not the moment, iykyk.

πŸŽ€ Scopes πŸŽ€

  • LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET β€” restricts a sandboxed process from connecting to an abstract UNIX socket that was created by a process outside the related Landlock domain (like, say, a parent domain, or a non-sandboxed process) πŸ™ˆπŸš«
  • LANDLOCK_SCOPE_SIGNAL β€” restricts a sandboxed process from sending a signal to another process outside the domain. no sending signals to strangers, periodt βœ‹πŸ’…

πŸ¦‹ SEE ALSO

like, go read these next, fr fr 🫢


and that's the whole page, bestie β€” short, sweet, and absolutely iconic πŸ‘‘

this lil gem lives at ./include/uapi/linux, dated October 2026, and it's the scope(9) page πŸ’– mwah, go sandbox responsibly 🧚✨

πŸ“¦ where this page comes from