Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 5c3dcef94cf36646f75a44cb75c72beb34fa1fd0
      
https://github.com/tianocore/edk2/commit/5c3dcef94cf36646f75a44cb75c72beb34fa1fd0
  Author: Ard Biesheuvel <a...@kernel.org>
  Date:   2025-02-11 (Tue, 11 Feb 2025)

  Changed paths:
    R 
MdePkg/Library/DynamicStackCookieEntryPointLib/PeiCore/PeiCoreStackCheckEntryPointLibNull.c
    R 
MdePkg/Library/DynamicStackCookieEntryPointLib/Peim/PeimStackCheckEntryPointLibNull.c
    R 
MdePkg/Library/DynamicStackCookieEntryPointLib/UefiApplication/ApplicationStackCheckEntryPointLibNull.c

  Log Message:
  -----------
  MdePkg/DynamicStackCookieEntryPointLib: Remove unused files

Remove some source files that were part of an earlier incarnation of
DynamicStackCookieEntryPointLib but are no longer actually in use.

Signed-off-by: Ard Biesheuvel <a...@kernel.org>


  Commit: 96cf70951f53f16853fdd42129b73940e71bab2d
      
https://github.com/tianocore/edk2/commit/96cf70951f53f16853fdd42129b73940e71bab2d
  Author: Ard Biesheuvel <a...@kernel.org>
  Date:   2025-02-11 (Tue, 11 Feb 2025)

  Changed paths:
    R MdePkg/Library/DynamicStackCookieEntryPointLib/PeiCore/PeiCoreEntryPoint.c
    R 
MdePkg/Library/DynamicStackCookieEntryPointLib/PeiCore/PeiCoreEntryPoint.uni
    R MdePkg/Library/DynamicStackCookieEntryPointLib/PeiCoreEntryPoint.inf
    R MdePkg/Library/DynamicStackCookieEntryPointLib/Peim/PeimEntryPoint.c
    R MdePkg/Library/DynamicStackCookieEntryPointLib/Peim/PeimEntryPoint.uni
    R MdePkg/Library/DynamicStackCookieEntryPointLib/PeimEntryPoint.inf
    M MdePkg/Library/StackCheckLib/Readme.md
    M MdePkg/MdePkg.dsc

  Log Message:
  -----------
  MdePkg/DynamicStackCookieEntryPointLib: Drop execute-in-place versions

SEC, PEI_CORE and PEIM type modules generally execute in place from
memory that is not writable. This means that it is not generally
possible to use an entrypoint implementation that stores a dynamically
generated stack cookie into a global variable. For PEIMs in particular,
there may be other options, such as a DEPEX on the permanent memory PPI,
but the current dynamic implementations of the stack checking library
entrypoints for PEI_CORE and PEIM modules must not be used as-is.

So remove them, and update the readme accordingly.

Signed-off-by: Ard Biesheuvel <a...@kernel.org>


Compare: https://github.com/tianocore/edk2/compare/23007f7ae2f9...96cf70951f53

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to