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

Unified Diff: content/renderer/renderer.sb

Issue 1280443003: Allow OpenCL to open libraries in /usr/lib (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months 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
« content/common/common.sb ('K') | « content/common/sandbox_mac.mm ('k') | no next file » | 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 d27f650bdf89e9542d39f856bca42ae7874de5f3..d1daf8e5a883baab52603911a38bfd83384bdfae 100644
--- a/content/renderer/renderer.sb
+++ b/content/renderer/renderer.sb
@@ -36,3 +36,12 @@
(allow file-read-metadata
(regex #"^/(private/)?etc$")
)
+
+; http://crbug.com/508935
+(if (param-true? elcap-or-later)
+ (allow file-read*
+ (literal "/usr/lib/libcsfde.dylib")
+ (regex #"^/usr/lib/libcurl(.4)?.dylib$")
Robert Sesek 2015/08/05 22:35:58 Should you escape the periods here as literals, so
Greg K 2015/08/06 00:17:09 I'm pretty sure that's what the # sign in front of
+ (literal "/usr/lib/libCoreStorage.dylib")
+ (literal "/usr/lib/libutil.dylib")
+))
« content/common/common.sb ('K') | « content/common/sandbox_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698