Lines Matching refs:dom
659 const struct landlock_ruleset *const dom = in current_check_access_path() local
662 if (!dom) in current_check_access_path()
664 return check_access_path(dom, path, access_request); in current_check_access_path()
822 const struct landlock_ruleset *const dom = in current_check_refer_path() local
830 if (!dom) in current_check_refer_path()
832 if (WARN_ON_ONCE(dom->num_layers < 1)) in current_check_refer_path()
858 dom, access_request_parent1 | access_request_parent2, in current_check_refer_path()
860 return check_access_path_dual(dom, new_dir, in current_check_refer_path()
874 allow_parent1 = collect_domain_accesses(dom, mnt_dir.dentry, in current_check_refer_path()
878 dom, mnt_dir.dentry, new_dir->dentry, &layer_masks_parent2); in current_check_refer_path()
889 return check_access_path_dual(dom, &mnt_dir, access_request_parent1, in current_check_refer_path()
1118 const struct landlock_ruleset *const dom = in hook_path_mknod() local
1121 if (!dom) in hook_path_mknod()
1123 return check_access_path(dom, dir, get_mode_access(mode)); in hook_path_mknod()
1167 const struct landlock_ruleset *const dom = in hook_file_open() local
1170 if (!dom) in hook_file_open()
1177 return check_access_path(dom, &file->f_path, get_file_access(file)); in hook_file_open()