diff options
author | Michael D Kinney <michael.d.kinney@intel.com> | 2021-01-05 19:48:55 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-01-08 17:44:55 +0000 |
commit | 75ab038d725235861938b7a4bb2e6f4beaca7629 (patch) | |
tree | b27252a6edb35909d2c9c23d2d1f95f82973210a /EmulatorPkg/MiscSubClassPlatformDxe/MiscSystemManufacturerData.c | |
parent | 184ece2d30bf6ed0ccd85e25250dcbdd0e951439 (diff) | |
download | edk2-stable/202011.tar.gz edk2-stable/202011.tar.bz2 edk2-stable/202011.zip |
MdeModulePkg/Library/VarCheckLib: Allow SetVariable from SMMstable/202011
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>
(cherry picked from commit 248d08c5983b561549891fec54c213e1f354179c)
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'EmulatorPkg/MiscSubClassPlatformDxe/MiscSystemManufacturerData.c')
0 files changed, 0 insertions, 0 deletions