Re: [PATCH v3 RESEND] efi: Do not import certificates from UEFI Secure Boot for T2 Macs

From: Aditya Garg
Date: Tue Apr 12 2022 - 11:41:36 EST



> dmi_first_match() is called here at the beginning of load_uefi_certs().
> Only if it succeeds would uefi_check_ignore_db(), get_cert_list(),
> uefi_check_ignore_db(), or
> load_moklist_certs() be called. Is there a need for adding a call to
> dmi_first_match() in any of these other functions?
I’ll test this out.
>
> thanks,
>
> Mimi
>
>>>
>>> Like in all the other cases, there should be some sort of message. At
>>> minimum, there should be a pr_info().
>>>
>>>>
>>>> if (!efi_rt_services_supported(EFI_RT_SUPPORTED_GET_VARIABLE))
>>>> return false;
>>>
>
>