[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200904072905.25332-4-clin@suse.com>
Date: Fri, 4 Sep 2020 15:29:02 +0800
From: Chester Lin <clin@...e.com>
To: ardb@...nel.org, catalin.marinas@....com, will@...nel.org,
zohar@...ux.ibm.com, dmitry.kasatkin@...il.com, corbet@....net,
mark.rutland@....com, vincenzo.frascino@....com,
samitolvanen@...gle.com, masahiroy@...nel.org, mingo@...nel.org
CC: linux-kernel@...r.kernel.org, linux-efi@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-integrity@...r.kernel.org, linux-doc@...r.kernel.org,
jlee@...e.com, clin@...e.com
Subject: [PATCH 3/6] efi: add secure boot flag
Add a new EFI flag to indicate whether secure boot is enabled by UEFI
firmware or not.
Signed-off-by: Chester Lin <clin@...e.com>
---
include/linux/efi.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/efi.h b/include/linux/efi.h
index 315126b2f5e9..82a19bb0237a 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -784,6 +784,7 @@ extern int __init efi_setup_pcdp_console(char *);
#define EFI_MEM_ATTR 10 /* Did firmware publish an EFI_MEMORY_ATTRIBUTES table? */
#define EFI_MEM_NO_SOFT_RESERVE 11 /* Is the kernel configured to ignore soft reservations? */
#define EFI_PRESERVE_BS_REGIONS 12 /* Are EFI boot-services memory segments available? */
+#define EFI_SECURE_BOOT 13 /* Is EFI secure-boot enabled? */
#ifdef CONFIG_EFI
/*
--
2.26.1
Powered by blists - more mailing lists