Home
last modified time | relevance | path

Searched refs:curr (Results 1 – 3 of 3) sorted by relevance

/security/apparmor/
Dpolicy_ns.c37 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns) in aa_ns_visible() argument
39 if (curr == view) in aa_ns_visible()
46 if (view->parent == curr) in aa_ns_visible()
61 const char *aa_ns_name(struct aa_ns *curr, struct aa_ns *view, bool subns) in aa_ns_name() argument
64 if (curr == view) in aa_ns_name()
67 if (aa_ns_visible(curr, view, subns)) { in aa_ns_name()
74 return view->base.hname + strlen(curr->base.hname) + 2; in aa_ns_name()
Dapparmorfs.c666 struct aa_label *label, *curr; in query_data() local
684 curr = begin_current_label_crit_section(); in query_data()
685 label = aa_label_parse(curr, query, GFP_KERNEL, false, false); in query_data()
686 end_current_label_crit_section(curr); in query_data()
757 struct aa_label *label, *curr; in query_label() local
780 curr = begin_current_label_crit_section(); in query_label()
781 label = aa_label_parse(curr, label_name, GFP_KERNEL, false, false); in query_label()
782 end_current_label_crit_section(curr); in query_label()
/security/apparmor/include/
Dpolicy_ns.h83 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns);