函数逻辑报告 |
Source Code:security\integrity\platform_certs\load_uefi.c |
Create Date:2022-07-27 21:55:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Load the certs contained in the UEFI databases into the platform trusted* keyring and the UEFI blacklisted X.509 cert SHA256 hashes into the blacklist* keyring.
函数原型:static int __init load_uefi_certs(void)
返回类型:int
参数:无
80 | rc等于0 |
82 | 如果非get_variable则返回:false |
90 | 如果非db则 |
91 | 如果status恒等于EFI_NOT_FOUND则pr_debug("MODSIGN: db variable wasn't found\n") |
93 | 否则打印错误信息("MODSIGN: Couldn't get UEFI db list\n") |
95 | 否则 |
106 | 如果非mok则 |
107 | 如果status恒等于EFI_NOT_FOUND则pr_debug("MokListRT variable wasn't found\n") |
109 | 否则打印信息("Couldn't get UEFI MokListRT\n") |
111 | 否则 |
116 | 释放内存 |
120 | 如果非dbx则 |
121 | 如果status恒等于EFI_NOT_FOUND则pr_debug("dbx variable wasn't found\n") |
123 | 否则打印信息("Couldn't get UEFI dbx list\n") |
125 | 否则 |
131 | 释放内存 |
134 | 返回:rc |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |