Re: [PATCH] efi: efivars: Fix variable writes with unsupported query_variable_store()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 28 Oct 2022 at 14:21, Aditya Garg <gargaditya08@xxxxxxxx> wrote:
>
>
>
> Hi Ard
>
> This patch you sent fixed my issue!
>

Thanks for testing!


> > On 27-Oct-2022, at 7:27 PM, Ard Biesheuvel <ardb@xxxxxxxxxx> wrote:
> >
> > Commit 8a254d90a775 ("efi: efivars: Fix variable writes without
> > query_variable_store()") addressed an issue that was introduced during
> > the EFI variable store refactor, where alternative implementations of
> > the efivars layer that lacked query_variable_store() would no longer
> > work.
> >
> > Unfortunately, there is another case to consider here, which was missed:
> > if the efivars layer is backed by the EFI runtime services as usual, but
> > the EFI implementation predates the introduction of QueryVariableInfo(),
> > we will return EFI_UNSUPPORTED, and this is no longer being dealt with
> > correctly.
> >
> > So let's fix this, and while at it, clean up the code a bit, by merging
> > the check_var_size() routines as well as their callers.
> >
>
> Thanks
> Aditya



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux