Home
last modified time | relevance | path

Searched refs:pinned_root (Results 1 – 1 of 1) sorted by relevance

/linux/security/loadpin/
H A Dloadpin.c49 static struct super_block *pinned_root; variable
119 if (!IS_ERR_OR_NULL(pinned_root) && mnt_sb == pinned_root) { in loadpin_sb_free_security()
121 pinned_root = ERR_PTR(-EIO); in loadpin_sb_free_security()
124 pinned_root = NULL; in loadpin_sb_free_security()
164 if (!pinned_root) { in loadpin_check()
165 pinned_root = load_root; in loadpin_check()
171 report_writable(pinned_root, load_root_writable); in loadpin_check()
176 if (IS_ERR_OR_NULL(pinned_root) || in loadpin_check()
177 ((load_root != pinned_root) && !dm_verity_loadpin_is_bdev_trusted(load_root->s_bdev))) { in loadpin_check()