Re: [PATCH v5] test_firmware: Test platform fw loading on non-EFI systems

2020-09-10 Thread Ard Biesheuvel
On Thu, 10 Sep 2020 at 01:54, Kees Cook wrote: > > On non-EFI systems, it wasn't possible to test the platform firmware > loader because it will have never set "checked_fw" during __init. > Instead, allow the test code to override this check. Additionally split > the declarations into a private sy

[PATCH v5] test_firmware: Test platform fw loading on non-EFI systems

2020-09-09 Thread Kees Cook
On non-EFI systems, it wasn't possible to test the platform firmware loader because it will have never set "checked_fw" during __init. Instead, allow the test code to override this check. Additionally split the declarations into a private symbol namespace so there is greater enforcement of the symb