OSDN Git Service

android-x86/bionic.git
9 years agoam 59409c68: am 7c01e3a9: Merge "Fix comment drift in assorted relocation packer...
Simon Baldwin [Thu, 26 Mar 2015 18:29:21 +0000 (18:29 +0000)]
am 59409c68: am 7c01e3a9: Merge "Fix comment drift in assorted relocation packer modules."

* commit '59409c68ebdc8cdcb3b3ff9f4a5bdee9570c67d0':
  Fix comment drift in assorted relocation packer modules.

9 years agoam 73f4a8b6: am f2d153f8: Merge "Initial implementation of __cxa_thread_atexit_impl"
Dmitriy Ivanov [Thu, 26 Mar 2015 18:23:07 +0000 (18:23 +0000)]
am 73f4a8b6: am f2d153f8: Merge "Initial implementation of __cxa_thread_atexit_impl"

* commit '73f4a8b616b9a51fcce2b46da526620aa04ae9f4':
  Initial implementation of __cxa_thread_atexit_impl

9 years agoam 7c01e3a9: Merge "Fix comment drift in assorted relocation packer modules."
Simon Baldwin [Thu, 26 Mar 2015 18:16:10 +0000 (18:16 +0000)]
am 7c01e3a9: Merge "Fix comment drift in assorted relocation packer modules."

* commit '7c01e3a9ba80c85c7e7998d2347885e9a6e3bbf2':
  Fix comment drift in assorted relocation packer modules.

9 years agoam f2d153f8: Merge "Initial implementation of __cxa_thread_atexit_impl"
Dmitriy Ivanov [Thu, 26 Mar 2015 18:08:37 +0000 (18:08 +0000)]
am f2d153f8: Merge "Initial implementation of __cxa_thread_atexit_impl"

* commit 'f2d153f836e529892854b91452fabd2c2fa79c05':
  Initial implementation of __cxa_thread_atexit_impl

9 years agoMerge "Fix comment drift in assorted relocation packer modules."
Simon Baldwin [Thu, 26 Mar 2015 18:01:13 +0000 (18:01 +0000)]
Merge "Fix comment drift in assorted relocation packer modules."

9 years agoMerge "Initial implementation of __cxa_thread_atexit_impl"
Dmitriy Ivanov [Thu, 26 Mar 2015 17:50:23 +0000 (17:50 +0000)]
Merge "Initial implementation of __cxa_thread_atexit_impl"

9 years agoam 20003502: am 7f8d91ea: Merge "Remove unused/unusable relocation packer files."
Simon Baldwin [Thu, 26 Mar 2015 17:46:05 +0000 (17:46 +0000)]
am 20003502: am 7f8d91ea: Merge "Remove unused/unusable relocation packer files."

* commit '20003502df967d15e194bd032f0ccf14f6b71e3f':
  Remove unused/unusable relocation packer files.

9 years agoFix comment drift in assorted relocation packer modules.
Simon Baldwin [Thu, 26 Mar 2015 17:13:19 +0000 (17:13 +0000)]
Fix comment drift in assorted relocation packer modules.

Some of the commentary in relocation packer code is relevant
only to the packing strategy employed by chromium, and no
longer applies here.  This change fixes or deletes it.

Code comment change only; no functional effect.

Change-Id: Id229ee1d802bba608be15b79bc75bf90df557dab
Signed-off-by: Simon Baldwin <simonb@google.com>
9 years agoam 7f8d91ea: Merge "Remove unused/unusable relocation packer files."
Simon Baldwin [Thu, 26 Mar 2015 16:55:09 +0000 (16:55 +0000)]
am 7f8d91ea: Merge "Remove unused/unusable relocation packer files."

* commit '7f8d91ea8e24e89db39ae868085913e763e04557':
  Remove unused/unusable relocation packer files.

9 years agoMerge "Remove unused/unusable relocation packer files."
Simon Baldwin [Thu, 26 Mar 2015 16:41:00 +0000 (16:41 +0000)]
Merge "Remove unused/unusable relocation packer files."

9 years agoam efe1aff0: am b9232c94: Merge "Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHRE...
Yabin Cui [Thu, 26 Mar 2015 16:27:34 +0000 (16:27 +0000)]
am efe1aff0: am b9232c94: Merge "Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER."

* commit 'efe1aff09daef1b1cbe9d9f37c0922f596f01977':
  Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER.

9 years agoam b9232c94: Merge "Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK...
Yabin Cui [Thu, 26 Mar 2015 04:36:16 +0000 (04:36 +0000)]
am b9232c94: Merge "Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER."

* commit 'b9232c94da831d485b3896580a3d1ac9abc46a4f':
  Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER.

9 years agoam 6f9a3522: am 69847bc2: Merge "Hide internal of pthread_mutex_t."
Yabin Cui [Thu, 26 Mar 2015 04:28:52 +0000 (04:28 +0000)]
am 6f9a3522: am 69847bc2: Merge "Hide internal of pthread_mutex_t."

* commit '6f9a35222bccc19dbd66a8a25a0f53b8e53603d9':
  Hide internal of pthread_mutex_t.

9 years agoam 0682e44f: am fa3dcecc: Merge "Fix in error handling in pthread_create.cpp."
Yabin Cui [Thu, 26 Mar 2015 04:28:51 +0000 (04:28 +0000)]
am 0682e44f: am fa3dcecc: Merge "Fix in error handling in pthread_create.cpp."

* commit '0682e44f7c2b961e8e36016829ea4cdca3e0fbe1':
  Fix in error handling in pthread_create.cpp.

9 years agoMerge "Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK_MUTEX_INITIA...
Yabin Cui [Thu, 26 Mar 2015 04:21:15 +0000 (04:21 +0000)]
Merge "Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER."

9 years agoam 69847bc2: Merge "Hide internal of pthread_mutex_t."
Yabin Cui [Thu, 26 Mar 2015 04:19:40 +0000 (04:19 +0000)]
am 69847bc2: Merge "Hide internal of pthread_mutex_t."

* commit '69847bc298de62917663d22b6733ef75b57124fa':
  Hide internal of pthread_mutex_t.

9 years agoam fa3dcecc: Merge "Fix in error handling in pthread_create.cpp."
Yabin Cui [Thu, 26 Mar 2015 04:19:39 +0000 (04:19 +0000)]
am fa3dcecc: Merge "Fix in error handling in pthread_create.cpp."

* commit 'fa3dcecc0fd7bbbf04234e41be690a5d33277870':
  Fix in error handling in pthread_create.cpp.

9 years agoRemove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER.
Yabin Cui [Thu, 26 Mar 2015 02:59:00 +0000 (19:59 -0700)]
Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER.

These macros are also not used in glibc. And we should use
PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP instead.

Change-Id: I35195e2f499712dcde9305bbb93622d0f7ca874b

9 years agoMerge "Hide internal of pthread_mutex_t."
Yabin Cui [Thu, 26 Mar 2015 02:10:06 +0000 (02:10 +0000)]
Merge "Hide internal of pthread_mutex_t."

9 years agoInitial implementation of __cxa_thread_atexit_impl
Dmitriy Ivanov [Thu, 26 Mar 2015 00:38:10 +0000 (17:38 -0700)]
Initial implementation of __cxa_thread_atexit_impl

  This is initial implementations; does not yet handle
  dlclose - undefined behavior, needs linker support to
  handle it right.

Bug: 19800080
Bug: 16696563
Change-Id: I7a3e21ed7f7ec01e62ea1b7cb2ab253590ea0686

9 years agoHide internal of pthread_mutex_t.
Yabin Cui [Sat, 21 Mar 2015 22:08:25 +0000 (15:08 -0700)]
Hide internal of pthread_mutex_t.

Bug: 19249079
Change-Id: Iffb79c8d861b698d474f212dc80c638fc2cf1620

9 years agoMerge "Fix in error handling in pthread_create.cpp."
Yabin Cui [Thu, 26 Mar 2015 00:26:59 +0000 (00:26 +0000)]
Merge "Fix in error handling in pthread_create.cpp."

9 years agoam 3ae2774a: am 36d5b6f4: Merge "Cause Fatal error when invalid pthread_id is detected."
Yabin Cui [Wed, 25 Mar 2015 23:41:19 +0000 (23:41 +0000)]
am 3ae2774a: am 36d5b6f4: Merge "Cause Fatal error when invalid pthread_id is detected."

* commit '3ae2774aa0b05e0c80d7e0820a33325795c23df2':
  Cause Fatal error when invalid pthread_id is detected.

9 years agoFix in error handling in pthread_create.cpp.
Yabin Cui [Wed, 25 Mar 2015 23:18:21 +0000 (16:18 -0700)]
Fix in error handling in pthread_create.cpp.

It is due to a previous change "Let g_thread_list_lock only protect g_thread_list".
We need to add the newly created thread to thread_list even if
__init_thread fails, so the thread can exit successfully.

Change-Id: I0332df11acfdd181350bcc092b12d90d679057a4

9 years agoam 36d5b6f4: Merge "Cause Fatal error when invalid pthread_id is detected."
Yabin Cui [Wed, 25 Mar 2015 23:04:27 +0000 (23:04 +0000)]
am 36d5b6f4: Merge "Cause Fatal error when invalid pthread_id is detected."

* commit '36d5b6f47dd14fd9733d935174d2b8e0deb979c6':
  Cause Fatal error when invalid pthread_id is detected.

9 years agoMerge "Cause Fatal error when invalid pthread_id is detected."
Yabin Cui [Wed, 25 Mar 2015 22:53:49 +0000 (22:53 +0000)]
Merge "Cause Fatal error when invalid pthread_id is detected."

9 years agoCause Fatal error when invalid pthread_id is detected.
Yabin Cui [Wed, 25 Mar 2015 00:43:14 +0000 (17:43 -0700)]
Cause Fatal error when invalid pthread_id is detected.

This is a patch testing whether we can use abort() instead of
returning ESRCH for invalid pthread ids. It is an intermediate
step to remove g_thread_list/g_thread_list_lock.

Bug: 19636317
Change-Id: Idd8e4a346c7ce91e1be0c2ebcb78ce51c0d0a31d

9 years agoam 2d55dd58: am 0c3b632b: Merge "Add O_APPEND flag for __libc_write_stderr."
Yabin Cui [Wed, 25 Mar 2015 22:05:51 +0000 (22:05 +0000)]
am 2d55dd58: am 0c3b632b: Merge "Add O_APPEND flag for __libc_write_stderr."

* commit '2d55dd58bdbb37e108d22352a7905f6257822ce6':
  Add O_APPEND flag for __libc_write_stderr.

9 years agoam d35c24e7: am f6364486: Merge "Use ALIAS_SYMBOL for assembler aliasing."
Christopher Ferris [Wed, 25 Mar 2015 21:07:52 +0000 (21:07 +0000)]
am d35c24e7: am f6364486: Merge "Use ALIAS_SYMBOL for assembler aliasing."

* commit 'd35c24e795216f3a4f5d309d616ed766e0d73086':
  Use ALIAS_SYMBOL for assembler aliasing.

9 years agoam 0c3b632b: Merge "Add O_APPEND flag for __libc_write_stderr."
Yabin Cui [Wed, 25 Mar 2015 20:28:51 +0000 (20:28 +0000)]
am 0c3b632b: Merge "Add O_APPEND flag for __libc_write_stderr."

* commit '0c3b632bd6570064bab1055d2b8a51cfb85e60bb':
  Add O_APPEND flag for __libc_write_stderr.

9 years agoMerge "Add O_APPEND flag for __libc_write_stderr."
Yabin Cui [Wed, 25 Mar 2015 20:17:34 +0000 (20:17 +0000)]
Merge "Add O_APPEND flag for __libc_write_stderr."

9 years agoAdd O_APPEND flag for __libc_write_stderr.
Yabin Cui [Wed, 25 Mar 2015 19:36:18 +0000 (12:36 -0700)]
Add O_APPEND flag for __libc_write_stderr.

For DeathTests, we are testing the output of stderr to check if it is the
death we are expecting. To collect the output, Gtest redirects stderr to
a temporary file. But in __libc_write_stderr in libc_logging.cpp, we are
writing to stderr without a O_APPEND flag, so a new message will overwrite
a previous message.
The above situation makes almost all the DeathTests fail on host. Because
the expected message are always overwritten in host DeathTests. So I add
O_APPEND flag in __libc_write_stderr, which makes all host DeathTests pass.

Change-Id: Ic2f6044fdb181eebe132a6f170b57db43c5c3289

9 years agoam f6364486: Merge "Use ALIAS_SYMBOL for assembler aliasing."
Christopher Ferris [Wed, 25 Mar 2015 18:59:06 +0000 (18:59 +0000)]
am f6364486: Merge "Use ALIAS_SYMBOL for assembler aliasing."

* commit 'f6364486fb0fcd2891094a871041a3dc6c2334f8':
  Use ALIAS_SYMBOL for assembler aliasing.

9 years agoMerge "Use ALIAS_SYMBOL for assembler aliasing."
Christopher Ferris [Wed, 25 Mar 2015 17:52:49 +0000 (17:52 +0000)]
Merge "Use ALIAS_SYMBOL for assembler aliasing."

9 years agoRemove unused/unusable relocation packer files.
Simon Baldwin [Wed, 25 Mar 2015 16:14:30 +0000 (16:14 +0000)]
Remove unused/unusable relocation packer files.

Removes:
- src/run_length_encoder.h
    artifact of the original packing tool, not used here
- test_data/generate_elf_file_unittest_relocs.sh
- test_data/generate_elf_file_unittest_relocs.py
    test data generation for chromium/gyp, not usable here
- README.TXT
    because it is now almost entirely outdated

Change-Id: Ic4cd372647d9a365dc52833a6cc1cf66f0c95ec9

9 years agoUse ALIAS_SYMBOL for assembler aliasing.
Christopher Ferris [Wed, 25 Mar 2015 16:12:00 +0000 (09:12 -0700)]
Use ALIAS_SYMBOL for assembler aliasing.

Change-Id: I8d04d2da0a1ac440cc9044fc819c9a8eda5ff17d

9 years agoam 44a6dcc2: am f5e0ba94: Merge "Make gensyscalls.py use the ALIAS_SYMBOL macro."
Christopher Ferris [Wed, 25 Mar 2015 04:43:39 +0000 (04:43 +0000)]
am 44a6dcc2: am f5e0ba94: Merge "Make gensyscalls.py use the ALIAS_SYMBOL macro."

* commit '44a6dcc2a4a3d5bcdbd51fe385121600ad05657f':
  Make gensyscalls.py use the ALIAS_SYMBOL macro.

9 years agoam f5e0ba94: Merge "Make gensyscalls.py use the ALIAS_SYMBOL macro."
Christopher Ferris [Wed, 25 Mar 2015 04:31:15 +0000 (04:31 +0000)]
am f5e0ba94: Merge "Make gensyscalls.py use the ALIAS_SYMBOL macro."

* commit 'f5e0ba94d911ef2622ecfd3f7fabc4432a4806d3':
  Make gensyscalls.py use the ALIAS_SYMBOL macro.

9 years agoMerge "Make gensyscalls.py use the ALIAS_SYMBOL macro."
Christopher Ferris [Wed, 25 Mar 2015 04:20:45 +0000 (04:20 +0000)]
Merge "Make gensyscalls.py use the ALIAS_SYMBOL macro."

9 years agoMake gensyscalls.py use the ALIAS_SYMBOL macro.
Christopher Ferris [Tue, 24 Mar 2015 23:50:46 +0000 (16:50 -0700)]
Make gensyscalls.py use the ALIAS_SYMBOL macro.

Change-Id: Ib94c0abb6fc85126ecc5ed3f1962b2b8b90b9952

9 years agoam 26bca5b1: am 70cafb16: Merge "Replace fixed arrays with vectors"
Dmitriy Ivanov [Wed, 25 Mar 2015 01:34:08 +0000 (01:34 +0000)]
am 26bca5b1: am 70cafb16: Merge "Replace fixed arrays with vectors"

* commit '26bca5b14008e576838f9a8f4f617777e24615f0':
  Replace fixed arrays with vectors

9 years agoam 70cafb16: Merge "Replace fixed arrays with vectors"
Dmitriy Ivanov [Wed, 25 Mar 2015 00:55:44 +0000 (00:55 +0000)]
am 70cafb16: Merge "Replace fixed arrays with vectors"

* commit '70cafb16ec9ab23ad65542534af5a1ac7d6e70e4':
  Replace fixed arrays with vectors

9 years agoMerge "Replace fixed arrays with vectors"
Dmitriy Ivanov [Wed, 25 Mar 2015 00:45:19 +0000 (00:45 +0000)]
Merge "Replace fixed arrays with vectors"

9 years agoReplace fixed arrays with vectors
Dmitriy Ivanov [Tue, 24 Mar 2015 01:43:02 +0000 (18:43 -0700)]
Replace fixed arrays with vectors

  This effectively removes limit on length and count
  of LD_LIBRARY_PATH and LD_PRELOAD entries.

Change-Id: Ie7ea34a50d99c4018f9dd1a33aaebc4049a7f424

9 years agoam 4ca2cda2: am ee4997ec: Merge "Convert result of a call to JSON."
Dan Albert [Tue, 24 Mar 2015 22:09:39 +0000 (22:09 +0000)]
am 4ca2cda2: am ee4997ec: Merge "Convert result of a call to JSON."

* commit '4ca2cda213c8dacacfd420c70de33862a52f8a67':
  Convert result of a call to JSON.

9 years agoam ee4997ec: Merge "Convert result of a call to JSON."
Dan Albert [Tue, 24 Mar 2015 21:41:56 +0000 (21:41 +0000)]
am ee4997ec: Merge "Convert result of a call to JSON."

* commit 'ee4997ecc3daeb9af110d932ddb27f969cc7271a':
  Convert result of a call to JSON.

9 years agoMerge "Convert result of a call to JSON."
Dan Albert [Tue, 24 Mar 2015 21:28:30 +0000 (21:28 +0000)]
Merge "Convert result of a call to JSON."

9 years agoConvert result of a call to JSON.
Dan Albert [Tue, 24 Mar 2015 18:43:55 +0000 (11:43 -0700)]
Convert result of a call to JSON.

I still had the service that was relying on this running on top of
local changes, so this hadn't been a problem yet.

Change-Id: I63b45b8c7cf81972dbb7128013c1c777a2342d4c

9 years agoam e39f3200: am 93d44ff2: Merge "Let g_thread_list_lock only protect g_thread_list."
Yabin Cui [Tue, 24 Mar 2015 03:25:46 +0000 (03:25 +0000)]
am e39f3200: am 93d44ff2: Merge "Let g_thread_list_lock only protect g_thread_list."

* commit 'e39f3200a926d5bb18fbaec92eed5fc00dad9fb2':
  Let g_thread_list_lock only protect g_thread_list.

9 years agoam efaf8ff6: am 32b039e4: Merge "RTLD_LAZY is not supported, use RTLD_NOW instead."
Dmitriy Ivanov [Tue, 24 Mar 2015 03:25:37 +0000 (03:25 +0000)]
am efaf8ff6: am 32b039e4: Merge "RTLD_LAZY is not supported, use RTLD_NOW instead."

* commit 'efaf8ff6e4553c22ee481e873edcccd9d4b36748':
  RTLD_LAZY is not supported, use RTLD_NOW instead.

9 years agoam ecf010ed: am f8246ac6: Merge "Add test for pthread types alignment check."
Yabin Cui [Tue, 24 Mar 2015 03:25:20 +0000 (03:25 +0000)]
am ecf010ed: am f8246ac6: Merge "Add test for pthread types alignment check."

* commit 'ecf010ed4138f37d5916961f7aaf52270ba715ea':
  Add test for pthread types alignment check.

9 years agoam 7472b500: am 27b38599: Merge "Work around a bug in the Jenkins queue API."
Dan Albert [Tue, 24 Mar 2015 02:58:59 +0000 (02:58 +0000)]
am 7472b500: am 27b38599: Merge "Work around a bug in the Jenkins queue API."

* commit '7472b500a3545b603c56b3fb7f6f7075c3872b84':
  Work around a bug in the Jenkins queue API.

9 years agoam 93d44ff2: Merge "Let g_thread_list_lock only protect g_thread_list."
Yabin Cui [Tue, 24 Mar 2015 02:51:53 +0000 (02:51 +0000)]
am 93d44ff2: Merge "Let g_thread_list_lock only protect g_thread_list."

* commit '93d44ff2a6e0febe18d42d5690e85023545318b4':
  Let g_thread_list_lock only protect g_thread_list.

9 years agoMerge "Let g_thread_list_lock only protect g_thread_list."
Yabin Cui [Tue, 24 Mar 2015 02:39:50 +0000 (02:39 +0000)]
Merge "Let g_thread_list_lock only protect g_thread_list."

9 years agoLet g_thread_list_lock only protect g_thread_list.
Yabin Cui [Thu, 19 Mar 2015 21:19:19 +0000 (14:19 -0700)]
Let g_thread_list_lock only protect g_thread_list.

As glibc/netbsd don't protect access to thread struct members by a global
lock, we don't want to do it either. This change reduces the
responsibility of g_thread_list_lock to only protect g_thread_list.

Bug: 19636317
Change-Id: I897890710653dac165d8fa4452c7ecf74abdbf2b

9 years agoam 32b039e4: Merge "RTLD_LAZY is not supported, use RTLD_NOW instead."
Dmitriy Ivanov [Tue, 24 Mar 2015 01:00:49 +0000 (01:00 +0000)]
am 32b039e4: Merge "RTLD_LAZY is not supported, use RTLD_NOW instead."

* commit '32b039e46eee4d40b9979eab873a957e86fbf969':
  RTLD_LAZY is not supported, use RTLD_NOW instead.

9 years agoMerge "RTLD_LAZY is not supported, use RTLD_NOW instead."
Dmitriy Ivanov [Tue, 24 Mar 2015 00:48:57 +0000 (00:48 +0000)]
Merge "RTLD_LAZY is not supported, use RTLD_NOW instead."

9 years agoam f8246ac6: Merge "Add test for pthread types alignment check."
Yabin Cui [Mon, 23 Mar 2015 23:28:49 +0000 (23:28 +0000)]
am f8246ac6: Merge "Add test for pthread types alignment check."

* commit 'f8246ac65f1985e23023df12112a6ce47057a4dd':
  Add test for pthread types alignment check.

9 years agoam adebbfc9: am 7f1e2068: Merge "Fix alignment error for pthread_internal_t/pthread...
Yabin Cui [Mon, 23 Mar 2015 23:24:18 +0000 (23:24 +0000)]
am adebbfc9: am 7f1e2068: Merge "Fix alignment error for pthread_internal_t/pthread stack."

* commit 'adebbfc994e56b53e0c8ae420373b6ee57a9d4d3':
  Fix alignment error for pthread_internal_t/pthread stack.

9 years agoMerge "Add test for pthread types alignment check."
Yabin Cui [Mon, 23 Mar 2015 23:18:27 +0000 (23:18 +0000)]
Merge "Add test for pthread types alignment check."

9 years agoRTLD_LAZY is not supported, use RTLD_NOW instead.
Dmitriy Ivanov [Mon, 23 Mar 2015 21:58:45 +0000 (14:58 -0700)]
RTLD_LAZY is not supported, use RTLD_NOW instead.

Change-Id: Ia08ed6416aef686435224b50b3e58955d09f04e2

9 years agoam 27b38599: Merge "Work around a bug in the Jenkins queue API."
Dan Albert [Mon, 23 Mar 2015 20:44:52 +0000 (20:44 +0000)]
am 27b38599: Merge "Work around a bug in the Jenkins queue API."

* commit '27b38599dc4b0b4941906d8da30022f516abf143':
  Work around a bug in the Jenkins queue API.

9 years agoMerge "Work around a bug in the Jenkins queue API."
Dan Albert [Mon, 23 Mar 2015 20:32:15 +0000 (20:32 +0000)]
Merge "Work around a bug in the Jenkins queue API."

9 years agoWork around a bug in the Jenkins queue API.
Dan Albert [Mon, 23 Mar 2015 20:29:15 +0000 (13:29 -0700)]
Work around a bug in the Jenkins queue API.

https://issues.jenkins-ci.org/browse/JENKINS-27256

1.601 broke the ability to get a build's URL before the build had
actually started. The bug is pseudo-fixed, but would require
installing a new plugin and fixing the python jenkinsapi plugin for
the time being to use /queuefix/ rather than /queue/.

Just avoiding logging a URL for now.

Change-Id: Ibf90e5887fc4532dac688082ad7729787897da11

9 years agoam 7f1e2068: Merge "Fix alignment error for pthread_internal_t/pthread stack."
Yabin Cui [Sat, 21 Mar 2015 17:11:22 +0000 (17:11 +0000)]
am 7f1e2068: Merge "Fix alignment error for pthread_internal_t/pthread stack."

* commit '7f1e206815032aa152e9f181e477ae2a3f128d67':
  Fix alignment error for pthread_internal_t/pthread stack.

9 years agoAdd test for pthread types alignment check.
Yabin Cui [Tue, 17 Mar 2015 05:46:42 +0000 (22:46 -0700)]
Add test for pthread types alignment check.

Bug: 19249079
Change-Id: I83c4f0d11ec5d82a346ae0057d02a92bb1d519e8

9 years agoMerge "Fix alignment error for pthread_internal_t/pthread stack."
Yabin Cui [Fri, 20 Mar 2015 23:26:23 +0000 (23:26 +0000)]
Merge "Fix alignment error for pthread_internal_t/pthread stack."

9 years agoFix alignment error for pthread_internal_t/pthread stack.
Yabin Cui [Fri, 20 Mar 2015 17:58:04 +0000 (10:58 -0700)]
Fix alignment error for pthread_internal_t/pthread stack.

aligned attribute can only control compiler's behavior, but we
are manually allocating pthread_internal_t. So we need to make
sure of alignment manually.

Change-Id: Iea4c46eadf10dfd15dc955c5f41cf6063cfd8536

9 years agoam e0423890: am 9bc8ce7c: Merge "Limit soinfo compatibility fields to arm32"
Dmitriy Ivanov [Fri, 20 Mar 2015 04:23:44 +0000 (04:23 +0000)]
am e0423890: am 9bc8ce7c: Merge "Limit soinfo compatibility fields to arm32"

* commit 'e0423890778668403562f1f0afc6d3ebec4dc4fa':
  Limit soinfo compatibility fields to arm32

9 years agoam 9bc8ce7c: Merge "Limit soinfo compatibility fields to arm32"
Dmitriy Ivanov [Fri, 20 Mar 2015 04:18:23 +0000 (04:18 +0000)]
am 9bc8ce7c: Merge "Limit soinfo compatibility fields to arm32"

* commit '9bc8ce7c6a8abc09e76b0f35064d881385861537':
  Limit soinfo compatibility fields to arm32

9 years agoMerge "Limit soinfo compatibility fields to arm32"
Dmitriy Ivanov [Fri, 20 Mar 2015 04:05:51 +0000 (04:05 +0000)]
Merge "Limit soinfo compatibility fields to arm32"

9 years agoLimit soinfo compatibility fields to arm32
Dmitriy Ivanov [Fri, 20 Mar 2015 00:50:29 +0000 (17:50 -0700)]
Limit soinfo compatibility fields to arm32

Change-Id: I3924cd68397c223c0d206295d587f9dd8ebdc086

9 years agoam 2e7617f2: am 4149dc94: Merge "Return EINVAL when calling pthread_detach for joined...
Yabin Cui [Fri, 20 Mar 2015 00:21:22 +0000 (00:21 +0000)]
am 2e7617f2: am 4149dc94: Merge "Return EINVAL when calling pthread_detach for joined thread."

* commit '2e7617f2a0a703ae8dd0ba1b090464279482f893':
  Return EINVAL when calling pthread_detach for joined thread.

9 years agoam 4149dc94: Merge "Return EINVAL when calling pthread_detach for joined thread."
Yabin Cui [Fri, 20 Mar 2015 00:11:58 +0000 (00:11 +0000)]
am 4149dc94: Merge "Return EINVAL when calling pthread_detach for joined thread."

* commit '4149dc944bbe3c5f1c14fc998106975e68bdd6bf':
  Return EINVAL when calling pthread_detach for joined thread.

9 years agoMerge "Return EINVAL when calling pthread_detach for joined thread."
Yabin Cui [Fri, 20 Mar 2015 00:00:29 +0000 (00:00 +0000)]
Merge "Return EINVAL when calling pthread_detach for joined thread."

9 years agoam 09170b99: am 7875b506: Merge "Fix two errors in pthread_detach.cpp."
Yabin Cui [Thu, 19 Mar 2015 23:58:51 +0000 (23:58 +0000)]
am 09170b99: am 7875b506: Merge "Fix two errors in pthread_detach.cpp."

* commit '09170b9968ac1c778026777f76d000a2afdd7459':
  Fix two errors in pthread_detach.cpp.

9 years agoam 7875b506: Merge "Fix two errors in pthread_detach.cpp."
Yabin Cui [Thu, 19 Mar 2015 23:53:04 +0000 (23:53 +0000)]
am 7875b506: Merge "Fix two errors in pthread_detach.cpp."

* commit '7875b506edfb1fe593034eaf4bc9aa156179fbd2':
  Fix two errors in pthread_detach.cpp.

9 years agoReturn EINVAL when calling pthread_detach for joined thread.
Yabin Cui [Thu, 19 Mar 2015 22:19:25 +0000 (15:19 -0700)]
Return EINVAL when calling pthread_detach for joined thread.

Change-Id: I717015132187e087e0ad485284a13c8801e25e77

9 years agoMerge "Fix two errors in pthread_detach.cpp."
Yabin Cui [Thu, 19 Mar 2015 23:38:40 +0000 (23:38 +0000)]
Merge "Fix two errors in pthread_detach.cpp."

9 years agoFix two errors in pthread_detach.cpp.
Yabin Cui [Thu, 19 Mar 2015 23:28:19 +0000 (16:28 -0700)]
Fix two errors in pthread_detach.cpp.

The errors are introduced in "Make pthread join_state not protected by g_thread_list_lock".

Bug: 19636317
Change-Id: I58ae9711da94bfbac809abfd81311eeb70301a4b

9 years agoam cdc02185: am 2e495081: Merge "Move open from zip tests to dlext"
Dmitriy Ivanov [Thu, 19 Mar 2015 17:32:17 +0000 (17:32 +0000)]
am cdc02185: am 2e495081: Merge "Move open from zip tests to dlext"

* commit 'cdc02185fe6254ddd68cb7a6c0938892b007f2a7':
  Move open from zip tests to dlext

9 years agoam 2e495081: Merge "Move open from zip tests to dlext"
Dmitriy Ivanov [Thu, 19 Mar 2015 17:19:32 +0000 (17:19 +0000)]
am 2e495081: Merge "Move open from zip tests to dlext"

* commit '2e49508187254903943b83df7bb241d5fb6a8593':
  Move open from zip tests to dlext

9 years agoMerge "Move open from zip tests to dlext"
Dmitriy Ivanov [Thu, 19 Mar 2015 17:06:15 +0000 (17:06 +0000)]
Merge "Move open from zip tests to dlext"

9 years agoMove open from zip tests to dlext
Dmitriy Ivanov [Thu, 19 Mar 2015 05:50:01 +0000 (22:50 -0700)]
Move open from zip tests to dlext

 To avoid building them for glibc.

 Also replace snprintf with std::string

Change-Id: I12e1d2e4ab46ff5af6c05453da67842e0d838fc5

9 years agoam 436310c3: am 6943f296: Merge "Make __get_thread inlined."
Yabin Cui [Thu, 19 Mar 2015 03:11:21 +0000 (03:11 +0000)]
am 436310c3: am 6943f296: Merge "Make __get_thread inlined."

* commit '436310c3d5835725afc498c23a788eab0cf7afc2':
  Make __get_thread inlined.

9 years agoam 6943f296: Merge "Make __get_thread inlined."
Yabin Cui [Thu, 19 Mar 2015 03:03:21 +0000 (03:03 +0000)]
am 6943f296: Merge "Make __get_thread inlined."

* commit '6943f2968cb6054f8874e30b309985b41a37e2e0':
  Make __get_thread inlined.

9 years agoam 16ac4ee7: am 6420fb46: Merge "Implement lookup by DT_SONAME"
Dmitriy Ivanov [Thu, 19 Mar 2015 03:00:36 +0000 (03:00 +0000)]
am 16ac4ee7: am 6420fb46: Merge "Implement lookup by DT_SONAME"

* commit '16ac4ee7c468d11bb53265a16c7fd16bed3e2232':
  Implement lookup by DT_SONAME

9 years agoam 6420fb46: Merge "Implement lookup by DT_SONAME"
Dmitriy Ivanov [Thu, 19 Mar 2015 02:53:57 +0000 (02:53 +0000)]
am 6420fb46: Merge "Implement lookup by DT_SONAME"

* commit '6420fb467f52f7c27c921b1bf53dc95ad5851077':
  Implement lookup by DT_SONAME

9 years agoMerge "Make __get_thread inlined."
Yabin Cui [Thu, 19 Mar 2015 02:50:19 +0000 (02:50 +0000)]
Merge "Make __get_thread inlined."

9 years agoMerge "Implement lookup by DT_SONAME"
Dmitriy Ivanov [Thu, 19 Mar 2015 02:40:30 +0000 (02:40 +0000)]
Merge "Implement lookup by DT_SONAME"

9 years agoMake __get_thread inlined.
Yabin Cui [Wed, 18 Mar 2015 21:14:02 +0000 (14:14 -0700)]
Make __get_thread inlined.

Bug: 19825434

Change-Id: Ifb672a45a5776b83625a25654ed0d6f7fc368ae3

9 years agoImplement lookup by DT_SONAME
Dmitriy Ivanov [Wed, 18 Mar 2015 03:06:36 +0000 (20:06 -0700)]
Implement lookup by DT_SONAME

  This CL also fixes SEARCH_NAME hack and resolves
  https://code.google.com/p/android/issues/detail?id=6670
  once and for all.

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

9 years agoam 6cd7d024: am c6fbbb42: Merge "Hide statfs/fstatfs\' ST_VALID flag from userspace."
Elliott Hughes [Wed, 18 Mar 2015 23:51:15 +0000 (23:51 +0000)]
am 6cd7d024: am c6fbbb42: Merge "Hide statfs/fstatfs\' ST_VALID flag from userspace."

* commit '6cd7d02478588069c964ca6c783fa458a718abe7':
  Hide statfs/fstatfs' ST_VALID flag from userspace.

9 years agoam 10d70143: am 0cf2657b: Merge "Fix library lookup for filenames with slash."
Dmitriy Ivanov [Wed, 18 Mar 2015 23:50:18 +0000 (23:50 +0000)]
am 10d70143: am 0cf2657b: Merge "Fix library lookup for filenames with slash."

* commit '10d70143eac283bf5206d1b6e48170dbd83882c8':
  Fix library lookup for filenames with slash.

9 years agoam c6fbbb42: Merge "Hide statfs/fstatfs\' ST_VALID flag from userspace."
Elliott Hughes [Wed, 18 Mar 2015 23:22:56 +0000 (23:22 +0000)]
am c6fbbb42: Merge "Hide statfs/fstatfs\' ST_VALID flag from userspace."

* commit 'c6fbbb42e69bef4f058d0cbfaaaf3cbf51f95694':
  Hide statfs/fstatfs' ST_VALID flag from userspace.

9 years agoMerge "Hide statfs/fstatfs' ST_VALID flag from userspace."
Elliott Hughes [Wed, 18 Mar 2015 23:11:51 +0000 (23:11 +0000)]
Merge "Hide statfs/fstatfs' ST_VALID flag from userspace."

9 years agoHide statfs/fstatfs' ST_VALID flag from userspace.
Elliott Hughes [Wed, 18 Mar 2015 22:46:48 +0000 (15:46 -0700)]
Hide statfs/fstatfs' ST_VALID flag from userspace.

Spotted while debugging the strace 4.10 upgrade.

Change-Id: I1af1be9c9440151f55f74a835e1df71529b0e4fe

9 years agoam 0cf2657b: Merge "Fix library lookup for filenames with slash."
Dmitriy Ivanov [Wed, 18 Mar 2015 22:22:59 +0000 (22:22 +0000)]
am 0cf2657b: Merge "Fix library lookup for filenames with slash."

* commit '0cf2657bc25242c097d42346d17eaae4107b1d55':
  Fix library lookup for filenames with slash.

9 years agoMerge "Fix library lookup for filenames with slash."
Dmitriy Ivanov [Wed, 18 Mar 2015 22:09:07 +0000 (22:09 +0000)]
Merge "Fix library lookup for filenames with slash."

9 years agoam 02f528f3: am c0eaa732: Merge "Support loading shared libraries from zip files"
Dimitry Ivanov [Wed, 18 Mar 2015 17:46:15 +0000 (17:46 +0000)]
am 02f528f3: am c0eaa732: Merge "Support loading shared libraries from zip files"

* commit '02f528f3adeaf1227d178e426fca7482e85866af':
  Support loading shared libraries from zip files