summaryrefslogtreecommitdiff
path: root/include/mok.h
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2024-05-15 16:13:40 -0400
committerPeter Jones <pjones@redhat.com>2025-02-24 15:24:24 -0500
commit49db3de08ef2c55f6dbc3c2b8e6ab7b2f22e5309 (patch)
treeb79d8424a0deb106ab1cc8d972d396d5ae38a07d /include/mok.h
parent3d7c0572c2296f1c31c1f0fb051412ab76828dd2 (diff)
downloadefi-boot-shim-49db3de08ef2c55f6dbc3c2b8e6ab7b2f22e5309.tar.gz
efi-boot-shim-49db3de08ef2c55f6dbc3c2b8e6ab7b2f22e5309.zip
mok: add MOK_VARIABLE_CONFIG_ONLY
This adds a mok variable flag "MOK_VARIABLE_CONFIG_ONLY" to specify that the data should be added to our UEFI config table, but shim should not create a legacy UEFI variable. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'include/mok.h')
-rw-r--r--include/mok.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mok.h b/include/mok.h
index fb19423b..fe92cf03 100644
--- a/include/mok.h
+++ b/include/mok.h
@@ -81,6 +81,8 @@ struct mok_state_variable {
* MOK_MIRROR_DELETE_FIRST delete any existing variable first
* MOK_VARIABLE_MEASURE extend PCR 7 and log the hash change
* MOK_VARIABLE_LOG measure into whatever .pcr says and log
+ * MOK_VARIABLE_CONFIG_ONLY don't create a UEFI variable, only add
+ * it to the config space variables.
*/
UINTN pcr; /* PCR to measure and hash to */