Title: [280699] trunk/Source/WebKit
Revision
280699
Author
[email protected]
Date
2021-08-05 10:18:19 -0700 (Thu, 05 Aug 2021)

Log Message

GPUProcessProxy should send tccd mach lookup sandbox extension
https://bugs.webkit.org/show_bug.cgi?id=228827

Reviewed by Per Arne Vollan.

In https://bugs.webkit.org/show_bug.cgi?id=225319, I mistakenly moved from mach lookup extension to generic extension.
Reverting that change.

* UIProcess/GPU/GPUProcessProxy.cpp:
(WebKit::addTCCDSandboxExtension):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (280698 => 280699)


--- trunk/Source/WebKit/ChangeLog	2021-08-05 17:05:58 UTC (rev 280698)
+++ trunk/Source/WebKit/ChangeLog	2021-08-05 17:18:19 UTC (rev 280699)
@@ -1,3 +1,16 @@
+2021-08-05  Youenn Fablet  <[email protected]>
+
+        GPUProcessProxy should send tccd mach lookup sandbox extension
+        https://bugs.webkit.org/show_bug.cgi?id=228827
+
+        Reviewed by Per Arne Vollan.
+
+        In https://bugs.webkit.org/show_bug.cgi?id=225319, I mistakenly moved from mach lookup extension to generic extension.
+        Reverting that change.
+
+        * UIProcess/GPU/GPUProcessProxy.cpp:
+        (WebKit::addTCCDSandboxExtension):
+
 2021-08-05  Eric Carlson  <[email protected]>
 
         [GPUP] RemoteAudioSessionProxyManager should use the shared audio session

Modified: trunk/Source/WebKit/UIProcess/GPU/GPUProcessProxy.cpp (280698 => 280699)


--- trunk/Source/WebKit/UIProcess/GPU/GPUProcessProxy.cpp	2021-08-05 17:05:58 UTC (rev 280698)
+++ trunk/Source/WebKit/UIProcess/GPU/GPUProcessProxy.cpp	2021-08-05 17:18:19 UTC (rev 280699)
@@ -241,7 +241,7 @@
 static inline bool addTCCDSandboxExtension(Vector<SandboxExtension::Handle>& extensions)
 {
     SandboxExtension::Handle sandboxExtensionHandle;
-    if (!SandboxExtension::createHandleForGenericExtension("com.apple.tccd"_s, sandboxExtensionHandle)) {
+    if (!SandboxExtension::createHandleForMachLookup("com.apple.tccd"_s, std::nullopt, sandboxExtensionHandle)) {
         RELEASE_LOG_ERROR(WebRTC, "Unable to create com.apple.tccd sandbox extension");
         return false;
     }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to