Lines Matching refs:aa_profile
97 static inline unsigned int match_component(struct aa_profile *profile, in match_component()
98 struct aa_profile *tp, in match_component()
132 static int label_compound_match(struct aa_profile *profile, in label_compound_match()
137 struct aa_profile *tp; in label_compound_match()
192 static int label_components_match(struct aa_profile *profile, in label_components_match()
197 struct aa_profile *tp; in label_components_match()
253 static int label_match(struct aa_profile *profile, struct aa_label *label, in label_match()
286 static int change_profile_perms(struct aa_profile *profile, in change_profile_perms()
310 struct aa_profile *profile, unsigned int state) in aa_xattrs_match()
379 static struct aa_profile *__attach_match(const struct linux_binprm *bprm, in __attach_match()
386 struct aa_profile *profile, *candidate = NULL; in __attach_match()
478 struct aa_profile *profile; in find_attach()
500 struct aa_label *x_table_lookup(struct aa_profile *profile, u32 xindex, in x_table_lookup()
516 struct aa_profile *new_profile; in x_table_lookup()
546 static struct aa_label *x_to_label(struct aa_profile *profile, in x_to_label()
613 static struct aa_label *profile_transition(struct aa_profile *profile, in profile_transition()
619 struct aa_profile *component; in profile_transition()
687 struct aa_profile *new_profile = NULL; in profile_transition()
739 static int profile_onexec(struct aa_profile *profile, struct aa_label *onexec, in profile_onexec()
817 struct aa_profile *profile; in handle_onexec()
875 struct aa_profile *profile; in apparmor_bprm_set_creds()
1001 static struct aa_label *build_change_hat(struct aa_profile *profile, in build_change_hat()
1004 struct aa_profile *root, *hat = NULL; in build_change_hat()
1052 struct aa_profile *profile, *root, *hat = NULL; in change_hat()
1167 struct aa_profile *profile; in aa_change_hat()
1275 struct aa_profile *profile, in change_profile_perms_wrapper()
1310 struct aa_profile *profile; in aa_change_profile()
1360 struct aa_profile *tprofile; in aa_change_profile()