[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAGRSmLu2znMPdECspDYmupHUjH17qeiJeFdCjPykhnOKHU0QoA@mail.gmail.com>
Date: Tue, 22 Jun 2021 08:43:20 -0700
From: "David F." <df7729@...il.com>
To: linux-kernel <linux-kernel@...r.kernel.org>
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.
Powered by blists - more mailing lists