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

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: Make urandom access read-only, and test that it works. 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..92870459919db463d2a1e6a0ad27a85860e7759c 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-data (literal "/dev/urandom"))
« 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