From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web10.4897.1605191106254495423 for ; Thu, 12 Nov 2020 06:25:08 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([116.232.42.12]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Thu, 12 Nov 2020 22:24:27 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , Cc: , , References: <20201109064522.919-1-bret.barkelew@microsoft.com> In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIHY5IDAwLzEzXSBBZGQgdGhlIFZhcmlhYmxlUG9saWN5IGZlYXR1cmU=?= Date: Thu, 12 Nov 2020 22:24:28 +0800 Message-ID: <003b01d6b8ff$87dae810$9790b830$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQJLPoKaSG+DZoUNf2pf4ozKyJfXuAJv8t+rqMf9cUA= Content-Type: multipart/alternative; boundary="----=_NextPart_000_003C_01D6B942.960023E0" Content-Language: zh-cn ------=_NextPart_000_003C_01D6B942.960023E0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Bret: V9 version change is mainly for MdeModule Variable driver. The change is = good to me. Reviewed-by: Liming Gao =20 Besides, I find V9 doesn=E2=80=99t include the patch 0014-MdeModulePkg-Ad= d-a-shell-based-functional-test-for-VariablePolicy. Because this patch does= n=E2=80=99t pass ECC, will you plan to add it later?=20 =20 Thanks Liming =E5=8F=91=E4=BB=B6=E4=BA=BA: bounce+27952+67296+4905953+8761045@groups.io = =E4=BB=A3=E8=A1=A8 Bret Bark= elew =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2020=E5=B9=B411=E6=9C=8812=E6=97=A5 = 2:44 =E6=94=B6=E4=BB=B6=E4=BA=BA: edk2-devel-groups-io =E4=B8=BB=E9=A2=98: Re: [edk2-devel] [PATCH v9 00/13] Add the VariablePoli= cy feature =20 To clarify: =20 The current solution to the MorLock EndOfDxe issue is to expressly call Lo= ckVariablePolicy() in the same locations that mEndOfDxe is set (which was t= he mechanism that previously locked the VariableLock interface). This solut= ion maintains parity with the old design, which is keeping with the ethos o= f minimal changes and similar functionality to VariableLock. It does not in= troduce any new dependencies. =20 The only drawback to this approach is that it preserves the strict orderin= g that was also previously required by MorLock, which I will attempt to add= ress in later updates. =20 On Sun, Nov 8, 2020 at 10:45 PM Bret Barkelew > wrote: The 14 patches in this series add the VariablePolicy feature to the core, deprecate Edk2VarLock (while adding a compatibility layer to reduce code churn), and integrate the VariablePolicy libraries and protocols into Variable Services. Since the integration requires multiple changes, including adding librarie= s, a protocol, an SMI communication handler, and VariableServices integration= , the patches are broken up by individual library additions and then a final integration. Security-sensitive changes like bypassing Authenticated Variable enforcement are also broken out into individual patches so that attention can be called directly to them. Platform porting instructions are described in this wiki entry: https://github.com/tianocore/tianocore.github.io/wiki/VariablePolicy-Proto= col---Enhanced-Method-for-Managing-Variables#platform-porting Discussion of the feature can be found in multiple places throughout the last year on the RFC channel, staging branches, and in devel. Most recently, this subject was discussed in this thread: https://edk2.groups.io/g/devel/message/53712 (the code branches shared in that discussion are now out of date, but the whitepapers and discussion are relevant). Cc: Jiewen Yao > Cc: Dandan Bi > Cc: Chao Zhang > Cc: Jian J Wang > Cc: Hao A Wu > Cc: Liming Gao > Cc: Jordan Justen > Cc: Laszlo Ersek > Cc: Ard Biesheuvel = > Cc: Andrew Fish > Cc: Ray Ni > Cc: Bret Barkelew = > Signed-off-by: Bret Barkelew > v9 changes: * Rebase * Address the event ordering issues around MorLock at EndOfDxe * Drop problematic tests * Address ECC issues v8 changes: * Rebase * Small tweaks from final PRs * Drank a lot * Enrolled several members and a steward in CatFacts v7 changes: * Address comments from Dandan about security of the MM handler * Add readme * Fix bug around hex characters in BOOT####, etc * Add additional testing for hex characters * Add additional testing for authenticated variables v6 changes: * Fix an issue with uninitialized Status in InitVariablePolicyLib() and De= initVariablePolicyLib() * Fix GCC building in shell-based functional test * Rebase on latest origin/master v5 changes: * Fix the CONST mismatch in VariablePolicy.h and VariablePolicySmmDxe.c * Fix EFIAPI mismatches in the functional unittest * Rebase on latest origin/master v4 changes: * Remove Optional PcdAllowVariablePolicyEnforcementDisable PCD from platfo= rms * Rebase on master * Migrate to new MmCommunicate2 protocol * Fix an oversight in the default return value for InitMmCommonCommBuffer * Fix in VariablePolicyLib to allow ExtraInitRuntimeDxe to consume variabl= es V3 changes: * Address all non-unittest issues with ECC * Make additional style changes * Include section name in hunk headers in "ini-style" files * Remove requirement for the EdkiiPiSmmCommunicationsRegionTable driver (now allocates its own buffer) * Change names from VARIABLE_POLICY_PROTOCOL and gVariablePolicyProtocolGu= id to EDKII_VARIABLE_POLICY_PROTOCOL and gEdkiiVariablePolicyProtocolGuid * Fix GCC warning about initializing externs * Add UNI strings for new PCD * Add patches for ArmVirtPkg, OvmfXen, and UefiPayloadPkg * Reorder patches according to Liming's feedback about adding to platforms before changing variable driver V2 changes: * Fixed implementation for RuntimeDxe * Add PCD to block DisableVariablePolicy * Fix the DumpVariablePolicy pagination in SMM Bret Barkelew (13): MdeModulePkg: Define the VariablePolicy protocol interface MdeModulePkg: Define the VariablePolicyLib MdeModulePkg: Define the VariablePolicyHelperLib MdeModulePkg: Define the VarCheckPolicyLib and SMM interface OvmfPkg: Add VariablePolicy engine to OvmfPkg platform EmulatorPkg: Add VariablePolicy engine to EmulatorPkg platform ArmVirtPkg: Add VariablePolicy engine to ArmVirtPkg platform UefiPayloadPkg: Add VariablePolicy engine to UefiPayloadPkg platform MdeModulePkg: Connect VariablePolicy business logic to VariableServices MdeModulePkg: Allow VariablePolicy state to delete protected variables SecurityPkg: Allow VariablePolicy state to delete authenticated variables MdeModulePkg: Change TCG MOR variables to use VariablePolicy MdeModulePkg: Drop VarLock from RuntimeDxe variable driver MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.c = | 346 ++++++++ MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.c = | 396 ++++++++++ MdeModulePkg/Library/VariablePolicyLib/VariablePolicyExtraInitNull.c = | 46 ++ MdeModulePkg/Library/VariablePolicyLib/VariablePolicyExtraInitRuntimeDxe.= c | 85 ++ MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.c = | 830 ++++++++++++++++++++ MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockDxe.c = | 52 +- MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockSmm.c = | 60 +- MdeModulePkg/Universal/Variable/RuntimeDxe/VarCheck.c = | 49 +- MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c = | 60 ++ MdeModulePkg/Universal/Variable/RuntimeDxe/VariableLockRequestToLock.c = | 71 ++ MdeModulePkg/Universal/Variable/RuntimeDxe/VariablePolicySmmDxe.c = | 573 ++++++++++++++ MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.c = | 7 + MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.c = | 14 + SecurityPkg/Library/AuthVariableLib/AuthService.c = | 30 +- ArmVirtPkg/ArmVirt.dsc.inc = | 4 + EmulatorPkg/EmulatorPkg.dsc = | 3 + MdeModulePkg/Include/Guid/VarCheckPolicyMmi.h = | 54 ++ MdeModulePkg/Include/Library/VariablePolicyHelperLib.h = | 164 ++++ MdeModulePkg/Include/Library/VariablePolicyLib.h = | 207 +++++ MdeModulePkg/Include/Protocol/VariablePolicy.h = | 157 ++++ MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf = | 42 + MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.uni = | 12 + MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf = | 35 + MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.uni = | 12 + MdeModulePkg/Library/VariablePolicyLib/ReadMe.md = | 406 ++++++++++ MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf = | 48 ++ MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.uni = | 12 + MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf = | 51 ++ MdeModulePkg/MdeModulePkg.ci.yaml = | 4 +- MdeModulePkg/MdeModulePkg.dec = | 26 +- MdeModulePkg/MdeModulePkg.dsc = | 9 + MdeModulePkg/MdeModulePkg.uni = | 7 + MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf = | 5 + MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf = | 4 + MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf = | 11 + MdeModulePkg/Universal/Variable/RuntimeDxe/VariableStandaloneMm.inf = | 4 + OvmfPkg/OvmfPkgIa32.dsc = | 5 + OvmfPkg/OvmfPkgIa32X64.dsc = | 5 + OvmfPkg/OvmfPkgX64.dsc = | 5 + OvmfPkg/OvmfXen.dsc = | 4 + SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf = | 2 + UefiPayloadPkg/UefiPayloadPkgIa32.dsc = | 4 + UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc = | 4 + 43 files changed, 3845 insertions(+), 80 deletions(-) create mode 100644 MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyL= ib.c create mode 100644 MdeModulePkg/Library/VariablePolicyHelperLib/VariableP= olicyHelperLib.c create mode 100644 MdeModulePkg/Library/VariablePolicyLib/VariablePolicyE= xtraInitNull.c create mode 100644 MdeModulePkg/Library/VariablePolicyLib/VariablePolicyE= xtraInitRuntimeDxe.c create mode 100644 MdeModulePkg/Library/VariablePolicyLib/VariablePolicyL= ib.c create mode 100644 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableLoc= kRequestToLock.c create mode 100644 MdeModulePkg/Universal/Variable/RuntimeDxe/VariablePol= icySmmDxe.c create mode 100644 MdeModulePkg/Include/Guid/VarCheckPolicyMmi.h create mode 100644 MdeModulePkg/Include/Library/VariablePolicyHelperLib.h create mode 100644 MdeModulePkg/Include/Library/VariablePolicyLib.h create mode 100644 MdeModulePkg/Include/Protocol/VariablePolicy.h create mode 100644 MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyL= ib.inf create mode 100644 MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyL= ib.uni create mode 100644 MdeModulePkg/Library/VariablePolicyHelperLib/VariableP= olicyHelperLib.inf create mode 100644 MdeModulePkg/Library/VariablePolicyHelperLib/VariableP= olicyHelperLib.uni create mode 100644 MdeModulePkg/Library/VariablePolicyLib/ReadMe.md create mode 100644 MdeModulePkg/Library/VariablePolicyLib/VariablePolicyL= ib.inf create mode 100644 MdeModulePkg/Library/VariablePolicyLib/VariablePolicyL= ib.uni create mode 100644 MdeModulePkg/Library/VariablePolicyLib/VariablePolicyL= ibRuntimeDxe.inf --=20 2.28.0.windows.1 ------=_NextPart_000_003C_01D6B942.960023E0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Bret:

=C2= = =A0V9 version change is mainly for MdeModule Variable driver. The change i= s good to me. Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>=

 

=C2=A0Besides, I find V9 doesn=E2=80=99t include the pat= ch 0014-MdeModulePkg-Add-a-shell-based-functional-test-for-VariablePolicy. = Because this patch doesn=E2=80=99t pass ECC, will you plan to add it later?=

 

<= p class=3DMsoNormal>Thanks

Li= ming

=E5=8F=91=E4=BB= = =B6=E4=BA=BA: bounce+27952+67296+4= 905953+8761045@groups.io <bounce+27952+67296+4905953+8761045@groups.io&g= t; =E4=BB=A3=E8=A1=A8 Bret Barkelew
=E5=8F=91=E9=80=81=E6=97= =B6=E9=97=B4: 2020=E5=B9=B411=E6=9C=8812=E6=97=A5 2:44
=E6=94=B6=E4=BB=B6=E4=BA=BA= : edk2-devel-groups-io <devel@edk2.groups.= io>
=E4=B8=BB=E9=A2=98: Re: [edk2-devel] [PATCH v9 00/13] Add the VariablePolicy feat= ure

 

To clarify:

 

The current solution to the MorLock EndOfDxe issu= e is to expressly call LockVariablePolicy() in the same locations that mEnd= OfDxe is set (which was the mechanism that previously locked the VariableLo= ck interface). This solution maintains parity with the old design, which is= keeping with the ethos of minimal changes and similar functionality to Var= iableLock. It does not introduce any new dependencies.

 

The only drawback t= o this approach is that it preserves the strict ordering that was also prev= iously required by MorLock, which I will attempt to address in later update= s.

=  

On= Sun, Nov 8, 2020 at 10:45 PM Bret Barkelew <bret@corthon.com> wrote:

The 14 patches in this series add = the VariablePolicy feature to the core,
deprecate Edk2VarLock (while add= ing a compatibility layer to reduce code
churn), and integrate the Varia= blePolicy libraries and protocols into
Variable Services.

Since t= he integration requires multiple changes, including adding libraries,
a = protocol, an SMI communication handler, and VariableServices integration,the patches are broken up by individual library additions and then a fina= l
integration. Security-sensitive changes like bypassing AuthenticatedVariable enforcement are also broken out into individual patches so that<= br>attention can be called directly to them.

Platform porting instru= ctions are described in this wiki entry:
https://github.= com/tianocore/tianocore.github.io/wiki/VariablePolicy-Protocol---Enhanced-M= ethod-for-Managing-Variables#platform-porting

Discussion of the = feature can be found in multiple places throughout
the last year on the = RFC channel, staging branches, and in devel.

Most recently, this sub= ject was discussed in this thread:
https://edk2.groups.io/g/devel/messag= e/53712
(the code branches shared in that discussion are now out of = date, but the
whitepapers and discussion are relevant).

Cc: Jiewe= n Yao <jiewen.= yao@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Chao Zhang <= chao.b.zhang@in= tel.com>
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: Jordan Justen <jordan.l.justen@in= tel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm= .com>
Cc: Andrew Fish <afish@apple.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Bret Bar= kelew <brbar= kel@microsoft.com>
Signed-off-by: Bret Barkelew <brbarkel@microsoft.com&g= t;

v9 changes:
* Rebase
* Address the event ordering issues ar= ound MorLock at EndOfDxe
* Drop problematic tests
* Address ECC issue= s

v8 changes:
* Rebase
* Small tweaks from final PRs
* Dran= k a lot
* Enrolled several members and a steward in CatFacts

v7 c= hanges:
* Address comments from Dandan about security of the MM handler<= br>* Add readme
* Fix bug around hex characters in BOOT####, etc
* Ad= d additional testing for hex characters
* Add additional testing for aut= henticated variables

v6 changes:
* Fix an issue with uninitialize= d Status in InitVariablePolicyLib() and DeinitVariablePolicyLib()
* Fix = GCC building in shell-based functional test
* Rebase on latest origin/ma= ster

v5 changes:
* Fix the CONST mismatch in VariablePolicy.h and= VariablePolicySmmDxe.c
* Fix EFIAPI mismatches in the functional unitte= st
* Rebase on latest origin/master

v4 changes:
* Remove Optio= nal PcdAllowVariablePolicyEnforcementDisable PCD from platforms
* Rebase= on master
* Migrate to new MmCommunicate2 protocol
* Fix an oversigh= t in the default return value for InitMmCommonCommBuffer
* Fix in Variab= lePolicyLib to allow ExtraInitRuntimeDxe to consume variables

V3 cha= nges:
* Address all non-unittest issues with ECC
* Make additional st= yle changes
* Include section name in hunk headers in "ini-style&qu= ot; files
* Remove requirement for the EdkiiPiSmmCommunicationsRegionTab= le driver
  (now allocates its own buffer)
* Change names from V= ARIABLE_POLICY_PROTOCOL and gVariablePolicyProtocolGuid
  to EDKII_= VARIABLE_POLICY_PROTOCOL and gEdkiiVariablePolicyProtocolGuid
* Fix GCC = warning about initializing externs
* Add UNI strings for new PCD
* Ad= d patches for ArmVirtPkg, OvmfXen, and UefiPayloadPkg
* Reorder patches = according to Liming's feedback about adding to platforms
  before c= hanging variable driver

V2 changes:
* Fixed implementation for Ru= ntimeDxe
* Add PCD to block DisableVariablePolicy
* Fix the DumpVaria= blePolicy pagination in SMM

Bret Barkelew (13):
  MdeModuleP= kg: Define the VariablePolicy protocol interface
  MdeModulePkg: De= fine the VariablePolicyLib
  MdeModulePkg: Define the VariablePolic= yHelperLib
  MdeModulePkg: Define the VarCheckPolicyLib and SMM int= erface
  OvmfPkg: Add VariablePolicy engine to OvmfPkg platform
=   EmulatorPkg: Add VariablePolicy engine to EmulatorPkg platform
&n= bsp; ArmVirtPkg: Add VariablePolicy engine to ArmVirtPkg platform
 = UefiPayloadPkg: Add VariablePolicy engine to UefiPayloadPkg platform
&n= bsp; MdeModulePkg: Connect VariablePolicy business logic to
   = ; VariableServices
  MdeModulePkg: Allow VariablePolicy state to de= lete protected variables
  SecurityPkg: Allow VariablePolicy state = to delete authenticated
    variables
  MdeModulePkg: = Change TCG MOR variables to use VariablePolicy
  MdeModulePkg: Drop= VarLock from RuntimeDxe variable driver

 MdeModulePkg/Library/= VarCheckPolicyLib/VarCheckPolicyLib.c          &nb= sp;      | 346 ++++++++
 MdeModulePkg/Library/Variab= lePolicyHelperLib/VariablePolicyHelperLib.c     | 396 ++++++= ++++
 MdeModulePkg/Library/VariablePolicyLib/VariablePolicyExtraIni= tNull.c       |  46 ++
 MdeModulePkg/Libra= ry/VariablePolicyLib/VariablePolicyExtraInitRuntimeDxe.c |  85 ++
&= nbsp;MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.c   = ;              | 830 +++++++++++++++++++= +
 MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockDxe.c =                |  52 +-
&n= bsp;MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockSmm.c   =              |  60 +-
 Mde= ModulePkg/Universal/Variable/RuntimeDxe/VarCheck.c      &nbs= p;               |  49 +-
 = MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c     = ;              |  60 ++
 Md= eModulePkg/Universal/Variable/RuntimeDxe/VariableLockRequestToLock.c  =    |  71 ++
 MdeModulePkg/Universal/Variable/Runtime= Dxe/VariablePolicySmmDxe.c          | 573 ++++++++= ++++++
 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.c&nb= sp;                  |  &= nbsp;7 +
 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRun= timeDxe.c         |  14 +
 SecurityPk= g/Library/AuthVariableLib/AuthService.c          &= nbsp;               |  30 +-
&nb= sp;ArmVirtPkg/ArmVirt.dsc.inc            &nbs= p;                     &n= bsp;              |   4 +
&= nbsp;EmulatorPkg/EmulatorPkg.dsc            &= nbsp;                    =               |   3 +
&nbs= p;MdeModulePkg/Include/Guid/VarCheckPolicyMmi.h        =                      = ; |  54 ++
 MdeModulePkg/Include/Library/VariablePolicyHelperL= ib.h                    &= nbsp;| 164 ++++
 MdeModulePkg/Include/Library/VariablePolicyLib.h&n= bsp;                     =      | 207 +++++
 MdeModulePkg/Include/Protocol/Vari= ablePolicy.h                  =            | 157 ++++
 MdeModulePkg/L= ibrary/VarCheckPolicyLib/VarCheckPolicyLib.inf        &= nbsp;      |  42 +
 MdeModulePkg/Library/VarChe= ckPolicyLib/VarCheckPolicyLib.uni            =    |  12 +
 MdeModulePkg/Library/VariablePolicyHelpe= rLib/VariablePolicyHelperLib.inf   |  35 +
 MdeModul= ePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.uni  &nbs= p;|  12 +
 MdeModulePkg/Library/VariablePolicyLib/ReadMe.md&nb= sp;                     &= nbsp;    | 406 ++++++++++
 MdeModulePkg/Library/VariableP= olicyLib/VariablePolicyLib.inf            &nb= sp;  |  48 ++
 MdeModulePkg/Library/VariablePolicyLib/Var= iablePolicyLib.uni               |&= nbsp; 12 +
 MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLi= bRuntimeDxe.inf     |  51 ++
 MdeModulePkg/MdeM= odulePkg.ci.yaml                &nb= sp;                     &= nbsp;   |   4 +-
 MdeModulePkg/MdeModulePkg.dec = ;                     &nb= sp;                     &= nbsp; |  26 +-
 MdeModulePkg/MdeModulePkg.dsc    &nb= sp;                     &= nbsp;                   | = ;  9 +
 MdeModulePkg/MdeModulePkg.uni      &nbs= p;                     &n= bsp;                 |   = 7 +
 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.= inf          |   5 +
 MdeModuleP= kg/Universal/Variable/RuntimeDxe/VariableSmm.inf       =          |   4 +
 MdeModulePkg/= Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf     =  |  11 +
 MdeModulePkg/Universal/Variable/RuntimeDxe/Var= iableStandaloneMm.inf        |   4 +
 = ;OvmfPkg/OvmfPkgIa32.dsc              &n= bsp;                     =                 |   5 + OvmfPkg/OvmfPkgIa32X64.dsc           =                     &nbs= p;                |   5 +=
 OvmfPkg/OvmfPkgX64.dsc            &= nbsp;                    =                    |&nbs= p;  5 +
 OvmfPkg/OvmfXen.dsc         =                     &nbs= p;                     &n= bsp;   |   4 +
 SecurityPkg/Library/AuthVariableLib/= AuthVariableLib.inf                =     |   2 +
 UefiPayloadPkg/UefiPayloadPkgIa32.= dsc                    &n= bsp;                 |   = 4 +
 UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc      &= nbsp;                    =        |   4 +
 43 files changed, 38= 45 insertions(+), 80 deletions(-)
 create mode 100644 MdeModulePkg/= Library/VarCheckPolicyLib/VarCheckPolicyLib.c
 create mode 100644 M= deModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.c
&n= bsp;create mode 100644 MdeModulePkg/Library/VariablePolicyLib/VariablePolic= yExtraInitNull.c
 create mode 100644 MdeModulePkg/Library/VariableP= olicyLib/VariablePolicyExtraInitRuntimeDxe.c
 create mode 100644 Md= eModulePkg/Library/VariablePolicyLib/VariablePolicyLib.c
 create mo= de 100644 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableLockRequestToL= ock.c
 create mode 100644 MdeModulePkg/Universal/Variable/RuntimeDx= e/VariablePolicySmmDxe.c
 create mode 100644 MdeModulePkg/Include/G= uid/VarCheckPolicyMmi.h
 create mode 100644 MdeModulePkg/Include/Li= brary/VariablePolicyHelperLib.h
 create mode 100644 MdeModulePkg/In= clude/Library/VariablePolicyLib.h
 create mode 100644 MdeModulePkg/= Include/Protocol/VariablePolicy.h
 create mode 100644 MdeModulePkg/= Library/VarCheckPolicyLib/VarCheckPolicyLib.inf
 create mode 100644= MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.uni
 crea= te mode 100644 MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyH= elperLib.inf
 create mode 100644 MdeModulePkg/Library/VariablePolic= yHelperLib/VariablePolicyHelperLib.uni
 create mode 100644 MdeModul= ePkg/Library/VariablePolicyLib/ReadMe.md
 create mode 100644 MdeMod= ulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
 create mode= 100644 MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.uni
&nb= sp;create mode 100644 MdeModulePkg/Library/VariablePolicyLib/VariablePolicy= LibRuntimeDxe.inf

--
2.28.0.windows.1

=
------=_NextPart_000_003C_01D6B942.960023E0--