Lines Matching refs:rule
353 * The lifetime of the returned rule is tied to @domain.
355 * Returns NULL if no rule is found or if @dentry is negative.
361 const struct landlock_rule *rule;
374 rule = landlock_find_rule(domain, id);
376 return rule;
846 const struct landlock_rule *rule;
884 rule = find_rule(domain, walker_path.dentry);
886 rule, access_masked_parent1, layer_masks_parent1,
889 rule, access_masked_parent2, layer_masks_parent2,
892 /* Stops when a rule from each layer grants access. */
1033 * least one rule in each layer.