Lines Matching refs:rules

96 	struct aa_ruleset *rules = profile->label.rules[0];  in match_component()  local
100 state = aa_dfa_match(rules->file->dfa, state, "&"); in match_component()
102 return aa_dfa_match(rules->file->dfa, state, tp->base.hname); in match_component()
106 state = aa_dfa_match_len(rules->file->dfa, state, ":", 1); in match_component()
107 state = aa_dfa_match(rules->file->dfa, state, ns_name); in match_component()
108 state = aa_dfa_match_len(rules->file->dfa, state, ":", 1); in match_component()
109 return aa_dfa_match(rules->file->dfa, state, tp->base.hname); in match_component()
133 struct aa_ruleset *rules = profile->label.rules[0]; in label_compound_match() local
156 state = aa_dfa_match(rules->file->dfa, state, "//&"); in label_compound_match()
161 *perms = *(aa_lookup_condperms(current_fsuid(), rules->file, state, in label_compound_match()
195 struct aa_ruleset *rules = profile->label.rules[0]; in label_components_match() local
216 tmp = *(aa_lookup_condperms(current_fsuid(), rules->file, state, in label_components_match()
226 tmp = *(aa_lookup_condperms(current_fsuid(), rules->file, state, in label_components_match()
520 struct aa_ruleset *rules = profile->label.rules[0]; in x_table_lookup() local
532 for (next = rules->file->trans.table[index]; next; in x_table_lookup()
665 struct aa_ruleset *rules = profile->label.rules[0]; in profile_transition() local
669 aa_state_t state = rules->file->start[AA_CLASS_FILE]; in profile_transition()
719 state = aa_str_perms(rules->file, state, name, cond, &perms); in profile_transition()
798 struct aa_ruleset *rules = profile->label.rules[0]; in profile_onexec() local
799 aa_state_t state = rules->file->start[AA_CLASS_FILE]; in profile_onexec()
832 state = aa_str_perms(rules->file, state, xname, cond, &perms); in profile_onexec()
841 state = aa_dfa_null_transition(rules->file->dfa, state); in profile_onexec()
1356 struct aa_ruleset *rules = profile->label.rules[0]; in change_profile_perms_wrapper() local
1362 rules->file->start[AA_CLASS_FILE], in change_profile_perms_wrapper()