STRUCT LANDLOCK_ID(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct landlock_id(9) πŸ¦‹

okay so bestie, this is the Kernel API Manual page for struct landlock_id β€” the little struct that’s the unique rule identifier for a ruleset. no cap, that’s the whole vibe. πŸ’–

🏷️ NAME

struct landlock_id - Unique rule identifier for a ruleset

✨ SYNOPSIS

struct landlock_id {
    union landlock_key key;
    const enum landlock_key_type type;
 };

πŸŽ€ Members

  • key β€” Identifies either a kernel object (e.g. an inode) or a raw value (e.g. a TCP port). literally the β€œwhat is this thing?” part.
  • type β€” Type of a landlock_ruleset’s root tree. highkey tells you which tree we’re talking about.

πŸ”Ž SEE ALSO

The kernel file ./security/landlock/ruleset.h is the main character here, and it points you at:

  • struct landlock_layer(9)
  • union landlock_key(9)
  • enum landlock_key_type(9)
  • struct landlock_rule(9)
  • struct landlock_rules(9)
  • struct landlock_ruleset(9)
  • landlock_get_rule_root(9)

mwah πŸ’‹ source/version: ./security/landlock; date: October 2026; page: struct landlock_id(9). that’s the whole manual page, bestie β€” slay. 🫢

πŸ“¦ where this page comes from