
29 Mar
2024
29 Mar
'24
1:54 p.m.
Hi Heinrich,
struct efi_var_entry *var;
efi_uintn_t ret;
bool append, delete;
u64 time = 0;
/* Authenticated variables are not supported */
if (attributes & EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS)
Adding EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS here would make it clearer that all authenticated variables are unsupported.
Looking at this again, I already prevent EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS unconditionally in efi_check_setvariable() since its deprecated. So I'll keep this as is
Cheers /Ilias