Searched refs:walker_rule (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/security/landlock/ |
H A D | ruleset.c | 264 struct landlock_rule *walker_rule, *next_rule; in merge_ruleset() local 287 rbtree_postorder_for_each_entry_safe(walker_rule, next_rule, &src->root, in merge_ruleset() 293 if (WARN_ON_ONCE(walker_rule->num_layers != 1)) { in merge_ruleset() 297 if (WARN_ON_ONCE(walker_rule->layers[0].level != 0)) { in merge_ruleset() 301 layers[0].access = walker_rule->layers[0].access; in merge_ruleset() 302 err = insert_rule(dst, walker_rule->object, &layers, in merge_ruleset() 317 struct landlock_rule *walker_rule, *next_rule; in inherit_ruleset() local 329 rbtree_postorder_for_each_entry_safe(walker_rule, next_rule, in inherit_ruleset() 331 err = insert_rule(child, walker_rule->object, in inherit_ruleset() 332 &walker_rule->layers, in inherit_ruleset() [all …]
|