Title: [280105] trunk/Source/WebKit
Revision
280105
Author
[email protected]
Date
2021-07-20 14:01:53 -0700 (Tue, 20 Jul 2021)

Log Message

[Cocoa] Silence telemetry on MSC_mach_wait_until
https://bugs.webkit.org/show_bug.cgi?id=228112
<rdar://problem/78965631>

Reviewed by Per Arne Vollan.

We are processing a lot of telemetry for MSC_mach_wait_until in cases where a block with failure is the correct behavior.
Silencing the warning to reduce CPU and network traffic related to generating and de-duping telemetry on this call.

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

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (280104 => 280105)


--- trunk/Source/WebKit/ChangeLog	2021-07-20 20:56:35 UTC (rev 280104)
+++ trunk/Source/WebKit/ChangeLog	2021-07-20 21:01:53 UTC (rev 280105)
@@ -1,3 +1,17 @@
+2021-07-20  Brent Fulgham  <[email protected]>
+
+        [Cocoa] Silence telemetry on MSC_mach_wait_until
+        https://bugs.webkit.org/show_bug.cgi?id=228112
+        <rdar://problem/78965631>
+
+        Reviewed by Per Arne Vollan.
+
+        We are processing a lot of telemetry for MSC_mach_wait_until in cases where a block with failure is the correct behavior.
+        Silencing the warning to reduce CPU and network traffic related to generating and de-duping telemetry on this call.
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:
+        * WebProcess/com.apple.WebProcess.sb.in:
+
 2021-07-20  Kate Cheney  <[email protected]>
 
         IBeam cursor is horizontal in Mail compose window

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


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in	2021-07-20 20:56:35 UTC (rev 280104)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in	2021-07-20 21:01:53 UTC (rev 280105)
@@ -1520,6 +1520,9 @@
 )
 
 (when (defined? 'syscall-mach)
+    (deny syscall-mach
+        (machtrap-number MSC_mach_wait_until)
+    )
     (deny syscall-mach (with telemetry))
     (allow syscall-mach
         (machtrap-number MSC__kernelrpc_mach_port_allocate_trap)

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


--- trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2021-07-20 20:56:35 UTC (rev 280104)
+++ trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2021-07-20 21:01:53 UTC (rev 280105)
@@ -2151,6 +2151,11 @@
 )
 
 (if (and (equal? (param "ENABLE_SANDBOX_MESSAGE_FILTER") "YES") (defined? 'syscall-mach))
+    (deny syscall-mach
+        (machtrap-number
+            MSC_mach_wait_until
+        )
+    )
     (deny syscall-mach (with telemetry))
 )
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to