Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/security/loadpin/
H A Dloadpin.c44 static struct super_block *pinned_root; variable
115 if (!IS_ERR_OR_NULL(pinned_root) && mnt_sb == pinned_root) { in loadpin_sb_free_security()
116 pinned_root = ERR_PTR(-EIO); in loadpin_sb_free_security()
149 * pinned_root is only NULL at startup. Otherwise, it is either in loadpin_check()
152 if (!pinned_root) { in loadpin_check()
153 pinned_root = load_root; in loadpin_check()
155 * Unlock now since it's only pinned_root we care about. in loadpin_check()
161 check_pinning_enforcement(pinned_root); in loadpin_check()
167 if (IS_ERR_OR_NULL(pinned_root) || load_roo in loadpin_check()
[all...]
/kernel/linux/linux-6.6/security/loadpin/
H A Dloadpin.c48 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()
160 * pinned_root is only NULL at startup or when the pinned root has in loadpin_check()
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()
[all...]

Completed in 1 milliseconds