]> xenbits.xensource.com Git - people/aperard/ovmf.git/commitdiff
SecurityPkg: Add StackCheckLibNull
authorOliver Smith-Denny <osde@linux.microsoft.com>
Tue, 23 Jul 2024 22:28:43 +0000 (15:28 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 13 Sep 2024 03:58:46 +0000 (03:58 +0000)
Remove the old stack check lib now that MdeLibs.inc includes
the new one.

Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com>
SecurityPkg/SecurityPkg.dsc

index bc991410a1f9819a64648c6f246ab1012cab00ee..f6a3f49f12aa744586811a2a9dc6f010d1e19f78 100644 (file)
   PlatformLibWrapper|SecurityPkg/DeviceSecurity/OsStub/PlatformLibWrapper/PlatformLibWrapper.inf\r
   MemLibWrapper|SecurityPkg/DeviceSecurity/OsStub/MemLibWrapper/MemLibWrapper.inf\r
 \r
-[LibraryClasses.ARM, LibraryClasses.AARCH64]\r
-  # Add support for GCC stack protector\r
-  NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
+# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules\r
+[LibraryClasses.common.SEC]\r
+  NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf\r
 \r
+[LibraryClasses.ARM, LibraryClasses.AARCH64]\r
   ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r
 \r
   ArmTrngLib|MdePkg/Library/BaseArmTrngLibNull/BaseArmTrngLibNull.inf\r