efi_loader: using EFI_UNSUPPORTED for private authenticated variables
PATCH 1/1 efi_loader: using EFI_UNSUPPORTED for private authenticated variables
Improve error message for UEFI SCT tests.
Signed-off-by Weizhao Ouyang <[email protected]>
--- lib/efi_loader/efi_variable.c | 1 + 1 file changed, 1 insertion(+)
lib/efi_loader/efi_variable.c +1 -0
@@ -163,6 +163,7 @@ static efi_status_t efi_variable_authenticate(const u16 *variable,break ;default :/* TODO: support private authenticated variables */ + ret =EFI_UNSUPPORTED ; goto err; }
Signature · 1 line
2.40.1
Quoted 12 lines · Weizhao Ouyang
Improve error message for UEFI SCT tests.
Signed-off-by Weizhao Ouyang <[email protected]>--- lib/efi_loader/efi_variable.c | 1 + 1 file changed, 1 insertion(+)lib/efi_loader/efi_variable.c +0
-0
lib/efi_loader/efi_variable.c static efi_status_t efi_variable_authenticate(const u16 *variable, · line 166
Quoted 4 lines
lib/efi_loader/efi_variable.c +1
-0@@ -163,6 +163,7 @@ static efi_status_t efi_variable_authenticate(const u16 *variable,break ;default :/* TODO: support private authenticated variables */ + ret =EFI_UNSUPPORTED ;
This looks more adequate than EFI_SECURITY_VIOLATION. Thanks.
Reviewed-by Heinrich Schuchardt <[email protected]>
Quoted 3 lines
lib/efi_loader/efi_variable.c +0
-0goto err; }
Ilias Apalodimas
Reviewed-byQuoted 21 lines · Heinrich Schuchardt
Quoted 12 lines · Weizhao Ouyang
Improve error message for UEFI SCT tests.
Signed-off-by Weizhao Ouyang <[email protected]>--- lib/efi_loader/efi_variable.c | 1 + 1 file changed, 1 insertion(+)lib/efi_loader/efi_variable.c +0
-0lib/efi_loader/efi_variable.c static efi_status_t efi_variable_authenticate(const u16 *variable, · line 166
Quoted 4 lines
lib/efi_loader/efi_variable.c +1
-0@@ -163,6 +163,7 @@ static efi_status_t efi_variable_authenticate(const u16 *variable,break ;default :/* TODO: support private authenticated variables */ + ret =EFI_UNSUPPORTED ;This looks more adequate than
EFI_SECURITY_VIOLATION. Thanks.
Quoted 6 lines
Reviewed-by Heinrich Schuchardt <[email protected]>Quoted 3 lines
lib/efi_loader/efi_variable.c +0
-0goto err; }
Reviewed-by Ilias Apalodimas <[email protected]>