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()
474 static struct aa_label *find_attach(const struct linux_binprm *bprm, in find_attach()
500 struct aa_label *x_table_lookup(struct aa_profile *profile, u32 xindex, in x_table_lookup()
503 struct aa_label *label = NULL; in x_table_lookup()
546 static struct aa_label *x_to_label(struct aa_profile *profile, in x_to_label()
552 struct aa_label *new = NULL; in x_to_label()
601 struct aa_label *base = new; in x_to_label()
613 static struct aa_label *profile_transition(struct aa_profile *profile, in profile_transition()
618 struct aa_label *new = NULL; in profile_transition()
739 static int profile_onexec(struct aa_profile *profile, struct aa_label *onexec, in profile_onexec()
811 static struct aa_label *handle_onexec(struct aa_label *label, in handle_onexec()
812 struct aa_label *onexec, bool stack, in handle_onexec()
818 struct aa_label *new; in handle_onexec()
874 struct aa_label *label, *new = NULL; in apparmor_bprm_set_creds()
1001 static struct aa_label *build_change_hat(struct aa_profile *profile, in build_change_hat()
1049 static struct aa_label *change_hat(struct aa_label *label, const char *hats[], in change_hat()
1053 struct aa_label *new; in change_hat()
1166 struct aa_label *label, *previous, *new = NULL, *target = NULL; in aa_change_hat()
1276 struct aa_label *target, bool stack, in change_profile_perms_wrapper()
1309 struct aa_label *label, *new = NULL, *target = NULL; in aa_change_profile()