aboutsummaryrefslogtreecommitdiffstats
path: root/security/loadpin/loadpin.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/loadpin/loadpin.c')
-rw-r--r--security/loadpin/loadpin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/loadpin/loadpin.c b/security/loadpin/loadpin.c
index 1d82eae3a5b8..dbe6efde77a0 100644
--- a/security/loadpin/loadpin.c
+++ b/security/loadpin/loadpin.c
@@ -174,7 +174,7 @@ static int loadpin_read_file(struct file *file, enum kernel_read_file_id id)
174 return 0; 174 return 0;
175} 175}
176 176
177static struct security_hook_list loadpin_hooks[] = { 177static struct security_hook_list loadpin_hooks[] __lsm_ro_after_init = {
178 LSM_HOOK_INIT(sb_free_security, loadpin_sb_free_security), 178 LSM_HOOK_INIT(sb_free_security, loadpin_sb_free_security),
179 LSM_HOOK_INIT(kernel_read_file, loadpin_read_file), 179 LSM_HOOK_INIT(kernel_read_file, loadpin_read_file),
180}; 180};