Messages in this thread | | | From | "David F." <> | Date | Tue, 22 Jun 2021 08:43:20 -0700 | Subject | How do you determine if in secure boot mode from a static driver/module? |
| |
Hi,
Subject says it all. Given a static driver linked in to the kernel, what is the best way for it to determine if the system has booted with secure boot enabled? It looks like if I could access the bootparams struct there is a "secure_boot" member set on kernel startup from EFI handover.
Thanks.
| |