函数逻辑报告 |
Source Code:security\integrity\ima\ima_appraise.c |
Create Date:2022-07-27 22:06:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:ma_update_xattr - update 'security.ima' hash value
函数原型:void ima_update_xattr(struct integrity_iint_cache *iint, struct file *file)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct integrity_iint_cache * | iint | |
| struct file * | file |
| 460 | dentry等于file_dentry(file) |
| 461 | rc等于0 |
| 467 | 如果ima_file_status不等于INTEGRITY_PASS且非flags按位与IMA_HASH的值则返回 |
| 472 | 如果rc小于0则返回 |
| 475 | inode_lock(file_inode(file)) |
| 476 | ima_fix_xattr(dentry, iint) |
| 477 | inode_unlock(file_inode(file)) |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |