Title: [191872] trunk/Source/WebKit2
Revision
191872
Author
bfulg...@apple.com
Date
2015-11-01 17:01:28 -0800 (Sun, 01 Nov 2015)

Log Message

Use convenience function in sandbox profile
https://bugs.webkit.org/show_bug.cgi?id=150732
<rdar://problem/23287894>

Reviewed by Alexey Proskuryakov.

* Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb: Switch to
the 'awd-log-directory' convenience function.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (191871 => 191872)


--- trunk/Source/WebKit2/ChangeLog	2015-11-02 00:52:46 UTC (rev 191871)
+++ trunk/Source/WebKit2/ChangeLog	2015-11-02 01:01:28 UTC (rev 191872)
@@ -1,3 +1,14 @@
+2015-11-01  Brent Fulgham  <bfulg...@apple.com>
+
+        Use convenience function in sandbox profile
+        https://bugs.webkit.org/show_bug.cgi?id=150732
+        <rdar://problem/23287894>
+
+        Reviewed by Alexey Proskuryakov.
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb: Switch to
+        the 'awd-log-directory' convenience function.
+
 2015-11-01  Joonghun Park  <jh718.p...@samsung.com>
 
         [EFL] Fix inappropriate move semantics use in parseAndRemoveEnvironments function

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


--- trunk/Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2015-11-02 00:52:46 UTC (rev 191871)
+++ trunk/Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2015-11-02 01:01:28 UTC (rev 191872)
@@ -81,10 +81,6 @@
 (deny file-read-xattr file-write-xattr (xattr-regex #"^com\.apple\.security\.private\."))
 
 ;; AWD logging
-(allow mach-lookup (global-name "com.apple.awdd"))
-(allow-create-directory
-    (literal "/private/var/mobile/Library/Logs/awd"))
-(allow file-read* file-write*
-    (subpath "/private/var/mobile/Library/Logs/awd"))
+(awd-log-directory "com.apple.WebKit.WebContent")
 
 (network-client (remote tcp) (remote udp))
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to