Function report | 
Source Code:security\integrity\ima\ima_appraise.c | 
Create Date:2022-07-28 19:59:25 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:ima_inode_setxattr
Proto:int ima_inode_setxattr(struct dentry *dentry, const char *xattr_name, const void *xattr_value, size_t xattr_value_len)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct dentry * | dentry | |
| const char * | xattr_name | |
| const void * | xattr_value | |
| size_t | xattr_value_len | 
| 547 | xvalue = xattr_value | 
| 550 | result = ma_protect_xattr - protect 'security.ima'* Ensure that not just anyone can modify or remove 'security.ima'. | 
| 552 | If result == 1 Then | 
| 553 | If Not xattr_value_len || type >= IMA_XATTR_LAST Then Return -EINVAL | 
| 557 | result = 0 | 
| 559 | Return result | 
| 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  |