Home
last modified time | relevance | path

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

/security/apparmor/
Dpolicy_ns.c41 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns) in aa_ns_visible() argument
43 if (curr == view) in aa_ns_visible()
50 if (view->parent == curr) in aa_ns_visible()
65 const char *aa_ns_name(struct aa_ns *curr, struct aa_ns *view, bool subns) in aa_ns_name() argument
68 if (curr == view) in aa_ns_name()
71 if (aa_ns_visible(curr, view, subns)) { in aa_ns_name()
78 return view->base.hname + strlen(curr->base.hname) + 2; in aa_ns_name()
Dapparmorfs.c670 struct aa_label *label, *curr; in query_data() local
688 curr = begin_current_label_crit_section(); in query_data()
689 label = aa_label_parse(curr, query, GFP_KERNEL, false, false); in query_data()
690 end_current_label_crit_section(curr); in query_data()
761 struct aa_label *label, *curr; in query_label() local
784 curr = begin_current_label_crit_section(); in query_label()
785 label = aa_label_parse(curr, label_name, GFP_KERNEL, false, false); in query_label()
786 end_current_label_crit_section(curr); in query_label()
/security/apparmor/include/
Dpolicy_ns.h87 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns);