Home
last modified time | relevance | path

Searched refs:aa_ns_visible (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/security/apparmor/
H A Dprocattr.c39 if (!aa_ns_visible(current_ns, ns, true)) { in aa_getprocattr()
H A Dpolicy_ns.c30 * aa_ns_visible - test if @view is visible from @curr
37 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns) in aa_ns_visible() function
67 if (aa_ns_visible(curr, view, subns)) { in aa_ns_name()
H A Dlabel.c1261 return aa_ns_visible(profile->ns, labels_ns(label), true); in label_is_visible()
1311 if (!aa_ns_visible(profile->ns, tp->ns, subns)) in label_compound_match()
1325 if (!aa_ns_visible(profile->ns, tp->ns, subns)) in label_compound_match()
1371 if (!aa_ns_visible(profile->ns, tp->ns, subns)) in label_components_match()
1387 if (!aa_ns_visible(profile->ns, tp->ns, subns)) in label_components_match()
1561 if (aa_ns_visible(ns, profile->ns, flags & FLAG_VIEW_SUBNS)) { in label_modename()
1594 if (aa_ns_visible(ns, profile->ns, in display_mode()
1644 if (aa_ns_visible(ns, profile->ns, flags & FLAG_VIEW_SUBNS)) { in aa_label_snxprint()
H A Ddomain.c143 if (!aa_ns_visible(profile->ns, tp->ns, subns)) in label_compound_match()
157 if (!aa_ns_visible(profile->ns, tp->ns, subns)) in label_compound_match()
205 if (!aa_ns_visible(profile->ns, tp->ns, subns)) in label_components_match()
221 if (!aa_ns_visible(profile->ns, tp->ns, subns)) in label_components_match()
H A Dpolicy.c653 if (root_in_user_ns && aa_ns_visible(view_ns, ns, true) && in policy_view_capable()
/kernel/linux/linux-6.6/security/apparmor/
H A Dprocattr.c36 if (!aa_ns_visible(current_ns, ns, true)) { in aa_getprocattr()
H A Dpolicy_ns.c33 * aa_ns_visible - test if @view is visible from @curr
40 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns) in aa_ns_visible() function
70 if (aa_ns_visible(curr, view, subns)) { in aa_ns_name()
H A Dlabel.c1308 if (!aa_ns_visible(profile->ns, tp->ns, subns)) in label_compound_match()
1322 if (!aa_ns_visible(profile->ns, tp->ns, subns)) in label_compound_match()
1370 if (!aa_ns_visible(profile->ns, tp->ns, subns)) in label_components_match()
1386 if (!aa_ns_visible(profile->ns, tp->ns, subns)) in label_components_match()
1561 if (aa_ns_visible(ns, profile->ns, flags & FLAG_VIEW_SUBNS)) { in label_modename()
1594 if (aa_ns_visible(ns, profile->ns, in display_mode()
1644 if (aa_ns_visible(ns, profile->ns, flags & FLAG_VIEW_SUBNS)) { in aa_label_snxprint()
H A Ddomain.c137 if (!aa_ns_visible(profile->ns, tp->ns, subns)) in label_compound_match()
151 if (!aa_ns_visible(profile->ns, tp->ns, subns)) in label_compound_match()
201 if (!aa_ns_visible(profile->ns, tp->ns, subns)) in label_components_match()
217 if (!aa_ns_visible(profile->ns, tp->ns, subns)) in label_components_match()
H A Dpolicy.c801 if (root_in_user_ns && aa_ns_visible(view_ns, ns, true) && in aa_policy_view_capable()
/kernel/linux/linux-5.10/security/apparmor/include/
H A Dpolicy_ns.h83 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns);
/kernel/linux/linux-6.6/security/apparmor/include/
H A Dpolicy_ns.h84 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns);

Completed in 14 milliseconds