Commit Graph

7887 Commits

Author SHA1 Message Date
Robert Greenwalt
804b95e535 Merge "bionic: Replace iface with opaque netid in resolver." 2014-04-03 17:05:32 +00:00
Calin Juravle
c48efe3588 am 38687593: Merge "Emit warnings when linking against imprecise math functions"
* commit '38687593141ca4a4072210417877590e44a10b0c':
  Emit warnings when linking against imprecise math functions
2014-04-03 09:11:48 +00:00
Calin Juravle
c44b5bf207 am eb554998: Merge "Fix modf* tests"
* commit 'eb554998d774c670a169bde1792619789f2f7058':
  Fix modf* tests
2014-04-03 09:11:48 +00:00
Calin Juravle
3868759314 Merge "Emit warnings when linking against imprecise math functions" 2014-04-03 09:01:05 +00:00
Calin Juravle
eb554998d7 Merge "Fix modf* tests" 2014-04-03 09:00:34 +00:00
Greg Hackmann
9b0fa57cb1 am e2a0f15c: Merge "Regenerate adf header"
* commit 'e2a0f15c08827ee854f3bffdf78d2f4db49d4fe5':
  Regenerate adf header
2014-04-02 23:36:03 +00:00
Greg Hackmann
e2a0f15c08 Merge "Regenerate adf header" 2014-04-02 23:24:54 +00:00
Greg Hackmann
8061facb7c Regenerate adf header
Fixes 64-bit related alignment issues

Change-Id: Ie90b920a7489e807e953f45a6db72350b80f6f22
Signed-off-by: Greg Hackmann <ghackmann@google.com>
2014-04-02 16:07:32 -07:00
Elliott Hughes
40b9734cd6 am 26be5f50: Merge "Upgrade to tzdata2014b."
* commit '26be5f50c2a0d2a493559c897ab1a7711269dc88':
  Upgrade to tzdata2014b.
2014-04-02 22:03:00 +00:00
Elliott Hughes
26be5f50c2 Merge "Upgrade to tzdata2014b." 2014-04-02 21:54:55 +00:00
Elliott Hughes
fe6adbad19 Upgrade to tzdata2014b.
From the release notes:

  Changes affecting near-future time stamps

    Crimea switches to Moscow time on 2014-03-30 at 02:00 local time.
    (Thanks to Alexander Krivenyshev.)  Move its zone.tab entry from UA
    to RU.

    New entry for Troll station, Antarctica.  (Thanks to Paul-Inge
    Flakstad and Bengt-Inge Larsson.)  This is currently an
    approximation; a better version will require the zic and localtime
    fixes mentioned [in the full release notes], and the plan is to wait
    for a while until at least the zic fixes propagate.

Change-Id: Ib00f6cbc7b92e26822792b45e53a5f5381e0f6bf
2014-04-02 14:43:27 -07:00
Calin Juravle
d8d6feed3a Fix modf* tests
Use a value that can be exactly represented.

Change-Id: Idf3b1db5e6042fb49c1f591f25f9eee656659ece
2014-04-02 21:54:39 +01:00
Calin Juravle
f723b70fe0 Emit warnings when linking against imprecise math functions
Change-Id: I3da7b8396a64d7899fcb89452c879806a8a511ff
2014-04-02 19:16:54 +01:00
Elliott Hughes
05ed7048ad am 1f136571: Merge "Fix the POSIX timers fix."
* commit '1f136571312e4269df00dfc6d9a9049d0f2dabc9':
  Fix the POSIX timers fix.
2014-04-02 16:30:52 +00:00
Elliott Hughes
1f13657131 Merge "Fix the POSIX timers fix." 2014-04-02 16:20:47 +00:00
Alexander Ivchenko
edd7c2ec25 Fix the printf issue for 64 bits. The following case:
printf("%1$s %1$s\n", "test");

would print garbage instead of the second "test". The problem is __find_arguments
and the patch is a backport of two patches from OpenBSD that fix the issue:

Author: tedu <tedu@cvs.openbsd.org>
Date:   Sat Apr 29 23:00:24 2006 +0000

    check mmap for failure.  the helper functions using it return -1, but
    callers do not yet check since printf() for example is not documented
    to return an error.
    some formatting cleanups.
    mostly ok deraadt millert

Author: millert <millert@cvs.openbsd.org>
Date:   Fri May 16 14:28:54 2008 +0000

    C99 says that for each va_copy() there must be a matching va_end().
    Replace the non-portable hackery in __find_arguments() with a union.
    From FreeBSD.

Change-Id: I6ea392ce6fcf4a319ae6a67ec58cc52fe7cbe534
Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
2014-04-02 18:30:55 +04:00
Calin Juravle
0a6162e2e7 am 9c9ef0db: Merge "Changed long double literal suffix from \'l\' to \'L\'."
* commit '9c9ef0db91c816ca81a22a94c3ddd896a0f0f1bc':
  Changed long double literal suffix from 'l' to 'L'.
2014-04-02 10:24:07 +00:00
Calin Juravle
9c9ef0db91 Merge "Changed long double literal suffix from 'l' to 'L'." 2014-04-02 10:17:11 +00:00
Elliott Hughes
473d06707b Fix the POSIX timers fix.
If we're not going to wait for the timer threads to exit, we need
another way to ensure that we don't free the data they're using
prematurely. The easiest way to ensure that is to let them free the
data themselves.

Change-Id: Icee17c87bbcb9c3aac5868973f595d08569f33aa
2014-04-01 19:07:52 -07:00
Elliott Hughes
bfc540f6e3 am 1653ad5e: Merge "Remove <machine/limits.h>."
* commit '1653ad5e08ba4cabfd4d81237e13a4952fac6194':
  Remove <machine/limits.h>.
2014-04-02 01:05:13 +00:00
Christopher Ferris
ba6ad8602a am cb1da5d0: Merge "Include sys/types.h and sys/wait.h for waitpid"
* commit 'cb1da5d0c9b65bc43062554a3bfd589ee7b100b1':
  Include sys/types.h and sys/wait.h for waitpid
2014-04-02 00:59:44 +00:00
Elliott Hughes
1653ad5e08 Merge "Remove <machine/limits.h>." 2014-04-02 00:59:09 +00:00
Christopher Ferris
cb1da5d0c9 Merge "Include sys/types.h and sys/wait.h for waitpid" 2014-04-02 00:49:04 +00:00
Brian Carlstrom
1021c05f1b Include sys/types.h and sys/wait.h for waitpid
(cherry picked from commit 8b2c6d44cac206b61dffd965863336e6f803fc66)

Change-Id: Ice1f6d956c11aaefd3d846c12121f08613a94446
2014-04-01 17:42:31 -07:00
Elliott Hughes
1b0dc40980 Remove <machine/limits.h>.
Change-Id: I7f9e9538517f726d4f08bf1f4b8d57c54d3f1676
2014-04-01 17:16:59 -07:00
Elliott Hughes
099c13b925 am f1bfc878: Merge "Remove SIZE_MAX definition in limits.h"
* commit 'f1bfc8781e17fb851de23dce4332c0cb5ccb8749':
  Remove SIZE_MAX definition in limits.h
2014-04-01 23:59:49 +00:00
Elliott Hughes
f1bfc8781e Merge "Remove SIZE_MAX definition in limits.h" 2014-04-01 23:52:04 +00:00
Christopher Ferris
e42e5b32eb am ab5488f9: Merge "Fix transient failure in select_smoke test."
* commit 'ab5488f97545f5dd1a1cd2ff6a5579b1d2443996':
  Fix transient failure in select_smoke test.
2014-04-01 22:03:17 +00:00
Christopher Ferris
ab5488f975 Merge "Fix transient failure in select_smoke test." 2014-04-01 21:52:05 +00:00
Elliott Hughes
94d1de561d am 92d81d89: Merge "Add Silvermont architecture cache sizes"
* commit '92d81d893f7ca2735afb07f38f7dc799a2de6860':
  Add Silvermont architecture cache sizes
2014-04-01 21:48:03 +00:00
Christopher Ferris
e3bb025b3d Fix transient failure in select_smoke test.
Make sure there is a delay before the file descriptor is written so that
the select/pselect calls do not return immediately.

Change-Id: If9e481b0e2cfae7ef7abd9cba8fff84078e203d3
2014-04-01 14:46:09 -07:00
Elliott Hughes
92d81d893f Merge "Add Silvermont architecture cache sizes" 2014-04-01 21:40:04 +00:00
Elliott Hughes
abd89b0ccc am e05816cf: Merge "Fix debug malloc for LP64."
* commit 'e05816cfa0270d7def33da70bf2ada12350b08b5':
  Fix debug malloc for LP64.
2014-04-01 21:09:54 +00:00
Elliott Hughes
e05816cfa0 Merge "Fix debug malloc for LP64." 2014-04-01 21:00:07 +00:00
Elliott Hughes
64b2963224 Fix debug malloc for LP64.
Change-Id: I5de2097b6589c0d6750b2a3bc3cbb06227de6d5f
2014-04-01 13:48:30 -07:00
Elliott Hughes
f7dd908586 am f42df8c1: Merge "Add lsearch(3) for ltrace."
* commit 'f42df8c1ac1fd1924a6244f5b9ad472d73786949':
  Add lsearch(3) for ltrace.
2014-04-01 20:35:58 +00:00
Szymon Jakubczak
ea9bf67881 bionic: Replace iface with opaque netid in resolver.
Replace iface cache key with netid.

Replace _mark with netid.

Mark sockets used to test IPv4/IPv6 support as well as sockets
used to determine source address for rfc6724 sort.

Remove pid/uid mappings (functionality moved to system/netd).

Do not create resolv_cache when it does not exist, but rather only
when DNS configuration is supplied.

Clean up unused functions.

Change-Id: I9ccfda2902cc0943e87c9bc346ad9a2578accdab
2014-04-01 16:25:49 -04:00
Elliott Hughes
f42df8c1ac Merge "Add lsearch(3) for ltrace." 2014-04-01 20:25:33 +00:00
Elliott Hughes
7f3a272ae3 Add lsearch(3) for ltrace.
Bug: 13746936
Change-Id: I833c6ba70a1752c04dab7de389f5bebb741662b3
2014-04-01 12:40:00 -07:00
Elliott Hughes
0ea459992f am 796249a4: Merge "Remove duplicate line in linker/Android.mk."
* commit '796249a4ce48ed5eb946170f32541e3edf83b601':
  Remove duplicate line in linker/Android.mk.
2014-04-01 19:33:44 +00:00
Elliott Hughes
796249a4ce Merge "Remove duplicate line in linker/Android.mk." 2014-04-01 19:22:19 +00:00
Elliott Hughes
88b44feb7d Remove duplicate line in linker/Android.mk.
Change-Id: I7b4d5fcdfacc840bbda4ffd965e5315c4651cfe5
2014-04-01 11:41:36 -07:00
Calin Juravle
b7afa9df25 Changed long double literal suffix from 'l' to 'L'.
Change-Id: Id569f2d335b0930704d12ad7f388cb98b65f3ab7
2014-04-01 16:49:14 +01:00
Christopher Ferris
bc004aa4d3 am b732b71d: Merge "Move accept4 tests into sys_socket_test.cpp."
* commit 'b732b71dc10158a4c1d8ee2235d357f8694030ba':
  Move accept4 tests into sys_socket_test.cpp.
2014-04-01 09:08:01 +00:00
Henrik Smiding
3bfa0fd32f Add Silvermont architecture cache sizes
Adds Silvermont specific cache sizes for bionic optimizations.

Change-Id: Ib992f530b8c485121b2874470fd6bed2212adb0f
Signed-off-by: Henrik Smiding <henrik.smiding@intel.com>
2014-04-01 14:41:08 +08:00
Christopher Ferris
b732b71dc1 Merge "Move accept4 tests into sys_socket_test.cpp." 2014-04-01 05:50:17 +00:00
Christopher Ferris
108f6dc316 Move accept4 tests into sys_socket_test.cpp.
In addition, create basic recvmmsg, sendmmsg tests.

Change-Id: Ie9f4954446d98b5eb5e553d3c616c1ee67c3cb66
2014-03-31 22:43:38 -07:00
Christopher Ferris
1cf377bbce am aad59faf: Merge "Small accept4 fixes."
* commit 'aad59fafeaa1f46e1744864167e6407b5a5ae55e':
  Small accept4 fixes.
2014-03-31 19:11:02 +00:00
Christopher Ferris
aad59fafea Merge "Small accept4 fixes." 2014-03-31 19:01:23 +00:00
Christopher Ferris
9cea377505 Small accept4 fixes.
Put the accept4 test in the sorted order, and put the accept4 define in
sorted order.

Also add the missing SYS_RECVMMSG and SYS_SENDMMSG defines.

Change-Id: Iba55354975e0d5027dbee53f6de752c2df719493
2014-03-31 11:23:39 -07:00