]> git.proxmox.com Git - efi-boot-shim.git/blob - globals.c
d/control: add empty version pinning package
[efi-boot-shim.git] / globals.c
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
9 UINT32 vendor_authorized_size = 0;
10 UINT8 *vendor_authorized = NULL;
11
12 UINT32 vendor_deauthorized_size = 0;
13 UINT8 *vendor_deauthorized = NULL;
14
15 UINT32 user_cert_size;
16 UINT8 *user_cert;
17
18 #if defined(ENABLE_SHIM_CERT)
19 UINT32 build_cert_size;
20 UINT8 *build_cert;
21 #endif /* defined(ENABLE_SHIM_CERT) */
22
23 /*
24 * indicator of how an image has been verified
25 */
26 verification_method_t verification_method;
27 int loader_is_participating;
28
29 UINT8 user_insecure_mode;
30 UINT8 ignore_db;
31 UINT8 trust_mok_list;
32 UINT8 mok_policy = 0;
33
34 UINT32 verbose = 0;
35
36 // vim:fenc=utf-8:tw=75:noet