Lines Matching refs:aa_profile
60 static int may_change_ptraced_domain(struct aa_profile *to_profile) in may_change_ptraced_domain()
63 struct aa_profile *tracerp = NULL; in may_change_ptraced_domain()
95 static struct file_perms change_profile_perms(struct aa_profile *profile, in change_profile_perms()
139 static struct aa_profile *__attach_match(const char *name, in __attach_match()
143 struct aa_profile *profile, *candidate = NULL; in __attach_match()
173 static struct aa_profile *find_attach(struct aa_namespace *ns, in find_attach()
176 struct aa_profile *profile; in find_attach()
239 static struct aa_profile *x_table_lookup(struct aa_profile *profile, u32 xindex) in x_table_lookup()
241 struct aa_profile *new_profile = NULL; in x_table_lookup()
300 static struct aa_profile *x_to_profile(struct aa_profile *profile, in x_to_profile()
303 struct aa_profile *new_profile = NULL; in x_to_profile()
340 struct aa_profile *profile, *new_profile = NULL; in apparmor_bprm_set_creds()
551 struct aa_profile *profile = __aa_current_profile(); in apparmor_bprm_committing_creds()
612 struct aa_profile *profile, *previous_profile, *hat = NULL; in aa_change_hat()
641 struct aa_profile *root; in aa_change_hat()
751 struct aa_profile *profile, *target = NULL; in aa_change_profile()