函数逻辑报告 |
Source Code:security\integrity\ima\ima_main.c |
Create Date:2022-07-27 21:59:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ma_post_read_file - in memory collect/appraise/audit measurement*@file: pointer to the file to be measured/appraised/audit*@buf: pointer to in memory file contents*@size: size of in memory file contents*@read_id: caller identifier
函数原型:int ima_post_read_file(struct file *file, void *buf, loff_t size, enum kernel_read_file_id read_id)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | file | |
void * | buf | |
loff_t | size | |
enum kernel_read_file_id | read_id |
553 | 如果非file且read_id恒等于READING_FIRMWARE则 |
559 | 返回:0 |
563 | 如果非file且read_id恒等于READING_X509_CERTIFICATE则返回:0 |
567 | 如果ima_appraise按位与Appraise integrity measurements 则返回:负EACCES |
569 | 返回:0 |
572 | func等于如果read_idmap[read_id]否则FILE_CHECK |
573 | security_task_getsecid(当前进程, & secid) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |