Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 2 of 2) sorted by relevance

/security/apparmor/
Ddomain.c100 struct aa_profile *tp, in match_component() argument
107 if (profile->ns == tp->ns) in match_component()
108 return aa_dfa_match(profile->file.dfa, state, tp->base.hname); in match_component()
111 ns_name = aa_ns_name(profile->ns, tp->ns, true); in match_component()
115 return aa_dfa_match(profile->file.dfa, state, tp->base.hname); in match_component()
139 struct aa_profile *tp; in label_compound_match() local
144 label_for_each(i, label, tp) { in label_compound_match()
145 if (!aa_ns_visible(profile->ns, tp->ns, subns)) in label_compound_match()
147 state = match_component(profile, tp, stack, state); in label_compound_match()
158 label_for_each_cont(i, label, tp) { in label_compound_match()
[all …]
Dlabel.c1270 struct aa_profile *tp, in match_component() argument
1275 if (profile->ns == tp->ns) in match_component()
1276 return aa_dfa_match(profile->policy.dfa, state, tp->base.hname); in match_component()
1279 ns_name = aa_ns_name(profile->ns, tp->ns, true); in match_component()
1283 return aa_dfa_match(profile->policy.dfa, state, tp->base.hname); in match_component()
1306 struct aa_profile *tp; in label_compound_match() local
1310 label_for_each(i, label, tp) { in label_compound_match()
1311 if (!aa_ns_visible(profile->ns, tp->ns, subns)) in label_compound_match()
1313 state = match_component(profile, tp, state); in label_compound_match()
1324 label_for_each_cont(i, label, tp) { in label_compound_match()
[all …]