Title: [280644] trunk/Source/WebKit
Revision
280644
Author
[email protected]
Date
2021-08-04 11:28:50 -0700 (Wed, 04 Aug 2021)

Log Message

[macOS] Update message filters
https://bugs.webkit.org/show_bug.cgi?id=228773
<rdar://problem/81514311>

Reviewed by Brent Fulgham.

Update message filters with enforcement on macOS based on telemetry.

* WebProcess/com.apple.WebProcess.sb.in:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (280643 => 280644)


--- trunk/Source/WebKit/ChangeLog	2021-08-04 18:02:20 UTC (rev 280643)
+++ trunk/Source/WebKit/ChangeLog	2021-08-04 18:28:50 UTC (rev 280644)
@@ -1,3 +1,15 @@
+2021-08-04  Per Arne  <[email protected]>
+
+        [macOS] Update message filters
+        https://bugs.webkit.org/show_bug.cgi?id=228773
+        <rdar://problem/81514311>
+
+        Reviewed by Brent Fulgham.
+
+        Update message filters with enforcement on macOS based on telemetry.
+
+        * WebProcess/com.apple.WebProcess.sb.in:
+
 2021-08-04  Said Abou-Hallawa  <[email protected]>
 
         [GPU Process] REGRESSION: iCloud Photos Web app may crash WebProcess once the GPUProcess is relaunched

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


--- trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2021-08-04 18:02:20 UTC (rev 280643)
+++ trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2021-08-04 18:28:50 UTC (rev 280644)
@@ -240,7 +240,7 @@
 
 (define (AppleAVDUserClientMessageFilter)
     (apply-message-filter
-        (allow (with telemetry) (with message "AppleAVDUserClient")
+        (deny (with telemetry) (with message "AppleAVDUserClient")
             iokit-async-external-method
             iokit-external-method
             iokit-external-trap
@@ -250,21 +250,34 @@
 
 (define (IOSurfaceAcceleratorClientMessageFilter)
     (apply-message-filter
-        (allow (with telemetry) (with message "IOSurfaceAcceleratorClient")
+        (deny (with telemetry) (with message "IOSurfaceAcceleratorClient")
             iokit-async-external-method
-            iokit-external-method
             iokit-external-trap
         )
+        (allow iokit-external-method
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 120000
+            (iokit-method-number
+                1
+            )
+#endif
+        )
     )
 )
 
 (define (IOMobileFramebufferUserClientMessageFilter)
     (apply-message-filter
-        (allow (with telemetry-backtrace) (with message "IOMobileFramebufferUserClient")
+        (deny (with telemetry) (with message "IOMobileFramebufferUserClient")
             iokit-async-external-method
-            iokit-external-method
             iokit-external-trap
         )
+        (allow (with telemetry-backtrace) iokit-external-method
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 120000
+            (iokit-method-number
+                8
+                28
+            )
+#endif
+        )
     )
 )
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to