diff options
| author | Peter Jones <pjones@redhat.com> | 2022-05-18 15:14:12 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2022-05-18 16:37:23 -0400 |
| commit | a50d3645467fcfef970a00154d6d49494355afc9 (patch) | |
| tree | c164f3b1affa5e0b5b7d745bedf8504c282060eb /include | |
| parent | 5d789ca4cd9121d81357b0edb75f500dfdcc9ab7 (diff) | |
| download | efi-boot-shim-a50d3645467fcfef970a00154d6d49494355afc9.tar.gz efi-boot-shim-a50d3645467fcfef970a00154d6d49494355afc9.zip | |
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 <pjones@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sbat.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 { |
