ENUM LANDLOCK_KEY_TYPE(9)
β¨ 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 oflandlock_rules.root_inode's node keys. slay π¦LANDLOCK_KEY_NET_PORTβ this is the type oflandlock_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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms