platform_bionic/libc
Erik Kline 01e37c9665 Pass around struct android_net_context for better behaviour
Group network context elements in to a single struct and
add a version of android_getaddrinfofornet() that accepts it.

The introduction of UID-based routing means that the UID is an
integral part of the network context when evaluating connectivity,
sorting addresses, etc.

Also, introduce a distinction between DNS netids/marks and those
expected to be used by the application.  This can be important
when the network an application is using is not the same as the
network on which DNS queries will be issued.

Additionally, de-duplicate the UDP connect logic (collapse both
_test_connect() and _find_src_addr() into just the latter).

Bug: 19470192
Bug: 20733156
Bug: 21832279
Change-Id: If16c2f4744695f507993afdac078ca105eb5d3e4
2015-06-29 18:39:54 +09:00
..
arch-arm Merge "Add support for cortex-a53 in bionic." 2015-06-16 19:04:14 +00:00
arch-arm64 Merge "Add support for cortex-a53 in bionic." 2015-06-16 19:04:14 +00:00
arch-common/bionic Properly align init/fini_arrays for crtend.o 2015-05-07 11:57:53 -07:00
arch-mips [MIPS] Add optimized string functions 2015-06-17 17:02:10 +02:00
arch-mips64 [MIPS] Add optimized string functions 2015-06-17 17:02:10 +02:00
arch-x86 Hide accidentally-exposed __clock_nanosleep. 2015-06-15 19:39:04 -07:00
arch-x86_64 Hide accidentally-exposed __clock_nanosleep. 2015-06-15 19:39:04 -07:00
bionic Hide accidentally-exposed __clock_nanosleep. 2015-06-15 19:39:04 -07:00
dns Pass around struct android_net_context for better behaviour 2015-06-29 18:39:54 +09:00
include Fix x86 gdbserver build. 2015-06-24 17:31:24 -07:00
kernel Update the search path for libclang.so 2015-04-22 10:47:01 -07:00
private ScopedFd: Don't use TEMP_FAILURE_RETRY() with close() 2015-05-13 13:27:11 -07:00
stdio Don't use TEMP_FAILURE_RETRY on close in bionic. 2015-05-15 16:20:07 -07:00
stdlib Hide __atexit 2015-06-04 14:33:18 -07:00
tools Strip version info when extracting symbols 2015-06-04 17:56:02 +00:00
tzcode Changes to re-enable overrides for tz data 2015-03-25 16:08:37 +00:00
upstream-dlmalloc
upstream-freebsd Clean up <stdlib.h> slightly. 2015-01-26 14:28:41 -08:00
upstream-netbsd
upstream-openbsd Hide __atexit 2015-06-04 14:33:18 -07:00
zoneinfo Update to tzdata 2015d 2015-04-28 17:11:03 +01:00
Android.mk Use gcc to build and test x86_64 long double code. 2015-06-23 23:13:39 +00:00
crt.mk Make .note.android.ident section type SH_NOTE 2015-02-12 21:37:20 -08:00
libc.map Pass around struct android_net_context for better behaviour 2015-06-29 18:39:54 +09:00
MODULE_LICENSE_BSD
NOTICE Update NOTICE files (the second time today). 2015-05-12 10:44:37 -07:00
SYSCALLS.TXT Hide accidentally-exposed __clock_nanosleep. 2015-06-15 19:39:04 -07:00
version_script.txt Revert "Fix volantis boot." 2015-05-07 15:12:24 -07:00