linux/tools/testing/selftests/kexec
Ard Biesheuvel c07d2475f9 selftests/kexec: remove broken EFI_VARS secure boot fallback check
Commit b433a52aa2 ("selftests/kexec: update get_secureboot_mode")
refactored the code that discovers the EFI secure boot mode so it only
depends on either the efivars pseudo filesystem or the efivars sysfs
interface, but never both.

However, the latter version was not implemented correctly, given the
fact that the local 'efi_vars' variable never assumes a value. This
means the fallback has been dead code ever since it was introduced.

So let's drop the fallback altogether. The sysfs interface has been
deprecated for ~10 years now, and is only enabled on x86 to begin with,
so it is time to get rid of it entirely.

Reviewed-by:  Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
2022-06-24 10:19:22 +02:00
..
config selftests/kexec: Add missing '=y' to config options 2019-04-17 15:32:29 -06:00
kexec_common_lib.sh selftests/kexec: remove broken EFI_VARS secure boot fallback check 2022-06-24 10:19:22 +02:00
Makefile selftests/kexec: Enable secureboot tests for PowerPC 2022-01-05 11:44:57 -05:00
test_kexec_file_load.sh selftests/kexec: Enable secureboot tests for PowerPC 2022-01-05 11:44:57 -05:00
test_kexec_load.sh selftests/kexec: make kexec_load test independent of IMA being enabled 2019-04-17 15:32:40 -06:00