Lines Matching refs:label

314 	struct aa_ruleset *rules = profile->label.rules[0];  in match_mnt_path_str()
373 struct aa_ruleset *rules = profile->label.rules[0]; in match_mnt()
395 struct aa_label *label, const struct path *path, in aa_remount() argument
403 AA_BUG(!label); in aa_remount()
411 error = fn_for_each_confined(label, profile, in aa_remount()
421 struct aa_label *label, const struct path *path, in aa_bind_mount() argument
429 AA_BUG(!label); in aa_bind_mount()
447 error = fn_for_each_confined(label, profile, in aa_bind_mount()
459 struct aa_label *label, const struct path *path, in aa_mount_change_type() argument
466 AA_BUG(!label); in aa_mount_change_type()
476 error = fn_for_each_confined(label, profile, in aa_mount_change_type()
486 struct aa_label *label, const struct path *from_path, in aa_move_mount() argument
493 AA_BUG(!label); in aa_move_mount()
506 error = fn_for_each_confined(label, profile, in aa_move_mount()
517 int aa_move_mount_old(const struct cred *subj_cred, struct aa_label *label, in aa_move_mount_old() argument
529 error = aa_move_mount(subj_cred, label, &old_path, path); in aa_move_mount_old()
535 int aa_new_mount(const struct cred *subj_cred, struct aa_label *label, in aa_new_mount() argument
546 AA_BUG(!label); in aa_new_mount()
581 error = fn_for_each_confined(label, profile, in aa_new_mount()
586 error = fn_for_each_confined(label, profile, in aa_new_mount()
605 struct aa_ruleset *rules = profile->label.rules[0]; in profile_umount()
635 int aa_umount(const struct cred *subj_cred, struct aa_label *label, in aa_umount() argument
643 AA_BUG(!label); in aa_umount()
650 error = fn_for_each_confined(label, profile, in aa_umount()
668 struct aa_ruleset *rules = profile->label.rules[0]; in build_pivotroot()
681 return aa_get_newest_label(&profile->label); in build_pivotroot()
713 return aa_get_newest_label(&profile->label); in build_pivotroot()
716 int aa_pivotroot(const struct cred *subj_cred, struct aa_label *label, in aa_pivotroot() argument
725 AA_BUG(!label); in aa_pivotroot()
734 target = fn_label_build(label, profile, GFP_KERNEL, in aa_pivotroot()
761 error = fn_for_each(label, profile, in aa_pivotroot()