Add support for "mokutil --list-sbat-revocations" and

"mokutil --set-sbat-policy"
  Related: CVE-2022-28737

Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
Peter Jones 2022-06-01 13:06:50 -04:00
parent b14c869cf8
commit b853a6b348

View File

@ -76,7 +76,7 @@ index e1bd0e36e8a..4fb75cd9b3d 100644
+ return -1; + return -1;
+ } + }
+ } else { + } else {
+ return test_and_delete_var ("SbatPolicy"); + return test_and_delete_mok_var ("SbatPolicy");
+ } + }
+ return 0; + return 0;
+} +}