Skip to content

Commit

Permalink
integrity: sparse fix: move iint_initialized to integrity.h
Browse files Browse the repository at this point in the history
Sparse fix: move iint_initialized to integrity.h

Signed-off-by: James Morris <jmorris@namei.org>
  • Loading branch information
James Morris committed Sep 9, 2011
1 parent fc9ff9b commit 4892722
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion security/integrity/ima/ima.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ enum tpm_pcrs { TPM_PCR0 = 0, TPM_PCR8 = 8 };
#define IMA_MEASURE_HTABLE_SIZE (1 << IMA_HASH_BITS)

/* set during initialization */
extern int iint_initialized;
extern int ima_initialized;
extern int ima_used_chip;
extern char *ima_hash;
Expand Down
3 changes: 3 additions & 0 deletions security/integrity/integrity.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ struct integrity_iint_cache {
*/
struct integrity_iint_cache *integrity_iint_insert(struct inode *inode);
struct integrity_iint_cache *integrity_iint_find(struct inode *inode);

/* set during initialization */
extern int iint_initialized;

0 comments on commit 4892722

Please sign in to comment.