13272 Commits

Author SHA1 Message Date
Yabin Cui
72a6fdcdc7 Fix bug in app_id_from_name in stubs.cpp.
It seems that a break statement is missing.

Bug: 19872411
Change-Id: I9362783ab726d01f6eb27418563e716dd95688dc
2015-04-18 14:10:12 -07:00
Nick Kralevich
546cf0a06f am af7538b4: Merge "add fortified readlink/readlinkat implementations"
* commit 'af7538b49625f1c1c82e984610f26729a18d56bf':
  add fortified readlink/readlinkat implementations
2015-04-18 15:51:28 +00:00
Nick Kralevich
af7538b496 Merge "add fortified readlink/readlinkat implementations" 2015-04-18 15:30:18 +00:00
Dan Albert
c269aca791 am 7a8c7c48: Merge "Also send bionicbb logs to a file."
* commit '7a8c7c48db11b81bc53c63ddfbaeca12e7f5e8cb':
  Also send bionicbb logs to a file.
2015-04-18 01:10:22 +00:00
Dan Albert
02a25c49ed am cb6ae56b: Merge "Merge the two bionicbb services into one."
* commit 'cb6ae56b3e4ee50e99e9f3335d2676a21000d400':
  Merge the two bionicbb services into one.
2015-04-18 01:10:21 +00:00
Dan Albert
7a8c7c48db Merge "Also send bionicbb logs to a file." 2015-04-18 00:58:23 +00:00
Dan Albert
21988a3b16 Also send bionicbb logs to a file.
Change-Id: If9a6fdbe004e3b4bb7d868b7255f83c232759f80
2015-04-17 17:57:15 -07:00
Dan Albert
cb6ae56b3e Merge "Merge the two bionicbb services into one." 2015-04-18 00:55:31 +00:00
Dan Albert
d3fe4f1229 Merge the two bionicbb services into one.
Change-Id: I6490da1ec96b2e24b330296950be84424e11bd35
2015-04-17 17:39:36 -07:00
Daniel Micay
42281880a8 add fortified readlink/readlinkat implementations
Change-Id: Ia4b1824d20cad3a072b9162047492dade8576779
2015-04-17 18:49:12 -04:00
Dmitriy Ivanov
d4709744a2 am 3875744f: Merge "Support symbol versioning"
* commit '3875744f89600027c69ea68650fff1eeb4b29723':
  Support symbol versioning
2015-04-17 04:19:39 +00:00
Dmitriy Ivanov
3875744f89 Merge "Support symbol versioning" 2015-04-17 03:57:46 +00:00
Elliott Hughes
3c35b0a427 am fc4850e3: Merge "Fix clang build."
* commit 'fc4850e37b713eae12d0bde7f6e0b4e9b444bfef':
  Fix clang build.
2015-04-17 01:16:45 +00:00
Elliott Hughes
fc4850e37b Merge "Fix clang build." 2015-04-17 00:57:52 +00:00
Dmitriy Ivanov
2a81536144 Support symbol versioning
Bug: http://b/20139821
Change-Id: I64122a0fb0960c20b2ce614161b7ab048456b681
2015-04-16 17:57:30 -07:00
Elliott Hughes
a9325133aa Fix clang build.
Change-Id: I70a9ebe806cb4f7e23a7d8e486157ddd70ae3008
2015-04-16 17:56:12 -07:00
Elliott Hughes
ea154268ff am 31128da2: Merge "add fortified implementations of pread/pread64"
* commit '31128da28f561152f5b663e6b4849691b3951525':
  add fortified implementations of pread/pread64
2015-04-17 00:54:24 +00:00
Elliott Hughes
31128da28f Merge "add fortified implementations of pread/pread64" 2015-04-17 00:34:26 +00:00
Dan Albert
7e045ce97c am f84a5c6c: Merge "Clean up "logging"."
* commit 'f84a5c6c5c5fa2507458086a2f9a077bd9e2c9ec':
  Clean up "logging".
2015-04-16 22:31:49 +00:00
Dan Albert
f84a5c6c5c Merge "Clean up "logging"." 2015-04-16 22:08:39 +00:00
Dan Albert
a4061cddbe Clean up "logging".
Print is bad and I should feel bad. Use the logging module instead.
Will follow up by adding a persistent log destination instead of just
the console.

Change-Id: I396ff10712f88a03f8d8183b6de29ea273815962
2015-04-16 14:20:13 -07:00
Elliott Hughes
ecd73583e1 am 14af27a1: Merge "Remove PROP_PATH_SYSTEM_DEFAULT."
* commit '14af27a147b5e91eeb8632a3f99d4b6cc2ed26dc':
  Remove PROP_PATH_SYSTEM_DEFAULT.
2015-04-16 20:20:31 +00:00
Elliott Hughes
14af27a147 Merge "Remove PROP_PATH_SYSTEM_DEFAULT." 2015-04-16 19:58:00 +00:00
Daniel Micay
e7e1c875b0 add fortified implementations of pread/pread64
Change-Id: Iec39c3917e0bc94371bd81541619392f5abe29b9
2015-04-16 10:33:35 -04:00
Dmitriy Ivanov
261ebb6347 am a40cb0ca: Merge "Call __cxa_thread_finalize for the main thread."
* commit 'a40cb0ca7fe8ddc146831e92ec543be9feb26a65':
  Call __cxa_thread_finalize for the main thread.
2015-04-16 09:40:53 +00:00
Dmitriy Ivanov
a40cb0ca7f Merge "Call __cxa_thread_finalize for the main thread." 2015-04-16 08:06:03 +00:00
Christopher Ferris
22081158da am 12d89027: Merge "Update the number of jemalloc reserved keys."
* commit '12d89027457b4d5dce6c3a7fd01a2951f273d9a9':
  Update the number of jemalloc reserved keys.
2015-04-16 05:01:51 +00:00
Christopher Ferris
12d8902745 Merge "Update the number of jemalloc reserved keys." 2015-04-16 04:42:38 +00:00
Yabin Cui
86ad203779 am 2587c6a2: Merge "Change on handling of SIGEV_THREAD timers."
* commit '2587c6a2f0f946bd7c1e526c20b2623c01accd60':
  Change on handling of SIGEV_THREAD timers.
2015-04-16 01:28:28 +00:00
Yabin Cui
2587c6a2f0 Merge "Change on handling of SIGEV_THREAD timers." 2015-04-16 01:08:25 +00:00
Yabin Cui
95f1ee235a Change on handling of SIGEV_THREAD timers.
1. Don't prevent calling callback when SIGEV_THREAD timers are disarmed by timer_settime.
As in POSIX standard: The effect of disarming or resetting a timer with pending
expiration notifications is unspecified. And glibc didn't prevent in this situation, so I
think it is fine to remove the support.
2. Still prevent calling callback when SIGEV_THREAD timers are deleted by timer_delete.
As in POSIX standard: The disposition of pending signals for the deleted timer is unspecified.
However, glibc handles this (although that is not perfect). And some of our tests in
time_test.cpp depend on this feature as described in b/18039727. so I retain the support.
3. Fix some flaky test in time_test.cpp, and make "time*" test pass on bionic-unit-tests-glibcxx.

Bug: 18263854

Change-Id: I8ced184eacdbfcf433fd81b0c69c38824beb8ebc
2015-04-15 17:36:01 -07:00
Christopher Ferris
c0f89283cc Update the number of jemalloc reserved keys.
jemalloc now uses a single key pointing to a structure rather
than multiple keys.

Change-Id: Ib76185a594ab2cd4dc400d9a7a5bc0a57a7ac92d
2015-04-15 17:20:10 -07:00
Elliott Hughes
43e020ce93 Remove PROP_PATH_SYSTEM_DEFAULT.
Change-Id: Ib01d9c2f9d890eb5e7ba1e15bd11767195e84967
2015-04-15 17:03:43 -07:00
Dmitriy Ivanov
4e8f791b43 am c6ccdfaf: Merge "Hide emutls* symbols in libc.so"
* commit 'c6ccdfaf1ff4665ec96962863054263510d73e7b':
  Hide emutls* symbols in libc.so
2015-04-15 23:45:37 +00:00
Dmitriy Ivanov
c6ccdfaf1f Merge "Hide emutls* symbols in libc.so" 2015-04-15 23:27:38 +00:00
Dmitriy Ivanov
163ab8ba86 Call __cxa_thread_finalize for the main thread.
Bug: http://b/20231984
Bug: http://b/16696563
Change-Id: I71cfddd0d404d1d4a593ec8d3bca9741de8cb90f
2015-04-15 16:24:21 -07:00
Dmitriy Ivanov
66aa0b61f7 Hide emutls* symbols in libc.so
Also make thread_local in test static to avoid ld.bfd
 warning for arm64.

Change-Id: I09a3f2aa9b73a4fafa3f3bbc64ddc2a128ad50ee
2015-04-15 14:23:00 -07:00
Christopher Ferris
4a9e3d76a5 am cafc9480: Merge "Fix addition of extra arg to cfi_restore."
* commit 'cafc948069d447aa1e4dde599ee83bf6c0c5d5d8':
  Fix addition of extra arg to cfi_restore.
2015-04-15 00:22:59 +00:00
Christopher Ferris
cafc948069 Merge "Fix addition of extra arg to cfi_restore." 2015-04-15 00:07:35 +00:00
Christopher Ferris
940d3122c9 Fix addition of extra arg to cfi_restore.
Change-Id: I8fdcc1ae3e91b69ccbcec756a89e1ccb4fa1be53
2015-04-14 17:02:31 -07:00
Christopher Ferris
ffecd6cef9 am a529efac: Merge "Add missing cfi directives for x86 assembler."
* commit 'a529efac4efa4641186fef5003752cc1c43ec763':
  Add missing cfi directives for x86 assembler.
2015-04-15 00:00:48 +00:00
Christopher Ferris
a529efac4e Merge "Add missing cfi directives for x86 assembler." 2015-04-14 23:43:09 +00:00
Christopher Ferris
605ee81b06 Add missing cfi directives for x86 assembler.
Change-Id: I80d3e33a71bbaeab5f39b667ebe61e865fd54b80
2015-04-14 16:42:10 -07:00
Yabin Cui
c2eac94a87 am 8f3f0418: Merge "Prevent using static-allocated pthread keys before creation."
* commit '8f3f04184a5772b421867b59acd3d0dfbc6fa4eb':
  Prevent using static-allocated pthread keys before creation.
2015-04-14 21:00:19 +00:00
Yabin Cui
8f3f04184a Merge "Prevent using static-allocated pthread keys before creation." 2015-04-14 20:35:08 +00:00
Yabin Cui
5ddbb3f936 Prevent using static-allocated pthread keys before creation.
Bug: 19993460

Change-Id: I244dea7f5df3c8384f88aa48d635348fafc9cbaf
2015-04-14 13:32:09 -07:00
Dan Albert
2bd1560eda am 447cd196: Merge "Skip merge-failed messages from Gerrit."
* commit '447cd19681cfd0a71282c87d1b32a7757bbaba81':
  Skip merge-failed messages from Gerrit.
2015-04-14 01:52:51 +00:00
Dan Albert
447cd19681 Merge "Skip merge-failed messages from Gerrit." 2015-04-14 01:33:35 +00:00
Dan Albert
a0ecd5b2b4 Skip merge-failed messages from Gerrit.
Change-Id: I2d8055a44cd78f95e64d6cf88e9efdd610a4fa88
2015-04-13 17:33:51 -07:00
Dmitriy Ivanov
ffc34e51f7 am de889741: Merge "Fix dl* tests to run-on-host"
* commit 'de889741201faa338e01babdfd10bbd597769e60':
  Fix dl* tests to run-on-host
2015-04-11 00:45:59 +00:00