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

Unified Diff: content/ppapi_plugin/ppapi.sb

Issue 10695185: Allow /dev/urandom from ppapi sandbox. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Log type for failure. Created 8 years, 5 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
« no previous file with comments | « content/common/sandbox_mac_system_access_unittest.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/ppapi_plugin/ppapi.sb
diff --git a/content/ppapi_plugin/ppapi.sb b/content/ppapi_plugin/ppapi.sb
index 6fa3ebf82580bb3a6d177a024dda2af1211f5006..3067565d5bcbf5581e1901894432c4813de0c601 100644
--- a/content/ppapi_plugin/ppapi.sb
+++ b/content/ppapi_plugin/ppapi.sb
@@ -18,3 +18,7 @@
; http://crbug.com/11269
;10.6_OR_ABOVE (allow file-read* (subpath "@USER_HOMEDIR_AS_LITERAL@/Library/Fonts")) ; 10.6
+
+; Bits of Adobe Flash wish to open /dev/urandom directly rather than
+; using our cached file descriptor.
+(allow file-read* (literal "/dev/urandom"))
jeremy 2012/07/16 11:36:40 Any chance that just file-read-data is enough here
Scott Hess - ex-Googler 2012/07/16 16:36:42 Done. Writing to the file can be used to add entr
« no previous file with comments | « content/common/sandbox_mac_system_access_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698