OSDN Git Service

android-x86/bionic.git
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 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 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

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

* commit 'c0eaa732844a8397d40a7ec82641f709e4b47a61':
  Support loading shared libraries from zip files

9 years agoFix library lookup for filenames with slash.
Dmitriy Ivanov [Wed, 18 Mar 2015 00:12:18 +0000 (17:12 -0700)]
Fix library lookup for filenames with slash.

  If filename contains a slash, then it is interpreted
  as a (relative or absolute) pathname.

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

9 years agoMerge "Support loading shared libraries from zip files"
Dimitry Ivanov [Wed, 18 Mar 2015 17:25:32 +0000 (17:25 +0000)]
Merge "Support loading shared libraries from zip files"

9 years agoam 46950420: am ab12dc70: Merge "Fix _PATH_DEFPATH to correspond to the actual defaul...
Elliott Hughes [Wed, 18 Mar 2015 10:58:19 +0000 (10:58 +0000)]
am 46950420: am ab12dc70: Merge "Fix _PATH_DEFPATH to correspond to the actual default path."

* commit '469504209489350a4cbf5a9018e74af367aa3acf':
  Fix _PATH_DEFPATH to correspond to the actual default path.

9 years agoam 45c4ef3c: am b380b7d7: Merge "set errno to ENOENT in getauxval per glibc 2.19"
Elliott Hughes [Wed, 18 Mar 2015 10:58:18 +0000 (10:58 +0000)]
am 45c4ef3c: am b380b7d7: Merge "set errno to ENOENT in getauxval per glibc 2.19"

* commit '45c4ef3cde5529bdaac41ad1f30ca3180361e060':
  set errno to ENOENT in getauxval per glibc 2.19

9 years agoam ab12dc70: Merge "Fix _PATH_DEFPATH to correspond to the actual default path."
Elliott Hughes [Wed, 18 Mar 2015 01:24:59 +0000 (01:24 +0000)]
am ab12dc70: Merge "Fix _PATH_DEFPATH to correspond to the actual default path."

* commit 'ab12dc70f3ef551c490dcfede76033e57ceee64d':
  Fix _PATH_DEFPATH to correspond to the actual default path.

9 years agoam b380b7d7: Merge "set errno to ENOENT in getauxval per glibc 2.19"
Elliott Hughes [Wed, 18 Mar 2015 01:18:01 +0000 (01:18 +0000)]
am b380b7d7: Merge "set errno to ENOENT in getauxval per glibc 2.19"

* commit 'b380b7d78cf4dbd034f51fcf7fc8ebdb037330c3':
  set errno to ENOENT in getauxval per glibc 2.19

9 years agoMerge "Fix _PATH_DEFPATH to correspond to the actual default path."
Elliott Hughes [Wed, 18 Mar 2015 01:15:04 +0000 (01:15 +0000)]
Merge "Fix _PATH_DEFPATH to correspond to the actual default path."

9 years agoMerge "set errno to ENOENT in getauxval per glibc 2.19"
Elliott Hughes [Wed, 18 Mar 2015 01:05:23 +0000 (01:05 +0000)]
Merge "set errno to ENOENT in getauxval per glibc 2.19"

9 years agoFix _PATH_DEFPATH to correspond to the actual default path.
Elliott Hughes [Wed, 18 Mar 2015 00:34:14 +0000 (17:34 -0700)]
Fix _PATH_DEFPATH to correspond to the actual default path.

This is currently set in init.rc, but I plan on making init
set PATH to _PATH_DEFPATH and removing the line from init.rc...

Bug: 19564110
Change-Id: Ifa7226a3a5a90d141a788d7d6b1ae86245674218

9 years agoset errno to ENOENT in getauxval per glibc 2.19
Daniel Micay [Mon, 16 Mar 2015 01:39:25 +0000 (21:39 -0400)]
set errno to ENOENT in getauxval per glibc 2.19

Bionic's getauxval(...) implementation returns zero when entries are
missing. Zero can be a valid value, so there is no unambiguous way of
detecting an error. Since glibc 2.19, errno is set to ENOENT when an
entry is missing to make it possible to detect this. Bionic should match
this behavior as code in the Linux ecosystem will start relying on it to
check for the presence of newly added entries.

Change-Id: Ic1efe29bc45fc87489274c96c4d2193f3a7b8854
Signed-off-by: Daniel Micay <danielmicay@gmail.com>
9 years agoam b1d1d0cc: am d917b20b: Merge "Change name of rwlock benchmark."
Yabin Cui [Tue, 17 Mar 2015 21:40:53 +0000 (21:40 +0000)]
am b1d1d0cc: am d917b20b: Merge "Change name of rwlock benchmark."

* commit 'b1d1d0cc5ba060a292907503e42a40dc158b156d':
  Change name of rwlock benchmark.

9 years agoam d917b20b: Merge "Change name of rwlock benchmark."
Yabin Cui [Tue, 17 Mar 2015 21:33:33 +0000 (21:33 +0000)]
am d917b20b: Merge "Change name of rwlock benchmark."

* commit 'd917b20b613fd51e5f1056c8648fe8769ae8161e':
  Change name of rwlock benchmark.

9 years agoMerge "Change name of rwlock benchmark."
Yabin Cui [Tue, 17 Mar 2015 21:20:52 +0000 (21:20 +0000)]
Merge "Change name of rwlock benchmark."

9 years agoChange name of rwlock benchmark.
Yabin Cui [Tue, 17 Mar 2015 18:19:07 +0000 (11:19 -0700)]
Change name of rwlock benchmark.

rw_lock is not easy for me to remember, so I prefer changing it to rwlock.

Change-Id: I0784acaca0c3b46c28184a77eb29ffe696f9ea07

9 years agoam 46f9b3e7: am a75771e3: Merge "Fix build: pthread_mutex/pthread_detach."
Yabin Cui [Tue, 17 Mar 2015 19:07:03 +0000 (19:07 +0000)]
am 46f9b3e7: am a75771e3: Merge "Fix build: pthread_mutex/pthread_detach."

* commit '46f9b3e7662d946d775d30dbe91828e4cb935af5':
  Fix build: pthread_mutex/pthread_detach.

9 years agoam f7dbefb0: am 94babaee: Merge "Make pthread join_state not protected by g_thread_li...
Yabin Cui [Tue, 17 Mar 2015 19:06:48 +0000 (19:06 +0000)]
am f7dbefb0: am 94babaee: Merge "Make pthread join_state not protected by g_thread_list_lock."

* commit 'f7dbefb08f974a368d19b482997570e375f2bf84':
  Make pthread join_state not protected by g_thread_list_lock.

9 years agoam ca7ac7d3: am 5490bebd: Merge "Remove duplication in pthread_mutex.cpp."
Yabin Cui [Tue, 17 Mar 2015 19:06:46 +0000 (19:06 +0000)]
am ca7ac7d3: am 5490bebd: Merge "Remove duplication in pthread_mutex.cpp."

* commit 'ca7ac7d36a3f7f31d65d1a4740f95f43de7ab1e4':
  Remove duplication in pthread_mutex.cpp.

9 years agoam a75771e3: Merge "Fix build: pthread_mutex/pthread_detach."
Yabin Cui [Tue, 17 Mar 2015 18:52:13 +0000 (18:52 +0000)]
am a75771e3: Merge "Fix build: pthread_mutex/pthread_detach."

* commit 'a75771e3ab429fae2f9af770416150733264a281':
  Fix build: pthread_mutex/pthread_detach.

9 years agoMerge "Fix build: pthread_mutex/pthread_detach."
Yabin Cui [Tue, 17 Mar 2015 18:40:38 +0000 (18:40 +0000)]
Merge "Fix build: pthread_mutex/pthread_detach."

9 years agoFix build: pthread_mutex/pthread_detach.
Yabin Cui [Tue, 17 Mar 2015 18:34:57 +0000 (11:34 -0700)]
Fix build: pthread_mutex/pthread_detach.

Change-Id: I9c7b6297d3bf3ab8004d05d44cc4c95159315c9e

9 years agoam 94babaee: Merge "Make pthread join_state not protected by g_thread_list_lock."
Yabin Cui [Tue, 17 Mar 2015 18:21:49 +0000 (18:21 +0000)]
am 94babaee: Merge "Make pthread join_state not protected by g_thread_list_lock."

* commit '94babaee1b6598b15bd807461055d4dcaaa52f10':
  Make pthread join_state not protected by g_thread_list_lock.

9 years agoam 5490bebd: Merge "Remove duplication in pthread_mutex.cpp."
Yabin Cui [Tue, 17 Mar 2015 18:21:48 +0000 (18:21 +0000)]
am 5490bebd: Merge "Remove duplication in pthread_mutex.cpp."

* commit '5490bebd7cdd4406780358f590391b75ab8a7d84':
  Remove duplication in pthread_mutex.cpp.

9 years agoMerge "Make pthread join_state not protected by g_thread_list_lock."
Yabin Cui [Tue, 17 Mar 2015 18:12:58 +0000 (18:12 +0000)]
Merge "Make pthread join_state not protected by g_thread_list_lock."