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

Issue 8336024: OpenBSD patches for net, split from CR #8275005 (Closed)

Created:
9 years, 2 months ago by Robert Nagy
Modified:
9 years, 2 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, mmenke, szym
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

OpenBSD patches for net, split from CR #8275005 net/base/host_resolver_proc.cc: - define AI_ADDRCONFIG as 0 net/base/listen_socket.cc: - Shuffle and add missing headers since the order of including these matters. net/base/net_util.h: - Missing header for all POSIX platforms. Needed on OpenBSD and it won't hurt others. net/dns/dns_config_service_posix.h: - Missing header for OpenBSD. The order matters here too net/dns/dns_config_service_posix.cc: - Use res_init() on OpenBSD and disable RES_ROTATE if it is not defined net/net.gyp: - Do not use libresolv on OpenBSD since it's not there, the resolver is in libc. - Include base/platform_mime_util_linux.cc in the OpenBSD builds. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106604

Patch Set 1 #

Patch Set 2 : add missing crypto patch #

Total comments: 13

Patch Set 3 : fixes for comments on previous patchset #

Total comments: 9

Patch Set 4 : remove arpa/nameser.h #

Total comments: 6

Patch Set 5 : fixes for previous patchset #

Total comments: 2

Patch Set 6 : fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -6 lines) Patch
M crypto/encryptor.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M net/base/dnsrr_resolver.cc View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M net/base/host_resolver_proc.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M net/base/listen_socket.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/base/net_util.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/dns/dns_config_service_posix.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M net/dns/dns_config_service_posix.cc View 1 2 3 4 5 2 chunks +9 lines, -1 line 0 comments Download
M net/net.gyp View 3 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
Robert Nagy
9 years, 2 months ago (2011-10-18 15:52:00 UTC) #1
wtc
robert.nagy: thank you for the CL. Please read my review comments on Patch Set 2. ...
9 years, 2 months ago (2011-10-18 21:50:25 UTC) #2
Robert Nagy
http://codereview.chromium.org/8336024/diff/9/crypto/encryptor.cc File crypto/encryptor.cc (right): http://codereview.chromium.org/8336024/diff/9/crypto/encryptor.cc#newcode24 crypto/encryptor.cc:24: #define bswap_64(x) swap64(x) On 2011/10/18 21:50:26, wtc wrote: > ...
9 years, 2 months ago (2011-10-19 07:10:02 UTC) #3
cbentzel
http://codereview.chromium.org/8336024/diff/7001/net/dns/dns_config_service_posix.cc File net/dns/dns_config_service_posix.cc (right): http://codereview.chromium.org/8336024/diff/7001/net/dns/dns_config_service_posix.cc#newcode34 net/dns/dns_config_service_posix.cc:34: if ((res_init() == 0) && (_res.options & RES_INIT)) { ...
9 years, 2 months ago (2011-10-19 19:35:18 UTC) #4
Robert Nagy
http://codereview.chromium.org/8336024/diff/7001/net/dns/dns_config_service_posix.cc File net/dns/dns_config_service_posix.cc (right): http://codereview.chromium.org/8336024/diff/7001/net/dns/dns_config_service_posix.cc#newcode34 net/dns/dns_config_service_posix.cc:34: if ((res_init() == 0) && (_res.options & RES_INIT)) { ...
9 years, 2 months ago (2011-10-19 19:49:34 UTC) #5
wtc
Review comments on Patch Set 3. cbentzel: I replied to your question below. http://codereview.chromium.org/8336024/diff/7001/net/dns/dns_config_service_posix.h File ...
9 years, 2 months ago (2011-10-19 22:34:27 UTC) #6
Robert Nagy
http://codereview.chromium.org/8336024/diff/7001/net/dns/dns_config_service_posix.h File net/dns/dns_config_service_posix.h (right): http://codereview.chromium.org/8336024/diff/7001/net/dns/dns_config_service_posix.h#newcode9 net/dns/dns_config_service_posix.h:9: #include "build/build_config.h" On 2011/10/19 22:34:27, wtc wrote: > Please ...
9 years, 2 months ago (2011-10-20 07:37:43 UTC) #7
cbentzel
dns changes look good. At some point we may end up just parsing /etc/resolv.conf directly ...
9 years, 2 months ago (2011-10-20 13:23:22 UTC) #8
wtc
Review comments on Patch Set 4: Very close now. Two mandatory changes, and two optional ...
9 years, 2 months ago (2011-10-20 14:01:46 UTC) #9
Robert Nagy
On 2011/10/20 14:01:46, wtc wrote: > Review comments on Patch Set 4: > > Very ...
9 years, 2 months ago (2011-10-20 17:40:58 UTC) #10
Robert Nagy
http://codereview.chromium.org/8336024/diff/10004/net/base/dnsrr_resolver.cc File net/base/dnsrr_resolver.cc (right): http://codereview.chromium.org/8336024/diff/10004/net/base/dnsrr_resolver.cc#newcode194 net/base/dnsrr_resolver.cc:194: if (res_ninit(&_res) != 0) On 2011/10/20 14:01:46, wtc wrote: ...
9 years, 2 months ago (2011-10-20 17:44:44 UTC) #11
wtc
http://codereview.chromium.org/8336024/diff/15001/net/dns/dns_config_service_posix.cc File net/dns/dns_config_service_posix.cc (right): http://codereview.chromium.org/8336024/diff/15001/net/dns/dns_config_service_posix.cc#newcode43 net/dns/dns_config_service_posix.cc:43: // this behaviour is the same as of res_init ...
9 years, 2 months ago (2011-10-20 19:33:35 UTC) #12
Robert Nagy
http://codereview.chromium.org/8336024/diff/15001/net/dns/dns_config_service_posix.cc File net/dns/dns_config_service_posix.cc (right): http://codereview.chromium.org/8336024/diff/15001/net/dns/dns_config_service_posix.cc#newcode43 net/dns/dns_config_service_posix.cc:43: // this behaviour is the same as of res_init ...
9 years, 2 months ago (2011-10-20 19:42:54 UTC) #13
wtc
Patch Set 6 LGTM. Do you need me to submit this to the commit queue ...
9 years, 2 months ago (2011-10-20 19:58:44 UTC) #14
Robert Nagy
On 2011/10/20 19:58:44, wtc wrote: > Patch Set 6 LGTM. Do you need me to ...
9 years, 2 months ago (2011-10-20 20:18:02 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robert.nagy@gmail.com/8336024/15003
9 years, 2 months ago (2011-10-20 20:46:15 UTC) #16
commit-bot: I haz the power
9 years, 2 months ago (2011-10-20 22:39:27 UTC) #17
Change committed as 106604

Powered by Google App Engine
This is Rietveld 408576698