Lines Matching refs:flabel
506 struct aa_label *flabel, struct file *file,
519 if (!denied && aa_label_is_subset(flabel, label))
529 error = fn_for_each_not_in_set(flabel, label, profile,
541 if (label == flabel)
547 error = fn_for_each_not_in_set(label, flabel, profile,
561 struct aa_label *flabel, struct file *file,
570 if (!denied && aa_label_is_subset(flabel, label))
573 /* TODO: improve to skip profiles cached in flabel */
578 last_error(error, aa_sock_file_perm(flabel, op, request, sock));
600 struct aa_label *flabel;
610 flabel = rcu_dereference(fctx->label);
611 AA_BUG(!flabel);
617 * Note: the test for !unconfined(flabel) is to handle file
621 if (unconfined(label) || unconfined(flabel) ||
622 (!denied && aa_label_is_subset(flabel, label))) {
627 flabel = aa_get_newest_label(flabel);
632 error = __file_path_perm(op, label, flabel, file, request,
636 error = __file_sock_perm(op, label, flabel, file, request,
638 aa_put_label(flabel);