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

Issue 16132015: don't override libc code in a glibc-specific way when not using glibc (Closed)

Created:
7 years, 6 months ago by Mostyn Bramley-Moore
Modified:
7 years, 6 months ago
CC:
chromium-reviews, agl, jln+watch_chromium.org, robertn
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

don't override libc code in a glibc-specific way when not using glibc We should not attempt to override libc functions using glibc-specific code when not actually using glibc. This still needs to be fixed for other libc's though. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=206040

Patch Set 1 #

Total comments: 2

Patch Set 2 : style fixup #

Total comments: 2

Patch Set 3 : endif style fixup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M sandbox/linux/services/libc_urandom_override.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Mostyn Bramley-Moore
This small patch adds an ifdef around some previously identified glibc-specific code. We're looking into ...
7 years, 6 months ago (2013-06-12 09:10:51 UTC) #1
agl
lgtm I'm not OWNERS here, but I think this is fine with one nit. https://codereview.chromium.org/16132015/diff/1/sandbox/linux/services/libc_urandom_override.cc ...
7 years, 6 months ago (2013-06-12 19:19:56 UTC) #2
Mostyn Bramley-Moore
https://codereview.chromium.org/16132015/diff/1/sandbox/linux/services/libc_urandom_override.cc File sandbox/linux/services/libc_urandom_override.cc (right): https://codereview.chromium.org/16132015/diff/1/sandbox/linux/services/libc_urandom_override.cc#newcode62 sandbox/linux/services/libc_urandom_override.cc:62: #ifdef LIBC_GLIBC On 2013/06/12 19:19:56, agl wrote: > #if ...
7 years, 6 months ago (2013-06-12 19:38:35 UTC) #3
jln (very slow on Chromium)
lgtm
7 years, 6 months ago (2013-06-12 20:27:19 UTC) #4
jln (very slow on Chromium)
https://codereview.chromium.org/16132015/diff/5001/sandbox/linux/services/libc_urandom_override.cc File sandbox/linux/services/libc_urandom_override.cc (right): https://codereview.chromium.org/16132015/diff/5001/sandbox/linux/services/libc_urandom_override.cc#newcode159 sandbox/linux/services/libc_urandom_override.cc:159: #endif // LIBC_GLIBC Nit: this should be "// defined(LIBC_GLIBC)"
7 years, 6 months ago (2013-06-12 20:27:58 UTC) #5
Mostyn Bramley-Moore
https://codereview.chromium.org/16132015/diff/5001/sandbox/linux/services/libc_urandom_override.cc File sandbox/linux/services/libc_urandom_override.cc (right): https://codereview.chromium.org/16132015/diff/5001/sandbox/linux/services/libc_urandom_override.cc#newcode159 sandbox/linux/services/libc_urandom_override.cc:159: #endif // LIBC_GLIBC On 2013/06/12 20:27:59, Julien Tinnes wrote: ...
7 years, 6 months ago (2013-06-12 20:41:41 UTC) #6
jln (very slow on Chromium)
On 2013/06/12 20:41:41, Mostyn Bramley-Moore wrote: > https://codereview.chromium.org/16132015/diff/5001/sandbox/linux/services/libc_urandom_override.cc > File sandbox/linux/services/libc_urandom_override.cc (right): > > https://codereview.chromium.org/16132015/diff/5001/sandbox/linux/services/libc_urandom_override.cc#newcode159 ...
7 years, 6 months ago (2013-06-12 21:18:50 UTC) #7
Mostyn Bramley-Moore
> > Would you prefer me to change both, or leave both? > > If ...
7 years, 6 months ago (2013-06-12 21:30:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mostynb@opera.com/16132015/10001
7 years, 6 months ago (2013-06-12 21:30:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mostynb@opera.com/16132015/10001
7 years, 6 months ago (2013-06-13 02:34:59 UTC) #10
commit-bot: I haz the power
7 years, 6 months ago (2013-06-13 09:19:47 UTC) #11
Message was sent while issue was closed.
Change committed as 206040

Powered by Google App Engine
This is Rietveld 408576698