Commit Graph

8495 Commits

Author SHA1 Message Date
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
59c78feb6d am f7dd9085: am f42df8c1: Merge "Add lsearch(3) for ltrace."
* commit 'f7dd908586ea49283a792e345e51d48541834b7c':
  Add lsearch(3) for ltrace.
2014-04-01 20:39:45 +00: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
0f0fba75be am 0ea45999: am 796249a4: Merge "Remove duplicate line in linker/Android.mk."
* commit '0ea459992f75b454e743ebf1a41ddab4a3327b16':
  Remove duplicate line in linker/Android.mk.
2014-04-01 19:42:25 +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
182f839cc6 am bc004aa4: am b732b71d: Merge "Move accept4 tests into sys_socket_test.cpp."
* commit 'bc004aa4d36fec0fae112ff4de078b3f2fd3dbc6':
  Move accept4 tests into sys_socket_test.cpp.
2014-04-01 09:16:41 +00: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
29786ff84b am 1cf377bb: am aad59faf: Merge "Small accept4 fixes."
* commit '1cf377bbceb5c59b8572fcdb456034e18fdc1db1':
  Small accept4 fixes.
2014-03-31 19:50:02 +00: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
Russell Webb
ac3fc00ca2 Remove SIZE_MAX definition in limits.h
the POSIX standard is that SIZE_MAX is defined
in stdint.h, not limits.h.

Change-Id: Iafd8ec71d1840541feaca4f53b2926b398293fac
Signed-off-by: Webb, Russell <russell.webb@intel.com>
Signed-off-by: Fengwei Yin <fengwei.yin@intel.com>
Reviewed-by: Ross, Andrew J <andrew.j.ross@intel.com>
Reviewed-by: Boie, Andrew P <andrew.p.boie@intel.com>
Reviewed-by: Gumbel, Matthew K <matthew.k.gumbel@intel.com>
Tested-by: Gumbel, Matthew K <matthew.k.gumbel@intel.com>
2014-03-31 22:38:14 +08:00
Calin Juravle
6a354178ef am 93203f65: am 557942ac: Merge "Fix math tests."
* commit '93203f65220bd3884bbe5da1cb90292341605088':
  Fix math tests.
2014-03-31 11:36:00 +00:00
Calin Juravle
93203f6522 am 557942ac: Merge "Fix math tests."
* commit '557942ac58f08675473460b1802b43473c467172':
  Fix math tests.
2014-03-31 11:29:51 +00:00
Calin Juravle
557942ac58 Merge "Fix math tests." 2014-03-31 10:54:15 +00:00
Christopher Ferris
461b1542e1 am ce5583f7: am d8fe15fd: Merge "add 32-bit bionic implementation for denver arch"
* commit 'ce5583f7065d930cc8d79a05601ca85146da5c2e':
  add 32-bit bionic implementation for denver arch
2014-03-31 03:42:38 +00:00
Christopher Ferris
ce5583f706 am d8fe15fd: Merge "add 32-bit bionic implementation for denver arch"
* commit 'd8fe15fdb6581b6920a4be75731337edbac64b11':
  add 32-bit bionic implementation for denver arch
2014-03-31 03:39:02 +00:00
Christopher Ferris
d8fe15fdb6 Merge "add 32-bit bionic implementation for denver arch" 2014-03-31 03:30:13 +00:00
Christopher Ferris
f6dc79befc am 52268f39: am c19972a4: Merge "Use __unused instead of UNUSED in linker.cpp"
* commit '52268f39820bc541aa7a8c79654de486d8a8e9f2':
  Use __unused instead of UNUSED in linker.cpp
2014-03-30 22:39:38 +00:00
Christopher Ferris
52268f3982 am c19972a4: Merge "Use __unused instead of UNUSED in linker.cpp"
* commit 'c19972a4ca24512e017ad501bf446a489d4236e7':
  Use __unused instead of UNUSED in linker.cpp
2014-03-30 22:34:02 +00:00
Christopher Ferris
c19972a4ca Merge "Use __unused instead of UNUSED in linker.cpp" 2014-03-30 22:24:22 +00:00
Calin Juravle
c08e1720c2 am fd134c6f: am 6617fb73: Merge "Add lconv declaration and localeconv(3)"
* commit 'fd134c6f33ad040dfc2f91d7e23e8186fa3e8610':
  Add lconv declaration and localeconv(3)
2014-03-28 11:36:03 +00:00
Calin Juravle
fd134c6f33 am 6617fb73: Merge "Add lconv declaration and localeconv(3)"
* commit '6617fb73b6393f727cfc88a650c7e033ced053ce':
  Add lconv declaration and localeconv(3)
2014-03-28 11:29:20 +00:00
Calin Juravle
6617fb73b6 Merge "Add lconv declaration and localeconv(3)" 2014-03-28 11:18:16 +00:00
Pavel Chupin
50282f72bb Add lconv declaration and localeconv(3)
lconv is taken from ndk/sources/android/support/include/locale.h and
matches
bsd/glibc upstream.
Keep old declaration for 32-bits for compatibility.
localeconv.c and deps are taken from openbsd upstream.
Changed strtod.c accordingly.

Change-Id: I9fcc4d15f5674d192950d80edf26f36006cd31b4
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2014-03-28 11:15:03 +00:00
Calin Juravle
c8564f2df2 Fix math tests.
Bug: 13657654
Change-Id: I39b2f13b5b3d3e6897618ac3aed49a0a08458dd0
2014-03-28 11:10:01 +00:00
Christopher Ferris
d5e61526bf am 7009abc2: am a58b3f78: Merge "Add accept4 unit test to bionic."
* commit '7009abc28335f01105ac1da02c3d0d06788e21b7':
  Add accept4 unit test to bionic.
2014-03-27 18:29:26 +00:00
Colin Cross
ba73053166 am 61bfc416: am cd3303fa: Merge "linker: use LOCAL_MULTILIB := both style to build linker64"
* commit '61bfc41644ba009678bb9f7e4a2deb3ebe60099e':
  linker: use LOCAL_MULTILIB := both style to build linker64
2014-03-27 18:29:26 +00:00
Christopher Ferris
7009abc283 am a58b3f78: Merge "Add accept4 unit test to bionic."
* commit 'a58b3f78e14500e7b10fc845ef0a6a8309664663':
  Add accept4 unit test to bionic.
2014-03-27 18:23:30 +00:00
Colin Cross
61bfc41644 am cd3303fa: Merge "linker: use LOCAL_MULTILIB := both style to build linker64"
* commit 'cd3303fa384c86f9e7dfab52cce33bd986fdd565':
  linker: use LOCAL_MULTILIB := both style to build linker64
2014-03-27 18:23:29 +00:00
Christopher Ferris
a58b3f78e1 Merge "Add accept4 unit test to bionic." 2014-03-27 18:15:15 +00:00
Colin Cross
cd3303fa38 Merge "linker: use LOCAL_MULTILIB := both style to build linker64" 2014-03-27 18:09:37 +00:00
Andrei Emeltchenko
2f3ba8844a Add accept4 unit test to bionic.
Change-Id: I1cce5fb8dab16f03164fdd288f35a814d7c49c6a
2014-03-27 11:08:49 -07:00
Colin Cross
406a75d371 linker: use LOCAL_MULTILIB := both style to build linker64
Use LOCAL_MODULE_STEM_32 and LOCAL_MODULE_STEM_64 to build
linker and linker64.  Set LOCAL_MULTILIB := both for consistency
with other rules of this type, although LOCAL_MULTILIB := both is
only consumed by executable.mk which is skipped by
linker_executable.mk.  Duplicate the necessary new parts of
executable.mk.

Change-Id: I888e87cf125cfbcfdee6a55b6377d8bc5ce402ea
2014-03-27 10:45:57 -07:00
Calin Juravle
4f6cd7cf9b am 113f7750: am 206fe5fd: Merge changes I1935a63d,I3dfd3647
* commit '113f77506b2382eeb2d99c74f84579c59832fbbb':
  Fix and clean up strtotimeval
  Added strtotimeval tests.
2014-03-27 17:06:14 +00:00
Calin Juravle
113f77506b am 206fe5fd: Merge changes I1935a63d,I3dfd3647
* commit '206fe5fd160504489234d222d824870837e82b59':
  Fix and clean up strtotimeval
  Added strtotimeval tests.
2014-03-27 16:59:18 +00:00
Calin Juravle
206fe5fd16 Merge changes I1935a63d,I3dfd3647
* changes:
  Fix and clean up strtotimeval
  Added strtotimeval tests.
2014-03-27 16:53:08 +00:00
Weichuan Yan
f1d7536dcf Fix and clean up strtotimeval
- parsing of fractional part was wrong (always parsed as 0)
- return value was also wrong in the presence of fractional parts
- general style clean up

Change-Id: I1935a63db938dbed7cacb4b5646e993a52c27f1a
Signed-off-by: Weichuan Yan <wchyan@marvell.com>
2014-03-27 14:57:36 +00:00
Christopher Ferris
474663a398 am 7b6440d1: am bc475bc8: Merge "Add accept4() syscall"
* commit '7b6440d1547d9845ba5572179cd9c32b088b1985':
  Add accept4() syscall
2014-03-26 19:59:57 +00:00
Christopher Ferris
7b6440d154 am bc475bc8: Merge "Add accept4() syscall"
* commit 'bc475bc8d1d202baa48f6c9829fe1cced9122332':
  Add accept4() syscall
2014-03-26 19:53:07 +00:00