Function report | 
Source Code:security\integrity\evm\evm_crypto.c | 
Create Date:2022-07-28 20:00:09 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:evm_is_immutable
Proto:static int evm_is_immutable(struct dentry *dentry, struct inode *inode)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct dentry * | dentry | |
| struct inode * | inode | 
| 271 | const struct evm_ima_xattr_data * xattr_data = NULL | 
| 273 | rc = 0 | 
| 276 | If iint && flags & EVM_IMMUTABLE_DIGSIG Then Return 1 | 
| 280 | rc = vfs_getxattr_alloc(dentry, XATTR_NAME_EVM, (char * * ) & xattr_data, 0, GFP_NOFS) | 
| 282 | If rc <= 0 Then | 
| 287 | If type == EVM_XATTR_PORTABLE_DIGSIG Then rc = 1 | 
| 289 | Else rc = 0 | 
| 292 | kfree(xattr_data) | 
| 293 | Return rc | 
| Name | Describe | 
|---|---|
| evm_update_evmxattr | Calculate the hmac and update security.evm xattr* Expects to be called with i_mutex locked. | 
| 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  |