函数逻辑报告 |
Source Code:kernel\module_signature.c |
Create Date:2022-07-27 12:00:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:int mod_check_sig(const struct module_signature *ms, size_t file_len, const char *name)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct module_signature * | ms | |
size_t | file_len | |
const char * | name |
24 | 如果be32_to_cpu(Length of signature data )大于等于file_len减ms的长度则返回:负EBADMSG |
33 | 如果Public-key crypto algorithm [0] 不等于0或Digest algorithm [0] 不等于0或Length of signer's name [0] 不等于0或Length of key identifier [0] 不等于0或__pad[0]不等于0或__pad[1]不等于0或__pad[2]不等于0则 |
45 | 返回:0 |
名称 | 描述 |
---|---|
mod_verify_sig | Verify the signature on a module. |
ima_read_modsig | ma_read_modsig - Read modsig from buf.* Return: 0 on success, error code otherwise. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |