android-sdk/platform-bionic.git
8 years agoam 99cf8d08: Merge "make all bionic death tests not dumpable"
Yabin Cui [Thu, 6 Nov 2014 19:22:17 +0000 (19:22 +0000)]
am 99cf8d08: Merge "make all bionic death tests not dumpable"

* commit '99cf8d08c95470c34e530c068d1325cb6656e760':
  make all bionic death tests not dumpable

8 years agoMerge "make all bionic death tests not dumpable"
Yabin Cui [Thu, 6 Nov 2014 19:14:33 +0000 (19:14 +0000)]
Merge "make all bionic death tests not dumpable"

8 years agomake all bionic death tests not dumpable
Yabin Cui [Thu, 6 Nov 2014 02:01:01 +0000 (18:01 -0800)]
make all bionic death tests not dumpable

Bug: 18067305

Change-Id: Ia1ecacf47eddecc9bc58aaac779e0c218f463179

8 years agoam a80f11ba: Merge "Add support for listing missing POSIX 2013 symbols."
Elliott Hughes [Thu, 6 Nov 2014 06:08:32 +0000 (06:08 +0000)]
am a80f11ba: Merge "Add support for listing missing POSIX 2013 symbols."

* commit 'a80f11ba99a078515aa7e06dc99db62a475a7b53':
  Add support for listing missing POSIX 2013 symbols.

8 years agoMerge "Add support for listing missing POSIX 2013 symbols."
Elliott Hughes [Thu, 6 Nov 2014 06:05:38 +0000 (06:05 +0000)]
Merge "Add support for listing missing POSIX 2013 symbols."

8 years agoAdd support for listing missing POSIX 2013 symbols.
Elliott Hughes [Thu, 6 Nov 2014 00:22:26 +0000 (16:22 -0800)]
Add support for listing missing POSIX 2013 symbols.

Change-Id: Ic51787890f837f74a22ca63d64a5710474d00cbc

8 years agoam 23113831: Merge "check invalid file offset when loading library"
Yabin Cui [Wed, 5 Nov 2014 20:12:36 +0000 (20:12 +0000)]
am 23113831: Merge "check invalid file offset when loading library"

* commit '2311383180aee9388d28b03901a1e4ef021bcfa7':
  check invalid file offset when loading library

8 years agoMerge "check invalid file offset when loading library"
Yabin Cui [Wed, 5 Nov 2014 19:56:00 +0000 (19:56 +0000)]
Merge "check invalid file offset when loading library"

8 years agoam c13a2044: Merge "Fix newlocale with a NULL locale name."
Elliott Hughes [Wed, 5 Nov 2014 02:42:07 +0000 (02:42 +0000)]
am c13a2044: Merge "Fix newlocale with a NULL locale name."

* commit 'c13a2044e3b4d6084ef7ed32fb35e63e4157a96a':
  Fix newlocale with a NULL locale name.

8 years agoam 57df00a4: Merge "Improve math tests to allow a specific ulp bound."
Elliott Hughes [Wed, 5 Nov 2014 02:42:05 +0000 (02:42 +0000)]
am 57df00a4: Merge "Improve math tests to allow a specific ulp bound."

* commit '57df00a4107d59f82732306c1e199ffa63f76f9b':
  Improve math tests to allow a specific ulp bound.

8 years agoam 6c8f2475: Merge "Fix warning of missing field initializer."
Chih-Hung Hsieh [Wed, 5 Nov 2014 02:41:55 +0000 (02:41 +0000)]
am 6c8f2475: Merge "Fix warning of missing field initializer."

* commit '6c8f247581890a25fb899767db220a8245859f71':
  Fix warning of missing field initializer.

8 years agoMerge "Fix newlocale with a NULL locale name."
Elliott Hughes [Wed, 5 Nov 2014 02:20:55 +0000 (02:20 +0000)]
Merge "Fix newlocale with a NULL locale name."

8 years agoFix newlocale with a NULL locale name.
Elliott Hughes [Wed, 5 Nov 2014 02:03:44 +0000 (18:03 -0800)]
Fix newlocale with a NULL locale name.

Bug: https://code.google.com/p/android/issues/detail?id=78567
Change-Id: I272dabc12ab186b44a525c7e8ac1846e62334e85

8 years agoMerge "Improve math tests to allow a specific ulp bound."
Elliott Hughes [Wed, 5 Nov 2014 02:02:18 +0000 (02:02 +0000)]
Merge "Improve math tests to allow a specific ulp bound."

8 years agoImprove math tests to allow a specific ulp bound.
Elliott Hughes [Tue, 4 Nov 2014 01:03:20 +0000 (17:03 -0800)]
Improve math tests to allow a specific ulp bound.

At the moment our libm is only good enough for a 1 ulp bound on these tests,
but that's better than the 4 ulp bound you get from gtest by default.

I'm not really happy with the multiple structures and corresponding functions,
but at least they mean there's no duplication in the tests themselves, and it
should be easy enough for us to make further improvements in future.

Change-Id: I004e12970332e1d9531721361d6c34f908cfcecc

8 years agoMerge "Fix warning of missing field initializer."
Chih-Hung Hsieh [Wed, 5 Nov 2014 00:46:36 +0000 (00:46 +0000)]
Merge "Fix warning of missing field initializer."

8 years agocheck invalid file offset when loading library
Yabin Cui [Tue, 4 Nov 2014 19:08:05 +0000 (11:08 -0800)]
check invalid file offset when loading library

Bug: 18178121
Bug: 18078224

Change-Id: I5254433d54645db68e9b83d5095dc2bf9d8531bc

8 years agoFix warning of missing field initializer.
Chih-Hung Hsieh [Tue, 4 Nov 2014 20:09:35 +0000 (12:09 -0800)]
Fix warning of missing field initializer.

BUG: 18241135
Change-Id: I91304eb608bc3336ce5fcd5744fbe080d64f1cc2

8 years agoam 695781b6: Merge "Make host tests depend on /system/etc/hosts."
Dan Albert [Tue, 4 Nov 2014 00:53:18 +0000 (00:53 +0000)]
am 695781b6: Merge "Make host tests depend on /system/etc/hosts."

* commit '695781b6f0419f82939176a6ec1a240300d9f036':
  Make host tests depend on /system/etc/hosts.

8 years agoam e76ea9bb: Merge "Ensure we initialize stdin/stdout/stderr\'s recursive mutexes."
Elliott Hughes [Tue, 4 Nov 2014 00:53:16 +0000 (00:53 +0000)]
am e76ea9bb: Merge "Ensure we initialize stdin/stdout/stderr\'s recursive mutexes."

* commit 'e76ea9bbe0a8bccf97b88d09af13a84fd34a6a76':
  Ensure we initialize stdin/stdout/stderr's recursive mutexes.

8 years agoMerge "Make host tests depend on /system/etc/hosts."
Dan Albert [Mon, 3 Nov 2014 21:38:50 +0000 (21:38 +0000)]
Merge "Make host tests depend on /system/etc/hosts."

8 years agoMerge "Ensure we initialize stdin/stdout/stderr's recursive mutexes."
Elliott Hughes [Mon, 3 Nov 2014 21:32:28 +0000 (21:32 +0000)]
Merge "Ensure we initialize stdin/stdout/stderr's recursive mutexes."

8 years agoMake host tests depend on /system/etc/hosts.
Dan Albert [Mon, 3 Nov 2014 21:26:16 +0000 (13:26 -0800)]
Make host tests depend on /system/etc/hosts.

Change-Id: I3e5ab1325d5e250a1d14b53f3a5a465d9f5de30c

8 years agoEnsure we initialize stdin/stdout/stderr's recursive mutexes.
Elliott Hughes [Mon, 3 Nov 2014 20:32:17 +0000 (12:32 -0800)]
Ensure we initialize stdin/stdout/stderr's recursive mutexes.

Bug: 18208568
Change-Id: I9da16ce0f9375bc363d1d02be706d73fd3b1e150

8 years agoam 38ff8822: Merge "Revert "Use local copy of the library name on dlopen""
Dmitriy Ivanov [Sat, 1 Nov 2014 02:35:51 +0000 (02:35 +0000)]
am 38ff8822: Merge "Revert "Use local copy of the library name on dlopen""

* commit '38ff8822763a30d4c9033a38ec8b71fcd17aba87':
  Revert "Use local copy of the library name on dlopen"

8 years agoMerge "Revert "Use local copy of the library name on dlopen""
Dmitriy Ivanov [Sat, 1 Nov 2014 02:32:22 +0000 (02:32 +0000)]
Merge "Revert "Use local copy of the library name on dlopen""

8 years agoRevert "Use local copy of the library name on dlopen"
Dmitriy Ivanov [Sat, 1 Nov 2014 02:30:38 +0000 (02:30 +0000)]
Revert "Use local copy of the library name on dlopen"

This reverts commit da8e591c3996879e41dc5f70b77d1b0fe6f9c225.

Change-Id: I3fd6f235b18c232af5cc5ecd481851486d7d68f6

8 years agoam 36ffc73e: Merge "Fix arm64 and arm builds."
Dmitriy Ivanov [Sat, 1 Nov 2014 00:36:23 +0000 (00:36 +0000)]
am 36ffc73e: Merge "Fix arm64 and arm builds."

* commit '36ffc73e992de77cc4bc397e41767b69ed9ac917':
  Fix arm64 and arm builds.

8 years agoMerge "Fix arm64 and arm builds."
Dmitriy Ivanov [Sat, 1 Nov 2014 00:33:29 +0000 (00:33 +0000)]
Merge "Fix arm64 and arm builds."

8 years agoFix arm64 and arm builds.
Dmitriy Ivanov [Sat, 1 Nov 2014 00:27:02 +0000 (17:27 -0700)]
Fix arm64 and arm builds.

Change-Id: I2c8c41626768e792f27a2616f2cd5ae66606319d

8 years agoam f33ad400: Merge "Fix symbol lookup order during relocation"
Dmitriy Ivanov [Fri, 31 Oct 2014 23:54:20 +0000 (23:54 +0000)]
am f33ad400: Merge "Fix symbol lookup order during relocation"

* commit 'f33ad400230fa1f16ba4501efb60a1b6035e06ca':
  Fix symbol lookup order during relocation

8 years agoMerge "Fix symbol lookup order during relocation"
Dmitriy Ivanov [Fri, 31 Oct 2014 23:51:18 +0000 (23:51 +0000)]
Merge "Fix symbol lookup order during relocation"

8 years agoam 74c0ccd4: Merge "Use local copy of the library name on dlopen"
Dmitriy Ivanov [Fri, 31 Oct 2014 22:51:38 +0000 (22:51 +0000)]
am 74c0ccd4: Merge "Use local copy of the library name on dlopen"

* commit '74c0ccd49b2f0a94078b565b60c10ecba1e9424e':
  Use local copy of the library name on dlopen

8 years agoMerge "Use local copy of the library name on dlopen"
Dmitriy Ivanov [Fri, 31 Oct 2014 22:47:24 +0000 (22:47 +0000)]
Merge "Use local copy of the library name on dlopen"

8 years agoUse local copy of the library name on dlopen
Dmitriy Ivanov [Fri, 31 Oct 2014 20:46:42 +0000 (13:46 -0700)]
Use local copy of the library name on dlopen

Bug: 18052100
Change-Id: Idbc2a3691db3b5525d4e9bca81d78d5f29bc438f

8 years agoFix symbol lookup order during relocation
Dmitriy Ivanov [Thu, 28 Aug 2014 21:12:12 +0000 (14:12 -0700)]
Fix symbol lookup order during relocation

  Relocate symbol against DF_1_GLOBAL shared libraries
  loaded before this shared library. This includes
  main executable, ld_preloads and other libraries
  that have DF_1_GLOBAL flag set.

Bug: 2643900
Bug: 15432753
Change-Id: Ia788748be59b739d1c7e62b978e7e255f9e65c7b

8 years agoam e38bf839: Merge "limits.h: add define for HOST_NAME_MAX"
Elliott Hughes [Thu, 30 Oct 2014 16:02:29 +0000 (16:02 +0000)]
am e38bf839: Merge "limits.h: add define for HOST_NAME_MAX"

* commit 'e38bf839837d11542e7d1deb00d81542a0ef55b7':
  limits.h: add define for HOST_NAME_MAX

8 years agoMerge "limits.h: add define for HOST_NAME_MAX"
Elliott Hughes [Thu, 30 Oct 2014 15:56:44 +0000 (15:56 +0000)]
Merge "limits.h: add define for HOST_NAME_MAX"

8 years agolimits.h: add define for HOST_NAME_MAX
Yongqin Liu [Wed, 29 Oct 2014 06:47:47 +0000 (14:47 +0800)]
limits.h: add define for HOST_NAME_MAX

according to the rules defined here:
    http://pubs.opengroup.org/onlinepubs/009695399/basedefs/limits.h.html
add the definition for HOST_NAME_MAX to limits.h file,
and set the default value to _POSIX_HOST_NAME_MAX as 255

Change-Id: Iddd5c6c569f4e0a14994c7a7c54985f3e7809fc4
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
8 years agoam f362e9fb: Merge "Remove an unused file."
Elliott Hughes [Wed, 29 Oct 2014 20:51:27 +0000 (20:51 +0000)]
am f362e9fb: Merge "Remove an unused file."

* commit 'f362e9fb33722f89cebe65ddf2f07d2b07e4390e':
  Remove an unused file.

8 years agoMerge "Remove an unused file."
Elliott Hughes [Wed, 29 Oct 2014 20:46:30 +0000 (20:46 +0000)]
Merge "Remove an unused file."

8 years agoRemove an unused file.
Elliott Hughes [Wed, 29 Oct 2014 20:42:23 +0000 (13:42 -0700)]
Remove an unused file.

We don't have any FreeBSD stdio left.

Bug: 17154680
Change-Id: I145627f564364ac8d4707d431d451cc3115c1c6a

8 years agoam d50495a5: Merge "Extra strtod/strtof tests."
Elliott Hughes [Wed, 29 Oct 2014 17:36:16 +0000 (17:36 +0000)]
am d50495a5: Merge "Extra strtod/strtof tests."

* commit 'd50495a56760fdc116b7484bcdf1183c76db9b37':
  Extra strtod/strtof tests.

8 years agoMerge "Extra strtod/strtof tests."
Elliott Hughes [Wed, 29 Oct 2014 17:22:33 +0000 (17:22 +0000)]
Merge "Extra strtod/strtof tests."

8 years agoam cbb4606a: Merge "change unsigned int to uint32_t for api arc4random/arc4random_uni...
Yabin Cui [Wed, 29 Oct 2014 12:32:36 +0000 (12:32 +0000)]
am cbb4606a: Merge "change unsigned int to uint32_t for api arc4random/arc4random_uniform"

* commit 'cbb4606ad00f084f984c92a8674400a112ea200e':
  change unsigned int to uint32_t for api arc4random/arc4random_uniform

8 years agoam 13dcb88b: Merge "Disable tzdata in ."
Elliott Hughes [Wed, 29 Oct 2014 12:32:23 +0000 (12:32 +0000)]
am 13dcb88b: Merge "Disable tzdata in ."

* commit '13dcb88b0f8ce238456059fdc0b6c946caed1e3a':
  Disable tzdata in $ANDROID_DATA.

8 years agoam f96eaf62: Merge "[x86,x86_64] Fix libgcc unwinding through signal"
Elliott Hughes [Wed, 29 Oct 2014 12:31:52 +0000 (12:31 +0000)]
am f96eaf62: Merge "[x86,x86_64] Fix libgcc unwinding through signal"

* commit 'f96eaf6202351a1b5153cfaad3137e4b63846f8f':
  [x86,x86_64] Fix libgcc unwinding through signal

8 years agoExtra strtod/strtof tests.
Elliott Hughes [Wed, 29 Oct 2014 00:54:23 +0000 (17:54 -0700)]
Extra strtod/strtof tests.

Check that libc doesn't suffer from a couple of bugs that affected
Java in the past.

Bug: 2206701
Change-Id: I9eb64d7ff2fa0b79e93079b897a5fb78bef866be

8 years agoMerge "change unsigned int to uint32_t for api arc4random/arc4random_uniform"
Yabin Cui [Tue, 28 Oct 2014 22:58:39 +0000 (22:58 +0000)]
Merge "change unsigned int to uint32_t for api arc4random/arc4random_uniform"

8 years agochange unsigned int to uint32_t for api arc4random/arc4random_uniform
Yabin Cui [Tue, 28 Oct 2014 19:04:02 +0000 (12:04 -0700)]
change unsigned int to uint32_t for api arc4random/arc4random_uniform

Bug: 17894480
Change-Id: Ia4b5a7cd2b2c6002ed70955f86f7780d26d15e26

8 years agoam ec58e29b: Merge "pthread_setname_np appears in glibc 2.12."
Elliott Hughes [Tue, 28 Oct 2014 19:28:35 +0000 (19:28 +0000)]
am ec58e29b: Merge "pthread_setname_np appears in glibc 2.12."

* commit 'ec58e29b276b0f98eb624430fb70703dc32057bf':
  pthread_setname_np appears in glibc 2.12.

8 years agoam 021b6412: Merge "Fix the type of u_ar0 in <sys/user.h>."
Elliott Hughes [Tue, 28 Oct 2014 19:28:34 +0000 (19:28 +0000)]
am 021b6412: Merge "Fix the type of u_ar0 in <sys/user.h>."

* commit '021b6412f7b7ce73b383480b25a8e5d69323f78c':
  Fix the type of u_ar0 in <sys/user.h>.

8 years agoam 7f164f60: Merge "POSIX says pthread_mutex_trylock returns EBUSY, not EDEADLK."
Elliott Hughes [Tue, 28 Oct 2014 19:28:32 +0000 (19:28 +0000)]
am 7f164f60: Merge "POSIX says pthread_mutex_trylock returns EBUSY, not EDEADLK."

* commit '7f164f6052b6dcee1c2cc70accdfac4b2c790b19':
  POSIX says pthread_mutex_trylock returns EBUSY, not EDEADLK.

8 years agoam e23f564b: Merge "Fix *tests-run-on-host target"
Dmitriy Ivanov [Tue, 28 Oct 2014 17:34:12 +0000 (17:34 +0000)]
am e23f564b: Merge "Fix *tests-run-on-host target"

* commit 'e23f564b52fed0dce661cf6db25cf3a89bd66f18':
  Fix *tests-run-on-host target

8 years agoam c716dd1e: Merge "bionic tests: migrate test for mutex type from system/extras"
Elliott Hughes [Tue, 28 Oct 2014 17:34:01 +0000 (17:34 +0000)]
am c716dd1e: Merge "bionic tests: migrate test for mutex type from system/extras"

* commit 'c716dd1e21438ac6585be79fb799b3135e9b381f':
  bionic tests: migrate test for mutex type from system/extras

8 years agoMerge "Disable tzdata in $ANDROID_DATA."
Elliott Hughes [Tue, 28 Oct 2014 16:34:45 +0000 (16:34 +0000)]
Merge "Disable tzdata in $ANDROID_DATA."

8 years agoDisable tzdata in $ANDROID_DATA.
Elliott Hughes [Mon, 27 Oct 2014 20:38:21 +0000 (13:38 -0700)]
Disable tzdata in $ANDROID_DATA.

(cherry picked from 4c30130a2155c37e80af4c3b53bf4f6ce832e760.)

Bug: 18139284
Change-Id: I2670dc1791d635139a5d39a438dc08777439476b

8 years agoam f56a2f5e: Merge "Remove unnecessary reinterpret_cast"
Dmitriy Ivanov [Tue, 28 Oct 2014 04:51:51 +0000 (04:51 +0000)]
am f56a2f5e: Merge "Remove unnecessary reinterpret_cast"

* commit 'f56a2f5ed2508e0743581003420c0f2d9cb54c7b':
  Remove unnecessary reinterpret_cast

8 years agoam 57c5a556: Merge "Disable clang compilation due to lack of ifunc."
Chih-Hung Hsieh [Tue, 28 Oct 2014 04:51:47 +0000 (04:51 +0000)]
am 57c5a556: Merge "Disable clang compilation due to lack of ifunc."

* commit '57c5a5562b08007dbe6379a4b68ca3a0225747c0':
  Disable clang compilation due to lack of ifunc.

8 years agoam c83837ec: Merge "Make the netdb unit tests work on the host."
Elliott Hughes [Tue, 28 Oct 2014 04:51:46 +0000 (04:51 +0000)]
am c83837ec: Merge "Make the netdb unit tests work on the host."

* commit 'c83837ec158a14bf84ea702c04f606de3b0599a8':
  Make the netdb unit tests work on the host.

8 years agoam cad8d226: Merge "Use mxcr_mask instead of mxcsr_mask to match glibc."
Elliott Hughes [Tue, 28 Oct 2014 04:51:25 +0000 (04:51 +0000)]
am cad8d226: Merge "Use mxcr_mask instead of mxcsr_mask to match glibc."

* commit 'cad8d226c3589a65775fda972d4cd3ebd3877dab':
  Use mxcr_mask instead of mxcsr_mask to match glibc.

8 years agoam a4c0b756: Merge "Add mkfifoat(3)."
Elliott Hughes [Tue, 28 Oct 2014 04:49:11 +0000 (04:49 +0000)]
am a4c0b756: Merge "Add mkfifoat(3)."

* commit 'a4c0b7567190968d263bedd1073ea633510f9a45':
  Add mkfifoat(3).

8 years agoam f33a7d7f: Merge "Fix mips build"
Dmitriy Ivanov [Tue, 28 Oct 2014 04:46:55 +0000 (04:46 +0000)]
am f33a7d7f: Merge "Fix mips build"

* commit 'f33a7d7f1cc96cf1445013fe49f6db0f03cbd44f':
  Fix mips build

8 years agoam 398eb5a7: Merge "Remove unnecessary lookups during relocations"
Dmitriy Ivanov [Tue, 28 Oct 2014 04:46:54 +0000 (04:46 +0000)]
am 398eb5a7: Merge "Remove unnecessary lookups during relocations"

* commit '398eb5a7ee1f0f7173e463e82381431ef4b21a17':
  Remove unnecessary lookups during relocations

8 years agoam 566f2bc6: Merge "Fix relocation to look for symbols in local group"
Dmitriy Ivanov [Tue, 28 Oct 2014 04:46:52 +0000 (04:46 +0000)]
am 566f2bc6: Merge "Fix relocation to look for symbols in local group"

* commit '566f2bc623dbd1d6e8bcf3a6c6e7a6fffe7f68fd':
  Fix relocation to look for symbols in local group

8 years agoam 6c5694b6: Merge "Migrate system/extra getaddrinfo test, and fix a bug in getservby...
Elliott Hughes [Tue, 28 Oct 2014 04:33:09 +0000 (04:33 +0000)]
am 6c5694b6: Merge "Migrate system/extra getaddrinfo test, and fix a bug in getservbyname(3)."

* commit '6c5694b6c8343d740c36adbe904442cecd8030a6':
  Migrate system/extra getaddrinfo test, and fix a bug in getservbyname(3).

8 years agoMerge "[x86,x86_64] Fix libgcc unwinding through signal"
Elliott Hughes [Mon, 27 Oct 2014 23:30:55 +0000 (23:30 +0000)]
Merge "[x86,x86_64] Fix libgcc unwinding through signal"

8 years ago[x86,x86_64] Fix libgcc unwinding through signal
Pavel Chupin [Fri, 26 Sep 2014 12:02:09 +0000 (16:02 +0400)]
[x86,x86_64] Fix libgcc unwinding through signal

This change provides __restore/__restore_rt on x86 and __restore_rt on
x86_64 with unwinding information to be able to unwind through signal
frame via libgcc provided unwinding interface. See comments inlined for
more details.

Also remove the test that had a dependency on
__attribute__((cleanup(foo_cleanup))). It doesn't provide us with any
better test coverage than we have from the newer tests, and it doesn't
work well across a variety architectures (presumably because no one uses
this attribute in the real world).

Tested this on host via bionic-unit-tests-run-on-host on both x86 and
x86-64.

Bug: 17436734
Change-Id: I2f06814e82c8faa732cb4f5648868dc0fd2e5fe4
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
8 years agoMerge "pthread_setname_np appears in glibc 2.12."
Elliott Hughes [Mon, 27 Oct 2014 20:01:36 +0000 (20:01 +0000)]
Merge "pthread_setname_np appears in glibc 2.12."

8 years agopthread_setname_np appears in glibc 2.12.
Elliott Hughes [Mon, 27 Oct 2014 19:01:51 +0000 (12:01 -0700)]
pthread_setname_np appears in glibc 2.12.

And our emulator kernels are now new enough to not require a workaround.

Change-Id: Id56c983dbfd8abc69f72a78411a5502391941dfc

8 years agoMerge "Fix the type of u_ar0 in <sys/user.h>."
Elliott Hughes [Mon, 27 Oct 2014 17:40:59 +0000 (17:40 +0000)]
Merge "Fix the type of u_ar0 in <sys/user.h>."

8 years agoMerge "POSIX says pthread_mutex_trylock returns EBUSY, not EDEADLK."
Elliott Hughes [Mon, 27 Oct 2014 17:38:33 +0000 (17:38 +0000)]
Merge "POSIX says pthread_mutex_trylock returns EBUSY, not EDEADLK."

8 years agoMerge "Fix *tests-run-on-host target"
Dmitriy Ivanov [Sun, 26 Oct 2014 05:47:52 +0000 (05:47 +0000)]
Merge "Fix *tests-run-on-host target"

8 years agoFix *tests-run-on-host target
Dmitriy Ivanov [Sat, 25 Oct 2014 19:41:23 +0000 (12:41 -0700)]
Fix *tests-run-on-host target

Change-Id: Id0e5060977a2df91c47b5a916989eb7e2e3f8153

8 years agoFix the type of u_ar0 in <sys/user.h>.
Elliott Hughes [Sat, 25 Oct 2014 03:57:09 +0000 (20:57 -0700)]
Fix the type of u_ar0 in <sys/user.h>.

Change-Id: I9332dea60f7c60b45bc80026686c266bfa7a782c

8 years agoPOSIX says pthread_mutex_trylock returns EBUSY, not EDEADLK.
Elliott Hughes [Sat, 25 Oct 2014 02:33:11 +0000 (19:33 -0700)]
POSIX says pthread_mutex_trylock returns EBUSY, not EDEADLK.

Found by unit test.

Change-Id: Iffbd2f04213616927fbd7b5419460031f7a078e9

8 years agoMerge "bionic tests: migrate test for mutex type from system/extras"
Elliott Hughes [Sat, 25 Oct 2014 02:03:19 +0000 (02:03 +0000)]
Merge "bionic tests: migrate test for mutex type from system/extras"

8 years agobionic tests: migrate test for mutex type from system/extras
Derek Xue [Thu, 25 Sep 2014 10:05:32 +0000 (11:05 +0100)]
bionic tests: migrate test for mutex type from system/extras

Migrate the test about pthread mutex type in file
    system/extras/tests/bionic/libc/bionic/test_mutex.c
to the new place
    bionic/tests/pthread_test.cpp
in the gtest format.

Change-Id: I6aab10170ccad5b9a4892d52dba2403876c86659
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
8 years agoMerge "Remove unnecessary reinterpret_cast"
Dmitriy Ivanov [Fri, 24 Oct 2014 22:05:35 +0000 (22:05 +0000)]
Merge "Remove unnecessary reinterpret_cast"

8 years agoRemove unnecessary reinterpret_cast
Dmitriy Ivanov [Fri, 24 Oct 2014 21:46:12 +0000 (14:46 -0700)]
Remove unnecessary reinterpret_cast

Change-Id: Id2ddf4e74bc66825206d1287f899d716537a68d0

8 years agoam cf8ea37f: Merge "bionic/tests: migrate gethostbyname bionic test from system/extra...
Elliott Hughes [Fri, 24 Oct 2014 20:18:09 +0000 (20:18 +0000)]
am cf8ea37f: Merge "bionic/tests: migrate gethostbyname bionic test from system/extra to bionic/tests"

* commit 'cf8ea37fc91e23d37b3c5873b5e152ccae293f03':
  bionic/tests: migrate gethostbyname bionic test from system/extra to bionic/tests

8 years agoMerge "Disable clang compilation due to lack of ifunc."
Chih-Hung Hsieh [Fri, 24 Oct 2014 18:34:40 +0000 (18:34 +0000)]
Merge "Disable clang compilation due to lack of ifunc."

8 years agoMerge "Make the netdb unit tests work on the host."
Elliott Hughes [Fri, 24 Oct 2014 18:30:36 +0000 (18:30 +0000)]
Merge "Make the netdb unit tests work on the host."

8 years agoDisable clang compilation due to lack of ifunc.
Chih-Hung Hsieh [Fri, 24 Oct 2014 18:04:51 +0000 (11:04 -0700)]
Disable clang compilation due to lack of ifunc.

BUG: 18055309
Change-Id: I0f36011cf7872a20ddd36a6c3c607eb96f0a8ec2

8 years agoMake the netdb unit tests work on the host.
Elliott Hughes [Fri, 24 Oct 2014 05:14:32 +0000 (22:14 -0700)]
Make the netdb unit tests work on the host.

Bug: 18111005
Change-Id: I79c6929c3827716e19b44d7469db69740f4b449c

8 years agoMerge "Use mxcr_mask instead of mxcsr_mask to match glibc."
Elliott Hughes [Fri, 24 Oct 2014 15:40:43 +0000 (15:40 +0000)]
Merge "Use mxcr_mask instead of mxcsr_mask to match glibc."

8 years agoam e516321d: Merge "Update bionic to tzdata2014i."
Elliott Hughes [Fri, 24 Oct 2014 13:01:54 +0000 (13:01 +0000)]
am e516321d: Merge "Update bionic to tzdata2014i."

* commit 'e516321d78162479a4ce17bd5a9ba8c0834abf18':
  Update bionic to tzdata2014i.

8 years agoam efd2ec8f: Merge "Fix race condition in timer disarm/delete."
Christopher Ferris [Fri, 24 Oct 2014 13:01:53 +0000 (13:01 +0000)]
am efd2ec8f: Merge "Fix race condition in timer disarm/delete."

* commit 'efd2ec8fbddb99a7a2d7da8e1024655fa08153ca':
  Fix race condition in timer disarm/delete.

8 years agoUse mxcr_mask instead of mxcsr_mask to match glibc.
Elliott Hughes [Fri, 24 Oct 2014 03:29:42 +0000 (20:29 -0700)]
Use mxcr_mask instead of mxcsr_mask to match glibc.

Bug: 18097559
Change-Id: Iaca301d7d4c4902989d4699117f72b88d5c4bd78

8 years agoMerge "Add mkfifoat(3)."
Elliott Hughes [Fri, 24 Oct 2014 02:57:11 +0000 (02:57 +0000)]
Merge "Add mkfifoat(3)."

8 years agoAdd mkfifoat(3).
Elliott Hughes [Fri, 24 Oct 2014 02:10:23 +0000 (19:10 -0700)]
Add mkfifoat(3).

Looks like I missed one of the *at functions when I added the rest.

Change-Id: If16de82dbf6f9a3ea7bfdcba406ca1c74a3f2279

8 years agoMerge "Fix mips build"
Dmitriy Ivanov [Thu, 23 Oct 2014 22:53:23 +0000 (22:53 +0000)]
Merge "Fix mips build"

8 years agoMerge "Remove unnecessary lookups during relocations"
Dmitriy Ivanov [Thu, 23 Oct 2014 22:53:13 +0000 (22:53 +0000)]
Merge "Remove unnecessary lookups during relocations"

8 years agoFix mips build
Dmitriy Ivanov [Thu, 23 Oct 2014 21:34:12 +0000 (14:34 -0700)]
Fix mips build

Change-Id: Ia2dc2e07740bdbb91ee92bfea459230015fcc99b

8 years agoRemove unnecessary lookups during relocations
Dmitriy Ivanov [Thu, 23 Oct 2014 21:19:07 +0000 (14:19 -0700)]
Remove unnecessary lookups during relocations

  local_group includes this library and its dependencies.

Change-Id: Ib02474b2355bb147de3889f60092cb2f312997ef

8 years agoMerge "Fix relocation to look for symbols in local group"
Dmitriy Ivanov [Thu, 23 Oct 2014 20:48:59 +0000 (20:48 +0000)]
Merge "Fix relocation to look for symbols in local group"

8 years agoFix relocation to look for symbols in local group
Dmitriy Ivanov [Tue, 21 Oct 2014 16:23:18 +0000 (09:23 -0700)]
Fix relocation to look for symbols in local group

  The local group is a sequence of libraries in default (breadth-first)
  order. It allows RTLD_LOCALLY loaded library to correctly relocate
  symbols within its group (see test-cases).

  Local group lookup is performed after main executable and ld_preloads.

Bug: 2643900
Bug: 15432753
Change-Id: I9bb013b46d17dbb5cbdfb8fef26f552748385541

8 years agoMerge "Migrate system/extra getaddrinfo test, and fix a bug in getservbyname(3)."
Elliott Hughes [Thu, 23 Oct 2014 17:57:05 +0000 (17:57 +0000)]
Merge "Migrate system/extra getaddrinfo test, and fix a bug in getservbyname(3)."

8 years agoMigrate system/extra getaddrinfo test, and fix a bug in getservbyname(3).
Derek Xue [Wed, 13 Aug 2014 13:19:17 +0000 (14:19 +0100)]
Migrate system/extra getaddrinfo test, and fix a bug in getservbyname(3).

This change is to migrate the getaddrinfo tests defined in the old file
system/extras/tests/bionic/libc/common/test_getaddrinfo.c
to the new place bionic/tests/netdb_test.cpp.

The test here is more thorough, and catches a bug in getservbyname(3)
that was breaking getaddrinfo(3)'s ability to look up services by name
without a hint that would cause it to ask for a specific protocol.

Change-Id: Ief5ebd0869496d1bc6a97861dfefa04bdf24bab1
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
8 years agoMerge "bionic/tests: migrate gethostbyname bionic test from system/extra to bionic...
Elliott Hughes [Wed, 22 Oct 2014 21:30:39 +0000 (21:30 +0000)]
Merge "bionic/tests: migrate gethostbyname bionic test from system/extra to bionic/tests"