Lines Matching refs:rules
314 struct aa_ruleset *rules = profile->label.rules[0]; in match_mnt_path_str() local
321 if (!RULE_MEDIATES(rules, AA_CLASS_MOUNT)) in match_mnt_path_str()
336 pos = do_match_mnt(rules->policy, in match_mnt_path_str()
337 rules->policy->start[AA_CLASS_MOUNT], in match_mnt_path_str()
373 struct aa_ruleset *rules = profile->label.rules[0]; in match_mnt() local
379 if (!RULE_MEDIATES(rules, AA_CLASS_MOUNT)) in match_mnt()
605 struct aa_ruleset *rules = profile->label.rules[0]; in profile_umount() local
614 if (!RULE_MEDIATES(rules, AA_CLASS_MOUNT)) in profile_umount()
622 state = aa_dfa_match(rules->policy->dfa, in profile_umount()
623 rules->policy->start[AA_CLASS_MOUNT], in profile_umount()
625 perms = *aa_lookup_perms(rules->policy, state); in profile_umount()
668 struct aa_ruleset *rules = profile->label.rules[0]; in build_pivotroot() local
680 !RULE_MEDIATES(rules, AA_CLASS_MOUNT)) in build_pivotroot()
695 state = aa_dfa_match(rules->policy->dfa, in build_pivotroot()
696 rules->policy->start[AA_CLASS_MOUNT], in build_pivotroot()
698 state = aa_dfa_null_transition(rules->policy->dfa, state); in build_pivotroot()
699 state = aa_dfa_match(rules->policy->dfa, state, old_name); in build_pivotroot()
700 perms = *aa_lookup_perms(rules->policy, state); in build_pivotroot()