Hide Forgot
Description of problem: efi_main() stores the determined secure boot state in boot_params->secure_boot, but this is thereafter cleared in sanitize_boot_params() when the kernel is decompressed: memset(&boot_params->kbd_status, 0, (char *)&boot_params->hdr - (char *)&boot_params->kbd_status); if boot_params->sentinel is set.
Not actually a bug - lost part of a patch somewhere when porting to the upstream kernel.