Lines Matching refs:dom
654 const struct landlock_ruleset *const dom = in current_check_access_path() local
657 if (!dom) in current_check_access_path()
659 return check_access_path(dom, path, access_request); in current_check_access_path()
818 const struct landlock_ruleset *const dom = in current_check_refer_path() local
826 if (!dom) in current_check_refer_path()
828 if (WARN_ON_ONCE(dom->num_layers < 1)) in current_check_refer_path()
854 dom, access_request_parent1 | access_request_parent2, in current_check_refer_path()
857 dom, new_dir, access_request_parent1, in current_check_refer_path()
871 allow_parent1 = collect_domain_accesses(dom, mnt_dir.dentry, in current_check_refer_path()
875 dom, mnt_dir.dentry, new_dir->dentry, &layer_masks_parent2); in current_check_refer_path()
887 dom, &mnt_dir, access_request_parent1, &layer_masks_parent1, in current_check_refer_path()
1131 const struct landlock_ruleset *const dom = in hook_path_mknod() local
1134 if (!dom) in hook_path_mknod()
1136 return check_access_path(dom, dir, get_mode_access(mode)); in hook_path_mknod()
1211 const struct landlock_ruleset *const dom = in hook_file_open() local
1214 if (!dom) in hook_file_open()
1231 dom, &file->f_path, in hook_file_open()
1232 init_layer_masks(dom, full_access_request, &layer_masks), in hook_file_open()