Title: [184693] trunk/Source/WebKit2
Revision
184693
Author
[email protected]
Date
2015-05-20 20:06:53 -0700 (Wed, 20 May 2015)

Log Message

[WK2][iOS] Update WebContent process sandbox profile for AWD logging
https://bugs.webkit.org/show_bug.cgi?id=145229
<rdar://problem/20543269>

Reviewed by Alexey Proskuryakov.

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

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (184692 => 184693)


--- trunk/Source/WebKit2/ChangeLog	2015-05-21 02:36:28 UTC (rev 184692)
+++ trunk/Source/WebKit2/ChangeLog	2015-05-21 03:06:53 UTC (rev 184693)
@@ -1,3 +1,13 @@
+2015-05-20  Chris Dumez  <[email protected]>
+
+        [WK2][iOS] Update WebContent process sandbox profile for AWD logging
+        https://bugs.webkit.org/show_bug.cgi?id=145229
+        <rdar://problem/20543269>
+
+        Reviewed by Alexey Proskuryakov.
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+
 2015-05-20  Gavin Barraclough  <[email protected]>
 
         dispatchViewStateChange should not wait for sync reply if the page isn't visible

Modified: trunk/Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb (184692 => 184693)


--- trunk/Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2015-05-21 02:36:28 UTC (rev 184692)
+++ trunk/Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2015-05-21 03:06:53 UTC (rev 184693)
@@ -75,10 +75,14 @@
 ;; Various services required by CFNetwork and other frameworks
 (allow mach-lookup
     (global-name "com.apple.PowerManagement.control")
-    (global-name "com.apple.accountsd.accountmanager")
-    (global-name "com.apple.awdd"))
+    (global-name "com.apple.accountsd.accountmanager"))
 
 (deny file-write-create (vnode-type SYMLINK))
 (deny file-read-xattr file-write-xattr (xattr-regex #"^com\.apple\.security\.private\."))
 
+;; AWD logging
+(allow mach-lookup (global-name "com.apple.awdd"))
+(allow file-read* file-write*
+    (literal "/private/var/mobile/Library/Logs/awd/awd-com.apple.WebKit.WebContent.log"))
+
 (network-client (remote tcp))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to