Title: [287069] trunk/Source/WebKit
Revision
287069
Author
pvol...@apple.com
Date
2021-12-15 02:16:10 -0800 (Wed, 15 Dec 2021)

Log Message

[iOS][WP] Add access to required syscall
https://bugs.webkit.org/show_bug.cgi?id=234336
<rdar://86502081>

Reviewed by Tim Horton.

Add required syscall to the WebContent process' sandbox on iOS. This syscall was blocked in
https://trac.webkit.org/changeset/286673/webkit.

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

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (287068 => 287069)


--- trunk/Source/WebKit/ChangeLog	2021-12-15 09:43:04 UTC (rev 287068)
+++ trunk/Source/WebKit/ChangeLog	2021-12-15 10:16:10 UTC (rev 287069)
@@ -1,3 +1,16 @@
+2021-12-15  Per Arne Vollan  <pvol...@apple.com>
+
+        [iOS][WP] Add access to required syscall
+        https://bugs.webkit.org/show_bug.cgi?id=234336
+        <rdar://86502081>
+
+        Reviewed by Tim Horton.
+
+        Add required syscall to the WebContent process' sandbox on iOS. This syscall was blocked in
+        https://trac.webkit.org/changeset/286673/webkit.
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:
+
 2021-12-14  Jean-Yves Avenard  <j...@apple.com>
 
         SourceBufferParser should be using contiguous shared buffer

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


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in	2021-12-15 09:43:04 UTC (rev 287068)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in	2021-12-15 10:16:10 UTC (rev 287069)
@@ -1637,6 +1637,11 @@
             (when (defined? 'mach_port_is_connection_for_service)
                 (allow mach-message-send (kernel-mig-routine mach_port_is_connection_for_service))
             )
+
+            (if (and gizmo? (defined? 'mach_make_memory_entry))
+                (allow mach-message-send (kernel-mig-routine mach_make_memory_entry)))
+            (if (and gizmo? (defined? 'mach_make_memory_entry_64))
+                (allow mach-message-send (kernel-mig-routine mach_make_memory_entry_64)))
         )
     )
 )
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to