Home
last modified time | relevance | path

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

/linux/security/loadpin/
H A Dloadpin.c50 static struct super_block *pinned_root; variable
117 if (!IS_ERR_OR_NULL(pinned_root) && mnt_sb == pinned_root) { in loadpin_sb_free_security()
119 pinned_root = ERR_PTR(-EIO); in loadpin_sb_free_security()
122 pinned_root = NULL; in loadpin_sb_free_security()
160 if (!pinned_root) { in loadpin_check()
161 pinned_root = load_root; in loadpin_check()
167 loadpin_root_writable = sb_is_writable(pinned_root); in loadpin_check()
168 report_writable(pinned_root, loadpin_root_writable); in loadpin_check()
172 if (IS_ERR_OR_NULL(pinned_root) || in loadpin_check()
173 ((load_root != pinned_root) && !dm_verity_loadpin_is_bdev_trusted(load_root->s_bdev))) { in loadpin_check()