OSDN Git Service

android-x86/bionic.git
9 years agoam 8b4b8273: Merge "Add test_forked() option"
Dmitriy Ivanov [Fri, 21 Nov 2014 01:27:14 +0000 (01:27 +0000)]
am 8b4b8273: Merge "Add test_forked() option"

* commit '8b4b82733877928da429e47d9a9bb73317517b2e':
  Add test_forked() option

9 years agoMerge "Add test_forked() option"
Dmitriy Ivanov [Fri, 21 Nov 2014 01:21:15 +0000 (01:21 +0000)]
Merge "Add test_forked() option"

9 years agoAdd test_forked() option
Dmitriy Ivanov [Fri, 21 Nov 2014 00:53:47 +0000 (16:53 -0800)]
Add test_forked() option

 Executing test via test_forked() allows us to
 avoid undesired global state changes in tests like
 atexit, dlopen(.., RTLD_NODELETE) and similar.

Change-Id: I118cdf009269ab5dd7b117c9b61dafa47de2a011

9 years agoam 770198d3: Merge "Make the ftw(3) tests a bit more thorough."
Elliott Hughes [Thu, 20 Nov 2014 00:14:39 +0000 (00:14 +0000)]
am 770198d3: Merge "Make the ftw(3) tests a bit more thorough."

* commit '770198d3f707d5eccd6796f311015903aec31b26':
  Make the ftw(3) tests a bit more thorough.

9 years agoMerge "Make the ftw(3) tests a bit more thorough."
Elliott Hughes [Thu, 20 Nov 2014 00:09:32 +0000 (00:09 +0000)]
Merge "Make the ftw(3) tests a bit more thorough."

9 years agoam 5313c3ff: Merge "Fix flockfile(3) and friends for stdin/stdout/stderr too."
Elliott Hughes [Wed, 19 Nov 2014 23:51:22 +0000 (23:51 +0000)]
am 5313c3ff: Merge "Fix flockfile(3) and friends for stdin/stdout/stderr too."

* commit '5313c3ff89db33dc0af3fabfe142a7219adce0aa':
  Fix flockfile(3) and friends for stdin/stdout/stderr too.

9 years agoMerge "Fix flockfile(3) and friends for stdin/stdout/stderr too."
Elliott Hughes [Wed, 19 Nov 2014 23:48:19 +0000 (23:48 +0000)]
Merge "Fix flockfile(3) and friends for stdin/stdout/stderr too."

9 years agoMake the ftw(3) tests a bit more thorough.
Elliott Hughes [Tue, 18 Nov 2014 23:57:23 +0000 (15:57 -0800)]
Make the ftw(3) tests a bit more thorough.

These also test much of fts(3).

Change-Id: Ia9245d6acbbd071191563ab1b91a400044104028

9 years agoFix flockfile(3) and friends for stdin/stdout/stderr too.
Elliott Hughes [Wed, 19 Nov 2014 23:16:51 +0000 (15:16 -0800)]
Fix flockfile(3) and friends for stdin/stdout/stderr too.

stdin/stdout/stderr are special; their mutexes are initialized by
__sinit. There's no unit test for this, because __sinit has already
been called by the time the first unit test runs, but you could
reproduce this failure with a trivial main() that calls flockfile
or ftrylockfile on one of the standard streams before otherwise
using stdio.

Bug: 18208568
Change-Id: I28d232cf05a9f198a2bed61854d8047b23d2091d

9 years agoam 6b48b20a: Merge "Yet another relocation test"
Dmitriy Ivanov [Wed, 19 Nov 2014 19:40:48 +0000 (19:40 +0000)]
am 6b48b20a: Merge "Yet another relocation test"

* commit '6b48b20a1e613dcb41704deb266142a7cc45588c':
  Yet another relocation test

9 years agoMerge "Yet another relocation test"
Dmitriy Ivanov [Wed, 19 Nov 2014 19:35:59 +0000 (19:35 +0000)]
Merge "Yet another relocation test"

9 years agoYet another relocation test
Dmitriy Ivanov [Wed, 19 Nov 2014 01:26:31 +0000 (17:26 -0800)]
Yet another relocation test

 This time we check if a -> b -> c function in 'a' relocates against
 implementation in 'c'.

Change-Id: I528180c3efd346bd447ea0237e5a8a0ac3cc031f

9 years agoam c9278b8a: Merge "libc: Move <sgidefs.h> to libc/arch-mips/"
David 'Digit' Turner [Wed, 19 Nov 2014 14:53:45 +0000 (14:53 +0000)]
am c9278b8a: Merge "libc: Move <sgidefs.h> to libc/arch-mips/"

* commit 'c9278b8a17e9a0a4e85c377105f500a7c1f41535':
  libc: Move <sgidefs.h> to libc/arch-mips/

9 years agoMerge "libc: Move <sgidefs.h> to libc/arch-mips/"
David 'Digit' Turner [Wed, 19 Nov 2014 14:49:51 +0000 (14:49 +0000)]
Merge "libc: Move <sgidefs.h> to libc/arch-mips/"

9 years agoam 649f78df: Merge "fix shared gid support in getpwnam/getgrnam"
Yabin Cui [Wed, 19 Nov 2014 04:28:31 +0000 (04:28 +0000)]
am 649f78df: Merge "fix shared gid support in getpwnam/getgrnam"

* commit '649f78df79bc45a46de9f3c391f395d5ab4fe73a':
  fix shared gid support in getpwnam/getgrnam

9 years agoMerge "fix shared gid support in getpwnam/getgrnam"
Yabin Cui [Wed, 19 Nov 2014 04:25:24 +0000 (04:25 +0000)]
Merge "fix shared gid support in getpwnam/getgrnam"

9 years agofix shared gid support in getpwnam/getgrnam
Yabin Cui [Wed, 19 Nov 2014 00:14:54 +0000 (16:14 -0800)]
fix shared gid support in getpwnam/getgrnam

Bug: 18374693
Change-Id: I5353403cbbead6f6abac87bee2cf53a60dba408c

9 years agoam 27aa9c5b: Merge "Fix jump to unmapped memory on atexit"
Dmitriy Ivanov [Tue, 18 Nov 2014 21:28:24 +0000 (21:28 +0000)]
am 27aa9c5b: Merge "Fix jump to unmapped memory on atexit"

* commit '27aa9c5b50cc3e979fc67c1bf5296dfd725c8540':
  Fix jump to unmapped memory on atexit

9 years agoMerge "Fix jump to unmapped memory on atexit"
Dmitriy Ivanov [Tue, 18 Nov 2014 21:25:37 +0000 (21:25 +0000)]
Merge "Fix jump to unmapped memory on atexit"

9 years agoFix jump to unmapped memory on atexit
Dmitriy Ivanov [Tue, 18 Nov 2014 20:03:09 +0000 (12:03 -0800)]
Fix jump to unmapped memory on atexit

 Split d-tor calls and soinfo_free to 2 separate steps

Bug: 18338888
Change-Id: Idbcb7242ade16fa18cba7fe30505ebd8d6023622

9 years agolibc: Move <sgidefs.h> to libc/arch-mips/
David 'Digit' Turner [Tue, 18 Nov 2014 19:13:10 +0000 (20:13 +0100)]
libc: Move <sgidefs.h> to libc/arch-mips/

This is a MIPS-only header, and should not be part of the common
headers. See http://b.android.com/79841 for context.

Change-Id: I610bc3ff626b57e7854dad15a4a2f67e1e5ded75

9 years agoam 8eda0a6d: Merge "libc: Fix mktime returns an uncorrect time in empty TZ case"
Elliott Hughes [Mon, 17 Nov 2014 23:18:39 +0000 (23:18 +0000)]
am 8eda0a6d: Merge "libc: Fix mktime returns an uncorrect time in empty TZ case"

* commit '8eda0a6d69fda865b576bc18311a3d79c84b42a1':
  libc: Fix mktime returns an uncorrect time in empty TZ case

9 years agoMerge "libc: Fix mktime returns an uncorrect time in empty TZ case"
Elliott Hughes [Mon, 17 Nov 2014 23:14:57 +0000 (23:14 +0000)]
Merge "libc: Fix mktime returns an uncorrect time in empty TZ case"

9 years agoam ee4c8feb: Merge "bionic/test: migrate sysconf tests from system/extras to bionic...
Dmitriy Ivanov [Mon, 17 Nov 2014 18:48:23 +0000 (18:48 +0000)]
am ee4c8feb: Merge "bionic/test: migrate sysconf tests from system/extras to bionic/tests"

* commit 'ee4c8febb7bd1f5492486cc11980f925425b02ec':
  bionic/test: migrate sysconf tests from system/extras to bionic/tests

9 years agoMerge "bionic/test: migrate sysconf tests from system/extras to bionic/tests"
Dmitriy Ivanov [Mon, 17 Nov 2014 18:43:31 +0000 (18:43 +0000)]
Merge "bionic/test: migrate sysconf tests from system/extras to bionic/tests"

9 years agoam f2c88209: Merge "Add getaddrinfo(3) tests for NULL arguments."
Elliott Hughes [Mon, 17 Nov 2014 18:31:53 +0000 (18:31 +0000)]
am f2c88209: Merge "Add getaddrinfo(3) tests for NULL arguments."

* commit 'f2c882095b5747cd7f3158428208580a7ff72ed6':
  Add getaddrinfo(3) tests for NULL arguments.

9 years agoam 35f8910e: Merge "Remove remaining bionic support for TARGET_CPU_SMP being false."
Elliott Hughes [Mon, 17 Nov 2014 18:31:51 +0000 (18:31 +0000)]
am 35f8910e: Merge "Remove remaining bionic support for TARGET_CPU_SMP being false."

* commit '35f8910e4cdf3f7d0b877394524c7dd719084187':
  Remove remaining bionic support for TARGET_CPU_SMP being false.

9 years agoMerge "Add getaddrinfo(3) tests for NULL arguments."
Elliott Hughes [Mon, 17 Nov 2014 18:26:45 +0000 (18:26 +0000)]
Merge "Add getaddrinfo(3) tests for NULL arguments."

9 years agoMerge "Remove remaining bionic support for TARGET_CPU_SMP being false."
Elliott Hughes [Mon, 17 Nov 2014 18:24:22 +0000 (18:24 +0000)]
Merge "Remove remaining bionic support for TARGET_CPU_SMP being false."

9 years agoRemove remaining bionic support for TARGET_CPU_SMP being false.
Elliott Hughes [Mon, 17 Nov 2014 18:06:20 +0000 (10:06 -0800)]
Remove remaining bionic support for TARGET_CPU_SMP being false.

Change-Id: I02a0a1c0ae55ccb5c45d17fb99a09c374d71def4

9 years agoAdd getaddrinfo(3) tests for NULL arguments.
Elliott Hughes [Sun, 16 Nov 2014 18:14:54 +0000 (10:14 -0800)]
Add getaddrinfo(3) tests for NULL arguments.

According to https://github.com/ukanth/afwall/pull/213 some OEMs have
shipped a getaddrinfo(3) that crashes given NULL hostnames.

Change-Id: I9cea5fdd68546b7c64cf47e10e2b2b4d672b69d0

9 years agoam eef1eb64: Merge "Allow asan for glibc tests."
Dan Albert [Sat, 15 Nov 2014 06:51:47 +0000 (06:51 +0000)]
am eef1eb64: Merge "Allow asan for glibc tests."

* commit 'eef1eb64bb5be68bfb00f8e71d3118a2cfec99e7':
  Allow asan for glibc tests.

9 years agoMerge "Allow asan for glibc tests."
Dan Albert [Sat, 15 Nov 2014 06:47:07 +0000 (06:47 +0000)]
Merge "Allow asan for glibc tests."

9 years agoAllow asan for glibc tests.
Dan Albert [Sat, 15 Nov 2014 03:58:26 +0000 (19:58 -0800)]
Allow asan for glibc tests.

SANITIZE_HOST will break if we don't allow ASAN.

Change-Id: I0beed82b058db391f633e0ea1098f140497c65d4

9 years agolibc: Fix mktime returns an uncorrect time in empty TZ case
Satoru Takeuchi [Tue, 27 May 2014 08:04:04 +0000 (17:04 +0900)]
libc: Fix mktime returns an uncorrect time in empty TZ case

The mktime API returned an uncorrect time when TZ is set as empty.
A timezone UTC/GMT+0 should be implied in the empty case. However
mktime keeps previous information about timezone. If mktime was called
with a timezone which has DST before, the "defaulttype" member of
"state" structure wouldn't be 0. Then it would be used next time,
even though UTC/GMT+0 doesn't have DST.

Added initialization of the "defaulttype" in the empty TZ case.

Change-Id: Ic480c63c548c05444134e0aefb30a7b380e3f40b

9 years agobionic/test: migrate sysconf tests from system/extras to bionic/tests
Derek Xue [Thu, 25 Sep 2014 09:55:34 +0000 (10:55 +0100)]
bionic/test: migrate sysconf tests from system/extras to bionic/tests

The old test are implemented in file:
  system/extras/tests/bionic/libc/other/test_sysconf.c
This change is to migrate them to bionic/tests with the gtest format.

and since the sysconf is defined in unistd.h, will put the test under
bionic/tests/unistd_test.cpp file as unistd.syscon test

Change-Id: Ie519147c1c86a6c4cefa8c88b18bf58bdfbffbdb
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
9 years agoam 38569312: Merge "Add functions in sysinfo.h."
Yabin Cui [Sat, 15 Nov 2014 00:56:42 +0000 (00:56 +0000)]
am 38569312: Merge "Add functions in sysinfo.h."

* commit '38569312bc5a3a4688d45997d81b59abb0a60825':
  Add functions in sysinfo.h.

9 years agoMerge "Add functions in sysinfo.h."
Yabin Cui [Sat, 15 Nov 2014 00:53:37 +0000 (00:53 +0000)]
Merge "Add functions in sysinfo.h."

9 years agoAdd functions in sysinfo.h.
Yabin Cui [Fri, 14 Nov 2014 23:51:58 +0000 (15:51 -0800)]
Add functions in sysinfo.h.

Bug: 17703902

Change-Id: I699d12d76a8fc483c919be730c2ac63641b71a1d

9 years agoam 661423a4: Merge "Increase support of pathconf options."
Yabin Cui [Fri, 14 Nov 2014 23:49:21 +0000 (23:49 +0000)]
am 661423a4: Merge "Increase support of pathconf options."

* commit '661423a453b2692d592df56307a876dfc35c50f2':
  Increase support of pathconf options.

9 years agoMerge "Increase support of pathconf options."
Yabin Cui [Fri, 14 Nov 2014 23:45:44 +0000 (23:45 +0000)]
Merge "Increase support of pathconf options."

9 years agoIncrease support of pathconf options.
Yabin Cui [Sat, 8 Nov 2014 22:58:12 +0000 (14:58 -0800)]
Increase support of pathconf options.

Bug: 18206366
Change-Id: Ie770e49f5af3631eb9fbd2cd5174edf004c81e00

9 years agoam 4cf942d3: Merge "sysconf(3) returns long."
Elliott Hughes [Fri, 14 Nov 2014 23:36:21 +0000 (23:36 +0000)]
am 4cf942d3: Merge "sysconf(3) returns long."

* commit '4cf942d318f2856dff078798ce9a3eac5de593b7':
  sysconf(3) returns long.

9 years agoMerge "sysconf(3) returns long."
Elliott Hughes [Fri, 14 Nov 2014 23:33:20 +0000 (23:33 +0000)]
Merge "sysconf(3) returns long."

9 years agosysconf(3) returns long.
Elliott Hughes [Fri, 14 Nov 2014 23:14:44 +0000 (15:14 -0800)]
sysconf(3) returns long.

On LP32, this makes no difference. Not an ABI change.

On LP64, results are going to be in %rax or x0 whether they're 32- or 64-bit,
and the only difference is going to be whether the top bits are clobbered.

Bug: 18390956
Change-Id: I0bd4496231bdded34c1fa03e895021ac0df7f8e1

9 years agoam cdcef73a: Merge "Add non-macro stdin/stdout/stderr too."
Elliott Hughes [Fri, 14 Nov 2014 22:56:03 +0000 (22:56 +0000)]
am cdcef73a: Merge "Add non-macro stdin/stdout/stderr too."

* commit 'cdcef73a23833ebd50bb5b654eb278b164e286ad':
  Add non-macro stdin/stdout/stderr too.

9 years agoMerge "Add non-macro stdin/stdout/stderr too."
Elliott Hughes [Fri, 14 Nov 2014 22:52:08 +0000 (22:52 +0000)]
Merge "Add non-macro stdin/stdout/stderr too."

9 years agoAdd non-macro stdin/stdout/stderr too.
Elliott Hughes [Fri, 14 Nov 2014 22:42:59 +0000 (14:42 -0800)]
Add non-macro stdin/stdout/stderr too.

Various C and C++ standards explicitly say that stdin/stdout/stderr
should be macros, but glibc makes them global variables too. This
means it's possible to write code that uses those names as locals,
but that code (toybox being an example) won't build on bionic.

If we'd done this earlier, we could have hidden __sF for LP64, but
it's too late now.

Change-Id: I90cf8c73f52b66e1760b8fa2e135b9f9f9651230

9 years agoam 27fa71eb: Merge "Fix host build for arm/arm64"
Dmitriy Ivanov [Fri, 14 Nov 2014 20:21:52 +0000 (20:21 +0000)]
am 27fa71eb: Merge "Fix host build for arm/arm64"

* commit '27fa71ebc6ef63ed8020d7b040640cb6c0cf2a45':
  Fix host build for arm/arm64

9 years agoMerge "Fix host build for arm/arm64"
Dmitriy Ivanov [Fri, 14 Nov 2014 20:19:37 +0000 (20:19 +0000)]
Merge "Fix host build for arm/arm64"

9 years agoFix host build for arm/arm64
Dmitriy Ivanov [Fri, 14 Nov 2014 20:17:06 +0000 (12:17 -0800)]
Fix host build for arm/arm64

Change-Id: Id92543e4080aede205b3e63099fa2baa36ba21f0

9 years agoam 898aab28: Merge "Add test for --hash-style=sysv"
Dmitriy Ivanov [Fri, 14 Nov 2014 19:33:51 +0000 (19:33 +0000)]
am 898aab28: Merge "Add test for --hash-style=sysv"

* commit '898aab282cff2a2949bc1726f8a4b81c1c30148e':
  Add test for --hash-style=sysv

9 years agoMerge "Add test for --hash-style=sysv"
Dmitriy Ivanov [Fri, 14 Nov 2014 19:31:32 +0000 (19:31 +0000)]
Merge "Add test for --hash-style=sysv"

9 years agoAdd test for --hash-style=sysv
Dmitriy Ivanov [Fri, 14 Nov 2014 19:19:22 +0000 (11:19 -0800)]
Add test for --hash-style=sysv

 With build system switched to gnu-hash we need
 a test for sysv-hashed library.

Change-Id: I34adc216fa79199aa46066cf13fcc1c1f2581f0e

9 years agoam c490b502: Merge "Rename soinfo methods and fields"
Dmitriy Ivanov [Fri, 14 Nov 2014 16:38:19 +0000 (16:38 +0000)]
am c490b502: Merge "Rename soinfo methods and fields"

* commit 'c490b5029fdc96f1dbf00d02d0ad63a03d8cd4f3':
  Rename soinfo methods and fields

9 years agoMerge "Rename soinfo methods and fields"
Dmitriy Ivanov [Fri, 14 Nov 2014 16:33:16 +0000 (16:33 +0000)]
Merge "Rename soinfo methods and fields"

9 years agoRename soinfo methods and fields
Dmitriy Ivanov [Thu, 13 Nov 2014 17:39:20 +0000 (09:39 -0800)]
Rename soinfo methods and fields

Change-Id: If68fbe287d3ad954238b1688f71013371f3f7fae

9 years agoam 59b1dea8: Merge "Add missing function prototypes wcpcpy/wcpncpy."
Christopher Ferris [Fri, 14 Nov 2014 03:27:16 +0000 (03:27 +0000)]
am 59b1dea8: Merge "Add missing function prototypes wcpcpy/wcpncpy."

* commit '59b1dea8829b081e23c3156b44af624bf8fac962':
  Add missing function prototypes wcpcpy/wcpncpy.

9 years agoMerge "Add missing function prototypes wcpcpy/wcpncpy."
Christopher Ferris [Fri, 14 Nov 2014 03:23:35 +0000 (03:23 +0000)]
Merge "Add missing function prototypes wcpcpy/wcpncpy."

9 years agoAdd missing function prototypes wcpcpy/wcpncpy.
Christopher Ferris [Thu, 13 Nov 2014 23:48:39 +0000 (15:48 -0800)]
Add missing function prototypes wcpcpy/wcpncpy.

Also add smoke tests for a few of the wchar functions.

Change-Id: Id1be522f55a6708564d444941f42097548f16497

9 years agoam 0a135b42: Merge "Fix our <mntent.h> implementation."
Elliott Hughes [Fri, 14 Nov 2014 00:04:12 +0000 (00:04 +0000)]
am 0a135b42: Merge "Fix our <mntent.h> implementation."

* commit '0a135b4259077bbb48ec911c0fa92ab0654ffffa':
  Fix our <mntent.h> implementation.

9 years agoMerge "Fix our <mntent.h> implementation."
Elliott Hughes [Fri, 14 Nov 2014 00:00:53 +0000 (00:00 +0000)]
Merge "Fix our <mntent.h> implementation."

9 years agoFix our <mntent.h> implementation.
Elliott Hughes [Thu, 13 Nov 2014 22:27:25 +0000 (14:27 -0800)]
Fix our <mntent.h> implementation.

Used by toybox.

Change-Id: I36a5053423e5cc54ae02a68f4fe110d75134accd

9 years agoam 288fa03a: Merge "Assume glibc >= 2.15."
Elliott Hughes [Thu, 13 Nov 2014 19:03:19 +0000 (19:03 +0000)]
am 288fa03a: Merge "Assume glibc >= 2.15."

* commit '288fa03a5aa5ee69c321e7266cdc656d11d8c022':
  Assume glibc >= 2.15.

9 years agoMerge "Assume glibc >= 2.15."
Elliott Hughes [Thu, 13 Nov 2014 18:11:00 +0000 (18:11 +0000)]
Merge "Assume glibc >= 2.15."

9 years agoam 6229798a: Merge "Don\'t receive structs containing pointers over sockets."
Elliott Hughes [Thu, 13 Nov 2014 17:58:57 +0000 (17:58 +0000)]
am 6229798a: Merge "Don\'t receive structs containing pointers over sockets."

* commit '6229798a7c2aa4df3d8fba70c679a127ee88ad76':
  Don't receive structs containing pointers over sockets.

9 years agoMerge "Don't receive structs containing pointers over sockets."
Elliott Hughes [Thu, 13 Nov 2014 17:56:07 +0000 (17:56 +0000)]
Merge "Don't receive structs containing pointers over sockets."

9 years agoam 854c98d6: Merge "Allow stdatomic.h to be included from mingw prebuilt."
Hans Boehm [Thu, 13 Nov 2014 17:53:23 +0000 (17:53 +0000)]
am 854c98d6: Merge "Allow stdatomic.h to be included from mingw prebuilt."

* commit '854c98d63671e38b3537620f323addcd313c9f11':
  Allow stdatomic.h to be included from mingw prebuilt.

9 years agoMerge "Allow stdatomic.h to be included from mingw prebuilt."
Hans Boehm [Thu, 13 Nov 2014 17:49:53 +0000 (17:49 +0000)]
Merge "Allow stdatomic.h to be included from mingw prebuilt."

9 years agoDon't receive structs containing pointers over sockets.
Elliott Hughes [Thu, 13 Nov 2014 01:00:30 +0000 (17:00 -0800)]
Don't receive structs containing pointers over sockets.

Fixes x86-64 netd.

Change-Id: Iee5ef802ebbf2e000b2593643de4eec46f296c04

9 years agoAssume glibc >= 2.15.
Elliott Hughes [Thu, 13 Nov 2014 05:03:26 +0000 (21:03 -0800)]
Assume glibc >= 2.15.

This catches one trivial difference between us and glibc --- the error
returned by pthread_setname_np for an invalid pthread_t.

Change-Id: If4c21e22107c6488333d11184f8005f8669096c2

9 years agoam 92a585c9: Merge "Fix glibc 2.15 build."
Elliott Hughes [Thu, 13 Nov 2014 03:58:55 +0000 (03:58 +0000)]
am 92a585c9: Merge "Fix glibc 2.15 build."

* commit '92a585c91a83e63949431c617de936742b080150':
  Fix glibc 2.15 build.

9 years agoam 38b47f6e: Merge "Fix mips build"
Dmitriy Ivanov [Thu, 13 Nov 2014 03:58:53 +0000 (03:58 +0000)]
am 38b47f6e: Merge "Fix mips build"

* commit '38b47f6eb4631e1fb2cba0e47fd4832a58b16755':
  Fix mips build

9 years agoMerge "Fix glibc 2.15 build."
Elliott Hughes [Thu, 13 Nov 2014 03:37:47 +0000 (03:37 +0000)]
Merge "Fix glibc 2.15 build."

9 years agoMerge "Fix mips build"
Dmitriy Ivanov [Thu, 13 Nov 2014 03:36:54 +0000 (03:36 +0000)]
Merge "Fix mips build"

9 years agoFix glibc 2.15 build.
Elliott Hughes [Thu, 13 Nov 2014 03:22:48 +0000 (19:22 -0800)]
Fix glibc 2.15 build.

glibc 2.15 has prlimit64, has an unsetenv that's declared nonnull,
and hasn't fixed the problems we were having trying to use the
POSIX strerror_r in C++ code.

Change-Id: I834356a385e5ae55500bd86781691b6c1c9c8300

9 years agoFix mips build
Dmitriy Ivanov [Thu, 13 Nov 2014 02:20:39 +0000 (18:20 -0800)]
Fix mips build

Change-Id: I58b01db38ab9a397a8bd77c1296aac12957c21da

9 years agoam 16db1ae1: Merge "Add support for hash-style=gnu"
Dmitriy Ivanov [Thu, 13 Nov 2014 02:17:57 +0000 (02:17 +0000)]
am 16db1ae1: Merge "Add support for hash-style=gnu"

* commit '16db1ae1089fdfe65a123d3e4d61d509a099cddc':
  Add support for hash-style=gnu

9 years agoMerge "Add support for hash-style=gnu"
Dmitriy Ivanov [Thu, 13 Nov 2014 02:10:30 +0000 (02:10 +0000)]
Merge "Add support for hash-style=gnu"

9 years agoAllow stdatomic.h to be included from mingw prebuilt.
Hans Boehm [Wed, 12 Nov 2014 18:34:26 +0000 (10:34 -0800)]
Allow stdatomic.h to be included from mingw prebuilt.

Define __GNUC_PREREQ if it isn't already defined.
This is a bit ugly, but it seems to be easiest to make this header as
context-independent as possible.  Together with the addition of a symbolic
link to this file from the mingw prebuilt, this appears to unblock
commit e9fa6be333e35d9e7ae435aeb32532875b95fe22.

Change-Id: I97e39cda8d8f9aa108aa61c4121da09eb9739062

9 years agoam 468f8410: Merge "Add documentation about checkbuild."
Dan Albert [Thu, 13 Nov 2014 01:22:00 +0000 (01:22 +0000)]
am 468f8410: Merge "Add documentation about checkbuild."

* commit '468f84107aaf108ac6b3ff389342092c2551f859':
  Add documentation about checkbuild.

9 years agoMerge "Add documentation about checkbuild."
Dan Albert [Thu, 13 Nov 2014 01:14:26 +0000 (01:14 +0000)]
Merge "Add documentation about checkbuild."

9 years agoAdd documentation about checkbuild.
Dan Albert [Thu, 13 Nov 2014 01:08:38 +0000 (17:08 -0800)]
Add documentation about checkbuild.

Change-Id: I2c2d06bc0dc3cdc58b5563f62889122b76f3c469

9 years agoAdd support for hash-style=gnu
Dmitriy Ivanov [Mon, 10 Nov 2014 03:27:20 +0000 (19:27 -0800)]
Add support for hash-style=gnu

Change-Id: I171434a587420895feac8a9b1ad2342087197568

9 years agoam 5d05d025: Merge "Add 64-bit slm optimized strlcpy and srlcat."
Christopher Ferris [Wed, 12 Nov 2014 23:21:42 +0000 (23:21 +0000)]
am 5d05d025: Merge "Add 64-bit slm optimized strlcpy and srlcat."

* commit '5d05d025b51fc7b1a59f230000601bc593c12eea':
  Add 64-bit slm optimized strlcpy and srlcat.

9 years agoMerge "Add 64-bit slm optimized strlcpy and srlcat."
Christopher Ferris [Wed, 12 Nov 2014 23:17:59 +0000 (23:17 +0000)]
Merge "Add 64-bit slm optimized strlcpy and srlcat."

9 years agoam e5cabca5: Merge "implement missing seekdir and telldir"
Yabin Cui [Wed, 12 Nov 2014 20:40:49 +0000 (20:40 +0000)]
am e5cabca5: Merge "implement missing seekdir and telldir"

* commit 'e5cabca516252addb5e305c8e1e0f35cafbcafbe':
  implement missing seekdir and telldir

9 years agoMerge "implement missing seekdir and telldir"
Yabin Cui [Wed, 12 Nov 2014 20:36:25 +0000 (20:36 +0000)]
Merge "implement missing seekdir and telldir"

9 years agoam bbdfa518: Merge "gethostname.c: change to report ENAMETOOLONG error when buflen...
Elliott Hughes [Wed, 12 Nov 2014 20:11:41 +0000 (20:11 +0000)]
am bbdfa518: Merge "gethostname.c: change to report ENAMETOOLONG error when buflen is less"

* commit 'bbdfa518830d49565966acea02796769434e0d74':
  gethostname.c: change to report ENAMETOOLONG error when buflen is less

9 years agoam 83204d57: Merge "bionic tests: migrate gethostname test to unistd_test.cpp from...
Elliott Hughes [Wed, 12 Nov 2014 20:11:40 +0000 (20:11 +0000)]
am 83204d57: Merge "bionic tests: migrate gethostname test to unistd_test.cpp from system/extras"

* commit '83204d5708eb49df05ea365be01e136ef7823752':
  bionic tests: migrate gethostname test to unistd_test.cpp from system/extras

9 years agoMerge "gethostname.c: change to report ENAMETOOLONG error when buflen is less"
Elliott Hughes [Wed, 12 Nov 2014 20:09:59 +0000 (20:09 +0000)]
Merge "gethostname.c: change to report ENAMETOOLONG error when buflen is less"

9 years agoMerge "bionic tests: migrate gethostname test to unistd_test.cpp from system/extras"
Elliott Hughes [Wed, 12 Nov 2014 20:08:57 +0000 (20:08 +0000)]
Merge "bionic tests: migrate gethostname test to unistd_test.cpp from system/extras"

9 years agogethostname.c: change to report ENAMETOOLONG error when buflen is less
Yongqin Liu [Thu, 30 Oct 2014 08:34:55 +0000 (16:34 +0800)]
gethostname.c: change to report ENAMETOOLONG error when buflen is less

change to behaviour the same as glibc for the check about buflen

Change-Id: I98265a8fe441df6fed2527686f89b087364ca53d
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
9 years agobionic tests: migrate gethostname test to unistd_test.cpp from system/extras
Derek Xue [Thu, 25 Sep 2014 10:12:01 +0000 (11:12 +0100)]
bionic tests: migrate gethostname test to unistd_test.cpp from system/extras

The old tests are implemented in file
    system/extras/tests/bionic/libc/common/test_gethostname.c
Here migrate the test to the tests/unistd_test.cpp file and
add some more checks

Change-Id: Iab1e3da873bb333d1ddefc03108d536933792db2
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
9 years agoAdd 64-bit slm optimized strlcpy and srlcat.
Varvara Rainchik [Mon, 10 Nov 2014 12:15:58 +0000 (15:15 +0300)]
Add 64-bit slm optimized strlcpy and srlcat.

Change-Id: Ic948934d91c83bbfdfd00c05ee8b14952e012549
Signed-off-by: Varvara Rainchik <varvara.rainchik@intel.com>
9 years agoam 22271d0c: Merge "Upgrade bionic to tzdata2014j."
Elliott Hughes [Wed, 12 Nov 2014 02:35:54 +0000 (02:35 +0000)]
am 22271d0c: Merge "Upgrade bionic to tzdata2014j."

* commit '22271d0c200c8c2f7c7c960a8751eed0faa708ec':
  Upgrade bionic to tzdata2014j.

9 years agoMerge "Upgrade bionic to tzdata2014j."
Elliott Hughes [Wed, 12 Nov 2014 02:32:09 +0000 (02:32 +0000)]
Merge "Upgrade bionic to tzdata2014j."

9 years agoam 440c80ad: Merge "Fix tzdata update tools for \'backzone\'."
Elliott Hughes [Wed, 12 Nov 2014 02:28:11 +0000 (02:28 +0000)]
am 440c80ad: Merge "Fix tzdata update tools for \'backzone\'."

* commit '440c80ad47fd748251b09d5146f2cb896d75724f':
  Fix tzdata update tools for 'backzone'.

9 years agoUpgrade bionic to tzdata2014j.
Elliott Hughes [Wed, 12 Nov 2014 00:44:21 +0000 (16:44 -0800)]
Upgrade bionic to tzdata2014j.

From the release notes:

   Changes affecting current and future time stamps

     Turks & Caicos' switch from US eastern time to UTC-4 year-round
     did not occur on 2014-11-02 at 02:00.  It's currently scheduled
     for 2015-11-01 at 02:00.  (Thanks to Chris Walton.)

   Changes affecting past time stamps

     Many pre-1989 time stamps have been corrected for Asia/Seoul and
     Asia/Pyongyang, based on sources for the Korean-language Wikipedia
     entry for time in Korea.  (Thanks to Sanghyuk Jung.)  Also, no
     longer guess that Pyongyang mimicked Seoul time after World War II,
     as this is politically implausible.

     Some more zones have been turned into links, when they differed
     from existing zones only for older time stamps.  As usual,
     these changes affect UTC offsets in pre-1970 time stamps only.
     Their old contents have been moved to the 'backzone' file.
     The affected zones are: Africa/Addis_Ababa, Africa/Asmara,
     Africa/Dar_es_Salaam, Africa/Djibouti, Africa/Kampala,
     Africa/Mogadishu, Indian/Antananarivo, Indian/Comoro, and
     Indian/Mayotte.

Bug: 18330681
Change-Id: I4b6939b4dcf08c47df5595ae445b6f44f4a03418

9 years agoMerge "Fix tzdata update tools for 'backzone'."
Elliott Hughes [Wed, 12 Nov 2014 00:42:49 +0000 (00:42 +0000)]
Merge "Fix tzdata update tools for 'backzone'."