ENUM LANDLOCK_RULE_TYPE(9)
π NAME π
okay bestie, this page is enum landlock_rule_type β Landlock rule type β from the Kernel API Manual β¨ and it's literally the enum for the Landlock rule type, no cap.
β¨ SYNOPSIS β¨
the whole shape, bestie:
enum landlock_rule_type {
LANDLOCK_RULE_PATH_BENEATH ,
LANDLOCK_RULE_NET_PORT
};
π Constants π
two constants, both giving main-character energy:
LANDLOCK_RULE_PATH_BENEATHβ type of astruct landlock_path_beneath_attr.LANDLOCK_RULE_NET_PORTβ type of astruct landlock_net_port_attr.
π¦ Description π¦
argument of sys_landlock_add_rule β that's it, that's the description, and it's lowkey iconic π
.
π SEE ALSO π
the whole friend group:
- Kernel file
./include/uapi/linux/landlock.hstructlandlock_ruleset_attr(9),landlock_create_ruleset_flags(9),landlock_add_rule_flags(9),landlock_restrict_self_flags(9),struct landlock_path_beneath_attr(9),struct landlock_net_port_attr(9),fs_access(9),net_access(9),scope(9)
mwah π this page is sourced from ./include/uapi/linux, dated October 2026, and it's enum landlock_rule_type(9) β bye bestie, go slay some rules π«Άπ
π¦ 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