From a50d3645467fcfef970a00154d6d49494355afc9 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Wed, 18 May 2022 15:14:12 -0400 Subject: sbat policy: make our policy change actions symbolic There are a couple of places where the code we've got right now just uses integers to decode one of our MoK variables. That's bad. This patch replaces those with symbolic names. Signed-off-by: Peter Jones --- include/sbat.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/sbat.h b/include/sbat.h index eb01ee89..904880de 100644 --- a/include/sbat.h +++ b/include/sbat.h @@ -63,6 +63,10 @@ #define SBAT_POLICY L"SbatPolicy" #define SBAT_POLICY8 "SbatPolicy" +#define SBAT_POLICY_LATEST 1 +#define SBAT_POLICY_PREVIOUS 2 +#define SBAT_POLICY_RESET 3 + extern UINTN _sbat, _esbat; struct sbat_var_entry { -- cgit v1.2.3