lkml.org 
[lkml]   [2021]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectHow 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.

\
 
 \ /
  Last update: 2021-06-22 17:44    [W:0.043 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site