Skip to contentSkip to conversation

efi: Add EFI shim lock verifier

RFC PATCH New Daniel Kiper 1 participant 1 message Jul 8, 2017

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 efi: Add EFI shim lock verifier

This is based on git://git.savannah.gnu.org/grub.git phcoder/verifiers branch.

Just an RFC.

TODO:
- disable the GRUB2 modules load/unload,
- disable the dangerous modules, e.g. iorw, memrw.

---
 grub-core/Makefile.core.def        |    6 +++
 grub-core/commands/efi/shim_lock.c |  100 ++++++++++++++++++++++++++++++++++++
 2 files changed, 106 insertions(+)
 create mode 100644 grub-core/commands/efi/shim_lock.c
grub-core/Makefile.core.def +6 -0
index 16c4d0e..c38e4a8 100644
@@ -905,6 +905,12 @@ module = {
 };
 
 module = {
+  name = shim_lock;
+  common = commands/efi/shim_lock.c;
+  enable = x86_64_efi;
+};
+
+module = {
   name = hdparm;
   common = commands/hdparm.c;
   common = lib/hexdump.c;
grub-core/commands/efi/shim_lock.c new file +100 -0

100 lines not on this page · raw message

Signature · 1 line
1.7.10.4