diff options
author | James Morris <jmorris@namei.org> | 2011-08-16 20:34:33 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-09-09 19:56:24 -0400 |
commit | 4892722e06694fda1928bac4aa5af5505bd26a4c (patch) | |
tree | eaeeb90d98ad1ad35bf32c75a579d28a70b722e2 /security | |
parent | fc9ff9b7e3eaff3f49bc0fbbddfc1416212e888a (diff) |
integrity: sparse fix: move iint_initialized to integrity.h
Sparse fix: move iint_initialized to integrity.h
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security')
-rw-r--r-- | security/integrity/ima/ima.h | 1 | ||||
-rw-r--r-- | security/integrity/integrity.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/security/integrity/ima/ima.h b/security/integrity/ima/ima.h index 29d97af5e9a4..3ccf7acac6df 100644 --- a/security/integrity/ima/ima.h +++ b/security/integrity/ima/ima.h | |||
@@ -37,7 +37,6 @@ enum tpm_pcrs { TPM_PCR0 = 0, TPM_PCR8 = 8 }; | |||
37 | #define IMA_MEASURE_HTABLE_SIZE (1 << IMA_HASH_BITS) | 37 | #define IMA_MEASURE_HTABLE_SIZE (1 << IMA_HASH_BITS) |
38 | 38 | ||
39 | /* set during initialization */ | 39 | /* set during initialization */ |
40 | extern int iint_initialized; | ||
41 | extern int ima_initialized; | 40 | extern int ima_initialized; |
42 | extern int ima_used_chip; | 41 | extern int ima_used_chip; |
43 | extern char *ima_hash; | 42 | extern char *ima_hash; |
diff --git a/security/integrity/integrity.h b/security/integrity/integrity.h index 880bbee2f534..3143a3c39868 100644 --- a/security/integrity/integrity.h +++ b/security/integrity/integrity.h | |||
@@ -45,3 +45,6 @@ struct integrity_iint_cache { | |||
45 | */ | 45 | */ |
46 | struct integrity_iint_cache *integrity_iint_insert(struct inode *inode); | 46 | struct integrity_iint_cache *integrity_iint_insert(struct inode *inode); |
47 | struct integrity_iint_cache *integrity_iint_find(struct inode *inode); | 47 | struct integrity_iint_cache *integrity_iint_find(struct inode *inode); |
48 | |||
49 | /* set during initialization */ | ||
50 | extern int iint_initialized; | ||