函数逻辑报告 |
Source Code:security\integrity\ima\ima_modsig.c |
Create Date:2022-07-27 22:07:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ma_read_modsig - Read modsig from buf.* Return: 0 on success, error code otherwise.
函数原型:int ima_read_modsig(enum ima_hooks func, const void *buf, loff_t buf_len, struct modsig **modsig)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
enum ima_hooks | func | |
const void * | buf | |
loff_t | buf_len | |
struct modsig ** | modsig |
70 | 如果buf_len小于等于marker_len加sig的长度则返回:负ENOENT |
73 | p等于buf加buf_len减marker_len |
77 | buf_len减等于marker_len |
80 | rc等于mod_check_sig - check that the given signature is sane*@ms: Signature to check.*@file_len: Size of the file to which @ms is appended.*@name: What is being checked. Used for error messages. |
93 | 如果是错误则 |
100 | * This is what will go to the measurement list if the template requires * storing the signature.等于sig_len |
103 | hash_algo等于HASH_ALGO__LAST |
107 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |