diff options
Diffstat (limited to 'security/integrity/ima/ima.h')
| -rw-r--r-- | security/integrity/ima/ima.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/security/integrity/ima/ima.h b/security/integrity/ima/ima.h index 27849e1656dc..ac79032bdf23 100644 --- a/security/integrity/ima/ima.h +++ b/security/integrity/ima/ima.h | |||
| @@ -107,7 +107,6 @@ struct ima_iint_cache { | |||
| 107 | unsigned char flags; | 107 | unsigned char flags; |
| 108 | u8 digest[IMA_DIGEST_SIZE]; | 108 | u8 digest[IMA_DIGEST_SIZE]; |
| 109 | struct mutex mutex; /* protects: version, flags, digest */ | 109 | struct mutex mutex; /* protects: version, flags, digest */ |
| 110 | struct kref refcount; /* ima_iint_cache reference count */ | ||
| 111 | }; | 110 | }; |
| 112 | 111 | ||
| 113 | /* LIM API function definitions */ | 112 | /* LIM API function definitions */ |
| @@ -125,8 +124,7 @@ void ima_template_show(struct seq_file *m, void *e, | |||
| 125 | * integrity data associated with an inode. | 124 | * integrity data associated with an inode. |
| 126 | */ | 125 | */ |
| 127 | struct ima_iint_cache *ima_iint_insert(struct inode *inode); | 126 | struct ima_iint_cache *ima_iint_insert(struct inode *inode); |
| 128 | struct ima_iint_cache *ima_iint_find_get(struct inode *inode); | 127 | struct ima_iint_cache *ima_iint_find(struct inode *inode); |
| 129 | void iint_free(struct kref *kref); | ||
| 130 | 128 | ||
| 131 | /* IMA policy related functions */ | 129 | /* IMA policy related functions */ |
| 132 | enum ima_hooks { FILE_CHECK = 1, FILE_MMAP, BPRM_CHECK }; | 130 | enum ima_hooks { FILE_CHECK = 1, FILE_MMAP, BPRM_CHECK }; |
