diff options
| author | Peter Jones <pjones@redhat.com> | 2013-09-23 10:22:48 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2013-09-23 10:40:49 -0400 |
| commit | 2901506937de7fc294979d01a82eab5bbfd8ef7c (patch) | |
| tree | d7111e2b15b8a5e5ce3e56fa7d4296764a9df0f6 /shim.c | |
| parent | 16854e364cbd97500fb73c0a89ab41e82add5212 (diff) | |
| download | efi-boot-shim-2901506937de7fc294979d01a82eab5bbfd8ef7c.tar.gz efi-boot-shim-2901506937de7fc294979d01a82eab5bbfd8ef7c.zip | |
Make SHIM_LOCK_GUID a first-class object with a symbol.
Right now the CA is checking if shim builds expose a particular version
of the shim protocol. To do this, they're looking for SHIM_LOCK_GUID's
value in the resulting binary.
Currently, with SHIM_LOCK_GUID as a macro that gets assigned to local
variables, that means they have to compensate for mov instructions mixed
in with the actual value. This is completely absurd, so promote it to a
first-class object with a symbol to make it both easy to find and
continuous.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'shim.c')
| -rw-r--r-- | shim.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -55,6 +55,8 @@ static void *load_options; static UINT32 load_options_size; static UINT8 verbose; +EFI_GUID SHIM_LOCK_GUID = { 0x605dab50, 0xe046, 0x4300, {0xab, 0xb6, 0x3d, 0xd8, 0x10, 0xdd, 0x8b, 0x23} }; + /* * The vendor certificate used for validating the second stage loader */ |
