Lines Matching refs:aa_label

63 static int may_change_ptraced_domain(struct aa_label *to_label,  in may_change_ptraced_domain()
67 struct aa_label *tracerl = NULL; in may_change_ptraced_domain()
137 struct aa_label *label, bool stack, in label_compound_match()
197 struct aa_label *label, bool stack, in label_components_match()
257 static int label_match(struct aa_profile *profile, struct aa_label *label, in label_match()
291 struct aa_label *target, bool stack, in change_profile_perms()
478 static struct aa_label *find_attach(const struct linux_binprm *bprm, in find_attach()
504 struct aa_label *x_table_lookup(struct aa_profile *profile, u32 xindex, in x_table_lookup()
507 struct aa_label *label = NULL; in x_table_lookup()
550 static struct aa_label *x_to_label(struct aa_profile *profile, in x_to_label()
556 struct aa_label *new = NULL; in x_to_label()
605 struct aa_label *base = new; in x_to_label()
617 static struct aa_label *profile_transition(struct aa_profile *profile, in profile_transition()
622 struct aa_label *new = NULL; in profile_transition()
743 static int profile_onexec(struct aa_profile *profile, struct aa_label *onexec, in profile_onexec()
815 static struct aa_label *handle_onexec(struct aa_label *label, in handle_onexec()
816 struct aa_label *onexec, bool stack, in handle_onexec()
822 struct aa_label *new; in handle_onexec()
878 struct aa_label *label, *new = NULL; in apparmor_bprm_set_creds()
1005 static struct aa_label *build_change_hat(struct aa_profile *profile, in build_change_hat()
1053 static struct aa_label *change_hat(struct aa_label *label, const char *hats[], in change_hat()
1057 struct aa_label *new; in change_hat()
1170 struct aa_label *label, *previous, *new = NULL, *target = NULL; in aa_change_hat()
1280 struct aa_label *target, bool stack, in change_profile_perms_wrapper()
1313 struct aa_label *label, *new = NULL, *target = NULL; in aa_change_profile()