5fee496e6220228b4a9059e06e430178ee1ba1ec |
|
07-Dec-2016 |
Sandeep Patil <sspatil@google.com> |
socket: uevent: use SO_RCVBUF instead of SO_RCVBUFFORCE The SO_RCVBUFFORCE option requires the caller of uevent_create_socket() to have net_admin capabilities. Set platform default rcv/snd buffer sizes to 256kb that will always be overridden by the device/target. However, it will allow ueventd / healthd to use the uevent_create_socket() API w/o requiring the net_admin capability. Note: All devices override the buffer sizes according to the technology maximum to at least ~8MB. So, the init.rc change here is to make sure platform code can work w/o any overrides. Test: no SELinux failures for healthd with 'net_admin' removed. Bug: https://b/32733887 Change-Id: Ida346468cd550ad07901bf3a78ad508939849906 Signed-off-by: Sandeep Patil <sspatil@google.com>
/system/core/libcutils/uevent.c
|
6d3cddb2e245738f0b78a758a83ebf2608865394 |
|
26-Feb-2015 |
Nick Kralevich <nnk@google.com> |
More SOCK_CLOEXEC Change-Id: I3e18f34d08a6443aaf55d7c91c27867840ac1773
/system/core/libcutils/uevent.c
|
9a20e67fa62c1e0e0080910deec4be82ebecc922 |
|
30-Oct-2014 |
Jeff Sharkey <jsharkey@android.com> |
Extend to receive NFLOG packets. Packets captured and logged by the NFLOG target are unicast, so extend to catch and decode them. To avoid escaping issues, the raw contents are passed around as hex strings. Bug: 18335678 Change-Id: Ib7299500baa00080a1f000f9da843eb527363353
/system/core/libcutils/uevent.c
|
15621e0970e97eb2fc28f82a07620c9124a4455c |
|
29-Mar-2012 |
Geremy Condra <gcondra@google.com> |
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
/system/core/libcutils/uevent.c
|
2d55e02d0f3c27f0c99ab889ab7b73126280a21c |
|
01-Sep-2011 |
Dima Zavin <dima@android.com> |
libcutils/init: move uevent socket opening code to libcutils Change-Id: I90adf78c0eb6185505f2bf7b62e96e25ab918345 Signed-off-by: Dima Zavin <dima@android.com>
/system/core/libcutils/uevent.c
|
57de8b8f27f887ca8084671df777a4ac199ba647 |
|
11-May-2011 |
Nick Kralevich <nnk@google.com> |
rename uevent_checked_recv to uevent_kernel_multicast_recv Change-Id: I1839627490080efcbb7269699709064856312f8b
/system/core/libcutils/uevent.c
|
3f582e92f07d358f3d0941b86407b39e2e7e67cc |
|
25-Apr-2011 |
Vernon Tang <vt@foilhead.net> |
Fold uevent message origin checking from init into libcutils. Change-Id: I7cbc0cb840d1b4962e6c360fdad9a9c0ce20e87b
/system/core/libcutils/uevent.c
|
de9e65dd6586a1c62fe010f9512e326591a4863d |
|
27-Apr-2011 |
Nick Kralevich <nnk@google.com> |
Revert "Fold uevent message origin checking from init into libcutils." This reverts commit 8405ec0e7562a370174d9973dd94984c47e49c36. The original change does not compile.
/system/core/libcutils/uevent.c
|
8405ec0e7562a370174d9973dd94984c47e49c36 |
|
25-Apr-2011 |
Vernon Tang <vt@foilhead.net> |
Fold uevent message origin checking from init into libcutils. Change-Id: I1a38e611a7ad990f74306ce453740a1eeed2416d
/system/core/libcutils/uevent.c
|