platform_system_core/include
Sreeram Ramachandran 154ebe80a0 Introduce netd_client, a dynamic library that talks to netd.
This library is dynamically loaded and used by bionic, to replace selected
standard socket syscalls with versions that talk to netd.

Implement connect() by requesting that the socket be marked with the netId of
the default network and then calling through to the actual syscall.

There are two escape hatches:

+ If the fwmark server is unavailable, it isn't an error; we proceed with the
  syscall. This might help at boot time (when the server isn't ready yet) and if
  we get rid of the fwmarkd socket entirely in future platform versions.

+ If the ANDROID_NO_USE_FWMARK_CLIENT environment variable is set, we don't
  attempt to use the fwmark server (even if it's available). This allows apps to
  sidestep unforseen issues in production at runtime.

(cherry picked from commit 0581cb455ef924f128a5c6d46bc70868b5099eec)

Change-Id: Ib6198e19dbc306521a26fcecfdf6e8424d163fc9
2014-05-14 11:13:53 -07:00
..
android Improve liblog's fatal logging. 2014-04-24 13:28:24 -07:00
backtrace Fix ucontext_t forward declare for mac. 2014-05-09 13:19:34 -07:00
ctest auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
cutils Use the si_code value bionic passes us. 2014-04-25 20:20:39 -07:00
diskconfig diskconfig: Add missing include for loff_t 2012-07-23 16:11:59 -07:00
log logd: 64-bit compile issue 2014-05-02 14:16:00 -07:00
memtrack Moves libmemtrack header to standard location 2013-09-23 18:42:41 -07:00
mincrypt Add support for ECDSA P-256 with SHA256 2013-10-09 17:04:50 -07:00
netd_client Introduce netd_client, a dynamic library that talks to netd. 2014-05-14 11:13:53 -07:00
netutils libnetutils: Get mtu together with dhcp session results 2013-08-02 14:09:09 -07:00
pixelflinger pixelflinger: Fix function naming typo: gglBitBlti 2010-08-10 02:56:47 +08:00
private Include 64bit valgrind in the android_filesystem_config. 2014-04-12 09:11:16 +01:00
system audio: fix audio_is_bluetooth_sco_device() 2014-04-24 22:03:00 +00:00
sysutils logd: libsysutils: logd startup outside init environment 2014-04-17 16:14:24 +00:00
usbhost libusbhost: permits client polling on inotify wd 2012-12-10 11:12:35 +01:00
utils Add guards to prevent typedefs when C++11 is available. 2014-04-07 14:11:21 -07:00
ziparchive Fix ExtractEntryToFile. 2013-12-13 17:56:57 +00:00
zipfile auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00