Lines Matching refs:flabel
486 struct aa_label *flabel, struct file *file,
501 if (!denied && aa_label_is_subset(flabel, label))
511 error = fn_for_each_not_in_set(flabel, label, profile,
524 if (label == flabel)
531 error = fn_for_each_not_in_set(label, flabel, profile,
547 struct aa_label *flabel, struct file *file,
556 if (!denied && aa_label_is_subset(flabel, label))
559 /* TODO: improve to skip profiles cached in flabel */
564 last_error(error, aa_sock_file_perm(subj_cred, flabel, op,
589 struct aa_label *flabel;
599 flabel = rcu_dereference(fctx->label);
600 AA_BUG(!flabel);
606 * Note: the test for !unconfined(flabel) is to handle file
610 if (unconfined(label) || unconfined(flabel) ||
611 (!denied && aa_label_is_subset(flabel, label))) {
616 flabel = aa_get_newest_label(flabel);
621 error = __file_path_perm(op, subj_cred, label, flabel, file,
625 error = __file_sock_perm(op, subj_cred, label, flabel, file,
627 aa_put_label(flabel);