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

Unified Diff: content/renderer/renderer.sb

Issue 2507283002: Add warmup and sandbox file-read permission for testing
Patch Set: Created 4 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 | « content/common/sandbox_mac.mm ('k') | third_party/WebKit/Source/modules/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer.sb
diff --git a/content/renderer/renderer.sb b/content/renderer/renderer.sb
index 7afdf86b297208b53eac3eff330e808a53edeea4..3c805c0edb55fe8544cfc8f0b57b454cd3aef12e 100644
--- a/content/renderer/renderer.sb
+++ b/content/renderer/renderer.sb
@@ -17,8 +17,13 @@
(regex #"^/System/Library/ColorSync($|/)") ; https://crbug.com/46648
(regex #"^/System/Library/Keyboard Layouts($|/)") ; https://crbug.com/152566
(literal "/Library/Preferences/.GlobalPreferences.plist") ; https://crbug.com/60917
- (literal (user-homedir-path "/Library/Preferences/.GlobalPreferences.plist")))
-
+ (literal (user-homedir-path "/Library/Preferences/.GlobalPreferences.plist"))
+ (subpath "/dev/null")
+ (subpath "/Users")
+ (subpath (user-homedir-path "/var/folders/r9/jzvqy3jx469g9m949xkt42qc00cb85/C/org.chromium.Chromium.helper"))
+ (subpath (user-homedir-path "/p/mac/src"))
+ (subpath (user-homedir-path "/Library/Caches/org.chromium.Chromium.helper"))
+ (subpath (user-homedir-path "/Library/Caches/com.apple.vision")))
; https://crbug.com/11269
(allow file-read* (subpath (user-homedir-path "/Library/Fonts")))
« no previous file with comments | « content/common/sandbox_mac.mm ('k') | third_party/WebKit/Source/modules/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698