Commit 4892722e authored by James Morris's avatar James Morris

integrity: sparse fix: move iint_initialized to integrity.h

Sparse fix: move iint_initialized to integrity.h
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent fc9ff9b7
...@@ -37,7 +37,6 @@ enum tpm_pcrs { TPM_PCR0 = 0, TPM_PCR8 = 8 }; ...@@ -37,7 +37,6 @@ enum tpm_pcrs { TPM_PCR0 = 0, TPM_PCR8 = 8 };
#define IMA_MEASURE_HTABLE_SIZE (1 << IMA_HASH_BITS) #define IMA_MEASURE_HTABLE_SIZE (1 << IMA_HASH_BITS)
/* set during initialization */ /* set during initialization */
extern int iint_initialized;
extern int ima_initialized; extern int ima_initialized;
extern int ima_used_chip; extern int ima_used_chip;
extern char *ima_hash; extern char *ima_hash;
......
...@@ -45,3 +45,6 @@ struct integrity_iint_cache { ...@@ -45,3 +45,6 @@ struct integrity_iint_cache {
*/ */
struct integrity_iint_cache *integrity_iint_insert(struct inode *inode); struct integrity_iint_cache *integrity_iint_insert(struct inode *inode);
struct integrity_iint_cache *integrity_iint_find(struct inode *inode); struct integrity_iint_cache *integrity_iint_find(struct inode *inode);
/* set during initialization */
extern int iint_initialized;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment