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

Issue 2428004: Overhaul dhcpcd for chrome os use (Closed)

Created:
10 years, 6 months ago by Sam Leffler
Modified:
9 years, 7 months ago
Reviewers:
Eric Shienbrood
CC:
chromium-os-reviews_chromium.org
Base URL:
ssh://git@chromiumos-git//dhcpcd.git
Visibility:
Public.

Description

Overhaul dhcpcd for chrome os use: - merge dbus support - remove direct configuration of system resources; instead signal flimflam via dbus - add breakpad support - add python test scripts - rename dbus service name to org.chromium.dhcpcd to avoid confusion TEST=collect dhcp leases from a variety of servers and monitor dbus msgs; replace dhclient w/ flimflam and test wired, wireless, and 3g operation (verify lease contents are properly configured by flimflam) BUG=574 Note: requires separate changes for flimflam and ebuild glue

Patch Set 1 #

Total comments: 7

Patch Set 2 : reduce gratuitous diffs #

Patch Set 3 : purge hooks from configure to silence complaint #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1091 lines, -1746 lines) Patch
M Makefile View 3 chunks +32 lines, -34 lines 0 comments Download
A README.chromium View 1 chunk +13 lines, -0 lines 0 comments Download
M common.h View 1 chunk +10 lines, -0 lines 0 comments Download
M configure View 4 chunks +0 lines, -49 lines 0 comments Download
D configure.c View 1 chunk +0 lines, -709 lines 0 comments Download
A dbus-dict.h View 1 chunk +42 lines, -0 lines 0 comments Download
A dbus-dict.c View 1 chunk +208 lines, -0 lines 0 comments Download
M dhcpcd.c View 1 8 chunks +9 lines, -65 lines 0 comments Download
M dhcpcd.conf View 1 chunk +5 lines, -6 lines 0 comments Download
A dhcpcd-dbus.h View 1 chunk +47 lines, -0 lines 0 comments Download
A dhcpcd-dbus.c View 1 chunk +626 lines, -0 lines 0 comments Download
A dhcpcd-dbus.conf View 1 chunk +15 lines, -0 lines 0 comments Download
D dhcpcd-hooks/01-test View 1 chunk +0 lines, -6 lines 0 comments Download
D dhcpcd-hooks/10-mtu View 1 chunk +0 lines, -25 lines 0 comments Download
D dhcpcd-hooks/20-resolv.conf View 1 chunk +0 lines, -125 lines 0 comments Download
D dhcpcd-hooks/29-lookup-hostname View 1 chunk +0 lines, -34 lines 0 comments Download
D dhcpcd-hooks/30-hostname View 1 chunk +0 lines, -34 lines 0 comments Download
D dhcpcd-hooks/50-dhcpcd-compat View 1 chunk +0 lines, -41 lines 0 comments Download
D dhcpcd-hooks/50-ntp.conf View 1 chunk +0 lines, -92 lines 0 comments Download
D dhcpcd-hooks/50-yp.conf View 1 chunk +0 lines, -50 lines 0 comments Download
D dhcpcd-hooks/50-ypbind View 1 chunk +0 lines, -86 lines 0 comments Download
D dhcpcd-hooks/Makefile View 1 chunk +0 lines, -18 lines 0 comments Download
D dhcpcd-run-hooks.in View 1 chunk +0 lines, -161 lines 0 comments Download
D dhcpcd-run-hooks.8.in View 1 chunk +0 lines, -133 lines 0 comments Download
M eloop.h View 1 chunk +2 lines, -1 line 0 comments Download
M eloop.c View 6 chunks +50 lines, -13 lines 0 comments Download
M if-linux.c View 2 chunks +0 lines, -64 lines 0 comments Download
A org.chromium.dhcpcd.in View 1 chunk +4 lines, -0 lines 0 comments Download
A test/introspection View 1 chunk +9 lines, -0 lines 0 comments Download
A test/monitor View 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Sam Leffler
Pushing this now to get review started. Still need to resolve flimflam -> dhcpcd communication ...
10 years, 6 months ago (2010-06-02 21:05:32 UTC) #1
Eric Shienbrood
I assume you considered keeping the configuration code so that dhcpcd could also still be ...
10 years, 6 months ago (2010-06-03 22:50:07 UTC) #2
Sam Leffler
> I assume you considered keeping the configuration code so that dhcpcd could also still ...
10 years, 6 months ago (2010-06-03 23:15:15 UTC) #3
Eric Shienbrood
10 years, 6 months ago (2010-06-08 15:04:34 UTC) #4
LGTM

http://codereview.chromium.org/2428004/diff/1/24
File eloop.c (right):

http://codereview.chromium.org/2428004/diff/1/24#newcode378
eloop.c:378: if (e->flags) {
On 2010/06/03 23:15:15, Sam Leffler wrote:
> I agree it is better. However this is the upstream code unchanged (I took the
> more general eloop.c support from dhcpcd-dbus in order to satisfy it's needs).
> 
> Do you want me to alter it?

Nah, it's not worth it. I didn't realize it had come from upstream.

Powered by Google App Engine
This is Rietveld 408576698