Lines Matching refs:aa_label
59 static int may_change_ptraced_domain(struct aa_label *to_label, in may_change_ptraced_domain()
63 struct aa_label *tracerl = NULL; in may_change_ptraced_domain()
133 struct aa_label *label, bool stack, in label_compound_match()
193 struct aa_label *label, bool stack, in label_components_match()
253 static int label_match(struct aa_profile *profile, struct aa_label *label, in label_match()
287 struct aa_label *target, bool stack, in change_profile_perms()
386 static struct aa_label *find_attach(const struct linux_binprm *bprm, in find_attach()
509 struct aa_label *x_table_lookup(struct aa_profile *profile, u32 xindex, in x_table_lookup()
512 struct aa_label *label = NULL; in x_table_lookup()
555 static struct aa_label *x_to_label(struct aa_profile *profile, in x_to_label()
561 struct aa_label *new = NULL; in x_to_label()
610 struct aa_label *base = new; in x_to_label()
622 static struct aa_label *profile_transition(struct aa_profile *profile, in profile_transition()
627 struct aa_label *new = NULL; in profile_transition()
720 static int profile_onexec(struct aa_profile *profile, struct aa_label *onexec, in profile_onexec()
792 static struct aa_label *handle_onexec(struct aa_label *label, in handle_onexec()
793 struct aa_label *onexec, bool stack, in handle_onexec()
799 struct aa_label *new; in handle_onexec()
855 struct aa_label *label, *new = NULL; in apparmor_bprm_creds_for_exec()
985 static struct aa_label *build_change_hat(struct aa_profile *profile, in build_change_hat()
1033 static struct aa_label *change_hat(struct aa_label *label, const char *hats[], in change_hat()
1037 struct aa_label *new; in change_hat()
1150 struct aa_label *label, *previous, *new = NULL, *target = NULL; in aa_change_hat()
1260 struct aa_label *target, bool stack, in change_profile_perms_wrapper()
1293 struct aa_label *label, *new = NULL, *target = NULL; in aa_change_profile()