UNION LANDLOCK_KEY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” manual name folded in right here, no copy-pasted header line energy β€” and the page title is union landlock_key(9). This is union landlock_key β€” Key of a ruleset's red-black tree. That’s the whole name, no cap. 🌈

✨ SYNOPSIS ✨

       union landlock_key {
           struct landlock_object *object;
           uintptr_t data;
        };

🫢 Members 🫢

  • object β€” Pointer to identify a kernel object (e.g. an inode). pointer bestie behavior, lowkey iconic. πŸ¦‹
  • data β€” Raw data to identify an arbitrary 32-bit value (e.g. a TCP port). raw data moment, fr fr. πŸ“

πŸ‘‘ SEE ALSO πŸ‘‘

Go read these next, bestie β€” the whole little landlock friend group:

  • Kernel file ./security/landlock/ruleset.h
  • struct landlock_layer(9)
  • enum landlock_key_type(9)
  • struct landlock_id(9)
  • struct landlock_rule(9)
  • struct landlock_rules(9)
  • struct landlock_ruleset(9)
  • landlock_get_rule_root(9)

okay that’s the page, periodt. Cute sign-off: the source/version is ./security/landlock, the date is October 2026, and the footer title is union landlock_key(9) β€” mwah πŸ’‹πŸ’–βœ¨

πŸ“¦ where this page comes from