[webkit-changes] [WebKit/WebKit] 0d523e: Avoid blocking logd with sandbox state flag

Per Arne Vollan noreply at github.com
Mon May 22 14:16:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0d523edc586116d30a82c28e10b32372dec6824f
      https://github.com/WebKit/WebKit/commit/0d523edc586116d30a82c28e10b32372dec6824f
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2023-05-22 (Mon, 22 May 2023)

  Changed paths:
    M Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in
    M Source/WebKit/Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceMain.mm
    M Source/WebKit/WebProcess/com.apple.WebProcess.sb.in

  Log Message:
  -----------
  Avoid blocking logd with sandbox state flag
https://bugs.webkit.org/show_bug.cgi?id=257129
rdar://108267763

Reviewed by Brent Fulgham.

Avoid blocking logd with sandbox state flag, since that appears to have some performance impact.
Instead, use the 'apple-internal' modifier in the sandbox.

* Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:
* Source/WebKit/Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceMain.mm:
(WebKit::initializeLogd):
(WebKit::XPCServiceEventHandler):
(WebKit::blockLogdInSandbox): Deleted.
* Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:

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




More information about the webkit-changes mailing list