From b216543d691050d6cdd37c3500571cf67882f1bc Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 18 Feb 2025 15:10:22 -0500 Subject: Move mok state variable data flag definitions to the header. Previously the mok mirror state flags were only used in the mok mirroring code. But there are other consumers of that data, namely our variable test cases, and it's useful for them to be able to check the flags. Signed-off-by: Peter Jones --- include/mok.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') diff --git a/include/mok.h b/include/mok.h index e6921e09..1b44217c 100644 --- a/include/mok.h +++ b/include/mok.h @@ -19,6 +19,13 @@ struct mok_state_variable; typedef vendor_addend_category_t (vendor_addend_categorizer_t)(struct mok_state_variable *); typedef UINTN (mok_variable_format_helper_t)(UINT8 *buf, size_t sz, struct mok_state_variable *); +#define MOK_MIRROR_KEYDB 0x01 +#define MOK_MIRROR_DELETE_FIRST 0x02 +#define MOK_VARIABLE_MEASURE 0x04 +#define MOK_VARIABLE_LOG 0x08 +#define MOK_VARIABLE_INVERSE 0x10 +#define MOK_VARIABLE_CONFIG_ONLY 0x20 + /* * MoK variables that need to have their storage validated. * -- cgit v1.2.3