ENUM LANDLOCK_KEY_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

Okay bestie, this is the Kernel API Manual entry for enum landlock_key_type(9), and it is literally all about the type of &union landlock_key πŸ’….

πŸ¦‹ SYNOPSIS πŸ¦‹

enum landlock_key_type {
    LANDLOCK_KEY_INODE ,
    LANDLOCK_KEY_NET_PORT

};

πŸŽ€ Constants πŸŽ€

These are the constants, and yes they are iconic:

  • LANDLOCK_KEY_INODE β€” this is the type of landlock_rules.root_inode's node keys. slay πŸ¦‹
  • LANDLOCK_KEY_NET_PORT β€” this is the type of landlock_rules.root_net_port's node keys. periodt ✨

🌸 SEE ALSO 🌸

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

Big kiss goodbye from ./security/landlock, dated October 2026 πŸ’–πŸŒˆ

πŸ“¦ where this page comes from