| Function report | 
| Source Code: security\integrity\iint.c | Create Date:2022-07-28 19:56:03 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:grity_inode_get - find or allocate an iint associated with an inode*@inode: pointer to the inode*@return: allocated iint* Caller must lock i_mutex
Proto:struct integrity_iint_cache *integrity_inode_get(struct inode *inode)
Type:struct integrity_iint_cache
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct inode * | inode | 
| 105 | iint = kmem_cache_alloc(iint_cache, GFP_NOFS) | 
| 106 | If Not iint Then Return NULL | 
| 109 | write_lock( & integrity_iint_lock) | 
| 114 | test_iint = rb_entry(parent, structintegrity_iint_cache, rb_node) | 
| 116 | If inode < ack pointer to inode in question Then p = rb_left | 
| 123 | node = d in integrity_iint_tree | 
| 125 | rb_link_node(node, parent, p) | 
| 126 | rb_insert_color(node, & integrity_iint_tree) | 
| 128 | write_unlock( & integrity_iint_lock) | 
| 129 | Return iint | 
| Name | Describe | 
|---|---|
| process_measurement | |
| ima_post_create_tmpfile | ma_post_create_tmpfile - mark newly created tmpfile as new*@file : newly created tmpfile* No measuring, appraising or auditing of newly created tmpfiles is needed.* Skip calling process_measurement(), but indicate which newly, created | 
| ima_post_path_mknod | ma_post_path_mknod - mark as a new inode*@dentry: newly created dentry* Mark files created via the mknodat syscall as new, so that the* file data can be written later. | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |