Lines Matching refs:aa_ns
515 static struct aa_policy *__lookup_parent(struct aa_ns *ns, in __lookup_parent()
549 static struct aa_policy *__create_missing_ancestors(struct aa_ns *ns, in __create_missing_ancestors()
636 struct aa_profile *aa_lookupn_profile(struct aa_ns *ns, const char *hname, in aa_lookupn_profile()
659 struct aa_ns *ns; in aa_fqlookupn_profile()
888 struct aa_label *label, struct aa_ns *ns) in aa_policy_view_capable()
891 struct aa_ns *view_ns = labels_view(label); in aa_policy_view_capable()
908 struct aa_label *label, struct aa_ns *ns) in aa_policy_admin_capable()
921 bool aa_current_policy_view_capable(struct aa_ns *ns) in aa_current_policy_view_capable()
933 bool aa_current_policy_admin_capable(struct aa_ns *ns) in aa_current_policy_admin_capable()
982 struct aa_ns *ns, const struct cred *ocred, u32 mask) in aa_may_manage_policy()
1102 static int __lookup_replace(struct aa_ns *ns, const char *hname, in __lookup_replace()
1162 ssize_t aa_replace_profiles(struct aa_ns *policy_ns, struct aa_label *label, in aa_replace_profiles()
1166 struct aa_ns *ns = NULL; in aa_replace_profiles()
1424 ssize_t aa_remove_profiles(struct aa_ns *policy_ns, struct aa_label *subj, in aa_remove_profiles()
1427 struct aa_ns *ns = NULL; in aa_remove_profiles()