Searched refs:dom (Results 1 – 2 of 2) sorted by relevance
/security/landlock/ |
D | fs.c | 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() [all …]
|
D | cred.c | 31 struct landlock_ruleset *const dom = landlock_cred(cred)->domain; in hook_cred_free() local 33 if (dom) in hook_cred_free() 34 landlock_put_ruleset_deferred(dom); in hook_cred_free()
|