ENUM LANDLOCK_RULE_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 a struct landlock_path_beneath_attr.
  • LANDLOCK_RULE_NET_PORT β€” type of a struct 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:


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