Expand WebContent process sandbox with additional syscall
https://bugs.webkit.org/show_bug.cgi?id=206260
<rdar://problem/58580997>

Reviewed by Per Arne Vollan.

Testing shows that we will improve performance on some platforms by supporting an additional Syscall.

This patch revises our sandboxes so that WebKit can use this fast path if available.

No new tests. No change in test result behavior.

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


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@254548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog
index cc71c37..ee3da9b 100644
--- a/Source/WebKit/ChangeLog
+++ b/Source/WebKit/ChangeLog
@@ -1,3 +1,20 @@
+2020-01-14  Brent Fulgham  <bfulgham@apple.com>
+
+        Expand WebContent process sandbox with additional syscall
+        https://bugs.webkit.org/show_bug.cgi?id=206260
+        <rdar://problem/58580997>
+
+        Reviewed by Per Arne Vollan.
+
+        Testing shows that we will improve performance on some platforms by supporting an additional Syscall.
+
+        This patch revises our sandboxes so that WebKit can use this fast path if available.
+
+        No new tests. No change in test result behavior.
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+        * WebProcess/com.apple.WebProcess.sb.in:
+
 2020-01-14  Commit Queue  <commit-queue@webkit.org>
 
         Unreviewed, rolling out r254533 and r254535.
diff --git a/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb b/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb
index f09b741..d1b5da5 100644
--- a/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb
+++ b/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb
@@ -1126,5 +1126,6 @@
         (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>
     )
 )
diff --git a/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in b/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in
index edff9ba..ce71c39 100644
--- a/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in
+++ b/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in
@@ -1021,5 +1021,6 @@
         (syscall-number SYS_kqueue_workloop_ctl) ;; <rdar://problem/50999499>
         (syscall-number SYS_faccessat) ;; <rdar://problem/56690456>
         (syscall-number SYS_fsetxattr) ;; <rdar://problem/56332491>
+        (syscall-number SYS_objc_bp_assist_cfg_np) ;; <rdar://problem/55924791>
     )
 )