diff options
| author | Linn Crosetto <[email protected]> | 2016-04-25 21:06:36 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2016-04-28 11:33:48 +0200 |
| commit | 73a6492589c87cd56707c8ac19eec78236c2d576 (patch) | |
| tree | c7e87b542e6d1c0f8c26f99ae34eef58007666ba /tools/perf/scripts/python | |
| parent | 7fc8442f2a8a77f40565b42c41e4f2d48b179a56 (diff) | |
efi/arm64: Report unexpected errors when determining Secure Boot status
Certain code in the boot path may require the ability to determine whether
UEFI Secure Boot is definitely enabled, for example printing status to the
console. Other code may need to know when UEFI Secure Boot is definitely
disabled, for example restricting use of kernel parameters.
If an unexpected error is returned from GetVariable() when querying the
status of UEFI Secure Boot, return an error to the caller. This allows the
caller to determine the definite state, and to take appropriate action if
an expected error is returned.
Signed-off-by: Linn Crosetto <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Roy Franz <[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')
0 files changed, 0 insertions, 0 deletions