OSDN Git Service

android-x86/bionic.git
10 years agoam 5acd2d40: Merge "AArch64: Fix flock64 for LP64."
Elliott Hughes [Tue, 8 Apr 2014 19:29:29 +0000 (19:29 +0000)]
am 5acd2d40: Merge "AArch64: Fix flock64 for LP64."

* commit '5acd2d40052c55255a346167e504afb884eeb3af':
  AArch64: Fix flock64 for LP64.

10 years agoMerge "AArch64: Fix flock64 for LP64."
Elliott Hughes [Tue, 8 Apr 2014 19:20:51 +0000 (19:20 +0000)]
Merge "AArch64: Fix flock64 for LP64."

10 years agoAArch64: Fix flock64 for LP64.
Serban Constantinescu [Fri, 14 Mar 2014 13:16:25 +0000 (13:16 +0000)]
AArch64: Fix flock64 for LP64.

On LP64 systems F_GETLK64, F_SETLK64 and F_SETLKW64 definitions should
map onto the F_GETLK, F_SETLK and F_SETLKW definitions, respectively.
LP64 also doesn't have a struct flock64.

Change-Id: Ibdfed9645d9e946999acd6efa8b96ea6238ed5bf
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
10 years agoam 0b0387c9: Merge "Fix kernel header scrubbing for LP64."
Elliott Hughes [Tue, 8 Apr 2014 18:00:08 +0000 (18:00 +0000)]
am 0b0387c9: Merge "Fix kernel header scrubbing for LP64."

* commit '0b0387c965894e235b72fa965191bf346270135d':
  Fix kernel header scrubbing for LP64.

10 years agoMerge "Fix kernel header scrubbing for LP64."
Elliott Hughes [Tue, 8 Apr 2014 17:47:27 +0000 (17:47 +0000)]
Merge "Fix kernel header scrubbing for LP64."

10 years agoFix kernel header scrubbing for LP64.
Elliott Hughes [Tue, 8 Apr 2014 17:15:06 +0000 (10:15 -0700)]
Fix kernel header scrubbing for LP64.

Change-Id: I4caf44d41edd1b03a20d4c565e169c2b7a2f3686

10 years agoam 41059d76: Merge "Add stpcpy/stpncpy."
Christopher Ferris [Tue, 8 Apr 2014 01:31:06 +0000 (01:31 +0000)]
am 41059d76: Merge "Add stpcpy/stpncpy."

* commit '41059d764f347baa28b8da653a88c772daa9b738':
  Add stpcpy/stpncpy.

10 years agoMerge "Add stpcpy/stpncpy."
Christopher Ferris [Tue, 8 Apr 2014 01:21:06 +0000 (01:21 +0000)]
Merge "Add stpcpy/stpncpy."

10 years agoam b9bb48bf: Merge "Fix the printf issue for 64 bits. The following case:"
Elliott Hughes [Mon, 7 Apr 2014 23:52:29 +0000 (23:52 +0000)]
am b9bb48bf: Merge "Fix the printf issue for 64 bits. The following case:"

* commit 'b9bb48bf289eec9053c6d7cc77ebbde2b4356c4b':
  Fix the printf issue for 64 bits. The following case:

10 years agoMerge "Fix the printf issue for 64 bits. The following case:"
Elliott Hughes [Mon, 7 Apr 2014 23:44:50 +0000 (23:44 +0000)]
Merge "Fix the printf issue for 64 bits. The following case:"

10 years agoAdd stpcpy/stpncpy.
Christopher Ferris [Fri, 4 Apr 2014 21:38:18 +0000 (14:38 -0700)]
Add stpcpy/stpncpy.

Add tests for the above.

Add the fortify implementations of __stpcpy_chk and __stpncpy_chk.

Modify the strncpy test to cover more cases and use this template for
stpncpy.

Add all of the fortify test cases.

Bug: 13746695
Change-Id: I8c0f0d4991a878b8e8734fff12c8b73b07fdd344

10 years agoam 26c31a75: Merge "Remove a non-standard turd: strtotimeval."
Elliott Hughes [Mon, 7 Apr 2014 23:01:04 +0000 (23:01 +0000)]
am 26c31a75: Merge "Remove a non-standard turd: strtotimeval."

* commit '26c31a75a5bd9a549cefc0424b7cac9e35816711':
  Remove a non-standard turd: strtotimeval.

10 years agoMerge "Remove a non-standard turd: strtotimeval."
Elliott Hughes [Mon, 7 Apr 2014 22:53:28 +0000 (22:53 +0000)]
Merge "Remove a non-standard turd: strtotimeval."

10 years agoRemove a non-standard turd: strtotimeval.
Elliott Hughes [Mon, 7 Apr 2014 22:17:19 +0000 (15:17 -0700)]
Remove a non-standard turd: strtotimeval.

Change-Id: I1b1e40746cb573e3fb73a5276969b40c5da36d15

10 years agoam 5f149f1b: Merge "Implement wctomb(3) for ltrace."
Elliott Hughes [Mon, 7 Apr 2014 21:46:16 +0000 (21:46 +0000)]
am 5f149f1b: Merge "Implement wctomb(3) for ltrace."

* commit '5f149f1bdef31d198c0e84fd8c904204d263e825':
  Implement wctomb(3) for ltrace.

10 years agoam 60ba211d: Merge "Fix build: __unused isn\'t unused!"
Elliott Hughes [Mon, 7 Apr 2014 21:46:16 +0000 (21:46 +0000)]
am 60ba211d: Merge "Fix build: __unused isn\'t unused!"

* commit '60ba211d2b1b4205063419b0933cba711b1547d6':
  Fix build: __unused isn't unused!

10 years agoMerge "Implement wctomb(3) for ltrace."
Elliott Hughes [Mon, 7 Apr 2014 21:39:37 +0000 (21:39 +0000)]
Merge "Implement wctomb(3) for ltrace."

10 years agoMerge "Fix build: __unused isn't unused!"
Elliott Hughes [Mon, 7 Apr 2014 21:37:47 +0000 (21:37 +0000)]
Merge "Fix build: __unused isn't unused!"

10 years agoFix build: __unused isn't unused!
Elliott Hughes [Mon, 7 Apr 2014 21:36:59 +0000 (14:36 -0700)]
Fix build: __unused isn't unused!

Change-Id: I57f2b755d1b2509f9c5504b12a5ff6c50b78b375

10 years agoImplement wctomb(3) for ltrace.
Elliott Hughes [Sat, 5 Apr 2014 00:34:51 +0000 (17:34 -0700)]
Implement wctomb(3) for ltrace.

This is an implementation in the style of the rest: char == byte.

We might want to come back and implement UTF-8, but this is enough for ltrace.

Bug: 13747066
Change-Id: Ib2b63609c9014fdef9a8491e067467c4fc5ae3cc

10 years agoam 47931f8f: Merge "Fix aarch64 struct ucontext."
Elliott Hughes [Mon, 7 Apr 2014 20:56:05 +0000 (20:56 +0000)]
am 47931f8f: Merge "Fix aarch64 struct ucontext."

* commit '47931f8f796b736bd229b6669efcf428108abc47':
  Fix aarch64 struct ucontext.

10 years agoMerge "Fix aarch64 struct ucontext."
Elliott Hughes [Mon, 7 Apr 2014 20:44:31 +0000 (20:44 +0000)]
Merge "Fix aarch64 struct ucontext."

10 years agoFix aarch64 struct ucontext.
Elliott Hughes [Mon, 7 Apr 2014 19:12:00 +0000 (12:12 -0700)]
Fix aarch64 struct ucontext.

Change-Id: I6f0959723a753e8c788275709e7245c103ff88d1

10 years agoam dc5fcf36: Merge "Define __WORDSIZE like glibc."
Elliott Hughes [Fri, 4 Apr 2014 00:08:20 +0000 (00:08 +0000)]
am dc5fcf36: Merge "Define __WORDSIZE like glibc."

* commit 'dc5fcf3620bfc221954b3d42f459bfdcf8f48216':
  Define __WORDSIZE like glibc.

10 years agoresolved conflicts for merge of 804b95e5 to klp-modular-dev-plus-aosp
Paul Jensen [Thu, 3 Apr 2014 23:59:27 +0000 (19:59 -0400)]
resolved conflicts for merge of 804b95e5 to klp-modular-dev-plus-aosp

Change-Id: I124e9342acdb0c9cf0cdcae31f063787c96ab6e2

10 years agoMerge "Define __WORDSIZE like glibc."
Elliott Hughes [Thu, 3 Apr 2014 22:06:25 +0000 (22:06 +0000)]
Merge "Define __WORDSIZE like glibc."

10 years agoDefine __WORDSIZE like glibc.
Elliott Hughes [Thu, 3 Apr 2014 20:59:14 +0000 (13:59 -0700)]
Define __WORDSIZE like glibc.

Requested by Google Breakpad, but seems to be assumed to be defined
in various places in the AOSP tree already; iputils, wpa_supplicant,
et cetera.

Change-Id: I1f7833c98e0af4c77e49744c08b8239061c9a571

10 years agoMerge "bionic: Replace iface with opaque netid in resolver."
Robert Greenwalt [Thu, 3 Apr 2014 17:05:32 +0000 (17:05 +0000)]
Merge "bionic: Replace iface with opaque netid in resolver."

10 years agoam 38687593: Merge "Emit warnings when linking against imprecise math functions"
Calin Juravle [Thu, 3 Apr 2014 09:11:48 +0000 (09:11 +0000)]
am 38687593: Merge "Emit warnings when linking against imprecise math functions"

* commit '38687593141ca4a4072210417877590e44a10b0c':
  Emit warnings when linking against imprecise math functions

10 years agoam eb554998: Merge "Fix modf* tests"
Calin Juravle [Thu, 3 Apr 2014 09:11:48 +0000 (09:11 +0000)]
am eb554998: Merge "Fix modf* tests"

* commit 'eb554998d774c670a169bde1792619789f2f7058':
  Fix modf* tests

10 years agoMerge "Emit warnings when linking against imprecise math functions"
Calin Juravle [Thu, 3 Apr 2014 09:01:04 +0000 (09:01 +0000)]
Merge "Emit warnings when linking against imprecise math functions"

10 years agoMerge "Fix modf* tests"
Calin Juravle [Thu, 3 Apr 2014 09:00:34 +0000 (09:00 +0000)]
Merge "Fix modf* tests"

10 years agoam e2a0f15c: Merge "Regenerate adf header"
Greg Hackmann [Wed, 2 Apr 2014 23:36:03 +0000 (23:36 +0000)]
am e2a0f15c: Merge "Regenerate adf header"

* commit 'e2a0f15c08827ee854f3bffdf78d2f4db49d4fe5':
  Regenerate adf header

10 years agoMerge "Regenerate adf header"
Greg Hackmann [Wed, 2 Apr 2014 23:24:54 +0000 (23:24 +0000)]
Merge "Regenerate adf header"

10 years agoRegenerate adf header
Greg Hackmann [Wed, 2 Apr 2014 23:07:30 +0000 (16:07 -0700)]
Regenerate adf header

Fixes 64-bit related alignment issues

Change-Id: Ie90b920a7489e807e953f45a6db72350b80f6f22
Signed-off-by: Greg Hackmann <ghackmann@google.com>
10 years agoam 26be5f50: Merge "Upgrade to tzdata2014b."
Elliott Hughes [Wed, 2 Apr 2014 22:03:00 +0000 (22:03 +0000)]
am 26be5f50: Merge "Upgrade to tzdata2014b."

* commit '26be5f50c2a0d2a493559c897ab1a7711269dc88':
  Upgrade to tzdata2014b.

10 years agoMerge "Upgrade to tzdata2014b."
Elliott Hughes [Wed, 2 Apr 2014 21:54:55 +0000 (21:54 +0000)]
Merge "Upgrade to tzdata2014b."

10 years agoUpgrade to tzdata2014b.
Elliott Hughes [Wed, 2 Apr 2014 21:40:22 +0000 (14:40 -0700)]
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

10 years agoFix modf* tests
Calin Juravle [Tue, 1 Apr 2014 15:45:53 +0000 (16:45 +0100)]
Fix modf* tests

Use a value that can be exactly represented.

Change-Id: Idf3b1db5e6042fb49c1f591f25f9eee656659ece

10 years agoEmit warnings when linking against imprecise math functions
Calin Juravle [Tue, 1 Apr 2014 16:38:59 +0000 (17:38 +0100)]
Emit warnings when linking against imprecise math functions

Change-Id: I3da7b8396a64d7899fcb89452c879806a8a511ff

10 years agoam 1f136571: Merge "Fix the POSIX timers fix."
Elliott Hughes [Wed, 2 Apr 2014 16:30:52 +0000 (16:30 +0000)]
am 1f136571: Merge "Fix the POSIX timers fix."

* commit '1f136571312e4269df00dfc6d9a9049d0f2dabc9':
  Fix the POSIX timers fix.

10 years agoMerge "Fix the POSIX timers fix."
Elliott Hughes [Wed, 2 Apr 2014 16:20:47 +0000 (16:20 +0000)]
Merge "Fix the POSIX timers fix."

10 years agoFix the printf issue for 64 bits. The following case:
Alexander Ivchenko [Tue, 1 Apr 2014 13:01:39 +0000 (17:01 +0400)]
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>
10 years agoam 9c9ef0db: Merge "Changed long double literal suffix from \'l\' to \'L\'."
Calin Juravle [Wed, 2 Apr 2014 10:24:07 +0000 (10:24 +0000)]
am 9c9ef0db: Merge "Changed long double literal suffix from \'l\' to \'L\'."

* commit '9c9ef0db91c816ca81a22a94c3ddd896a0f0f1bc':
  Changed long double literal suffix from 'l' to 'L'.

10 years agoMerge "Changed long double literal suffix from 'l' to 'L'."
Calin Juravle [Wed, 2 Apr 2014 10:17:10 +0000 (10:17 +0000)]
Merge "Changed long double literal suffix from 'l' to 'L'."

10 years agoFix the POSIX timers fix.
Elliott Hughes [Wed, 2 Apr 2014 02:07:52 +0000 (19:07 -0700)]
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

10 years agoam 1653ad5e: Merge "Remove <machine/limits.h>."
Elliott Hughes [Wed, 2 Apr 2014 01:05:13 +0000 (01:05 +0000)]
am 1653ad5e: Merge "Remove <machine/limits.h>."

* commit '1653ad5e08ba4cabfd4d81237e13a4952fac6194':
  Remove <machine/limits.h>.

10 years agoam cb1da5d0: Merge "Include sys/types.h and sys/wait.h for waitpid"
Christopher Ferris [Wed, 2 Apr 2014 00:59:44 +0000 (00:59 +0000)]
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

10 years agoMerge "Remove <machine/limits.h>."
Elliott Hughes [Wed, 2 Apr 2014 00:59:09 +0000 (00:59 +0000)]
Merge "Remove <machine/limits.h>."

10 years agoMerge "Include sys/types.h and sys/wait.h for waitpid"
Christopher Ferris [Wed, 2 Apr 2014 00:49:04 +0000 (00:49 +0000)]
Merge "Include sys/types.h and sys/wait.h for waitpid"

10 years agoInclude sys/types.h and sys/wait.h for waitpid
Brian Carlstrom [Wed, 2 Apr 2014 00:33:41 +0000 (17:33 -0700)]
Include sys/types.h and sys/wait.h for waitpid

(cherry picked from commit 8b2c6d44cac206b61dffd965863336e6f803fc66)

Change-Id: Ice1f6d956c11aaefd3d846c12121f08613a94446

10 years agoRemove <machine/limits.h>.
Elliott Hughes [Wed, 2 Apr 2014 00:16:59 +0000 (17:16 -0700)]
Remove <machine/limits.h>.

Change-Id: I7f9e9538517f726d4f08bf1f4b8d57c54d3f1676

10 years agoam f1bfc878: Merge "Remove SIZE_MAX definition in limits.h"
Elliott Hughes [Tue, 1 Apr 2014 23:59:49 +0000 (23:59 +0000)]
am f1bfc878: Merge "Remove SIZE_MAX definition in limits.h"

* commit 'f1bfc8781e17fb851de23dce4332c0cb5ccb8749':
  Remove SIZE_MAX definition in limits.h

10 years agoMerge "Remove SIZE_MAX definition in limits.h"
Elliott Hughes [Tue, 1 Apr 2014 23:52:04 +0000 (23:52 +0000)]
Merge "Remove SIZE_MAX definition in limits.h"

10 years agoam ab5488f9: Merge "Fix transient failure in select_smoke test."
Christopher Ferris [Tue, 1 Apr 2014 22:03:17 +0000 (22:03 +0000)]
am ab5488f9: Merge "Fix transient failure in select_smoke test."

* commit 'ab5488f97545f5dd1a1cd2ff6a5579b1d2443996':
  Fix transient failure in select_smoke test.

10 years agoMerge "Fix transient failure in select_smoke test."
Christopher Ferris [Tue, 1 Apr 2014 21:52:05 +0000 (21:52 +0000)]
Merge "Fix transient failure in select_smoke test."

10 years agoam 92d81d89: Merge "Add Silvermont architecture cache sizes"
Elliott Hughes [Tue, 1 Apr 2014 21:48:03 +0000 (21:48 +0000)]
am 92d81d89: Merge "Add Silvermont architecture cache sizes"

* commit '92d81d893f7ca2735afb07f38f7dc799a2de6860':
  Add Silvermont architecture cache sizes

10 years agoFix transient failure in select_smoke test.
Christopher Ferris [Tue, 1 Apr 2014 05:51:27 +0000 (22:51 -0700)]
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

10 years agoMerge "Add Silvermont architecture cache sizes"
Elliott Hughes [Tue, 1 Apr 2014 21:40:04 +0000 (21:40 +0000)]
Merge "Add Silvermont architecture cache sizes"

10 years agoam e05816cf: Merge "Fix debug malloc for LP64."
Elliott Hughes [Tue, 1 Apr 2014 21:09:54 +0000 (21:09 +0000)]
am e05816cf: Merge "Fix debug malloc for LP64."

* commit 'e05816cfa0270d7def33da70bf2ada12350b08b5':
  Fix debug malloc for LP64.

10 years agoMerge "Fix debug malloc for LP64."
Elliott Hughes [Tue, 1 Apr 2014 21:00:07 +0000 (21:00 +0000)]
Merge "Fix debug malloc for LP64."

10 years agoFix debug malloc for LP64.
Elliott Hughes [Tue, 1 Apr 2014 20:48:30 +0000 (13:48 -0700)]
Fix debug malloc for LP64.

Change-Id: I5de2097b6589c0d6750b2a3bc3cbb06227de6d5f

10 years agoam f42df8c1: Merge "Add lsearch(3) for ltrace."
Elliott Hughes [Tue, 1 Apr 2014 20:35:58 +0000 (20:35 +0000)]
am f42df8c1: Merge "Add lsearch(3) for ltrace."

* commit 'f42df8c1ac1fd1924a6244f5b9ad472d73786949':
  Add lsearch(3) for ltrace.

10 years agobionic: Replace iface with opaque netid in resolver.
Szymon Jakubczak [Fri, 14 Feb 2014 22:07:23 +0000 (17:07 -0500)]
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

10 years agoMerge "Add lsearch(3) for ltrace."
Elliott Hughes [Tue, 1 Apr 2014 20:25:32 +0000 (20:25 +0000)]
Merge "Add lsearch(3) for ltrace."

10 years agoAdd lsearch(3) for ltrace.
Elliott Hughes [Tue, 1 Apr 2014 19:40:00 +0000 (12:40 -0700)]
Add lsearch(3) for ltrace.

Bug: 13746936
Change-Id: I833c6ba70a1752c04dab7de389f5bebb741662b3

10 years agoam 796249a4: Merge "Remove duplicate line in linker/Android.mk."
Elliott Hughes [Tue, 1 Apr 2014 19:33:44 +0000 (19:33 +0000)]
am 796249a4: Merge "Remove duplicate line in linker/Android.mk."

* commit '796249a4ce48ed5eb946170f32541e3edf83b601':
  Remove duplicate line in linker/Android.mk.

10 years agoMerge "Remove duplicate line in linker/Android.mk."
Elliott Hughes [Tue, 1 Apr 2014 19:22:19 +0000 (19:22 +0000)]
Merge "Remove duplicate line in linker/Android.mk."

10 years agoRemove duplicate line in linker/Android.mk.
Elliott Hughes [Tue, 1 Apr 2014 18:41:36 +0000 (11:41 -0700)]
Remove duplicate line in linker/Android.mk.

Change-Id: I7b4d5fcdfacc840bbda4ffd965e5315c4651cfe5

10 years agoChanged long double literal suffix from 'l' to 'L'.
Calin Juravle [Tue, 1 Apr 2014 15:41:12 +0000 (16:41 +0100)]
Changed long double literal suffix from 'l' to 'L'.

Change-Id: Id569f2d335b0930704d12ad7f388cb98b65f3ab7

10 years agoam b732b71d: Merge "Move accept4 tests into sys_socket_test.cpp."
Christopher Ferris [Tue, 1 Apr 2014 09:08:01 +0000 (09:08 +0000)]
am b732b71d: Merge "Move accept4 tests into sys_socket_test.cpp."

* commit 'b732b71dc10158a4c1d8ee2235d357f8694030ba':
  Move accept4 tests into sys_socket_test.cpp.

10 years agoAdd Silvermont architecture cache sizes
Henrik Smiding [Wed, 8 Jan 2014 15:57:55 +0000 (16:57 +0100)]
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>
10 years agoMerge "Move accept4 tests into sys_socket_test.cpp."
Christopher Ferris [Tue, 1 Apr 2014 05:50:17 +0000 (05:50 +0000)]
Merge "Move accept4 tests into sys_socket_test.cpp."

10 years agoMove accept4 tests into sys_socket_test.cpp.
Christopher Ferris [Mon, 31 Mar 2014 20:30:22 +0000 (13:30 -0700)]
Move accept4 tests into sys_socket_test.cpp.

In addition, create basic recvmmsg, sendmmsg tests.

Change-Id: Ie9f4954446d98b5eb5e553d3c616c1ee67c3cb66

10 years agoam aad59faf: Merge "Small accept4 fixes."
Christopher Ferris [Mon, 31 Mar 2014 19:11:02 +0000 (19:11 +0000)]
am aad59faf: Merge "Small accept4 fixes."

* commit 'aad59fafeaa1f46e1744864167e6407b5a5ae55e':
  Small accept4 fixes.

10 years agoMerge "Small accept4 fixes."
Christopher Ferris [Mon, 31 Mar 2014 19:01:23 +0000 (19:01 +0000)]
Merge "Small accept4 fixes."

10 years agoSmall accept4 fixes.
Christopher Ferris [Mon, 31 Mar 2014 18:23:39 +0000 (11:23 -0700)]
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

10 years agoRemove SIZE_MAX definition in limits.h
Russell Webb [Mon, 10 Mar 2014 23:35:28 +0000 (16:35 -0700)]
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>
10 years agoam 557942ac: Merge "Fix math tests."
Calin Juravle [Mon, 31 Mar 2014 11:29:51 +0000 (11:29 +0000)]
am 557942ac: Merge "Fix math tests."

* commit '557942ac58f08675473460b1802b43473c467172':
  Fix math tests.

10 years agoMerge "Fix math tests."
Calin Juravle [Mon, 31 Mar 2014 10:54:14 +0000 (10:54 +0000)]
Merge "Fix math tests."

10 years agoam d8fe15fd: Merge "add 32-bit bionic implementation for denver arch"
Christopher Ferris [Mon, 31 Mar 2014 03:39:02 +0000 (03:39 +0000)]
am d8fe15fd: Merge "add 32-bit bionic implementation for denver arch"

* commit 'd8fe15fdb6581b6920a4be75731337edbac64b11':
  add 32-bit bionic implementation for denver arch

10 years agoMerge "add 32-bit bionic implementation for denver arch"
Christopher Ferris [Mon, 31 Mar 2014 03:30:12 +0000 (03:30 +0000)]
Merge "add 32-bit bionic implementation for denver arch"

10 years agoam c19972a4: Merge "Use __unused instead of UNUSED in linker.cpp"
Christopher Ferris [Sun, 30 Mar 2014 22:34:02 +0000 (22:34 +0000)]
am c19972a4: Merge "Use __unused instead of UNUSED in linker.cpp"

* commit 'c19972a4ca24512e017ad501bf446a489d4236e7':
  Use __unused instead of UNUSED in linker.cpp

10 years agoMerge "Use __unused instead of UNUSED in linker.cpp"
Christopher Ferris [Sun, 30 Mar 2014 22:24:22 +0000 (22:24 +0000)]
Merge "Use __unused instead of UNUSED in linker.cpp"

10 years agoam 6617fb73: Merge "Add lconv declaration and localeconv(3)"
Calin Juravle [Fri, 28 Mar 2014 11:29:20 +0000 (11:29 +0000)]
am 6617fb73: Merge "Add lconv declaration and localeconv(3)"

* commit '6617fb73b6393f727cfc88a650c7e033ced053ce':
  Add lconv declaration and localeconv(3)

10 years agoMerge "Add lconv declaration and localeconv(3)"
Calin Juravle [Fri, 28 Mar 2014 11:18:16 +0000 (11:18 +0000)]
Merge "Add lconv declaration and localeconv(3)"

10 years agoAdd lconv declaration and localeconv(3)
Pavel Chupin [Tue, 25 Mar 2014 09:43:04 +0000 (13:43 +0400)]
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>
10 years agoFix math tests.
Calin Juravle [Thu, 27 Mar 2014 13:41:06 +0000 (13:41 +0000)]
Fix math tests.

Bug: 13657654
Change-Id: I39b2f13b5b3d3e6897618ac3aed49a0a08458dd0

10 years agoam a58b3f78: Merge "Add accept4 unit test to bionic."
Christopher Ferris [Thu, 27 Mar 2014 18:23:30 +0000 (18:23 +0000)]
am a58b3f78: Merge "Add accept4 unit test to bionic."

* commit 'a58b3f78e14500e7b10fc845ef0a6a8309664663':
  Add accept4 unit test to bionic.

10 years agoam cd3303fa: Merge "linker: use LOCAL_MULTILIB := both style to build linker64"
Colin Cross [Thu, 27 Mar 2014 18:23:29 +0000 (18:23 +0000)]
am cd3303fa: Merge "linker: use LOCAL_MULTILIB := both style to build linker64"

* commit 'cd3303fa384c86f9e7dfab52cce33bd986fdd565':
  linker: use LOCAL_MULTILIB := both style to build linker64

10 years agoMerge "Add accept4 unit test to bionic."
Christopher Ferris [Thu, 27 Mar 2014 18:15:15 +0000 (18:15 +0000)]
Merge "Add accept4 unit test to bionic."

10 years agoMerge "linker: use LOCAL_MULTILIB := both style to build linker64"
Colin Cross [Thu, 27 Mar 2014 18:09:35 +0000 (18:09 +0000)]
Merge "linker: use LOCAL_MULTILIB := both style to build linker64"

10 years agoAdd accept4 unit test to bionic.
Andrei Emeltchenko [Tue, 18 Feb 2014 08:22:58 +0000 (10:22 +0200)]
Add accept4 unit test to bionic.

Change-Id: I1cce5fb8dab16f03164fdd288f35a814d7c49c6a

10 years agolinker: use LOCAL_MULTILIB := both style to build linker64
Colin Cross [Thu, 27 Mar 2014 17:45:57 +0000 (10:45 -0700)]
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

10 years agoam 206fe5fd: Merge changes I1935a63d,I3dfd3647
Calin Juravle [Thu, 27 Mar 2014 16:59:18 +0000 (16:59 +0000)]
am 206fe5fd: Merge changes I1935a63d,I3dfd3647

* commit '206fe5fd160504489234d222d824870837e82b59':
  Fix and clean up strtotimeval
  Added strtotimeval tests.

10 years agoMerge changes I1935a63d,I3dfd3647
Calin Juravle [Thu, 27 Mar 2014 16:53:08 +0000 (16:53 +0000)]
Merge changes I1935a63d,I3dfd3647

* changes:
  Fix and clean up strtotimeval
  Added strtotimeval tests.

10 years agoFix and clean up strtotimeval
Weichuan Yan [Wed, 26 Mar 2014 03:41:15 +0000 (03:41 +0000)]
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>
10 years agoam bc475bc8: Merge "Add accept4() syscall"
Christopher Ferris [Wed, 26 Mar 2014 19:53:07 +0000 (19:53 +0000)]
am bc475bc8: Merge "Add accept4() syscall"

* commit 'bc475bc8d1d202baa48f6c9829fe1cced9122332':
  Add accept4() syscall

10 years agoMerge "Add accept4() syscall"
Christopher Ferris [Wed, 26 Mar 2014 19:40:59 +0000 (19:40 +0000)]
Merge "Add accept4() syscall"

10 years agoAdded strtotimeval tests.
Calin Juravle [Wed, 26 Mar 2014 14:21:11 +0000 (14:21 +0000)]
Added strtotimeval tests.

Change-Id: I3dfd3647a8494490a2d549bdb915968063a7fb99