| 函数逻辑报告 | 
| Source Code: security\integrity\evm\evm_crypto.c | Create Date:2022-07-27 22:09:19 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:evm_is_immutable
函数原型:static int evm_is_immutable(struct dentry *dentry, struct inode *inode)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct dentry * | dentry | |
| struct inode * | inode | 
| 271 | const struct evm_ima_xattr_data * xattr_data = NULL | 
| 273 | rc等于0 | 
| 276 | 如果iint且flags按位与EVM_IMMUTABLE_DIGSIG则返回:1 | 
| 280 | rc等于vfs_getxattr_alloc(dentry, XATTR_NAME_EVM, (char * * ) & xattr_data, 0, GFP_NOFS) | 
| 282 | 如果rc小于等于0则 | 
| 287 | 如果type恒等于EVM_XATTR_PORTABLE_DIGSIG则rc等于1 | 
| 289 | 否则rc等于0 | 
| 292 | 释放内存 | 
| 293 | 返回:rc | 
| 名称 | 描述 | 
|---|---|
| evm_update_evmxattr | Calculate the hmac and update security.evm xattr* Expects to be called with i_mutex locked. | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |