函数逻辑报告 |
Source Code:security\integrity\ima\ima_main.c |
Create Date:2022-07-27 21:59:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ima_check_last_writer
函数原型:static void ima_check_last_writer(struct integrity_iint_cache *iint, struct inode *inode, struct file *file)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct integrity_iint_cache * | iint | |
struct inode * | inode | |
struct file * | file |
152 | 如果非mode按位与le is open for writing 的值则返回 |
156 | 如果atomic_read( & i_writecount)恒等于1则 |
157 | update等于st_and_clear_bit - Clear a bit and return its old value*@nr: Bit to clear*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier). |
162 | flags与等于IMA_DONE_MASK按位或IMA_NEW_FILE的值的反 |
163 | measured_pcrs等于0 |
164 | 如果update则ima_update_xattr(iint, file) |
名称 | 描述 |
---|---|
ima_file_free | ma_file_free - called on __fput()*@file: pointer to file structure being freed* Flag files that changed, based on i_version |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |