Title: [269890] trunk/Source/WebKit
Revision
269890
Author
[email protected]
Date
2020-11-16 19:05:46 -0800 (Mon, 16 Nov 2020)

Log Message

[macOS] Remove access to the unused AppleIntelMEUserClient IOKit class
https://bugs.webkit.org/show_bug.cgi?id=219012
<rdar://problem/70462796>

Reviewed by Eric Carlson.

Although we originally thought this was needed for H.264 decoding, testing shows that
this class is never used in WebKit flows, and is not needed. We should remove it.

* GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in:
* WebProcess/com.apple.WebProcess.sb.in:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (269889 => 269890)


--- trunk/Source/WebKit/ChangeLog	2020-11-17 02:39:49 UTC (rev 269889)
+++ trunk/Source/WebKit/ChangeLog	2020-11-17 03:05:46 UTC (rev 269890)
@@ -1,3 +1,17 @@
+2020-11-16  Brent Fulgham  <[email protected]>
+
+        [macOS] Remove access to the unused AppleIntelMEUserClient IOKit class
+        https://bugs.webkit.org/show_bug.cgi?id=219012
+        <rdar://problem/70462796>
+
+        Reviewed by Eric Carlson.
+
+        Although we originally thought this was needed for H.264 decoding, testing shows that
+        this class is never used in WebKit flows, and is not needed. We should remove it.
+
+        * GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in:
+        * WebProcess/com.apple.WebProcess.sb.in:
+
 2020-11-16  Per Arne Vollan  <[email protected]>
 
         [macOS] Create sandbox extension for the power log service on internal installs

Modified: trunk/Source/WebKit/GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in (269889 => 269890)


--- trunk/Source/WebKit/GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in	2020-11-17 02:39:49 UTC (rev 269889)
+++ trunk/Source/WebKit/GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in	2020-11-17 03:05:46 UTC (rev 269890)
@@ -119,7 +119,9 @@
         (iokit-registry-entry-class "IOFramebufferSharedUserClient"))
     ;; H.264 Acceleration
     (allow iokit-open
+#if __MAC_OS_X_VERSION_MIN_REQUIRED < 101500
         (iokit-registry-entry-class "AppleIntelMEUserClient")
+#endif
         (iokit-registry-entry-class "AppleSNBFBUserClient"))
     ;; QuartzCore
     (allow iokit-open

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


--- trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2020-11-17 02:39:49 UTC (rev 269889)
+++ trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2020-11-17 03:05:46 UTC (rev 269890)
@@ -172,6 +172,7 @@
         (iokit-registry-entry-class "IOFramebufferSharedUserClient"))
 #endif
     ;; H.264 Acceleration
+#if __MAC_OS_X_VERSION_MIN_REQUIRED < 101500
     (allow iokit-open
         (iokit-registry-entry-class "AppleIntelMEUserClient")
 #if HAVE(SANDBOX_MESSAGE_FILTERING)
@@ -187,6 +188,7 @@
         )
 #endif
     )
+#endif
     (allow iokit-open
         (iokit-registry-entry-class "AppleSNBFBUserClient")
 #if HAVE(SANDBOX_MESSAGE_FILTERING)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to