Lines Matching defs:ruleset
52 * @node: Node in the ruleset's red-black tree.
57 * is used as a key for this ruleset element. This pointer is set once
74 * struct landlock_hierarchy - Node in a ruleset hierarchy
90 * struct landlock_ruleset - Landlock ruleset
98 * nodes. Once a ruleset is tied to a process (i.e. as a domain), this
109 * @work_free: Enables to free a ruleset within a lockless
124 * descriptors referencing this ruleset.
129 * the same object) rules in this ruleset.
134 * ruleset. This enables to check that all the layers
136 * non-merged ruleset (i.e. not a domain).
141 * actions that are restricted by a ruleset. A domain
149 * lifetime of the ruleset.
159 void landlock_put_ruleset(struct landlock_ruleset *const ruleset);
160 void landlock_put_ruleset_deferred(struct landlock_ruleset *const ruleset);
162 int landlock_insert_rule(struct landlock_ruleset *const ruleset,
168 struct landlock_ruleset *const ruleset);
171 landlock_find_rule(const struct landlock_ruleset *const ruleset,
174 static inline void landlock_get_ruleset(struct landlock_ruleset *const ruleset)
176 if (ruleset)
177 refcount_inc(&ruleset->usage);