]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: efi_auth_var_type for AuditMode, DeployedMode
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 26 Aug 2021 02:30:24 +0000 (04:30 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 4 Sep 2021 10:03:57 +0000 (12:03 +0200)
commitb191aa429e509ba6bf9eb446ae27b1a4fcd83276
tree1bd3d5f6975f298a5e21f625ab91180420510fcc
parent9ef82e29478c76f17b536f8f289fd0406067ab01
efi_loader: efi_auth_var_type for AuditMode, DeployedMode

Writing variables AuditMode and DeployedMode serves to switch between
Secure Boot modes. Provide a separate value for these in efi_auth_var_type.

With this patch the variables will not be read from from file even if they
are marked as non-volatile by mistake.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
include/efi_variable.h
lib/efi_loader/efi_var_common.c
lib/efi_loader/efi_variable.c