]> git.proxmox.com Git - efi-boot-shim.git/blame - globals.c
Closes: #936009
[efi-boot-shim.git] / globals.c
CommitLineData
8529e0f7
SM
1// SPDX-License-Identifier: BSD-2-Clause-Patent
2/*
3 * globals.c - global shim state
4 * Copyright Peter Jones <pjones@redhat.com>
5 */
6
7#include "shim.h"
8
9UINT32 vendor_authorized_size = 0;
10UINT8 *vendor_authorized = NULL;
11
12UINT32 vendor_deauthorized_size = 0;
13UINT8 *vendor_deauthorized = NULL;
14
e6ace38a
SM
15UINT32 user_cert_size;
16UINT8 *user_cert;
17
8529e0f7
SM
18#if defined(ENABLE_SHIM_CERT)
19UINT32 build_cert_size;
20UINT8 *build_cert;
21#endif /* defined(ENABLE_SHIM_CERT) */
22
23/*
24 * indicator of how an image has been verified
25 */
26verification_method_t verification_method;
27int loader_is_participating;
28
29UINT8 user_insecure_mode;
30UINT8 ignore_db;
31UINT8 trust_mok_list;
e6ace38a 32UINT8 mok_policy = 0;
8529e0f7
SM
33
34UINT32 verbose = 0;
35
36// vim:fenc=utf-8:tw=75:noet