Title: [272015] trunk/Source/WebKit
Revision
272015
Author
pvol...@apple.com
Date
2021-01-28 09:00:27 -0800 (Thu, 28 Jan 2021)

Log Message

[macOS] Remove access to com.apple.BluetoothServices
https://bugs.webkit.org/show_bug.cgi?id=221059
<rdar://problem/70509471>

Reviewed by Alex Christensen.

Remove access to com.apple.BluetoothServices in the WebContent sandbox on macOS, since there are no reports of this being used.

* UIProcess/WebPageProxy.cpp:
(WebKit::mediaRelatedMachServices):
* WebProcess/com.apple.WebProcess.sb.in:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (272014 => 272015)


--- trunk/Source/WebKit/ChangeLog	2021-01-28 16:32:49 UTC (rev 272014)
+++ trunk/Source/WebKit/ChangeLog	2021-01-28 17:00:27 UTC (rev 272015)
@@ -1,3 +1,17 @@
+2021-01-28  Per Arne  <pvol...@apple.com>
+
+        [macOS] Remove access to com.apple.BluetoothServices
+        https://bugs.webkit.org/show_bug.cgi?id=221059
+        <rdar://problem/70509471>
+
+        Reviewed by Alex Christensen.
+
+        Remove access to com.apple.BluetoothServices in the WebContent sandbox on macOS, since there are no reports of this being used.
+
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::mediaRelatedMachServices):
+        * WebProcess/com.apple.WebProcess.sb.in:
+
 2021-01-28  Carlos Garcia Campos  <cgar...@igalia.com>
 
         [SOUP] Stop using SoupRequest API in preparation for libsoup3

Modified: trunk/Source/WebKit/UIProcess/WebPageProxy.cpp (272014 => 272015)


--- trunk/Source/WebKit/UIProcess/WebPageProxy.cpp	2021-01-28 16:32:49 UTC (rev 272014)
+++ trunk/Source/WebKit/UIProcess/WebPageProxy.cpp	2021-01-28 17:00:27 UTC (rev 272015)
@@ -7828,7 +7828,7 @@
 #if PLATFORM(MAC) || PLATFORM(MACCATALYST)
         "com.apple.audio.audiohald"_s, "com.apple.audio.SandboxHelper"_s, "com.apple.coremedia.endpointstream.xpc"_s, "com.apple.coremedia.endpointplaybacksession.xpc"_s,
         "com.apple.coremedia.endpointremotecontrolsession.xpc"_s, "com.apple.coremedia.videodecoder"_s,
-        "com.apple.coremedia.videoencoder"_s, "com.apple.lskdd"_s, "com.apple.trustd.agent"_s, "com.apple.BluetoothServices"_s,
+        "com.apple.coremedia.videoencoder"_s, "com.apple.lskdd"_s, "com.apple.trustd.agent"_s,
 #endif
     });
     return services;

Modified: trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in (272014 => 272015)


--- trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2021-01-28 16:32:49 UTC (rev 272014)
+++ trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2021-01-28 17:00:27 UTC (rev 272015)
@@ -1488,23 +1488,9 @@
     )
 )
 
-;; Confirm this is unused:
 (allow mach-lookup
-    (with report)
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 110000
-    (with telemetry-backtrace)
-#endif
     (require-all
         (extension "com.apple.webkit.extension.mach")
-        (global-name
-            "com.apple.BluetoothServices"
-        )
-    )
-)
-
-(allow mach-lookup
-    (require-all
-        (extension "com.apple.webkit.extension.mach")
         (xpc-service-name
             ;;; FIXME(207716): The following should be removed when the GPU process is complete
             "com.apple.accessibility.mediaaccessibilityd"
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to