Home
last modified time | relevance | path

Searched refs:ima_iint_cache (Results 1 – 6 of 6) sorted by relevance

/linux/security/integrity/ima/
H A Dima_iint.c16 static struct kmem_cache *ima_iint_cache __ro_after_init;
27 struct ima_iint_cache *ima_iint_find(struct inode *inode) in ima_iint_find()
43 static inline void ima_iint_lockdep_annotate(struct ima_iint_cache *iint, in ima_iint_lockdep_annotate()
58 static void ima_iint_init_always(struct ima_iint_cache *iint, in ima_iint_init_always()
75 static void ima_iint_free(struct ima_iint_cache *iint) in ima_iint_free()
79 kmem_cache_free(ima_iint_cache, iint); in ima_iint_free()
91 struct ima_iint_cache *ima_inode_get(struct inode *inode) in ima_inode_get()
93 struct ima_iint_cache *iint; in ima_inode_get()
99 iint = kmem_cache_alloc(ima_iint_cache, GFP_NOFS); in ima_inode_get()
119 struct ima_iint_cache **iint_p = inode_security + ima_blob_sizes.lbs_inode; in ima_inode_free_rcu()
[all …]
H A Dima.h84 struct ima_iint_cache *iint;
228 struct ima_iint_cache { struct
244 static inline struct ima_iint_cache * argument
247 struct ima_iint_cache **iint_sec; in ima_inode_get_iint()
257 struct ima_iint_cache *iint) in ima_inode_set_iint()
259 struct ima_iint_cache **iint_sec; in ima_inode_set_iint()
268 struct ima_iint_cache *ima_iint_find(struct inode *inode);
269 struct ima_iint_cache *ima_inode_get(struct inode *inode);
312 struct ima_iint_cache *iint, const char *op,
432 int ima_collect_measurement(struct ima_iint_cache *iint, struct file *file,
[all …]
H A Dima_appraise.c88 static int ima_fix_xattr(struct dentry *dentry, struct ima_iint_cache *iint) in ima_fix_xattr()
114 enum integrity_status ima_get_cache_status(struct ima_iint_cache *iint, in ima_get_cache_status()
134 static void ima_set_cache_status(struct ima_iint_cache *iint, in ima_set_cache_status()
160 static void ima_cache_flags(struct ima_iint_cache *iint, enum ima_hooks func) in ima_cache_flags()
250 static int xattr_verify(enum ima_hooks func, struct ima_iint_cache *iint, in xattr_verify()
428 int ima_check_blacklist(struct ima_iint_cache *iint, in ima_check_blacklist()
462 int ima_appraise_measurement(enum ima_hooks func, struct ima_iint_cache *iint, in ima_appraise_measurement()
604 void ima_update_xattr(struct ima_iint_cache *iint, struct file *file) in ima_update_xattr()
641 struct ima_iint_cache *iint; in ima_inode_post_setattr()
684 struct ima_iint_cache *iint; in ima_reset_appraise_flags()
H A Dima_main.c138 struct ima_iint_cache *iint, in ima_rdwr_violation_check()
188 static bool ima_detect_file_change(struct ima_iint_cache *iint, in ima_detect_file_change()
206 static void ima_check_last_writer(struct ima_iint_cache *iint, in ima_check_last_writer()
242 struct ima_iint_cache *iint; in ima_file_free()
261 struct ima_iint_cache *iint = NULL; in process_measurement()
699 struct ima_iint_cache *iint; in ima_reset_action_flags()
730 struct ima_iint_cache *iint = NULL, tmp_iint; in __ima_inode_hash()
853 struct ima_iint_cache *iint; in ima_post_create_tmpfile()
884 struct ima_iint_cache *iint; in ima_post_path_mknod()
1107 struct ima_iint_cache iint = {}; in process_buffer_measurement()
[all …]
H A Dima_api.c136 struct ima_iint_cache *iint, const char *op, in ima_add_violation()
206 static bool ima_get_verity_digest(struct ima_iint_cache *iint, in ima_get_verity_digest()
243 int ima_collect_measurement(struct ima_iint_cache *iint, struct file *file, in ima_collect_measurement()
355 void ima_store_measurement(struct ima_iint_cache *iint, struct file *file, in ima_store_measurement()
399 void ima_audit_measurement(struct ima_iint_cache *iint, in ima_audit_measurement()
H A Dima_policy.c54 (a) >= (sizeof_field(struct ima_iint_cache, measured_pcrs) * 8))