Title: [287099] branches/safari-613.1.12-branch/Source/WebKit
Revision
287099
Author
repst...@apple.com
Date
2021-12-15 12:55:50 -0800 (Wed, 15 Dec 2021)

Log Message

Cherry-pick r287098. rdar://problem/86502081

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

    Reviewed by Brent Fulgham.

    Add access to required system call in the WebProcess sandbox on iOS.

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

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@287098 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-613.1.12-branch/Source/WebKit/ChangeLog (287098 => 287099)


--- branches/safari-613.1.12-branch/Source/WebKit/ChangeLog	2021-12-15 20:51:38 UTC (rev 287098)
+++ branches/safari-613.1.12-branch/Source/WebKit/ChangeLog	2021-12-15 20:55:50 UTC (rev 287099)
@@ -1,5 +1,34 @@
 2021-12-15  Alan Coon  <alanc...@apple.com>
 
+        Cherry-pick r287098. rdar://problem/86502081
+
+    [iOS][WP] Add access to required syscall
+    https://bugs.webkit.org/show_bug.cgi?id=234336
+    <rdar://86343811>
+    
+    Reviewed by Brent Fulgham.
+    
+    Add access to required system call in the WebProcess sandbox on iOS.
+    
+    * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@287098 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    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://86343811>
+
+            Reviewed by Brent Fulgham.
+
+            Add access to required system call in the WebProcess sandbox on iOS.
+
+            * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:
+
+2021-12-15  Alan Coon  <alanc...@apple.com>
+
         Cherry-pick r287069. rdar://problem/86502081
 
     [iOS][WP] Add access to required syscall

Modified: branches/safari-613.1.12-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in (287098 => 287099)


--- branches/safari-613.1.12-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in	2021-12-15 20:51:38 UTC (rev 287098)
+++ branches/safari-613.1.12-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in	2021-12-15 20:55:50 UTC (rev 287099)
@@ -1560,6 +1560,11 @@
 (define (kernel-mig-routine-in-use)
     (kernel-mig-routine
         (when (defined? '_mach_make_memory_entry) _mach_make_memory_entry)
+#if PLATFORM(WATCHOS)
+        (when (defined? 'mach_make_memory_entry) mach_make_memory_entry)
+        (when (defined? 'mach_make_memory_entry_64) mach_make_memory_entry_64)
+        (when (defined? 'vm_copy) vm_copy)
+#endif
         host_get_io_master
         io_connect_async_method
         io_connect_method
@@ -1636,11 +1641,6 @@
             (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