aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/sparc64
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.ibm.com>2019-04-01 13:39:44 -0400
committerShuah Khan <skhan@linuxfoundation.org>2019-04-17 15:32:44 -0600
commitb433a52aa28733e0650c5e83efdccfd0637b981a (patch)
tree1956c2d9916ef1e0698426828a770db82651c1ad /tools/testing/selftests/sparc64
parentselftests/kexec: make kexec_load test independent of IMA being enabled (diff)
downloadlinux-dev-b433a52aa28733e0650c5e83efdccfd0637b981a.tar.xz
linux-dev-b433a52aa28733e0650c5e83efdccfd0637b981a.zip
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 <zohar@linux.ibm.com> Reviewed-by: Petr Vorel <pvorel@suse.cz> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/sparc64')
0 files changed, 0 insertions, 0 deletions