diff options
author | Ard Biesheuvel <[email protected]> | 2017-03-01 19:04:35 +0000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-03-02 08:11:18 +0100 |
commit | 52e51f16407b7b34e26affb500a21e250d9fce0b (patch) | |
tree | 657dbdb683203334bcbaf0d024528249aa376645 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 4977ab6e92e267afe9d8f78438c3db330ca8434c (diff) |
efi/libstub: Treat missing SecureBoot variable as Secure Boot disabled
The newly refactored code that infers the firmware's Secure Boot state
prints the following error when the EFI variable 'SecureBoot' does not
exist:
EFI stub: ERROR: Could not determine UEFI Secure Boot status.
However, this variable is only guaranteed to be defined on a system that
is Secure Boot capable to begin with, and so it is not an error if it is
missing. So report Secure Boot as being disabled in this case, without
printing any error messages.
Signed-off-by: Ard Biesheuvel <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Matt Fleming <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions