Update All Submodules, Update Package DSC Files to Use New Stack Cookie Library (#784)

## Description

All submodules have been updated to top of tree to ingest the stack
cookie library transition commits. The packages in this repo were
updated to use the new stack cookie library.

- [x] Impacts functionality?
- **Functionality** - Does the change ultimately impact how firmware
functions?
- Examples: Add a new library, publish a new PPI, update an algorithm,
...
- [x] Impacts security?
- **Security** - Does the change have a direct security impact on an
application,
    flow, or firmware?
  - Examples: Crypto algorithm change, buffer overflow fix, parameter
    validation improvement, ...
- [ ] Breaking change?
- **Breaking change** - Will anyone consuming this change experience a
break
    in build or boot behavior?
- Examples: Add a new library class, move a module to a different repo,
call
    a function in a new library class in a pre-existing module, ...
- [ ] Includes tests?
  - **Tests** - Does the change include any explicit test code?
  - Examples: Unit tests, integration tests, robot tests, ...
- [ ] Includes documentation?
- **Documentation** - Does the change contain explicit documentation
additions
    outside direct code modifications (and comments)?
- Examples: Update readme file, add feature readme file, link to
documentation
    on an a separate Web page, ...

## How This Was Tested

Tested on Q35 and SBSA

## Integration Instructions

N/A
This commit is contained in:
Taylor Beebe 2023-11-29 16:19:42 -08:00 коммит произвёл GitHub
Родитель 3733fd9f99
Коммит befb9365e0
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
12 изменённых файлов: 32 добавлений и 31 удалений

@ -1 +1 @@
Subproject commit 14c187b8ac4858d154612cd67a96820f78fe5584
Subproject commit c2e0410c990da280df3e8706058b1bd0662958e3

@ -1 +1 @@
Subproject commit eb2907320c7e91b485481d8bbd4aba0a33e25a72
Subproject commit df2f637087e05b6d96b58a2cc60657e2b6403827

@ -1 +1 @@
Subproject commit decdc3afb084a2389a2bc0122a64addcd3eee8dc
Subproject commit 75b69787c83275bc1e5bf20b2a43c4eec35187ab

@ -1 +1 @@
Subproject commit b0373a1cc634554394c9390935dace96f4d5076f
Subproject commit b1ffd4d47333ab46a7165239d7fb1b4bbf39d6b8

@ -1 +1 @@
Subproject commit 1a849e3227ed1f16bd98cedbaf4595bcc2fcb3db
Subproject commit ec90ee9a408948c5051995777fdc340fa4e33b68

@ -1 +1 @@
Subproject commit 03766cfdd922011ba3358538b2b082d7f5b7b1f2
Subproject commit 4e7b1cfce8b7760627536025c371cae7501352b1

Просмотреть файл

@ -187,7 +187,6 @@
# Security Libraries
SecurityManagementLib |MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
BaseBinSecurityLib |MdePkg/Library/BaseBinSecurityLibNull/BaseBinSecurityLibNull.inf
SecurityLockAuditLib |MdeModulePkg/Library/SecurityLockAuditDebugMessageLib/SecurityLockAuditDebugMessageLib.inf ##MU_CHANGE
LockBoxLib |QemuPkg/Library/LockBoxLib/LockBoxBaseLib.inf
PlatformSecureLib |SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
@ -308,17 +307,6 @@
PlatformSmmProtectionsTestLib|UefiTestingPkg/Library/PlatformSmmProtectionsTestLibNull/PlatformSmmProtectionsTestLibNull.inf
FmpDependencyLib|FmpDevicePkg/Library/FmpDependencyLib/FmpDependencyLib.inf
##MSCHANGE Begin
!if $(TOOL_CHAIN_TAG) == VS2019 or $(TOOL_CHAIN_TAG) == VS2022
[LibraryClasses.X64, LibraryClasses.IA32]
#if debug is enabled provide StackCookie support lib so that we can link to /GS exports on MSVC
RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
[LibraryClasses.X64]
BaseBinSecurityLib|MdePkg/Library/BaseBinSecurityLibRng/BaseBinSecurityLibRng.inf
NULL|MdePkg/Library/BaseBinSecurityLibRng/BaseBinSecurityLibRng.inf
!endif
##MSCHANGE End
#SHARED_CRYPTO
!if $(ENABLE_SHARED_CRYPTO) == FALSE
[LibraryClasses.IA32]
@ -418,7 +406,7 @@
PeiServicesLib |MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
MemoryAllocationLib |MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
ReportStatusCodeLib |MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
RngLib |MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf
RngLib |MdePkg/Library/BaseRngLib/BaseRngLib.inf
MemEncryptSevLib |QemuQ35Pkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
[LibraryClasses.common.PEI_CORE]
@ -545,7 +533,7 @@
MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
RngLib|MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf
RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
AdvLoggerAccessLib|AdvLoggerPkg/Library/AdvLoggerSmmAccessLib/AdvLoggerSmmAccessLib.inf
!if $(SOURCE_DEBUG_ENABLE) == TRUE
@ -593,7 +581,7 @@
IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
AdvLoggerAccessLib|MdeModulePkg/Library/AdvLoggerAccessLibNull/AdvLoggerAccessLib.inf
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibStandaloneMm.inf
RngLib|MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf
RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
PciLib|QemuQ35Pkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
BaseLib|MmSupervisorPkg/Library/BaseLibSysCall/BaseLib.inf

Просмотреть файл

@ -199,7 +199,6 @@ MdeModulePkg/Core/Dxe/UnitTest/MemoryProtectionUnitTestHost.inf {
DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
BaseBinSecurityLib|MdePkg/Library/BaseBinSecurityLibNull/BaseBinSecurityLibNull.inf
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
MemoryBinOverrideLib|MdeModulePkg/Library/MemoryBinOverrideLibNull/MemoryBinOverrideLibNull.inf
<PcdsFixedAtBuild>
@ -210,6 +209,15 @@ MdeModulePkg/Core/Dxe/UnitTest/MemoryProtectionUnitTestHost.inf {
MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibHost.inf
PolicyServicePkg/PolicyService/DxeMm/UnitTest/DxeMmPolicyUnitTest.inf
PolicyServicePkg/PolicyService/Pei/UnitTest/PeiPolicyUnitTest.inf
SetupDataPkg/Library/ConfigKnobShimLib/ConfigKnobShimDxeLib/GoogleTest/ConfigKnobShimDxeLibGoogleTest.inf {
<LibraryClasses>
UefiRuntimeServicesTableLib|MdePkg/Test/Mock/Library/GoogleTest/MockUefiRuntimeServicesTableLib/MockUefiRuntimeServicesTableLib.inf
}
SetupDataPkg/Library/ConfigKnobShimLib/ConfigKnobShimPeiLib/GoogleTest/ConfigKnobShimPeiLibGoogleTest.inf {
<LibraryClasses>
ConfigKnobShimLib|SetupDataPkg/Library/ConfigKnobShimLib/ConfigKnobShimPeiLib/ConfigKnobShimPeiLib.inf
PeiServicesLib|MdePkg/Test/Mock/Library/GoogleTest/MockPeiServicesLib/MockPeiServicesLib.inf
}
[BuildOptions]
*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES

Просмотреть файл

@ -274,7 +274,6 @@
PciHostBridgeLib|QemuSbsaPkg/Library/SbsaQemuPciHostBridgeLib/SbsaQemuPciHostBridgeLib.inf
MemoryTypeInformationChangeLib|MdeModulePkg/Library/MemoryTypeInformationChangeLibNull/MemoryTypeInformationChangeLibNull.inf
BaseBinSecurityLib|MdePkg/Library/BaseBinSecurityLibNull/BaseBinSecurityLibNull.inf
DxeMemoryProtectionHobLib|MdeModulePkg/Library/MemoryProtectionHobLib/DxeMemoryProtectionHobLib.inf
MmMemoryProtectionHobLib|MdeModulePkg/Library/MemoryProtectionHobLib/StandaloneMmMemoryProtectionHobLib.inf
VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf

Просмотреть файл

@ -202,7 +202,6 @@ MdeModulePkg/Core/Dxe/UnitTest/MemoryProtectionUnitTestHost.inf {
DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
BaseBinSecurityLib|MdePkg/Library/BaseBinSecurityLibNull/BaseBinSecurityLibNull.inf
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
MemoryBinOverrideLib|MdeModulePkg/Library/MemoryBinOverrideLibNull/MemoryBinOverrideLibNull.inf
<PcdsFixedAtBuild>
@ -221,6 +220,15 @@ MdeModulePkg/Universal/Variable/RuntimeDxe/RuntimeDxeUnitTest/VariableLockReques
MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibHost.inf
PolicyServicePkg/PolicyService/DxeMm/UnitTest/DxeMmPolicyUnitTest.inf
PolicyServicePkg/PolicyService/Pei/UnitTest/PeiPolicyUnitTest.inf
SetupDataPkg/Library/ConfigKnobShimLib/ConfigKnobShimDxeLib/GoogleTest/ConfigKnobShimDxeLibGoogleTest.inf {
<LibraryClasses>
UefiRuntimeServicesTableLib|MdePkg/Test/Mock/Library/GoogleTest/MockUefiRuntimeServicesTableLib/MockUefiRuntimeServicesTableLib.inf
}
SetupDataPkg/Library/ConfigKnobShimLib/ConfigKnobShimPeiLib/GoogleTest/ConfigKnobShimPeiLibGoogleTest.inf {
<LibraryClasses>
ConfigKnobShimLib|SetupDataPkg/Library/ConfigKnobShimLib/ConfigKnobShimPeiLib/ConfigKnobShimPeiLib.inf
PeiServicesLib|MdePkg/Test/Mock/Library/GoogleTest/MockPeiServicesLib/MockPeiServicesLib.inf
}
[BuildOptions]
*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES

Просмотреть файл

@ -27,7 +27,6 @@
DevicePathLib |MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
UefiRuntimeServicesTableLib |MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
PeiServicesLib |MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
BaseBinSecurityLib |MdePkg/Library/BaseBinSecurityLibNull/BaseBinSecurityLibNull.inf
HiiLib |MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
# Services tables/Entry points
@ -97,13 +96,12 @@
Tpm2DeviceLib |SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
SourceDebugEnabledLib |SourceLevelDebugPkg/Library/SourceDebugEnabled/SourceDebugEnabledLib.inf
!if $(TOOL_CHAIN_TAG) == VS2019 or $(TOOL_CHAIN_TAG) == VS2022
# MU_CHANGE [BEGIN] - Add Stack Cookie Support
[LibraryClasses.X64]
# Provide StackCookie support lib so that we can link to /GS exports for VS builds
RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
BaseBinSecurityLib|MdePkg/Library/BaseBinSecurityLibRng/BaseBinSecurityLibRng.inf
NULL|MdePkg/Library/BaseBinSecurityLibRng/BaseBinSecurityLibRng.inf
!endif
NULL|MdePkg/Library/StackCheckLib/StackCheckLib.inf
StackCheckFailureLib|MdePkg/Library/StackCheckFailureLibNull/StackCheckFailureLibNull.inf
# MU_CHANGE [END] - Add Stack Cookie Support
[LibraryClasses.ARM, LibraryClasses.AARCH64]
NULL|MdePkg/Library/CompilerIntrinsicsLib/ArmCompilerIntrinsicsLib.inf

@ -1 +1 @@
Subproject commit e42172f15fbfa5e4b755c545e2fd776273829c19
Subproject commit e684179ecef2f6b17f8c1c6d82ad1f9c70fcb668