Geremy Condra
15621e0970
cutils: return the remote uid on netlink recv failure
...
This change adds a layer of indirection to uevent's
uevent_kernel_multicast_recv, allowing dependent code to
get the remote endpoint if desired.
Change-Id: If2f00708a1dd6196c415b1ebc2a7eeb72399a90e
2012-03-29 17:07:24 -07:00
Dima Zavin
2d55e02d0f
libcutils/init: move uevent socket opening code to libcutils
...
Change-Id: I90adf78c0eb6185505f2bf7b62e96e25ab918345
Signed-off-by: Dima Zavin <dima@android.com>
2011-09-02 12:11:17 -07:00
Nick Kralevich
57de8b8f27
rename uevent_checked_recv to uevent_kernel_multicast_recv
...
Change-Id: I1839627490080efcbb7269699709064856312f8b
2011-05-11 14:58:24 -07:00
Vernon Tang
3f582e92f0
Fold uevent message origin checking from init into libcutils.
...
Change-Id: I7cbc0cb840d1b4962e6c360fdad9a9c0ce20e87b
2011-04-28 05:16:21 +10:00
Nick Kralevich
de9e65dd65
Revert "Fold uevent message origin checking from init into libcutils."
...
This reverts commit 8405ec0e75
.
The original change does not compile.
2011-04-27 10:21:24 -07:00
Vernon Tang
8405ec0e75
Fold uevent message origin checking from init into libcutils.
...
Change-Id: I1a38e611a7ad990f74306ce453740a1eeed2416d
2011-04-27 14:17:15 +10:00