Title: [271286] trunk/Source/WebKit
Revision
271286
Author
[email protected]
Date
2021-01-07 23:12:09 -0800 (Thu, 07 Jan 2021)

Log Message

[iOS] Silence diagnostics sandbox violations
https://bugs.webkit.org/show_bug.cgi?id=220414

Reviewed by Darin Adler.

For performance reasons, silence benign diagnostics sandbox violations in the WebContent process on iOS.
Additionally, remove logging for a sysctl in the Networking process' sandbox, since it is known to be used.

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

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (271285 => 271286)


--- trunk/Source/WebKit/ChangeLog	2021-01-08 05:30:41 UTC (rev 271285)
+++ trunk/Source/WebKit/ChangeLog	2021-01-08 07:12:09 UTC (rev 271286)
@@ -1,3 +1,16 @@
+2021-01-07  Per Arne Vollan  <[email protected]>
+
+        [iOS] Silence diagnostics sandbox violations
+        https://bugs.webkit.org/show_bug.cgi?id=220414
+
+        Reviewed by Darin Adler.
+
+        For performance reasons, silence benign diagnostics sandbox violations in the WebContent process on iOS.
+        Additionally, remove logging for a sysctl in the Networking process' sandbox, since it is known to be used.
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb:
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+
 2021-01-07  Kate Cheney  <[email protected]>
 
         Error in layout tests: "Passed ITP enabled state (0) does not match TCC setting (1)"

Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb (271285 => 271286)


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb	2021-01-08 05:30:41 UTC (rev 271285)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb	2021-01-08 07:12:09 UTC (rev 271286)
@@ -454,7 +454,6 @@
     (sysctl-name "hw.l3settings")
     (sysctl-name "hw.logicalcpu")
     (sysctl-name "hw.logicalcpu_max")
-    (sysctl-name "hw.memsize")
     (sysctl-name "hw.pagesize")
     (sysctl-name "hw.physicalcpu")
     (sysctl-name "hw.physicalcpu_max")
@@ -547,6 +546,7 @@
         "hw.cpu64bit_capable"
         "hw.ncpu"
         "hw.machine" ;; Needed by CFNetwork (CFURLProtocols)
+        "hw.memsize"
         "hw.model" ;; Needed for bundle loading
         "hw.pagesize_compat" ;; Needed by bmalloc
         "kern.bootargs"  ;; Needed for bundle loading

Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb (271285 => 271286)


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2021-01-08 05:30:41 UTC (rev 271285)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2021-01-08 07:12:09 UTC (rev 271286)
@@ -954,9 +954,10 @@
 
 (media-accessibility-support)
 
-(deny mach-lookup (with no-log)
+(deny mach-lookup (with no-report)
     (global-name "com.apple.SystemConfiguration.configd")
     (global-name "com.apple.aggregated")
+    (global-name "com.apple.diagnosticd")
     (global-name "com.apple.fontservicesd")
 )
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to