Lines Matching refs:landlock_ruleset
27 static struct landlock_ruleset *create_ruleset(const u32 num_layers) in create_ruleset()
29 struct landlock_ruleset *new_ruleset; in create_ruleset()
48 struct landlock_ruleset *
51 struct landlock_ruleset *new_ruleset; in landlock_create_ruleset()
116 const struct landlock_ruleset ruleset = { in build_check_ruleset()
145 static int insert_rule(struct landlock_ruleset *const ruleset, in insert_rule()
231 int landlock_insert_rule(struct landlock_ruleset *const ruleset, in landlock_insert_rule()
261 static int merge_ruleset(struct landlock_ruleset *const dst, in merge_ruleset()
262 struct landlock_ruleset *const src) in merge_ruleset()
314 static int inherit_ruleset(struct landlock_ruleset *const parent, in inherit_ruleset()
315 struct landlock_ruleset *const child) in inherit_ruleset()
359 static void free_ruleset(struct landlock_ruleset *const ruleset) in free_ruleset()
370 void landlock_put_ruleset(struct landlock_ruleset *const ruleset) in landlock_put_ruleset()
379 struct landlock_ruleset *ruleset; in free_ruleset_work()
381 ruleset = container_of(work, struct landlock_ruleset, work_free); in free_ruleset_work()
385 void landlock_put_ruleset_deferred(struct landlock_ruleset *const ruleset) in landlock_put_ruleset_deferred()
402 struct landlock_ruleset *
403 landlock_merge_ruleset(struct landlock_ruleset *const parent, in landlock_merge_ruleset()
404 struct landlock_ruleset *const ruleset) in landlock_merge_ruleset()
406 struct landlock_ruleset *new_dom; in landlock_merge_ruleset()
455 landlock_find_rule(const struct landlock_ruleset *const ruleset, in landlock_find_rule()