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

Issue 10695185: Allow /dev/urandom from ppapi sandbox. (Closed)

Created:
8 years, 5 months ago by Scott Hess - ex-Googler
Modified:
8 years, 5 months ago
Reviewers:
jschuh, brettw, jeremy
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, kunal shah
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Allow /dev/urandom from ppapi sandbox. Bits of Adobe Flash wish to read urandom directly rather than re-using our cached file descriptor. BUG=none TEST=no user-visible changes at this time. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146879

Patch Set 1 #

Patch Set 2 : Log type for failure. #

Total comments: 2

Patch Set 3 : Make urandom access read-only, and test that it works. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -0 lines) Patch
M content/common/sandbox_mac_system_access_unittest.mm View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
M content/ppapi_plugin/ppapi.sb View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Scott Hess - ex-Googler
Intentionally not including the necessary content/ OWNER, yet, in case either Justin or Jeremy recoils ...
8 years, 5 months ago (2012-07-12 21:00:07 UTC) #1
jeremy
Skimming this it looks sane, but have you checked that the test hits the ppapi ...
8 years, 5 months ago (2012-07-12 21:08:11 UTC) #2
Scott Hess - ex-Googler
On 2012/07/12 21:08:11, jeremy wrote: > Skimming this it looks sane, but have you checked ...
8 years, 5 months ago (2012-07-12 21:25:05 UTC) #3
jschuh
lgtm
8 years, 5 months ago (2012-07-12 22:59:10 UTC) #4
jeremy
https://chromiumcodereview.appspot.com/10695185/diff/4/content/ppapi_plugin/ppapi.sb File content/ppapi_plugin/ppapi.sb (right): https://chromiumcodereview.appspot.com/10695185/diff/4/content/ppapi_plugin/ppapi.sb#newcode24 content/ppapi_plugin/ppapi.sb:24: (allow file-read* (literal "/dev/urandom")) Any chance that just file-read-data ...
8 years, 5 months ago (2012-07-16 11:36:40 UTC) #5
jeremy
also, lgtm :)
8 years, 5 months ago (2012-07-16 11:37:01 UTC) #6
Scott Hess - ex-Googler
I'll wait a few hours to push the button, in case anyone wants to complain ...
8 years, 5 months ago (2012-07-16 16:36:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shess@chromium.org/10695185/9001
8 years, 5 months ago (2012-07-16 19:21:16 UTC) #8
commit-bot: I haz the power
Presubmit check for 10695185-9001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 5 months ago (2012-07-16 19:21:18 UTC) #9
Scott Hess - ex-Googler
Brett for the OWNERS rubber stamp.
8 years, 5 months ago (2012-07-16 19:26:51 UTC) #10
brettw
lgtm
8 years, 5 months ago (2012-07-16 19:37:45 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shess@chromium.org/10695185/9001
8 years, 5 months ago (2012-07-16 19:50:58 UTC) #12
commit-bot: I haz the power
8 years, 5 months ago (2012-07-16 21:02:47 UTC) #13
Change committed as 146879

Powered by Google App Engine
This is Rietveld 408576698