Elliott Hughes
5313c3ff89
Merge "Fix flockfile(3) and friends for stdin/stdout/stderr too."
2014-11-19 23:48:19 +00:00
Elliott Hughes
63bd43bbdc
Make the ftw(3) tests a bit more thorough.
...
These also test much of fts(3).
Change-Id: Ia9245d6acbbd071191563ab1b91a400044104028
2014-11-19 15:47:53 -08:00
Elliott Hughes
c48c3e4bb3
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
2014-11-19 15:16:51 -08:00
Dmitriy Ivanov
b9e0a8490a
am e0496865: am d3dcb783: am 6b48b20a: Merge "Yet another relocation test"
...
* commit 'e04968655f9881dcdc2756a80e341b9935361c46':
Yet another relocation test
2014-11-19 19:52:19 +00:00
Dmitriy Ivanov
e04968655f
am d3dcb783: am 6b48b20a: Merge "Yet another relocation test"
...
* commit 'd3dcb7830b3cbd2a650b6fa29e672e45fc3d689b':
Yet another relocation test
2014-11-19 19:45:23 +00:00
Dmitriy Ivanov
d3dcb7830b
am 6b48b20a: Merge "Yet another relocation test"
...
* commit '6b48b20a1e613dcb41704deb266142a7cc45588c':
Yet another relocation test
2014-11-19 19:40:48 +00:00
Dmitriy Ivanov
6b48b20a1e
Merge "Yet another relocation test"
2014-11-19 19:35:59 +00:00
Dmitriy Ivanov
7699d13a74
Yet another relocation test
...
This time we check if a -> b -> c function in 'a' relocates against
implementation in 'c'.
Change-Id: I528180c3efd346bd447ea0237e5a8a0ac3cc031f
2014-11-19 10:39:05 -08:00
David 'Digit' Turner
8e6812bb00
am d2e2c336: am a2f6e783: am c9278b8a: Merge "libc: Move <sgidefs.h> to libc/arch-mips/"
...
* commit 'd2e2c3361a05d462c2669f4c1486841ed60e1f0b':
libc: Move <sgidefs.h> to libc/arch-mips/
2014-11-19 15:02:18 +00:00
David 'Digit' Turner
d2e2c3361a
am a2f6e783: am c9278b8a: Merge "libc: Move <sgidefs.h> to libc/arch-mips/"
...
* commit 'a2f6e783cd2a9c503194de3bd0e3d6ecac974cc2':
libc: Move <sgidefs.h> to libc/arch-mips/
2014-11-19 14:56:44 +00:00
David 'Digit' Turner
a2f6e783cd
am c9278b8a: Merge "libc: Move <sgidefs.h> to libc/arch-mips/"
...
* commit 'c9278b8a17e9a0a4e85c377105f500a7c1f41535':
libc: Move <sgidefs.h> to libc/arch-mips/
2014-11-19 14:53:45 +00:00
David 'Digit' Turner
c9278b8a17
Merge "libc: Move <sgidefs.h> to libc/arch-mips/"
2014-11-19 14:49:52 +00:00
Yabin Cui
aeb1aecf51
am 2936af2e: am 9014065b: am 649f78df: Merge "fix shared gid support in getpwnam/getgrnam"
...
* commit '2936af2ec924e8f40a352b67a9bf214403c3aa36':
fix shared gid support in getpwnam/getgrnam
2014-11-19 04:40:11 +00:00
Yabin Cui
2936af2ec9
am 9014065b: am 649f78df: Merge "fix shared gid support in getpwnam/getgrnam"
...
* commit '9014065b98664114528bc37bf1c2bb76546ef6b8':
fix shared gid support in getpwnam/getgrnam
2014-11-19 04:35:28 +00:00
Yabin Cui
9014065b98
am 649f78df: Merge "fix shared gid support in getpwnam/getgrnam"
...
* commit '649f78df79bc45a46de9f3c391f395d5ab4fe73a':
fix shared gid support in getpwnam/getgrnam
2014-11-19 04:28:31 +00:00
Yabin Cui
649f78df79
Merge "fix shared gid support in getpwnam/getgrnam"
2014-11-19 04:25:24 +00:00
Yabin Cui
a04c79b9d3
fix shared gid support in getpwnam/getgrnam
...
Bug: 18374693
Change-Id: I5353403cbbead6f6abac87bee2cf53a60dba408c
2014-11-18 19:58:04 -08:00
Dmitriy Ivanov
3ff915aab4
am 9a130604: am 52663836: am 27aa9c5b: Merge "Fix jump to unmapped memory on atexit"
...
* commit '9a130604173fcec4f3246e3e27376eeff7132d11':
Fix jump to unmapped memory on atexit
2014-11-18 21:38:00 +00:00
Dmitriy Ivanov
9a13060417
am 52663836: am 27aa9c5b: Merge "Fix jump to unmapped memory on atexit"
...
* commit '5266383620998526652694d00155e9c6e49fb787':
Fix jump to unmapped memory on atexit
2014-11-18 21:33:01 +00:00
Dmitriy Ivanov
5266383620
am 27aa9c5b: Merge "Fix jump to unmapped memory on atexit"
...
* commit '27aa9c5b50cc3e979fc67c1bf5296dfd725c8540':
Fix jump to unmapped memory on atexit
2014-11-18 21:28:24 +00:00
Dmitriy Ivanov
27aa9c5b50
Merge "Fix jump to unmapped memory on atexit"
2014-11-18 21:25:37 +00:00
Dmitriy Ivanov
a2547055f2
Fix jump to unmapped memory on atexit
...
Split d-tor calls and soinfo_free to 2 separate steps
Bug: 18338888
Change-Id: Idbcb7242ade16fa18cba7fe30505ebd8d6023622
2014-11-18 13:16:27 -08:00
David 'Digit' Turner
6e50cb4544
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
2014-11-18 20:13:10 +01:00
Elliott Hughes
7d96a50f4e
am 927fa38a: am cbdc7e68: am 8eda0a6d: Merge "libc: Fix mktime returns an uncorrect time in empty TZ case"
...
* commit '927fa38a53dff3d5a9386af7d082bb4428d4029e':
libc: Fix mktime returns an uncorrect time in empty TZ case
2014-11-17 23:28:04 +00:00
Elliott Hughes
927fa38a53
am cbdc7e68: am 8eda0a6d: Merge "libc: Fix mktime returns an uncorrect time in empty TZ case"
...
* commit 'cbdc7e6883a7d1514af5cd8c1e186af3c487e930':
libc: Fix mktime returns an uncorrect time in empty TZ case
2014-11-17 23:23:38 +00:00
Elliott Hughes
cbdc7e6883
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
2014-11-17 23:18:39 +00:00
Elliott Hughes
8eda0a6d69
Merge "libc: Fix mktime returns an uncorrect time in empty TZ case"
2014-11-17 23:14:58 +00:00
Elliott Hughes
4380936524
am 58802c1a: resolved conflicts for merge of 047d943e to lmp-mr1-dev-plus-aosp
...
* commit '58802c1a458fb32f9d42a5f1486f61270a55e0dd':
sysconf(3) returns long.
2014-11-17 19:32:33 +00:00
Elliott Hughes
58802c1a45
resolved conflicts for merge of 047d943e to lmp-mr1-dev-plus-aosp
...
Change-Id: Ic0e230083f25ab5a026beae80a1ddef9ff60accb
2014-11-17 11:26:42 -08:00
Dmitriy Ivanov
2aad16902f
am 7b78a69d: am 78d809fd: am ee4c8feb: Merge "bionic/test: migrate sysconf tests from system/extras to bionic/tests"
...
* commit '7b78a69d85dc3ee5e1f7f64607e0ae80d0aec0f6':
bionic/test: migrate sysconf tests from system/extras to bionic/tests
2014-11-17 19:00:14 +00:00
Elliott Hughes
ef73e44549
am f64b1a8b: am 18aa454f: am f2c88209: Merge "Add getaddrinfo(3) tests for NULL arguments."
...
* commit 'f64b1a8be284307569f3d0fac847125aff60b0cb':
Add getaddrinfo(3) tests for NULL arguments.
2014-11-17 19:00:13 +00:00
Elliott Hughes
fa4606bbb8
am ac39e08b: am c0aba7c5: am 35f8910e: Merge "Remove remaining bionic support for TARGET_CPU_SMP being false."
...
* commit 'ac39e08bd521f735460789dfba1cf307b5deb5fd':
Remove remaining bionic support for TARGET_CPU_SMP being false.
2014-11-17 19:00:12 +00:00
Dmitriy Ivanov
7b78a69d85
am 78d809fd: am ee4c8feb: Merge "bionic/test: migrate sysconf tests from system/extras to bionic/tests"
...
* commit '78d809fd4b5fe6f74e23e718a3c14c68200ac203':
bionic/test: migrate sysconf tests from system/extras to bionic/tests
2014-11-17 18:53:04 +00:00
Elliott Hughes
f64b1a8be2
am 18aa454f: am f2c88209: Merge "Add getaddrinfo(3) tests for NULL arguments."
...
* commit '18aa454f2f7c67999d06f2fd3f0db55b78942d64':
Add getaddrinfo(3) tests for NULL arguments.
2014-11-17 18:53:03 +00:00
Elliott Hughes
ac39e08bd5
am c0aba7c5: am 35f8910e: Merge "Remove remaining bionic support for TARGET_CPU_SMP being false."
...
* commit 'c0aba7c5ad7535ca5edd0a6683dd4a483701fee9':
Remove remaining bionic support for TARGET_CPU_SMP being false.
2014-11-17 18:53:02 +00:00
Dmitriy Ivanov
78d809fd4b
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
2014-11-17 18:48:23 +00:00
Dmitriy Ivanov
ee4c8febb7
Merge "bionic/test: migrate sysconf tests from system/extras to bionic/tests"
2014-11-17 18:43:32 +00:00
Elliott Hughes
18aa454f2f
am f2c88209: Merge "Add getaddrinfo(3) tests for NULL arguments."
...
* commit 'f2c882095b5747cd7f3158428208580a7ff72ed6':
Add getaddrinfo(3) tests for NULL arguments.
2014-11-17 18:31:53 +00:00
Elliott Hughes
c0aba7c5ad
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.
2014-11-17 18:31:51 +00:00
Elliott Hughes
f2c882095b
Merge "Add getaddrinfo(3) tests for NULL arguments."
2014-11-17 18:26:46 +00:00
Elliott Hughes
35f8910e4c
Merge "Remove remaining bionic support for TARGET_CPU_SMP being false."
2014-11-17 18:24:22 +00:00
Elliott Hughes
bfbf7a4300
Remove remaining bionic support for TARGET_CPU_SMP being false.
...
Change-Id: I02a0a1c0ae55ccb5c45d17fb99a09c374d71def4
2014-11-17 10:06:20 -08:00
Elliott Hughes
32fea147ea
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
2014-11-16 12:14:04 -08:00
Dan Albert
6c35e5577b
am 27cdb39e: am c449b7a5: am eef1eb64: Merge "Allow asan for glibc tests."
...
* commit '27cdb39e35b732bf413e346868bc7cf6e9ee710b':
Allow asan for glibc tests.
2014-11-15 06:59:31 +00:00
Dan Albert
27cdb39e35
am c449b7a5: am eef1eb64: Merge "Allow asan for glibc tests."
...
* commit 'c449b7a533f797b223cdc2c8129de2261a547823':
Allow asan for glibc tests.
2014-11-15 06:55:38 +00:00
Dan Albert
c449b7a533
am eef1eb64: Merge "Allow asan for glibc tests."
...
* commit 'eef1eb64bb5be68bfb00f8e71d3118a2cfec99e7':
Allow asan for glibc tests.
2014-11-15 06:51:47 +00:00
Dan Albert
eef1eb64bb
Merge "Allow asan for glibc tests."
2014-11-15 06:47:08 +00:00
Dan Albert
01f1ff2440
Allow asan for glibc tests.
...
SANITIZE_HOST will break if we don't allow ASAN.
Change-Id: I0beed82b058db391f633e0ea1098f140497c65d4
2014-11-14 20:00:06 -08:00
Satoru Takeuchi
154e2026c8
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
2014-11-14 18:13:07 -08:00
Derek Xue
bc6447673f
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>
2014-11-15 09:48:36 +08:00