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(-) -- 2.17.1