https://bugs.webkit.org/show_bug.cgi?id=145229
<rdar://problem/
20543269>
Reviewed by Alexey Proskuryakov.
* Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@184693
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2015-05-20 Chris Dumez <cdumez@apple.com>
+
+ [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 <barraclough@apple.com>
dispatchViewStateChange should not wait for sync reply if the page isn't visible
2015-05-20 Gavin Barraclough <barraclough@apple.com>
dispatchViewStateChange should not wait for sync reply if the page isn't visible
;; Various services required by CFNetwork and other frameworks
(allow mach-lookup
(global-name "com.apple.PowerManagement.control")
;; 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\."))
(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))
(network-client (remote tcp))