Lines Matching refs:aa_label
49 struct aa_label *to_label, in may_change_ptraced_domain()
53 struct aa_label *tracerl = NULL; in may_change_ptraced_domain()
129 struct aa_label *label, bool stack, in label_compound_match()
191 struct aa_label *label, bool stack, in label_components_match()
254 static int label_match(struct aa_profile *profile, struct aa_label *label, in label_match()
289 struct aa_label *target, bool stack, in change_profile_perms()
389 static struct aa_label *find_attach(const struct linux_binprm *bprm, in find_attach()
517 struct aa_label *x_table_lookup(struct aa_profile *profile, u32 xindex, in x_table_lookup()
521 struct aa_label *label = NULL; in x_table_lookup()
568 static struct aa_label *x_to_label(struct aa_profile *profile, in x_to_label()
574 struct aa_label *new = NULL; in x_to_label()
575 struct aa_label *stack = NULL; in x_to_label()
647 struct aa_label *base = new; in x_to_label()
659 static struct aa_label *profile_transition(const struct cred *subj_cred, in profile_transition()
666 struct aa_label *new = NULL; in profile_transition()
793 struct aa_profile *profile, struct aa_label *onexec, in profile_onexec()
867 static struct aa_label *handle_onexec(const struct cred *subj_cred, in handle_onexec()
868 struct aa_label *label, in handle_onexec()
869 struct aa_label *onexec, bool stack, in handle_onexec()
875 struct aa_label *new; in handle_onexec()
920 struct aa_label *label, *new = NULL; in apparmor_bprm_creds_for_exec()
1055 static struct aa_label *build_change_hat(const struct cred *subj_cred, in build_change_hat()
1105 static struct aa_label *change_hat(const struct cred *subj_cred, in change_hat()
1106 struct aa_label *label, const char *hats[], in change_hat()
1110 struct aa_label *new; in change_hat()
1225 struct aa_label *label, *previous, *new = NULL, *target = NULL; in aa_change_hat()
1353 struct aa_label *target, bool stack, in change_profile_perms_wrapper()
1390 struct aa_label *label, *new = NULL, *target = NULL; in aa_change_profile()