Lines Matching refs:flabel
473 struct aa_label *flabel, struct file *file, in __file_path_perm() argument
488 if (!denied && aa_label_is_subset(flabel, label)) in __file_path_perm()
498 error = fn_for_each_not_in_set(flabel, label, profile, in __file_path_perm()
511 if (label == flabel) in __file_path_perm()
518 error = fn_for_each_not_in_set(label, flabel, profile, in __file_path_perm()
534 struct aa_label *flabel, struct file *file, in __file_sock_perm() argument
543 if (!denied && aa_label_is_subset(flabel, label)) in __file_sock_perm()
551 last_error(error, aa_sock_file_perm(subj_cred, flabel, op, in __file_sock_perm()
576 struct aa_label *flabel; in aa_file_perm() local
586 flabel = rcu_dereference(fctx->label); in aa_file_perm()
587 AA_BUG(!flabel); in aa_file_perm()
597 if (unconfined(label) || unconfined(flabel) || in aa_file_perm()
598 (!denied && aa_label_is_subset(flabel, label))) { in aa_file_perm()
603 flabel = aa_get_newest_label(flabel); in aa_file_perm()
608 error = __file_path_perm(op, subj_cred, label, flabel, file, in aa_file_perm()
612 error = __file_sock_perm(op, subj_cred, label, flabel, file, in aa_file_perm()
614 aa_put_label(flabel); in aa_file_perm()