Fix dns searchdomain use in gethostbyname.

Need to load search domain data before we attempt to use it.
This is a cherry pick of an AOSP change c11f6f0f393e472984b5ac2934e2485855a319c9.

bug:6799630

Change-Id: I4ea1131f06ffdf4037fe67f82af5a0349469b609
disable linker warning log temporarily
Fix linker crashes during unknown symbol lookup

BZ: 152190

Integration of kernel VDSO into internal bionic data structures using
common functions.
Fix for dl_iterate_phdr function: the function provides incorrect
address of object in case of nonzero virtual and base addresses.
Location in address space of a particular program header should be
calculated using the formula:  addr = base_addr + virtual_addr.

Change-Id: I6a1693fd7d1254d3a3c0b5f7fb38721fe89b3d57
Category: google backport
Domain: AOSP-bionic
Origin: internal
Upstream-Candidate: no
Signed-off-by: Sergey Melnikov <sergey.melnikov@intel.com>
Orig-Google-Change-Id: Ie2ab4257fd456242aab8afed0bd5bd6b29e81d6d
bionic: prevent segfault in linker

BZ: 79065

When using valgrind, no vdso can be found. This patch adds a simple
check in linker for the AT_SYSINFO_EHDR value.

Change-Id: I279d7ff8a9eec52ebdab2cdf2901429880e40373
Category: device enablement
Domain: AOSP-Bionic
Origin: internal
Upstream-Candidate: no, not-aosp
Signed-off-by: Clement Calmels <clement.calmels@intel.com>
Fix debugging issues in vdso handling

BZ: 152467

Adding debug info for vdso producing plenty of issues on debugging
through gdbserver, removing it. It doesn't seem it should be here.

Unwinding through vdso test still works.

Change-Id: Iddd631a785d19bc5602c57254ece7a378f4056b0
Category: aosp improvement
Domain: AOSP-Framework-CoreService
Origin: internal
Upstream-Candidate: no, proprietary
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
Upgrade to tzdata2013i.

From the release notes:

  Changes affecting near-future time stamps:

    Jordan switches back to standard time at 00:00 on December 20, 2013.
    The 2006-2011 transition schedule is planned to resume in 2014.
    (Thanks to Steffen Thorsen.)

  Changes affecting past time stamps:

    In 2004, Cuba began DST on March 28, not April 4.
    (Thanks to Steffen Thorsen.)

Bug: 13193205
Change-Id: I8f26cc50f6b571804a18ff2113b4a47a22bc56dd
Merge "Fix dns searchdomain use in gethostbyname." into klp-dev
Upgrade to tzdata2014a.

From the release notes:

  Changes affecting near-future time stamps

    Turkey begins DST on 2014-03-31, not 03-30.  (Thanks to Faruk Pasin
    for the heads-up, and to Tim Parenti for simplifying the update.)

  Changes affecting past time stamps

    Fiji ended DST on 2014-01-19 at 02:00, not the previously-scheduled
    03:00.  (Thanks to Steffen Thorsen.)

    Ukraine switched from Moscow to Eastern European time on 1990-07-01
    (not 1992-01-01), and observed DST during the entire next winter.
    (Thanks to Vladimir in Moscow via Alois Treindl.)

    In 1988 Israel observed DST from 04-10 to 09-04, not 04-09 to
    09-03.  (Thanks to Avigdor Finkelstein.)

(cherry picked from commit 159b28eb46f03cb1dae6484059e2559f1e42e208)

Bug: 13193205
Change-Id: I3d302039f7e057a97c9d307ce8d32efa056481ed
Allow overlap in resolv uid => DNS iface mapping

When multiple rules exist covering a given uid the one added most
recently will be used.

This allows us to handle the simultaneous tuns case where a new tun is
coming online for an already running VPN.

_resolv_clear_iface_for_uid_range now also takes the iface and removes
only that matching (iface, uid range) entry.

Bug: 12134439
Change-Id: I9b9cfcfae2f38c409022a8c76ccadad7e2babd78
Merge tag 'android-4.4.4_r2' into kitkat-x86

Android 4.4.4 Release 2
Disable sync calls (fdatasync, fsync, sync, O_SYNC)

Android runs much better on an USB stick with disabled sync calls.
Using a journaled filesystem should still ensure file consistency.