Lines Matching refs:flabel
485 struct aa_label *flabel, struct file *file, in __file_path_perm() argument
500 if (!denied && aa_label_is_subset(flabel, label)) in __file_path_perm()
510 error = fn_for_each_not_in_set(flabel, label, profile, in __file_path_perm()
523 if (label == flabel) in __file_path_perm()
530 error = fn_for_each_not_in_set(label, flabel, profile, in __file_path_perm()
546 struct aa_label *flabel, struct file *file, in __file_sock_perm() argument
552 if (!denied && aa_label_is_subset(flabel, label)) in __file_sock_perm()
560 last_error(error, aa_sock_file_perm(subj_cred, flabel, op, in __file_sock_perm()
624 struct aa_label *flabel; in aa_file_perm() local
638 flabel = rcu_dereference(fctx->label); in aa_file_perm()
639 AA_BUG(!flabel); in aa_file_perm()
649 if (unconfined(label) || __file_is_delegated(flabel) || in aa_file_perm()
651 (!denied && __aa_subj_label_is_cached(label, flabel))) { in aa_file_perm()
657 flabel = aa_get_newest_label(flabel); in aa_file_perm()
661 error = __file_path_perm(op, subj_cred, label, flabel, file, in aa_file_perm()
665 error = __file_sock_perm(op, subj_cred, label, flabel, file, in aa_file_perm()
667 aa_put_label(flabel); in aa_file_perm()