aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMimi Zohar <[email protected]>2019-04-01 13:39:44 -0400
committerShuah Khan <[email protected]>2019-04-17 15:32:44 -0600
commitb433a52aa28733e0650c5e83efdccfd0637b981a (patch)
tree1956c2d9916ef1e0698426828a770db82651c1ad /tools/perf/scripts/python/exported-sql-viewer.py
parent726ff75f294672d9accc57b2d5cc7e98e337d2c6 (diff)
selftests/kexec: update get_secureboot_mode
The get_secureboot_mode() function unnecessarily requires both CONFIG_EFIVAR_FS and CONFIG_EFI_VARS to be enabled to determine if the system is booted in secure boot mode. On some systems the old EFI variable support is not enabled or, possibly, even implemented. This patch first checks the efivars filesystem for the SecureBoot and SetupMode flags, but falls back to using the old EFI variable support. The "secure_boot_file" and "setup_mode_file" couldn't be quoted due to globbing. This patch also removes the globbing. Signed-off-by: Mimi Zohar <[email protected]> Reviewed-by: Petr Vorel <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions