Title: [262446] branches/safari-610.1.15-branch/Source/WebKit
Revision
262446
Author
alanc...@apple.com
Date
2020-06-02 14:58:12 -0700 (Tue, 02 Jun 2020)

Log Message

Cherry-pick r262396. rdar://problem/63891587

    Remove unused WebContent process sandbox syscall
    https://bugs.webkit.org/show_bug.cgi?id=212609
    <rdar://problem/63764590>

    Reviewed by Per Arne Vollan.

    After further testing we have determined that the syscall added in
    Bug 206260 is not always enabled. Check if the Sandbox recognizes
    the rule before using it.

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

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

Modified Paths

Diff

Modified: branches/safari-610.1.15-branch/Source/WebKit/ChangeLog (262445 => 262446)


--- branches/safari-610.1.15-branch/Source/WebKit/ChangeLog	2020-06-02 21:58:10 UTC (rev 262445)
+++ branches/safari-610.1.15-branch/Source/WebKit/ChangeLog	2020-06-02 21:58:12 UTC (rev 262446)
@@ -1,5 +1,40 @@
 2020-06-02  Alan Coon  <alanc...@apple.com>
 
+        Cherry-pick r262396. rdar://problem/63891587
+
+    Remove unused WebContent process sandbox syscall
+    https://bugs.webkit.org/show_bug.cgi?id=212609
+    <rdar://problem/63764590>
+    
+    Reviewed by Per Arne Vollan.
+    
+    After further testing we have determined that the syscall added in
+    Bug 206260 is not always enabled. Check if the Sandbox recognizes
+    the rule before using it.
+    
+    * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+    * WebProcess/com.apple.WebProcess.sb.in:
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262396 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2020-06-01  Brent Fulgham  <bfulg...@apple.com>
+
+            Remove unused WebContent process sandbox syscall
+            https://bugs.webkit.org/show_bug.cgi?id=212609
+            <rdar://problem/63764590>
+
+            Reviewed by Per Arne Vollan.
+
+            After further testing we have determined that the syscall added in
+            Bug 206260 is not always enabled. Check if the Sandbox recognizes
+            the rule before using it.
+
+            * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+            * WebProcess/com.apple.WebProcess.sb.in:
+
+2020-06-02  Alan Coon  <alanc...@apple.com>
+
         Cherry-pick r262280. rdar://problem/63891526
 
     Avoid unnecessary sync IPC messages when togging the callout bar for selections.

Modified: branches/safari-610.1.15-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb (262445 => 262446)


--- branches/safari-610.1.15-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2020-06-02 21:58:10 UTC (rev 262445)
+++ branches/safari-610.1.15-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2020-06-02 21:58:12 UTC (rev 262446)
@@ -1189,11 +1189,12 @@
         (syscall-number SYS_kqueue_workloop_ctl) ;; <rdar://problem/50999499>
         (syscall-number SYS_psynch_rw_rdlock) ;; <rdar://problem/51134351>
         (syscall-number SYS_faccessat) ;; <rdar://problem/56998930>
-        (syscall-number SYS_objc_bp_assist_cfg_np) ;; <rdar://problem/55924791>
         (syscall-number SYS_shared_region_map_and_slide_2_np) ;; <rdar://problem/60294880>
         (syscall-number SYS_ulock_wait2) ;; <rdar://problem/58743778>
         (syscall-number SYS_fstat64_extended) ;; <rdar://problem/61310019>
     )
+    (if (defined? 'SYS_objc_bp_assist_cfg_np)
+        (allow syscall-unix (syscall-number SYS_objc_bp_assist_cfg_np)))
 )
 
 (when (defined? 'mach-bootstrap)

Modified: branches/safari-610.1.15-branch/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in (262445 => 262446)


--- branches/safari-610.1.15-branch/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2020-06-02 21:58:10 UTC (rev 262445)
+++ branches/safari-610.1.15-branch/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2020-06-02 21:58:12 UTC (rev 262446)
@@ -1087,9 +1087,13 @@
         (syscall-number SYS_faccessat) ;; <rdar://problem/56690456>
         (syscall-number SYS_fsetxattr) ;; <rdar://problem/56332491>
 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 101500
-        (syscall-number SYS_objc_bp_assist_cfg_np) ;; <rdar://problem/55924791>
         (syscall-number SYS_ulock_wait2) ;; <rdar://problem/58743778>
 #endif
         (syscall-number SYS_fstat64_extended) ;; <rdar://problem/61310019>
     )
+
+#if __MAC_OS_X_VERSION_MIN_REQUIRED > 101500
+    (if (defined? 'SYS_objc_bp_assist_cfg_np)
+        (allow syscall-unix (syscall-number SYS_objc_bp_assist_cfg_np)))
+#endif
 )
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to