The code to make file modes implicit in efivar was really not working well with gcc 6, and probably was not working right in gcc 5, so efivar 0.23 requires explicitly setting the mode in efi_set_variable(). This patch makes it all explicitly set to a reasonable value.
The code to make file modes implicit in efivar was really not working well with gcc 6, and probably was not working right in gcc 5, so efivar 0.23 requires explicitly setting the mode in efi_set_variable(). This patch makes it all explicitly set to a reasonable value.
Signed-off-by: Peter Jones pjones@redhat.com