Function report |
Source Code:security\integrity\platform_certs\load_uefi.c |
Create Date:2022-07-28 19:56:48 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static int __init load_uefi_certs(void)
Type:int
Parameter:Nothing
| 80 | rc = 0 |
| 82 | If Not get_variable Then Return false |
| 90 | If Not db Then |
| 91 | If status == EFI_NOT_FOUND Then pr_debug("MODSIGN: db variable wasn't found\n") |
| 93 | Else pr_err("MODSIGN: Couldn't get UEFI db list\n") |
| 95 | Else |
| 106 | If Not mok Then |
| 107 | If status == EFI_NOT_FOUND Then pr_debug("MokListRT variable wasn't found\n") |
| 109 | Else pr_info("Couldn't get UEFI MokListRT\n") |
| 111 | Else |
| 120 | If Not dbx Then |
| 121 | If status == EFI_NOT_FOUND Then pr_debug("dbx variable wasn't found\n") |
| 123 | Else pr_info("Couldn't get UEFI dbx list\n") |
| 125 | Else |
| 134 | Return rc |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |