Title: [294060] trunk/Source/WebKit
Revision
294060
Author
pvol...@apple.com
Date
2022-05-11 10:51:04 -0700 (Wed, 11 May 2022)

Log Message

[WP] Remove obsolete message filters
https://bugs.webkit.org/show_bug.cgi?id=240242

Reviewed by Chris Dumez.

Remove obsolete message filters in the WebContent process' sandbox. This filtering is now done in other parts of the system.

* Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:
* WebProcess/com.apple.WebProcess.sb.in:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (294059 => 294060)


--- trunk/Source/WebKit/ChangeLog	2022-05-11 17:46:29 UTC (rev 294059)
+++ trunk/Source/WebKit/ChangeLog	2022-05-11 17:51:04 UTC (rev 294060)
@@ -1,3 +1,15 @@
+2022-05-11  Per Arne Vollan  <pvol...@apple.com>
+
+        [WP] Remove obsolete message filters
+        https://bugs.webkit.org/show_bug.cgi?id=240242
+
+        Reviewed by Chris Dumez.
+
+        Remove obsolete message filters in the WebContent process' sandbox. This filtering is now done in other parts of the system.
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:
+        * WebProcess/com.apple.WebProcess.sb.in:
+
 2022-05-11  Youenn Fablet  <you...@apple.com>
 
         MediaPlayerPrivateRemote::nativeImageForCurrentTime should not use IOSurfaces

Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in (294059 => 294060)


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in	2022-05-11 17:46:29 UTC (rev 294059)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in	2022-05-11 17:51:04 UTC (rev 294060)
@@ -373,42 +373,10 @@
             (deny (with telemetry)
                 iokit-async-external-method
                 iokit-external-trap)
-            (allow iokit-async-external-method
-                    (iokit-method-number
-                        40
-                    )
-            )
+            (allow iokit-async-external-method)
             (deny (with telemetry) (with message "IOSurfaceRootUserClient")
                 iokit-external-method)
-            (allow iokit-external-method
-                (iokit-method-number
-                    0
-                    1
-                    2
-                    3
-                    5
-                    9
-                    10
-                    11
-                    12
-                    13
-                    14
-                    15
-                    20
-                    21
-                    23
-                    27
-                    31
-                    32
-                    34
-                    35
-                    36
-                    38
-                    39
-                    40
-                    41
-                )
-            )
+            (allow iokit-external-method)
         )
     )
 )

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


--- trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2022-05-11 17:46:29 UTC (rev 294059)
+++ trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2022-05-11 17:51:04 UTC (rev 294060)
@@ -225,7 +225,7 @@
             iokit-external-method
         )
         (allow iokit-async-external-method
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 120000
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 120000 && __MAC_OS_X_VERSION_MIN_REQUIRED < 130000
             (iokit-method-number
                 17
                 40
@@ -233,7 +233,7 @@
 #endif
         )
         (allow iokit-external-method
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 120000
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 120000 && __MAC_OS_X_VERSION_MIN_REQUIRED < 130000
             (iokit-method-number
                 0
                 1
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to