Lines Matching refs:flabel
506 struct aa_label *flabel, struct file *file, in __file_path_perm() argument
519 if (!denied && aa_label_is_subset(flabel, label)) in __file_path_perm()
529 error = fn_for_each_not_in_set(flabel, label, profile, in __file_path_perm()
541 if (label == flabel) in __file_path_perm()
547 error = fn_for_each_not_in_set(label, flabel, profile, in __file_path_perm()
561 struct aa_label *flabel, struct file *file, in __file_sock_perm() argument
570 if (!denied && aa_label_is_subset(flabel, label)) in __file_sock_perm()
578 last_error(error, aa_sock_file_perm(flabel, op, request, sock)); in __file_sock_perm()
600 struct aa_label *flabel; in aa_file_perm() local
610 flabel = rcu_dereference(fctx->label); in aa_file_perm()
611 AA_BUG(!flabel); in aa_file_perm()
621 if (unconfined(label) || unconfined(flabel) || in aa_file_perm()
622 (!denied && aa_label_is_subset(flabel, label))) { in aa_file_perm()
627 flabel = aa_get_newest_label(flabel); in aa_file_perm()
632 error = __file_path_perm(op, label, flabel, file, request, in aa_file_perm()
636 error = __file_sock_perm(op, label, flabel, file, request, in aa_file_perm()
638 aa_put_label(flabel); in aa_file_perm()