bjornruytenberg / kdmap-patcher Goto Github PK
View Code? Open in Web Editor NEWPatches Kernel DMA Protection onto unsupported Thunderbolt-powered systems.
Home Page: https://thunderspy.io
License: Other
Patches Kernel DMA Protection onto unsupported Thunderbolt-powered systems.
Home Page: https://thunderspy.io
License: Other
Hi, sorry for bothering, I've having problems compiling it on arch Linux.
So I was wondering if is it possible to have a precompiled version of it.
Thank you very much.
There are several potential avenues through which we could support Secure Boot-enabled systems.
Shim offers an API for boot loaders to verify future programs for execution, such as GRUB. kdmap-patcher could fit between shim and GRUB for the purpose of fixing up some parts of the firmware before handing over control to the OS. Without Secure Boot, shim is loaded, our UEFI binary loads, and then we load GRUB which in turn loads Linux. In its current state, with Secure Boot enabled and self-signing our binary [1], shim is loaded, our program is loaded, but then it is unable to chainload GRUB. The code paths are identical for loading, we only get/use the shim_lock protocol if we detect Secure Boot is enabled [2]. Patches for Xen [3][4] and GRUB [5], as well as FreeBSD's approach [6], appear to contain some useful hints. We've posted an issue with Shim [7].
[1] Similar to https://wiki.archlinux.org/index.php/Unified_Extensible_Firmware_Interface/Secure_Boot#Signing_EFI_binaries
[2] https://github.com/BjornRuytenberg/kdmap-patcher/blob/sb-efi-shim-testing/src/boot.c#L91
[3] https://lists.xen.org/archives/html/xen-devel/2017-07/msg00982.html
[4] https://lists.xen.org/archives/html/xen-devel/2017-07/msg00981.html
[5] rhboot/grub2@878398c
[6] https://wiki.freebsd.org/SecureBoot
[7] rhboot/shim#217
delete
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.