diff options
Diffstat (limited to 'security/integrity/iint.c')
-rw-r--r-- | security/integrity/iint.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/security/integrity/iint.c b/security/integrity/iint.c index 399641c3e846..e600986aa49f 100644 --- a/security/integrity/iint.c +++ b/security/integrity/iint.c | |||
@@ -74,6 +74,7 @@ static void iint_free(struct integrity_iint_cache *iint) | |||
74 | { | 74 | { |
75 | iint->version = 0; | 75 | iint->version = 0; |
76 | iint->flags = 0UL; | 76 | iint->flags = 0UL; |
77 | iint->ima_status = INTEGRITY_UNKNOWN; | ||
77 | iint->evm_status = INTEGRITY_UNKNOWN; | 78 | iint->evm_status = INTEGRITY_UNKNOWN; |
78 | kmem_cache_free(iint_cache, iint); | 79 | kmem_cache_free(iint_cache, iint); |
79 | } | 80 | } |
@@ -157,7 +158,7 @@ static void init_once(void *foo) | |||
157 | memset(iint, 0, sizeof *iint); | 158 | memset(iint, 0, sizeof *iint); |
158 | iint->version = 0; | 159 | iint->version = 0; |
159 | iint->flags = 0UL; | 160 | iint->flags = 0UL; |
160 | mutex_init(&iint->mutex); | 161 | iint->ima_status = INTEGRITY_UNKNOWN; |
161 | iint->evm_status = INTEGRITY_UNKNOWN; | 162 | iint->evm_status = INTEGRITY_UNKNOWN; |
162 | } | 163 | } |
163 | 164 | ||