lkml.org 
[lkml]   [2016]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 4/6] efi: Get the secure boot status [ver #2]
Date
Mark Rutland <mark.rutland@arm.com> wrote:

> int secure_boot = efi_get_secureboot(sys_table);
>
> if (secure_boot > 0)
> pr_efi(sys_table, "UEFI Secure Boot is enabled.\n");
> if (secure_boot < 0)
> pr_efi_err(sys_table,
> "could not determine UEFI Secure Boot status.\n");

In which case, should this be moved into efi_get_secureboot() and it return a
bool?

David

\
 
 \ /
  Last update: 2016-11-23 12:26    [W:0.471 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site