Lines Matching refs:aa_ns
406 static struct aa_policy *__lookup_parent(struct aa_ns *ns, in __lookup_parent()
440 static struct aa_policy *__create_missing_ancestors(struct aa_ns *ns, in __create_missing_ancestors()
527 struct aa_profile *aa_lookupn_profile(struct aa_ns *ns, const char *hname, in aa_lookupn_profile()
546 struct aa_profile *aa_lookup_profile(struct aa_ns *ns, const char *hname) in aa_lookup_profile()
555 struct aa_ns *ns; in aa_fqlookupn_profile()
791 struct aa_label *label, struct aa_ns *ns) in aa_policy_view_capable()
794 struct aa_ns *view_ns = labels_view(label); in aa_policy_view_capable()
811 struct aa_label *label, struct aa_ns *ns) in aa_policy_admin_capable()
824 bool aa_current_policy_view_capable(struct aa_ns *ns) in aa_current_policy_view_capable()
836 bool aa_current_policy_admin_capable(struct aa_ns *ns) in aa_current_policy_admin_capable()
858 struct aa_ns *ns, u32 mask) in aa_may_manage_policy()
973 static int __lookup_replace(struct aa_ns *ns, const char *hname, in __lookup_replace()
1033 ssize_t aa_replace_profiles(struct aa_ns *policy_ns, struct aa_label *label, in aa_replace_profiles()
1037 struct aa_ns *ns = NULL; in aa_replace_profiles()
1294 ssize_t aa_remove_profiles(struct aa_ns *policy_ns, struct aa_label *subj, in aa_remove_profiles()
1297 struct aa_ns *ns = NULL; in aa_remove_profiles()