lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ