mbox series

[v2,0/2] fix eficonfig GetNextVariableName calls handling

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

Message

Masahisa Kojima Dec. 19, 2022, 2:33 a.m. UTC
This series includes refactoring and bugfix of GetNextVariableName
calls in eficonfig.

After "eficonfig: carve 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: carve out efi_get_next_variable_name_int calls
  eficonfig: avoid SetVariable between GetNextVariableName calls

 cmd/eficonfig.c             | 114 ++++++++++++++++--------------------
 include/efi_loader.h        |   2 +
 lib/efi_loader/efi_helper.c |  34 +++++++++++
 3 files changed, 88 insertions(+), 62 deletions(-)