Lines Matching refs:flabel
480 struct aa_label *flabel, struct file *file, in __file_path_perm() argument
495 if (!denied && aa_label_is_subset(flabel, label)) in __file_path_perm()
505 error = fn_for_each_not_in_set(flabel, label, profile, in __file_path_perm()
518 if (label == flabel) in __file_path_perm()
525 error = fn_for_each_not_in_set(label, flabel, profile, in __file_path_perm()
541 struct aa_label *flabel, struct file *file, in __file_sock_perm() argument
547 if (!denied && aa_label_is_subset(flabel, label)) in __file_sock_perm()
555 last_error(error, aa_sock_file_perm(subj_cred, flabel, op, in __file_sock_perm()
609 struct aa_label *flabel; in aa_file_perm() local
619 flabel = rcu_dereference(fctx->label); in aa_file_perm()
620 AA_BUG(!flabel); in aa_file_perm()
630 if (unconfined(label) || __file_is_delegated(flabel) || in aa_file_perm()
632 (!denied && __aa_subj_label_is_cached(label, flabel))) { in aa_file_perm()
638 flabel = aa_get_newest_label(flabel); in aa_file_perm()
642 error = __file_path_perm(op, subj_cred, label, flabel, file, in aa_file_perm()
646 error = __file_sock_perm(op, subj_cred, label, flabel, file, in aa_file_perm()
648 aa_put_label(flabel); in aa_file_perm()