aboutsummaryrefslogtreecommitdiffstats
path: root/security/integrity/ima/ima.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/integrity/ima/ima.h')
-rw-r--r--security/integrity/ima/ima.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/security/integrity/ima/ima.h b/security/integrity/ima/ima.h
index bfa72ed41b9b..9c280cc73004 100644
--- a/security/integrity/ima/ima.h
+++ b/security/integrity/ima/ima.h
@@ -67,6 +67,9 @@ void integrity_audit_msg(int audit_msgno, struct inode *inode,
67/* Internal IMA function definitions */ 67/* Internal IMA function definitions */
68void ima_iintcache_init(void); 68void ima_iintcache_init(void);
69int ima_init(void); 69int ima_init(void);
70void ima_cleanup(void);
71int ima_fs_init(void);
72void ima_fs_cleanup(void);
70int ima_add_template_entry(struct ima_template_entry *entry, int violation, 73int ima_add_template_entry(struct ima_template_entry *entry, int violation,
71 const char *op, struct inode *inode); 74 const char *op, struct inode *inode);
72int ima_calc_hash(struct file *file, char *digest); 75int ima_calc_hash(struct file *file, char *digest);
@@ -115,6 +118,8 @@ void ima_store_measurement(struct ima_iint_cache *iint, struct file *file,
115 const unsigned char *filename); 118 const unsigned char *filename);
116int ima_store_template(struct ima_template_entry *entry, int violation, 119int ima_store_template(struct ima_template_entry *entry, int violation,
117 struct inode *inode); 120 struct inode *inode);
121void ima_template_show(struct seq_file *m, void *e,
122 enum ima_show_type show);
118 123
119/* radix tree calls to lookup, insert, delete 124/* radix tree calls to lookup, insert, delete
120 * integrity data associated with an inode. 125 * integrity data associated with an inode.