mirror_edk2/MdeModulePkg/Universal/Variable/RuntimeDxe
Bret Barkelew e176bafc9d MdeModulePkg: Allow VariablePolicy state to delete protected variables
https://bugzilla.tianocore.org/show_bug.cgi?id=2522

TcgMorLockSmm provides special protections for
the TCG MOR variables. This will check
IsVariablePolicyEnabled() before enforcing
them to allow variable deletion when policy
engine is disabled.

Only allows deletion, not modification.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Bret Barkelew <brbarkel@microsoft.com>
Signed-off-by: Bret Barkelew <brbarkel@microsoft.com>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
Acked-by: Jian J Wang <jian.j.wang@intel.com>
2020-11-17 01:03:43 +00:00
..
Measurement.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PrivilegePolymorphic.h MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
Reclaim.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
SpeculationBarrierDxe.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
SpeculationBarrierSmm.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
TcgMorLockDxe.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
TcgMorLockSmm.c MdeModulePkg: Allow VariablePolicy state to delete protected variables 2020-11-17 01:03:43 +00:00
VarCheck.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
Variable.c MdeModulePkg/Variable/RuntimeDxe: Fix return status from Reclaim() 2020-07-14 16:38:30 +00:00
Variable.h MdeModulePkg/Variable: Add RT GetVariable() cache support 2019-11-05 21:55:54 -08:00
VariableDxe.c MdeModulePkg: Connect VariablePolicy business logic to VariableServices 2020-11-17 01:03:43 +00:00
VariableExLib.c MdeModulePkg/Variable: Parameterize auth status in VariableParsing 2019-11-05 21:55:54 -08:00
VariableNonVolatile.c MdeModulePkg/Variable: Add a file for NV variable functions 2019-11-05 21:55:54 -08:00
VariableNonVolatile.h MdeModulePkg/Variable: Add a file for NV variable functions 2019-11-05 21:55:54 -08:00
VariableParsing.c MdeModulePkg/Variable: Initialize local variable "Variable" 2019-11-25 14:14:18 +00:00
VariableParsing.h MdeModulePkg/Variable: Parameterize auth status in VariableParsing 2019-11-05 21:55:54 -08:00
VariablePolicySmmDxe.c MdeModulePkg: Connect VariablePolicy business logic to VariableServices 2020-11-17 01:03:43 +00:00
VariableRuntimeCache.c MdeModulePkg/Variable: Add RT GetVariable() cache support 2019-11-05 21:55:54 -08:00
VariableRuntimeCache.h MdeModulePkg/Variable: Add RT GetVariable() cache support 2019-11-05 21:55:54 -08:00
VariableRuntimeDxe.inf MdeModulePkg: Connect VariablePolicy business logic to VariableServices 2020-11-17 01:03:43 +00:00
VariableRuntimeDxe.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
VariableRuntimeDxeExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
VariableSmm.c MdeModulePkg: Connect VariablePolicy business logic to VariableServices 2020-11-17 01:03:43 +00:00
VariableSmm.inf MdeModulePkg: Connect VariablePolicy business logic to VariableServices 2020-11-17 01:03:43 +00:00
VariableSmm.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
VariableSmmExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
VariableSmmRuntimeDxe.c MdeModulePkg: Connect VariablePolicy business logic to VariableServices 2020-11-17 01:03:43 +00:00
VariableSmmRuntimeDxe.inf MdeModulePkg: Connect VariablePolicy business logic to VariableServices 2020-11-17 01:03:43 +00:00
VariableSmmRuntimeDxe.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
VariableSmmRuntimeDxeExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
VariableStandaloneMm.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
VariableStandaloneMm.inf MdeModulePkg: Allow VariablePolicy state to delete protected variables 2020-11-17 01:03:43 +00:00
VariableTraditionalMm.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00