函数逻辑报告 |
Source Code:security\integrity\ima\ima_main.c |
Create Date:2022-07-27 21:59:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ma_load_data - appraise decision based on policy*@id: kernel load data caller identifier* Callers of this LSM hook can not measure, appraise, or audit the* data provided by userspace. Enforce policy rules requring a file* signature (eg
函数原型:int ima_load_data(enum kernel_load_data_id id)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
enum kernel_load_data_id | id |
592 | ima_enforce等于ima_appraise按位与Appraise integrity measurements 的值恒等于Appraise integrity measurements |
596 | 当:id恒等于LOADING_KEXEC_IMAGE |
599 | 打印错误信息("impossible to appraise a kernel image without a file descriptor; try using kexec_file_load syscall.\n") |
600 | 返回:负EACCES |
603 | 如果ima_enforce且ima_appraise按位与IMA_APPRAISE_KEXEC则 |
604 | 打印错误信息("impossible to appraise a kernel image without a file descriptor; try using kexec_file_load syscall.\n") |
605 | 返回:负EACCES |
607 | 退出 |
608 | 当:id恒等于LOADING_FIRMWARE |
609 | 如果ima_enforce且ima_appraise按位与IMA_APPRAISE_FIRMWARE则 |
613 | 退出 |
614 | 当:id恒等于LOADING_MODULE |
622 | 默认 |
623 | 退出 |
625 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |