[webkit-changes] [WebKit/WebKit] 86a687: Enable mach bootstrap sandbox extension on macOS

Per Arne Vollan noreply at github.com
Thu Mar 9 17:02:13 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 86a68721d5a98b019ba47e7ca7dc4c6166992397
      https://github.com/WebKit/WebKit/commit/86a68721d5a98b019ba47e7ca7dc4c6166992397
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2023-03-09 (Thu, 09 Mar 2023)

  Changed paths:
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp

  Log Message:
  -----------
  Enable mach bootstrap sandbox extension on macOS
https://bugs.webkit.org/show_bug.cgi?id=252995
rdar://problem/106291955

Reviewed by Sihui Liu and Simon Fraser.

Also macOS has the Mach bootstrap sandbox extension. This patch also makes sure that we
don't block launchd when not all GPUP flags are set, since we then can have Mach
connections being opened to the Metal compiler service at any time, which would not
succeed with blocking of launchd.

* Source/WTF/wtf/PlatformHave.h:
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::creationParameters):
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:

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




More information about the webkit-changes mailing list