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

Issue 2851023: dhcpcd-dbus.c::msg_handler(): Call raise() instead of handle_signal(), (Closed)

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

Description

dhcpcd-dbus.c::msg_handler(): Call raise() instead of handle_signal(), since the latter is looking for something on the internal signal pipe, and not paying attention to its argument. TEST=Send org.chromium.dhcpcd.Release method to dhcpcd, note that it exits (possibly by sending the method call twice and noting that it fails to contact dhcpcd the second time). Details: Start a dhcpcd with a known DBus ID by running "dbus-monitor --system interface=org.chromium.dhcpcd" and plugging in an Ethernet cable; look for the "sender=" value. Send the release command with "dbus-send --system --print-reply --dest=[DBus ID] /org/chromium/dhcpcd org.chromium.dhcpcd.Release"

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M dhcpcd-dbus.c View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Nathan Williams
10 years, 6 months ago (2010-06-24 21:58:07 UTC) #1
Sam Leffler
10 years, 6 months ago (2010-06-24 22:50:06 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698