[RFC PATCH] efi_loader: conditionally enable SetvariableRT

Ilias Apalodimas ilias.apalodimas at linaro.org
Fri Mar 29 13:54:15 CET 2024


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


More information about the U-Boot mailing list