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

Issue 10736017: Share the zygote's fopen overrides with nacl_helper. (Closed)

Created:
8 years, 5 months ago by Nick Bray (chromium)
Modified:
8 years, 5 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Share the zygote's fopen overrides with nacl_helper. This will allow ChromeOS's version of NSS to initialize inside of nacl_helper without killing the process, which in turn allows validation caching to be enabled on ChromeOS. BUG= https://code.google.com/p/chromium/issues/detail?id=134538 TEST= none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146498

Patch Set 1 #

Total comments: 10

Patch Set 2 : Edits #

Patch Set 3 : Rename #

Total comments: 1

Patch Set 4 : Gyp cleanup #

Total comments: 3

Patch Set 5 : Simpler init #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -141 lines) Patch
M chrome/browser/nacl_host/nacl_browser.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/nacl.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/nacl/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/nacl/nacl_helper_linux.cc View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/zygote/zygote_main_linux.cc View 1 2 6 chunks +2 lines, -134 lines 0 comments Download
A sandbox/linux/services/libc_urandom_override.h View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
A sandbox/linux/services/libc_urandom_override.cc View 1 2 3 4 1 chunk +166 lines, -0 lines 0 comments Download
M sandbox/sandbox_linux.gypi View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Sergey Ulanov
looks mostly good, I just some style nits https://chromiumcodereview.appspot.com/10736017/diff/1/content/zygote/zygote_libc_override_linux.cc File content/zygote/zygote_libc_override_linux.cc (right): https://chromiumcodereview.appspot.com/10736017/diff/1/content/zygote/zygote_libc_override_linux.cc#newcode34 content/zygote/zygote_libc_override_linux.cc:34: // ...
8 years, 5 months ago (2012-07-10 22:42:04 UTC) #1
jam
the checkdeps errors are because chrome can't reach into files inside content. since this is ...
8 years, 5 months ago (2012-07-10 23:57:36 UTC) #2
jam
On 2012/07/10 23:57:36, John Abd-El-Malek wrote: > the checkdeps errors are because chrome can't reach ...
8 years, 5 months ago (2012-07-10 23:59:40 UTC) #3
Nick Bray (chromium)
jam: thanks for the feedback, I'll need to poke around for a bit and figure ...
8 years, 5 months ago (2012-07-11 00:06:11 UTC) #4
jam
http://codereview.chromium.org/10736017/diff/7002/content/content_browser.gypi File content/content_browser.gypi (right): http://codereview.chromium.org/10736017/diff/7002/content/content_browser.gypi#newcode774 content/content_browser.gypi:774: '../sandbox/linux/services/libc_urandom_override.h', these should be listed in the sandbox gyp, ...
8 years, 5 months ago (2012-07-11 21:35:16 UTC) #5
Nick Bray
Thanks to everyone for help sorting out the style and organizational issues. Time for the ...
8 years, 5 months ago (2012-07-11 22:46:04 UTC) #6
jam
content lgtm
8 years, 5 months ago (2012-07-12 18:40:30 UTC) #7
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/10736017/diff/7003/sandbox/linux/services/libc_urandom_override.cc File sandbox/linux/services/libc_urandom_override.cc (right): https://chromiumcodereview.appspot.com/10736017/diff/7003/sandbox/linux/services/libc_urandom_override.cc#newcode27 sandbox/linux/services/libc_urandom_override.cc:27: base::RandUint64(); Should this be base::GetUrandomFD() instead ? I don't ...
8 years, 5 months ago (2012-07-12 19:19:05 UTC) #8
Nick Bray (chromium)
PTAL https://chromiumcodereview.appspot.com/10736017/diff/7003/sandbox/linux/services/libc_urandom_override.cc File sandbox/linux/services/libc_urandom_override.cc (right): https://chromiumcodereview.appspot.com/10736017/diff/7003/sandbox/linux/services/libc_urandom_override.cc#newcode27 sandbox/linux/services/libc_urandom_override.cc:27: base::RandUint64(); I did the change you suggested. I ...
8 years, 5 months ago (2012-07-12 21:42:48 UTC) #9
jln (very slow on Chromium)
LGTM https://chromiumcodereview.appspot.com/10736017/diff/7003/sandbox/linux/services/libc_urandom_override.cc File sandbox/linux/services/libc_urandom_override.cc (right): https://chromiumcodereview.appspot.com/10736017/diff/7003/sandbox/linux/services/libc_urandom_override.cc#newcode27 sandbox/linux/services/libc_urandom_override.cc:27: base::RandUint64(); In practice it won't matter because the ...
8 years, 5 months ago (2012-07-13 00:06:24 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ncbray@chromium.org/10736017/6004
8 years, 5 months ago (2012-07-13 00:28:20 UTC) #11
commit-bot: I haz the power
8 years, 5 months ago (2012-07-13 01:28:09 UTC) #12
Change committed as 146498

Powered by Google App Engine
This is Rietveld 408576698