Re: [PATCH] lkdtm: Add more EFI runtime tests

From: Kees Cook

Date: Mon Oct 12 2026 - 13:07:59 EST




On October 11, 2026 4:40:14 AM PDT, Ard Biesheuvel <ardb@xxxxxxxxxx> wrote:
>+static void efi_rt_test(enum efi_rts_ids id, const char *desc)
>+{
>+ efi_status_t status = efi.lkdtm_rt_test(id);
>+
>+ if (status == EFI_UNSUPPORTED)
>+ pr_err("XFAIL: Test not supported on this configuration\n");

I've tried to have more specific rationale for XFAIL reports. Like, I try to say what someone needs to do to make it not an XFAIL. Here that's running under EFI?

Otherwise looks good! If that message is made a little more "actionable", feel free to take via EFI:

Reviewed-by: Kees Cook <kees@xxxxxxxxxx>

-Kees


--
Kees Cook