Update Subrepos to Sync Stack Cookie Changes (#870)

## Description

The StackCheckLib instances have been updated in all subrepos. Thi PR
updates all subrepos and the StackCheckLib instances for SBSA and Q35.

- [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 in pipelines

## Integration Instructions

N/A
This commit is contained in:
Taylor Beebe 2024-03-05 12:05:23 -08:00 коммит произвёл GitHub
Родитель 053b9e006b
Коммит 9339d2f70b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
13 изменённых файлов: 37 добавлений и 18 удалений

@ -1 +1 @@
Subproject commit c3b9b0134f92e6154805eb0565ca946b84360665
Subproject commit f8ced3e097680c17e19953d2618143d46c295c4e

@ -1 +1 @@
Subproject commit f29260e748abea574c714d25c8fb782b6f9317c7
Subproject commit 2d1aa5cc483628d59ee36d4da3fcd437a86d58c3

@ -1 +1 @@
Subproject commit 6aa386a1d437e9d0e2560fbc1295d83e48c15c06
Subproject commit 5af0370f2867f235315f8113ae3d4915a624df55

@ -1 +1 @@
Subproject commit cca9d2d80aa3f120f0573a2c498528b66bd4a653
Subproject commit 937689b6b2c1778e152464c8fe0e8f66b93757ab

@ -1 +1 @@
Subproject commit ae7a47ff6682bf50d116d5dd3edb8d1e4596cfb7
Subproject commit ee14133c76543f5c25815cdf10e2a8b246e447a1

@ -1 +1 @@
Subproject commit cb08bb671806197fa57b14f34b8c449a82b1d7fa
Subproject commit e713a142aa66b81bf483cf79f92a5e33d069ccdd

@ -1 +1 @@
Subproject commit d5379bdd63dc290d209b43746e0ab83108661ce4
Subproject commit e6c62ff1943ee17b6bf498cfbf48d4db5b47c1db

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

@ -311,6 +311,16 @@
PrmModuleDiscoveryLib|PrmPkg/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.inf
PrmPeCoffLib|PrmPkg/Library/DxePrmPeCoffLib/DxePrmPeCoffLib.inf
StackCheckFailureHookLib|MdePkg/Library/StackCheckFailureHookLibNull/StackCheckFailureHookLibNull.inf
[LibraryClasses.common.PEI_CORE]
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
[LibraryClasses.common.PEIM, LibraryClasses.common.MM_CORE_STANDALONE, LibraryClasses.common.MM_STANDALONE]
NULL|MdePkg/Library/StackCheckLib/StackCheckLibStaticInit.inf
[LibraryClasses.common.DXE_CORE, LibraryClasses.common.SMM_CORE, LibraryClasses.common.DXE_SMM_DRIVER, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
NULL|MdePkg/Library/StackCheckLib/StackCheckLibDynamicInit.inf
#########################################
# SEC Libraries
#########################################
@ -880,6 +890,7 @@ QemuQ35Pkg/Library/ResetSystemLib/StandaloneMmResetSystemLib.inf
QemuQ35Pkg/Sec/SecMain.inf {
<LibraryClasses>
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
}
#########################################

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

@ -64,3 +64,6 @@
gUefiQemuQ35PkgTokenSpaceGuid.PcdQemuHashTableSize
gUefiQemuQ35PkgTokenSpaceGuid.PcdOvmfSnpSecretsBase
gUefiQemuQ35PkgTokenSpaceGuid.PcdOvmfSnpSecretsSize
[BuildOptions]
MSFT:*_*_*_CC_FLAGS = /GS-

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

@ -81,3 +81,6 @@
[FeaturePcd]
gQemuPkgTokenSpaceGuid.PcdSmmSmramRequire
[BuildOptions]
MSFT:*_*_*_CC_FLAGS = /GS-

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

@ -144,9 +144,6 @@
# NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf # MU_CHANGE
NULL|MdePkg/Library/CompilerIntrinsicsLib/ArmCompilerIntrinsicsLib.inf # MU_CHANGE
# Add support for GCC stack protector
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
# ARM Architectural Libraries
CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
@ -363,6 +360,17 @@
AdvancedLoggerAccessLib |AdvLoggerPkg/Library/AdvancedLoggerAccessLib/AdvancedLoggerAccessLib.inf
FmpDependencyLib|FmpDevicePkg/Library/FmpDependencyLib/FmpDependencyLib.inf
# Stack cookie support
StackCheckFailureHookLib|MdePkg/Library/StackCheckFailureHookLibNull/StackCheckFailureHookLibNull.inf
[LibraryClasses.common.SEC, LibraryClasses.common.PEI_CORE]
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
[LibraryClasses.common.PEIM, LibraryClasses.common.MM_CORE_STANDALONE, LibraryClasses.common.MM_STANDALONE]
NULL|MdePkg/Library/StackCheckLib/StackCheckLibStaticInit.inf
[LibraryClasses.common.DXE_CORE, LibraryClasses.common.SMM_CORE, LibraryClasses.common.DXE_SMM_DRIVER, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
NULL|MdePkg/Library/StackCheckLib/StackCheckLibDynamicInit.inf
[LibraryClasses.common.DXE_CORE, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
MsUiThemeLib |MsGraphicsPkg/Library/MsUiThemeLib/Dxe/MsUiThemeLib.inf

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

@ -28,6 +28,7 @@
UefiRuntimeServicesTableLib |MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
PeiServicesLib |MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
HiiLib |MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
NULL |MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
# Services tables/Entry points
UefiBootServicesTableLib |MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
@ -96,13 +97,6 @@
Tpm2DeviceLib |SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
SourceDebugEnabledLib |SourceLevelDebugPkg/Library/SourceDebugEnabled/SourceDebugEnabledLib.inf
# MU_CHANGE [BEGIN] - Add Stack Cookie Support
[LibraryClasses.X64]
RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
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
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf

@ -1 +1 @@
Subproject commit 4e4f1724a97002e3ec0603a4fa48117bd12e3d0e
Subproject commit 31cbd6c6dfd0f6a4bb7002ab7a527ce68aaeb6b7