audk/MdeModulePkg/Library
Michael D Kinney 248d08c598 MdeModulePkg/Library/VarCheckLib: Allow SetVariable from SMM
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3154

Update VarCheckLibSetVariableCheck() to allow locked variables
to be updated if the RequestSource is VarCheckFromTrusted even
if one or more variable check handlers return EFI_WRITE_PROTECTED.
RequestSource is only set to VarCheckFromTrusted if the request
is through the EFI_SMM_VARAIBLE_PROTOCOL.

Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Bret Barkelew <bret.barkelew@microsoft.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
2021-01-07 03:48:10 +00:00
..
AuthVariableLibNull
BaseBmpSupportLib
BaseHobLibNull
BaseIpmiLibNull
BaseMemoryAllocationLibNull
BasePlatformHookLibNull
BaseResetSystemLibNull MdeModulePkg: remove EnterS3WithImmediateWake () from ResetSystemLib 2020-01-10 07:00:51 +00:00
BaseSerialPortLib16550 MdeModulePkg: Fix constructor invocation ordering 2020-10-16 17:21:04 +00:00
BaseSortLib
BootLogoLib
BootMaintenanceManagerUiLib MdeModulePkg/BM_UI: Add the new terminal types to related menu 2019-09-24 21:56:46 +08:00
BootManagerUiLib MdeModulePkg/BootManagerUiLib: show inactive boot options 2020-06-06 07:49:42 +00:00
BrotliCustomDecompressLib MdeModulePkg BrotliCustomDecompressLib: Remove the duplicated functions 2021-01-06 07:15:09 +00:00
CpuExceptionHandlerLibNull
CustomizedDisplayLib
DebugAgentLibNull
DeviceManagerUiLib MdeModulePkg/DeviceManagerUiLib: connect all before creating menu page 2020-04-30 07:51:10 +00:00
DisplayUpdateProgressLibGraphics
DisplayUpdateProgressLibText
DxeCapsuleLibFmp MdeModulePkg: Add FMP Capsule Image Header extension 2020-05-20 14:49:13 +00:00
DxeCapsuleLibNull MdeModulePkg: Add Capsule On Disk APIs into CapsuleLib. 2019-06-26 15:10:42 +08:00
DxeCoreMemoryAllocationLib
DxeCorePerformanceLib MdeModulePkg/DxeCorePerformanceLib: Switch to UnicodeStrnToAsciiStrS 2020-07-21 14:47:24 +00:00
DxeCrc32GuidedSectionExtractLib
DxeDebugPrintErrorLevelLib
DxeFileExplorerProtocol
DxeIpmiLibIpmiProtocol
DxePerformanceLib
DxePrintLibPrint2Protocol MdeModulePkg: Remove code wrapped by DISABLE_NEW_DEPRECATED_INTERFACES 2020-10-13 01:35:03 +00:00
DxeReportStatusCodeLib
DxeResetSystemLib MdeModulePkg: Add DxeResetSystemLib unit test 2020-02-07 19:18:53 +00:00
DxeSecurityManagementLib MdeModulePkg/SecurityManagementLib: Mark the File parameter as OPTIONAL 2020-04-22 01:55:34 +00:00
FileExplorerLib MdeModulePkg/FileExplorerLib: remove redundant null pointer check 2020-12-04 05:56:09 +00:00
FmpAuthenticationLibNull
FrameBufferBltLib MdeModulePkg: Add missing sourceX for Blt 2019-09-25 11:54:53 +08:00
LockBoxNullLib
LzmaCustomDecompressLib MdeModulePkg/LzmaCustomDecompressLib: catch 4GB+ uncompressed buffer sizes 2020-11-21 02:04:40 +00:00
NonDiscoverableDeviceRegistrationLib
OemHookStatusCodeLibNull
PciHostBridgeLibNull
PeiCrc32GuidedSectionExtractLib
PeiDebugLibDebugPpi
PeiDebugPrintHobLib
PeiDxeDebugLibReportStatusCode
PeiIpmiLibIpmiPpi
PeiPerformanceLib
PeiReportStatusCodeLib
PeiResetSystemLib MdeModulePkg: remove EnterS3WithImmediateWake () from ResetSystemLib 2020-01-10 07:00:51 +00:00
PiDxeS3BootScriptLib MdeModulePkg/PiDxeS3BootScriptLib: Fix potential numeric truncation (CVE-2019-14563) 2020-02-07 07:58:35 +00:00
PiSmmCoreMemoryAllocationLib
PiSmmCoreSmmServicesTableLib
PlatformBootManagerLibNull
PlatformHookLibSerialPortPpi
PlatformVarCleanupLib MdeModulePkg/PlatformVarCleanupLib: fix HiiConstructConfigHdr() call 2019-10-09 09:40:09 +02:00
ResetUtilityLib MdeModulePkg/ResetUtilityLib: Use STATIC_ASSERT macro 2019-09-17 09:38:59 +08:00
RuntimeDxeReportStatusCodeLib
RuntimeResetSystemLib MdeModulePkg: remove EnterS3WithImmediateWake () from ResetSystemLib 2020-01-10 07:00:51 +00:00
SmmCorePerformanceLib MdeModulePkg: fix cast in GetModuleInfoFromHandle() calls 2019-10-09 09:40:09 +02:00
SmmCorePlatformHookLibNull
SmmIpmiLibSmmIpmiProtocol
SmmLockBoxLib
SmmMemoryAllocationProfileLib
SmmPerformanceLib
SmmReportStatusCodeLib
SmmSmiHandlerProfileLib
TpmMeasurementLibNull MdeModulePkg/Library: add PEIM and SEC module type to TpmMeasurementLibNull 2020-09-02 12:27:38 +00:00
UefiBootManagerLib MdeModulePkg: Upon BootOption failure, Destroy RamDisk memory before RSC. 2020-07-20 15:00:18 +00:00
UefiHiiLib MdeModulePkg/Library: Revise HiiLib to check REST_STYLE 2020-11-11 00:53:00 +00:00
UefiHiiServicesLib
UefiMemoryAllocationProfileLib
UefiSortLib
VarCheckHiiLib
VarCheckLib MdeModulePkg/Library/VarCheckLib: Allow SetVariable from SMM 2021-01-07 03:48:10 +00:00
VarCheckPcdLib
VarCheckPolicyLib MdeModulePkg/VarCheckPolicyLib: implement standalone MM version 2020-12-23 09:13:58 +00:00
VarCheckUefiLib
VariablePolicyHelperLib MdeModulePkg: Define the VariablePolicyHelperLib 2020-11-17 01:03:43 +00:00
VariablePolicyLib MdeModulePkg/VariablePolicyLib: Fix runtime panic in ValidateSetVariable() 2020-11-27 01:19:34 +00:00