Elliott Hughes
03deb8287b
am 629ed517
: Merge "Add strchrnul."
...
* commit '629ed517126b3be32f2b2e8b710e63358691c296':
Add strchrnul.
2015-08-26 18:42:45 +00:00
Elliott Hughes
7ac3c128bb
Add strchrnul.
...
Bug: http://b/18374026
Change-Id: Iea923309c090a51a2d41c5a83320ab3789f40f1c
2015-08-26 09:59:29 -07:00
Yabin Cui
6524806951
am 62c26ed9
: Merge "add fortified implementations of write/pwrite{,64}"
...
* commit '62c26ed93e76ca9b3dd265f41eb3685ed2e72808':
add fortified implementations of write/pwrite{,64}
2015-08-21 03:17:34 +00:00
Yabin Cui
62c26ed93e
Merge "add fortified implementations of write/pwrite{,64}"
2015-08-21 03:03:22 +00:00
Daniel Micay
afdd15456a
add fortified implementations of write/pwrite{,64}
...
These are just based on the read/pread{,64} implementations with the
function calls and error messages adjusted as appropriate. The only
difference is that the buffer parameters are const.
Change-Id: Ida1597a903807f583f230d74bcedffdb7b24fcf6
2015-08-20 13:46:51 -04:00
Yabin Cui
2bcb25c1c3
am 0660be89
: am a6a12a78
: am 0fdcdd00
: Merge "Fix flaky test time.timer_settime_0." into lollipop-mr1-cts-dev
...
* commit '0660be899f2d907dedbcb643315b73e652ec9510':
Fix flaky test time.timer_settime_0.
2015-08-11 19:10:33 +00:00
Yabin Cui
0660be899f
am a6a12a78
: am 0fdcdd00
: Merge "Fix flaky test time.timer_settime_0." into lollipop-mr1-cts-dev
...
* commit 'a6a12a7804402273e193074a58162cc0b3890812':
Fix flaky test time.timer_settime_0.
2015-08-11 19:05:43 +00:00
Yabin Cui
a6a12a7804
am 0fdcdd00
: Merge "Fix flaky test time.timer_settime_0." into lollipop-mr1-cts-dev
...
* commit '0fdcdd0067af88e7deef73070d0861ceb9f53c37':
Fix flaky test time.timer_settime_0.
2015-08-11 18:56:43 +00:00
Yabin Cui
bf572d91b5
Fix flaky test time.timer_settime_0.
...
It fixes the problem reported in https://code.google.com/p/android/issues/detail?id=182395 .
Change-Id: Ie16aa04095dac08a62dd0d4c50e763b36526624c
2015-08-11 11:25:02 -07:00
Dan Albert
ee8576d114
am a3c01467
: Merge "Move up to C++14."
...
* commit 'a3c01467ecf31cab1410ce7b8554e2e77dae3309':
Move up to C++14.
2015-08-11 00:00:14 +00:00
Dan Albert
5341691955
Move up to C++14.
...
The default standard version is now ahead of us. Stop specifying C++11
so we get that too.
Change-Id: Ic96942cd7fd134118e29b744601b0119e49b6ac4
2015-08-10 16:40:06 -07:00
Yabin Cui
c23143a5fd
am ff4afc13
: Merge "Omit comment when reading --gtest_list_tests option\'s output."
...
* commit 'ff4afc136ef5d00d33a611e7bc1950249db9fbcf':
Omit comment when reading --gtest_list_tests option's output.
2015-08-10 22:22:04 +00:00
Yabin Cui
ff4afc136e
Merge "Omit comment when reading --gtest_list_tests option's output."
2015-08-10 22:01:07 +00:00
Elliott Hughes
23e0bdf7d4
am 182b91f6
: Merge "Invalidate cached pid in vfork."
...
* commit '182b91f62809b03870f561a88135f5453966fe41':
Invalidate cached pid in vfork.
2015-08-10 20:08:09 +00:00
Yabin Cui
bf830ade7f
Omit comment when reading --gtest_list_tests option's output.
...
Gtest add comments when listing typed tests. And we should omit them.
Bug: 23040880
Change-Id: If6034af301337fc06eeab294d2dbe5317a6b7f91
2015-08-10 12:12:39 -07:00
Elliott Hughes
5891abdc66
Invalidate cached pid in vfork.
...
Bug: http://b/23008979
Change-Id: I1dd900ac988cdbe10aad3abc53240c5d352891d5
2015-08-07 19:44:12 -07:00
Yabin Cui
993a2bee84
am 7e919dae
: Merge "add a fortified implementation of getcwd"
...
* commit '7e919daeaad62515ebbbf7b06badc77625a14d90':
add a fortified implementation of getcwd
2015-08-01 05:25:13 +00:00
Daniel Micay
9101b00400
add a fortified implementation of getcwd
...
Change-Id: Ice3e6d3e1ff07788305dc85f8ee4059baad5fac4
2015-08-01 00:42:30 -04:00
Elliott Hughes
9d7c6a7e57
am 61c21b63
: Merge "Revert "add a fortified implementation of getcwd""
...
* commit '61c21b63bc1602bce8685757fb1c2a788cc9eb8d':
Revert "add a fortified implementation of getcwd"
2015-07-31 17:41:05 +00:00
Elliott Hughes
4c43aac9a5
Revert "add a fortified implementation of getcwd"
...
This reverts commit 89a121d43a
.
Change-Id: Ib6f6fd424acea68a063777e9f324405450e23316
2015-07-31 17:32:50 +00:00
Yabin Cui
4279bac26a
am 442a3fca
: Merge "add a fortified implementation of getcwd"
...
* commit '442a3fcae68152a95ef481ef99932d1bc001dc08':
add a fortified implementation of getcwd
2015-07-31 17:11:27 +00:00
Daniel Micay
89a121d43a
add a fortified implementation of getcwd
...
Change-Id: I95001ae4fe8f206db83e5c44d129ba11310695ce
2015-07-30 17:16:40 -04:00
Elliott Hughes
c9bee10805
am 4955cde2
: Merge "Add a regression test for a fixed strnlen bug."
...
* commit '4955cde2c55d4860f12039a96d14fc756b1308a3':
Add a regression test for a fixed strnlen bug.
2015-07-28 15:30:24 +00:00
Elliott Hughes
d2a9fb3267
Add a regression test for a fixed strnlen bug.
...
Bug: https://code.google.com/p/android/issues/detail?id=74741
Change-Id: I78b0114bdbe8e680b0e938af608a634e73c86eda
2015-07-27 20:55:03 -07:00
Chih-hung Hsieh
c11758f2c9
am cebef1a7
: Merge "Add one simple thread local storage test."
...
* commit 'cebef1a7812fe3552f12dd7e885a1f879a9946ed':
Add one simple thread local storage test.
2015-07-28 02:01:16 +00:00
Chih-hung Hsieh
cebef1a781
Merge "Add one simple thread local storage test."
2015-07-28 01:33:01 +00:00
Chih-Hung Hsieh
7656d0cec0
Add one simple thread local storage test.
...
This test should pass with gcc and fail with clang,
until clang/llvm supports emutls or Android linker supports
ELF TLS models.
BUG: 21082792
Change-Id: Id8c97da52c68ec230c7d26af703f6ed32d53a4fe
2015-07-27 17:20:19 -07:00
Yabin Cui
0e63c39cca
am 8af32633
: Merge "add fortified implementations of fread/fwrite"
...
* commit '8af32633498184e58e6f8d5d75b9f9cdbef5b6be':
add fortified implementations of fread/fwrite
2015-07-28 00:17:08 +00:00
Yabin Cui
8af3263349
Merge "add fortified implementations of fread/fwrite"
2015-07-27 22:46:29 +00:00
Elliott Hughes
7835c65ca7
am adc5795f
: Merge "Use AT_PAGESZ for sysconf(_SC_PAGE_SIZE)."
...
* commit 'adc5795fb7b674e6d40d1f190c675607c1379343':
Use AT_PAGESZ for sysconf(_SC_PAGE_SIZE).
2015-07-25 18:58:57 +00:00
Elliott Hughes
189394b885
Use AT_PAGESZ for sysconf(_SC_PAGE_SIZE).
...
Bug: http://b/18342333
Change-Id: Id12ed4e85a0f35d7d27202f7792df42a65a74b4e
2015-07-24 23:22:07 -07:00
Daniel Micay
fed2659869
add fortified implementations of fread/fwrite
...
A __size_mul_overflow utility is used to take advantage of the checked
overflow intrinsics in Clang and GCC (>= 5). The fallback for older
compilers is the optimized but less than ideal overflow checking pattern
used in OpenBSD.
Change-Id: Ibb0d4fd9b5acb67983e6a9f46844c2fd444f7e69
2015-07-23 18:55:46 -04:00
Yabin Cui
c0c9704e11
am 2565492d
: Merge "Add getgrgid_r/getgrnam_r."
...
* commit '2565492db0d67b95348cd1c3026ed338ca59aa37':
Add getgrgid_r/getgrnam_r.
2015-07-23 02:06:56 +00:00
Yabin Cui
2565492db0
Merge "Add getgrgid_r/getgrnam_r."
2015-07-22 03:22:26 +00:00
Yabin Cui
c4786d366b
Add getgrgid_r/getgrnam_r.
...
Bug: 22568551
Change-Id: I3c0772d119d6041063c6be53f5bcc5ea1768f0d5
2015-07-21 19:33:34 -07:00
Ying Wang
361d4b4c87
We don't have CXX_BARE any more
...
Now we have split CXX_WRAPPER from TARGET_CXX and CXX_BARE isn't needed
any more.
Bug: 22612634
Change-Id: I52c78b0d1b325910e875a786d17f780731778b4b
(cherry-pick from commit 9d11a7087c
)
2015-07-21 14:08:42 -07:00
Ying Wang
40e2b72fb3
am e39b279b
: Merge "We don\'t have CXX_BARE any more" into mnc-dev
...
* commit 'e39b279bb4971d0c3322214ea977275f1bc58c0b':
We don't have CXX_BARE any more
2015-07-21 21:01:46 +00:00
Ying Wang
9d11a7087c
We don't have CXX_BARE any more
...
Now we have split CXX_WRAPPER from TARGET_CXX and CXX_BARE isn't needed
any more.
Bug: 22612634
Change-Id: I52c78b0d1b325910e875a786d17f780731778b4b
2015-07-20 18:51:30 -07:00
Dmitriy Ivanov
8bdf8ab97c
am e70d7a78
: Merge "Fix dt_runpath test."
...
* commit 'e70d7a78f0bfba8b09d37c145769cb8d1d7c5fb6':
Fix dt_runpath test.
2015-07-20 19:17:02 +00:00
Dmitriy Ivanov
3fef96f827
Fix dt_runpath test.
...
Bfd linker produces DT_RPATH instead of DT_RUNPATH
unless --enable-new-dtags option is specified.
Bug: http://b/22560945
Change-Id: I71bdc5137b899ab736e55c5a9574cfbba8e1983b
2015-07-20 10:47:49 -07:00
Yabin Cui
a89821abe3
am 60a11dcb
: Merge "Add test for an Android kernel bug about prctl."
...
* commit '60a11dcb44992f610e696fc246c70731012080dd':
Add test for an Android kernel bug about prctl.
2015-07-14 22:52:49 +00:00
Yabin Cui
91ce715af1
Add test for an Android kernel bug about prctl.
...
Bug: 20017123
Change-Id: I8c109a06999a8bffcc8e8298b04ee637bb67d878
2015-07-13 19:15:38 -07:00
Pirama Arumuga Nainar
fcd017148b
am d1e10d7d
: Merge "Use delete[] to de-allocate pointers from new[]"
...
* commit 'd1e10d7d168a8461d9eb47e48802ea11d8bd0640':
Use delete[] to de-allocate pointers from new[]
2015-07-09 23:04:30 +00:00
Pirama Arumuga Nainar
d1e10d7d16
Merge "Use delete[] to de-allocate pointers from new[]"
2015-07-09 22:40:51 +00:00
Pirama Arumuga Nainar
4d44675283
Use delete[] to de-allocate pointers from new[]
...
Upstream clang has a new diagnostic, '-Wmismatched-new-delete' to
generate a warning (that becomes an error with -Werror) when delete is
used to deallocate pointers created with 'new[]'. This patch fixes
'delete's that trigger this warning/error.
Change-Id: Id7b6f6c2df3e860e576de55e2f61f3d2be3a3986
2015-07-09 10:15:15 -07:00
Evgenii Stepanov
b4f5d6d894
am 33ef6c20
: Merge "Respect caller DT_RUNPATH in dlopen()."
...
* commit '33ef6c20f2ddf19b29ed3a4e50139fa391b1a3d4':
Respect caller DT_RUNPATH in dlopen().
2015-07-08 20:16:35 +00:00
Evgenii Stepanov
33ef6c20f2
Merge "Respect caller DT_RUNPATH in dlopen()."
2015-07-08 19:50:03 +00:00
Evgenii Stepanov
0cdef7e7f3
Respect caller DT_RUNPATH in dlopen().
...
When dlopen-ing a library, add the caller's DT_RUNPATH to the directory search
list. This fixes dlfcn.dt_runpath in bionic-unit-tests-glibc(32|64).
Bug: 21899363
Change-Id: Ife6a7e192939292cf4dc291b7e6b95945761cde3
2015-07-07 10:56:06 -07:00
Dmitriy Ivanov
7830dcf1b5
am 416695a7
: Merge "Improve personality initialization"
...
* commit '416695a75c3892dd709a80ea8a640da07082594e':
Improve personality initialization
2015-07-01 02:36:04 +00:00
Dmitriy Ivanov
c2247478d5
Improve personality initialization
...
1. Personality parameter should be unsigned int (not long)
2. Do not reset bits outside of PER_MASK when setting
personality value.
3. Set personality for static executables.
Bug: http://b/21900686
Change-Id: I4c7e34079cbd59b818ce221eed325c05b9bb2303
(cherry picked from commit f643eb38c3
)
2015-06-30 19:01:24 -07:00