Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1455)

Unified Diff: chrome/renderer/renderer.sb

Issue 4134007: Mac: Allow accessing various files needed by the defaults system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Allow read access to .GlobalPreferences Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/renderer.sb
diff --git a/chrome/renderer/renderer.sb b/chrome/renderer/renderer.sb
index b2cd9bc0a3213fde58a8df9d204d648842479fda..6a0bf0d7283fc88fd242f58bcfeaac01e05d1dda 100644
--- a/chrome/renderer/renderer.sb
+++ b/chrome/renderer/renderer.sb
@@ -14,8 +14,17 @@
(allow mach-lookup (global-name "com.apple.FontObjectsServer")) ; 10.5.6
;10.6_ONLY (allow mach-lookup (global-name "com.apple.FontServer")) ; 10.6
-; http://crbug.com/46648
-(allow file-read* (regex #"^/System/Library/ColorSync($|/)")) ; 10.5.6
+(allow file-read*
+ (regex #"^/System/Library/ColorSync($|/)") ; 10.5.6 - http://crbug.com/46648
+ (literal "/Library/Preferences/.GlobalPreferences.plist") ; http://crbug.com/60917
+ (literal "@USER_HOMEDIR_AS_LITERAL@/Library/Preferences/.GlobalPreferences.plist")
+)
-; USER_HOMEDIR is substitued at runtime - http://crbug.com/11269
+; http://crbug.com/11269
;10.6_ONLY (allow file-read* (subpath "@USER_HOMEDIR_AS_LITERAL@/Library/Fonts")) ; 10.6
+
+; http://crbug.com/60917
+(allow file-read-metadata
+ (literal "/")
+ (literal "/var")
+)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698