linux-stable/tools
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
..
accounting delayacct: track delays from write-protect copy 2022-06-01 15:55:25 -07:00
arch perf tools changes for v5.19: 2nd batch 2022-05-29 10:10:15 -07:00
bootconfig
bpf
build perf build: Stop using __weak bpf_map_create() to handle older libbpf versions 2022-05-26 12:36:56 -03:00
certs
cgroup
counter
debugging
edid
firewire
firmware
gpio
hv
iio
include Bitmap patches for 5.19-rc1 2022-06-04 14:04:27 -07:00
io_uring
kvm/kvm_stat
laptop
leds
lib Bitmap patches for 5.19-rc1 2022-06-04 14:04:27 -07:00
memory-model
objtool x86/extable: Annotate ex_handler_msr_mce() as a dead end 2022-05-27 12:34:45 +02:00
pci
pcmcia
perf perf vendor events intel: Update metrics for Alderlake 2022-06-03 21:45:32 +02:00
power
rcu
scripts
spi
testing selftests/kexec: remove broken EFI_VARS secure boot fallback check 2022-06-24 10:19:22 +02:00
thermal
time
tracing rtla: Remove procps-ng dependency 2022-05-26 15:20:46 -04:00
usb
virtio
vm
wmi
Makefile