aboutsummaryrefslogtreecommitdiffstats
path: root/security/integrity/iint.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/integrity/iint.c')
-rw-r--r--security/integrity/iint.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/integrity/iint.c b/security/integrity/iint.c
index dbee618526b6..df45640fbac6 100644
--- a/security/integrity/iint.c
+++ b/security/integrity/iint.c
@@ -245,3 +245,14 @@ out:
245 fput(file); 245 fput(file);
246 return rc; 246 return rc;
247} 247}
248
249/*
250 * integrity_load_keys - load integrity keys hook
251 *
252 * Hooks is called from init/main.c:kernel_init_freeable()
253 * when rootfs is ready
254 */
255void __init integrity_load_keys(void)
256{
257 ima_load_x509();
258}