mbox series

[0/2] fix eficonfig GetNextVariableName calls handling

Message ID 20221208134022.28621-1-masahisa.kojima@linaro.org
Headers show
Series fix eficonfig GetNextVariableName calls handling | expand

Message

Masahisa Kojima Dec. 8, 2022, 1:40 p.m. UTC
This series includes refactoring and bugfix of GetNextVariableName
calls in eficonfig.

After "eficonfig: curve out efi_get_next_variable_name_int calls" patch
is merged, I will send the follow-up patch to use common function in
cmd/efidebug.c and cmd/nvedit_efi.c. These files also implement
alloc -> efi_get_next_variable_name_int -> realloc ->
efi_get_next_variable_name_int sequence.

Masahisa Kojima (2):
  eficonfig: curve out efi_get_next_variable_name_int calls
  eficonfig: avoid SetVariable between GetNextVariableName calls

 cmd/eficonfig.c             | 119 ++++++++++++++++++------------------
 include/efi_loader.h        |   2 +
 lib/efi_loader/efi_helper.c |  34 +++++++++++
 3 files changed, 95 insertions(+), 60 deletions(-)