Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9e6ac9c6050a0b9403a6d52aaf39a47fcf8d4d2d
      
https://github.com/WebKit/WebKit/commit/9e6ac9c6050a0b9403a6d52aaf39a47fcf8d4d2d
  Author: Marcus Plutowski <marcus_plutow...@apple.com>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M Source/JavaScriptCore/assembler/FastJITPermissions.h
    M Source/JavaScriptCore/assembler/LinkBuffer.cpp
    M Source/JavaScriptCore/assembler/SecureARM64EHashPins.cpp
    M Source/JavaScriptCore/jit/ExecutableAllocator.cpp
    M Source/JavaScriptCore/jit/ExecutableAllocator.h

  Log Message:
  -----------
  Allow overriding threadSelfRestrict* funcs with a macro
https://bugs.webkit.org/show_bug.cgi?id=276648
rdar://131809314

Reviewed by Justin Michaud.

The new OS_THREAD_SELF_RESTRICT and OS_THREAD_SELF_RESTRICT_SUPPORTED
macros can be used to locally override the default functionality,
regardless of runtime options or target, by just defining the
appropriate macros upstream of FastJITPermissions.h.

* Source/JavaScriptCore/assembler/FastJITPermissions.h:
(threadSelfRestrictSupported):
(threadSelfRestrict):
(threadSelfRestrictRWXToRW): Deleted.
(threadSelfRestrictRWXToRX): Deleted.
* Source/JavaScriptCore/assembler/LinkBuffer.cpp:
(JSC::LinkBuffer::copyCompactAndLinkCode):
* Source/JavaScriptCore/assembler/SecureARM64EHashPins.cpp:
(JSC::WriteToJITRegionScope::WriteToJITRegionScope):
(JSC::WriteToJITRegionScope::~WriteToJITRegionScope):
* Source/JavaScriptCore/jit/ExecutableAllocator.cpp:
(JSC::initializeJITPageReservation):
* Source/JavaScriptCore/jit/ExecutableAllocator.h:
(JSC::performJITMemcpy):

Canonical link: https://commits.webkit.org/281033@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to