Title: [272069] trunk/Source/WebKit
Revision
272069
Author
[email protected]
Date
2021-01-29 11:22:43 -0800 (Fri, 29 Jan 2021)

Log Message

[macOS] Remove access to IOSurfaceSendRight
https://bugs.webkit.org/show_bug.cgi?id=221131
<rdar://problem/70496356>

Reviewed by Brent Fulgham.

Remove access to IOSurfaceSendRight in the WebContent process on macOS, since there are no reports of this being used.

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

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (272068 => 272069)


--- trunk/Source/WebKit/ChangeLog	2021-01-29 19:14:39 UTC (rev 272068)
+++ trunk/Source/WebKit/ChangeLog	2021-01-29 19:22:43 UTC (rev 272069)
@@ -1,3 +1,17 @@
+2021-01-29  Per Arne  <[email protected]>
+
+        [macOS] Remove access to IOSurfaceSendRight
+        https://bugs.webkit.org/show_bug.cgi?id=221131
+        <rdar://problem/70496356>
+
+        Reviewed by Brent Fulgham.
+
+        Remove access to IOSurfaceSendRight in the WebContent process on macOS, since there are no reports of this being used.
+
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::gpuIOKitClasses):
+        * WebProcess/com.apple.WebProcess.sb.in:
+
 2021-01-29  Commit Queue  <[email protected]>
 
         Unreviewed, reverting r272020 and r272034.

Modified: trunk/Source/WebKit/UIProcess/WebPageProxy.cpp (272068 => 272069)


--- trunk/Source/WebKit/UIProcess/WebPageProxy.cpp	2021-01-29 19:14:39 UTC (rev 272068)
+++ trunk/Source/WebKit/UIProcess/WebPageProxy.cpp	2021-01-29 19:22:43 UTC (rev 272069)
@@ -7775,7 +7775,6 @@
         "IOAudioControlUserClient"_s,
         "IOAudioEngineUserClient"_s,
         "IOSurfaceRootUserClient"_s,
-        "IOSurfaceSendRight"_s,
 #endif
 #if (PLATFORM(MAC) && CPU(ARM64)) || PLATFORM(IOS_FAMILY)
         "IOMobileFramebufferUserClient"_s,

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


--- trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2021-01-29 19:14:39 UTC (rev 272068)
+++ trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2021-01-29 19:22:43 UTC (rev 272069)
@@ -199,29 +199,6 @@
             )
         )
     )
-    (if (equal? (param "ENABLE_SANDBOX_MESSAGE_FILTER") "YES")
-        (allow iokit-open
-            (require-all
-                (extension "com.apple.webkit.extension.iokit")
-                (iokit-registry-entry-class "IOSurfaceSendRight")
-            )
-            (with telemetry-backtrace)
-            (apply-message-filter
-                (deny (with telemetry)
-                    iokit-async-external-method
-                    iokit-external-trap
-                    iokit-external-method
-                )
-            )
-        )
-        ; else
-        (allow iokit-open
-            (require-all
-                (extension "com.apple.webkit.extension.iokit")
-                (iokit-registry-entry-class "IOSurfaceSendRight")
-            )
-        )
-    )
 #if __MAC_OS_X_VERSION_MIN_REQUIRED < 110000
     ;; CoreVideo CVCGDisplayLink
     (allow iokit-open
@@ -1839,7 +1816,6 @@
             "AppleSNBFBUserClient"
             "IOAccelerationUserClient"
             "IOSurfaceRootUserClient"
-            "IOSurfaceSendRight"
         )
     )
 )
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to