[PATCH v2 01/18] test_firmware: Test platform fw loading on non-EFI systems
Luis Chamberlain
mcgrof at kernel.org
Tue Jul 28 20:48:06 EDT 2020
On Wed, Jul 22, 2020 at 12:30:03PM -0700, 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 header file so it there is greater
> enforcement of the symbol visibility.
>
> Fixes: 548193cba2a7 ("test_firmware: add support for firmware_request_platform")
> Cc: stable at vger.kernel.org
> Signed-off-by: Kees Cook <keescook at chromium.org>
A *clearly* private symbol namespace would seem cleaner, example the existing:
EXPORT_SYMBOL_NS_GPL(fw_fallback_config, FIRMWARE_LOADER_PRIVATE);
Luis
More information about the kexec
mailing list