[webkit-changes] [WebKit/WebKit] 3e0b1d: Fix sandbox violation of diagnostics service

Per Arne Vollan noreply at github.com
Mon Nov 14 12:35:20 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3e0b1dd1b0ed0574ee4f4fea42bea235e5bc0ba9
      https://github.com/WebKit/WebKit/commit/3e0b1dd1b0ed0574ee4f4fea42bea235e5bc0ba9
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M Source/WTF/wtf/spi/cocoa/OSLogSPI.h
    M Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm

  Log Message:
  -----------
  Fix sandbox violation of diagnostics service
https://bugs.webkit.org/show_bug.cgi?id=247898
rdar://102321130

Reviewed by Chris Dumez.

In public builds, we block access to a diagnostics service in the WebContent process, which is causing many sandbox violations.
Fix this by adjusting the log mode in public builds.

* Source/WTF/wtf/spi/cocoa/OSLogSPI.h:
* Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:
(isInternalBuild):
(WebKit::initializeLogd):
(WebKit::WebProcess::platformInitializeWebProcess):
(WebKit::initializeXPCConnectionToLogd): Deleted.

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




More information about the webkit-changes mailing list