Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2c0db498f18fdde2d8781770ce110a4ccbf2a936
      
https://github.com/WebKit/WebKit/commit/2c0db498f18fdde2d8781770ce110a4ccbf2a936
  Author: Wenson Hsieh <[email protected]>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M 
Source/WebKit/Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceEntryPoint.h
    M Source/WebKit/UIProcess/Cocoa/WebProcessProxyCocoa.mm
    M Source/WebKit/UIProcess/Launcher/ProcessLauncher.h
    M Source/WebKit/UIProcess/Launcher/cocoa/ProcessLauncherCocoa.mm
    M Source/WebKit/UIProcess/WebProcessProxy.cpp
    M Source/WebKit/UIProcess/WebProcessProxy.h

  Log Message:
  -----------
  Add a way to conditionally disable JIT cage at runtime
https://bugs.webkit.org/show_bug.cgi?id=276001
rdar://130669638

Reviewed by Keith Miller.

Add some plumbing to disable JIT cage at runtime, via a new `disable-jit-cage` 
XPC initialization
key that can be set by the process launcher.

* 
Source/WebKit/Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceEntryPoint.h:
(WebKit::XPCServiceInitializer):
* Source/WebKit/UIProcess/Cocoa/WebProcessProxyCocoa.mm:
(WebKit::WebProcessProxy::shouldDisableJITCage const):
* Source/WebKit/UIProcess/Launcher/ProcessLauncher.h:
(WebKit::ProcessLauncher::Client::shouldDisableJITCage const):
* Source/WebKit/UIProcess/Launcher/cocoa/ProcessLauncherCocoa.mm:
(WebKit::ProcessLauncher::finishLaunchingProcess):
* Source/WebKit/UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::shouldDisableJITCage const):
* Source/WebKit/UIProcess/WebProcessProxy.h:

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



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

Reply via email to