OSDN Git Service

android-x86/bionic.git
7 years agoMerge "versioner: start using C++17." am: c816e9fa03
Josh Gao [Fri, 16 Dec 2016 22:34:27 +0000 (22:34 +0000)]
Merge "versioner: start using C++17." am: c816e9fa03
am: 73c9ecd00d

Change-Id: Ieee9af909db86141030204dff09e780e56be7a00

7 years agoMerge "versioner: start using C++17."
Josh Gao [Fri, 16 Dec 2016 22:25:27 +0000 (22:25 +0000)]
Merge "versioner: start using C++17."
am: c816e9fa03

Change-Id: Ie148482169ab9cfae841a94b95b8266c520a45e6

7 years agoMerge "versioner: start using C++17."
Josh Gao [Fri, 16 Dec 2016 22:12:36 +0000 (22:12 +0000)]
Merge "versioner: start using C++17."

7 years agoMerge "Define range of GIDs for cached app data." am: 54891837a0
Jeff Sharkey [Thu, 15 Dec 2016 23:14:36 +0000 (23:14 +0000)]
Merge "Define range of GIDs for cached app data." am: 54891837a0
am: ce7c613609

Change-Id: I564b6d18344325ff1e801590790d3813de269ad4

7 years agoMerge "Convert versioner to Android.bp" am: f7e793ef7f
Colin Cross [Thu, 15 Dec 2016 23:14:19 +0000 (23:14 +0000)]
Merge "Convert versioner to Android.bp" am: f7e793ef7f
am: b508d37936

Change-Id: I257060f1bb6c5e97bb92ce7db3291e9e7321807d

7 years agoversioner: start using C++17.
Josh Gao [Thu, 15 Dec 2016 21:56:00 +0000 (13:56 -0800)]
versioner: start using C++17.

Bug: None
Test: python run_tests.py
Change-Id: I10101d26b7816a83445f25b33b97ed47d42fd135

7 years agoMerge "Define range of GIDs for cached app data."
Jeff Sharkey [Thu, 15 Dec 2016 21:52:00 +0000 (21:52 +0000)]
Merge "Define range of GIDs for cached app data."
am: 54891837a0

Change-Id: I950bcf47451a474f89371d8124e833f0a4feea40

7 years agoMerge "Define range of GIDs for cached app data."
Jeff Sharkey [Thu, 15 Dec 2016 21:46:30 +0000 (21:46 +0000)]
Merge "Define range of GIDs for cached app data."

7 years agoMerge "Convert versioner to Android.bp"
Colin Cross [Thu, 15 Dec 2016 21:22:57 +0000 (21:22 +0000)]
Merge "Convert versioner to Android.bp"
am: f7e793ef7f

Change-Id: I769e872a36fad4f47b2be026bed740e0330e67b4

7 years agoMerge "Convert versioner to Android.bp"
Treehugger Robot [Thu, 15 Dec 2016 21:16:04 +0000 (21:16 +0000)]
Merge "Convert versioner to Android.bp"

7 years agoConvert versioner to Android.bp
Colin Cross [Wed, 7 Dec 2016 19:24:06 +0000 (11:24 -0800)]
Convert versioner to Android.bp

See build/soong/README.md for more information.

Test: mma -j
Change-Id: I0e648143ac480c1257d9829f9b9087ee22005855

7 years agoMerge "Add test for elf-hash and packed relocations" am: 59dd61573f
Dimitry Ivanov [Thu, 15 Dec 2016 18:41:43 +0000 (18:41 +0000)]
Merge "Add test for elf-hash and packed relocations" am: 59dd61573f
am: 488eac109b

Change-Id: Id697ca86ba1a62e9163b767578535633b57cafd1

7 years agoMerge "Add test for empty symbol lookup" am: 22ef13ff9d
Dimitry Ivanov [Thu, 15 Dec 2016 18:41:16 +0000 (18:41 +0000)]
Merge "Add test for empty symbol lookup" am: 22ef13ff9d
am: c0c74cb7dd

Change-Id: Ia51b0d333f381996cad50a1223805b4cc80377e2

7 years agoMerge "Add test for elf-hash and packed relocations"
Dimitry Ivanov [Thu, 15 Dec 2016 18:34:11 +0000 (18:34 +0000)]
Merge "Add test for elf-hash and packed relocations"
am: 59dd61573f

Change-Id: I8d5071cbf4de4add626aeecf8b9a08643de63c39

7 years agoMerge "Add test for empty symbol lookup"
Dimitry Ivanov [Thu, 15 Dec 2016 18:33:46 +0000 (18:33 +0000)]
Merge "Add test for empty symbol lookup"
am: 22ef13ff9d

Change-Id: I5c58192b8a06968360f3e54461064e4aa73cc18f

7 years agoMerge "Add test for elf-hash and packed relocations"
Dimitry Ivanov [Thu, 15 Dec 2016 18:27:22 +0000 (18:27 +0000)]
Merge "Add test for elf-hash and packed relocations"

7 years agoMerge "Add test for empty symbol lookup"
Dimitry Ivanov [Thu, 15 Dec 2016 18:26:51 +0000 (18:26 +0000)]
Merge "Add test for empty symbol lookup"

7 years agoMerge "Make the __stack_chk_fail message more searchable on the internets." am: a1d32...
Elliott Hughes [Thu, 15 Dec 2016 06:31:02 +0000 (06:31 +0000)]
Merge "Make the __stack_chk_fail message more searchable on the internets." am: a1d32f95c3
am: 153ebb4557

Change-Id: Ic74ce9166627c15df7792db5c3468844b2c2148f

7 years agoMerge "Make the __stack_chk_fail message more searchable on the internets."
Elliott Hughes [Thu, 15 Dec 2016 06:23:30 +0000 (06:23 +0000)]
Merge "Make the __stack_chk_fail message more searchable on the internets."
am: a1d32f95c3

Change-Id: I46d1bb6c1d8424882d1d89550c3b9d081f4c5ddc

7 years agoMerge "Make the __stack_chk_fail message more searchable on the internets."
Treehugger Robot [Thu, 15 Dec 2016 06:15:41 +0000 (06:15 +0000)]
Merge "Make the __stack_chk_fail message more searchable on the internets."

7 years agoMake the __stack_chk_fail message more searchable on the internets.
Elliott Hughes [Thu, 15 Dec 2016 01:30:07 +0000 (17:30 -0800)]
Make the __stack_chk_fail message more searchable on the internets.

Noticed while writing documentation:

  https://source.android.com/devices/tech/debug/

Bug: http://b/28746168
Test: crasher
Change-Id: Ied1c1b1c75a85a899f07e6927134b9bf91316fe4

7 years agoMerge "Document bionic loader logging properties" am: a7aac1bf9a
Dimitry Ivanov [Thu, 15 Dec 2016 00:17:09 +0000 (00:17 +0000)]
Merge "Document bionic loader logging properties" am: a7aac1bf9a
am: 9d0e1eca71

Change-Id: Iaf344992ceeab852642b32abc3d336f0237ed958

7 years agoMerge "Document bionic loader logging properties"
Dimitry Ivanov [Thu, 15 Dec 2016 00:10:07 +0000 (00:10 +0000)]
Merge "Document bionic loader logging properties"
am: a7aac1bf9a

Change-Id: I6492960b81c7317819bad0f09e94912ab2ba3fb5

7 years agoMerge "Document bionic loader logging properties"
Treehugger Robot [Thu, 15 Dec 2016 00:05:26 +0000 (00:05 +0000)]
Merge "Document bionic loader logging properties"

7 years agoMerge "Add a way to track all dlsym calls (contd.)" am: 70e3f0c3bf
Dimitry Ivanov [Wed, 14 Dec 2016 23:48:06 +0000 (23:48 +0000)]
Merge "Add a way to track all dlsym calls (contd.)" am: 70e3f0c3bf
am: 0f5e653e92

Change-Id: Ib9b88bc1aadc7a56e0b7a8f868c77b03b9acfc66

7 years agoMerge "Add a way to track all dlsym calls (contd.)"
Dimitry Ivanov [Wed, 14 Dec 2016 23:40:35 +0000 (23:40 +0000)]
Merge "Add a way to track all dlsym calls (contd.)"
am: 70e3f0c3bf

Change-Id: Ia577eb8880b14ff1d85a551da2f4bf3f06f92264

7 years agoMerge "Add a way to track all dlsym calls (contd.)"
Treehugger Robot [Wed, 14 Dec 2016 23:30:06 +0000 (23:30 +0000)]
Merge "Add a way to track all dlsym calls (contd.)"

7 years agoAdd test for empty symbol lookup
Dimitry Ivanov [Wed, 14 Dec 2016 23:16:56 +0000 (15:16 -0800)]
Add test for empty symbol lookup

Check that dlsym(handle, "") fails.

Bug: http://b/33530622
Test: bionic-unit-tests --gtest_filter=dlfcn*
Test: bionic-unit-tests-glibc --gtest_filter=dlfcn*
Change-Id: Iae572bd1d9b798be619c5018de2a5450bf37977e

7 years agoDocument bionic loader logging properties
Dimitry Ivanov [Wed, 14 Dec 2016 22:42:44 +0000 (14:42 -0800)]
Document bionic loader logging properties

Bug: http://b/29458203
Test: spellchecker in vim
Change-Id: I81e60a09fa256110d7ab9b530e7821ae66e8f020

7 years agoAdd a way to track all dlsym calls (contd.)
Dimitry Ivanov [Wed, 14 Dec 2016 22:30:37 +0000 (14:30 -0800)]
Add a way to track all dlsym calls (contd.)

The followup for 4742abdcb52f16120016a5005c466230d4c46341

Changes in this file got lost in the process of cherry-picking
the change across repositories.

Bug: http://b/29458203
Test: flash, set debug.ld.all to dlsym and check
      if there are messages in logcat

Change-Id: I4613908e46e75c5d9ec66396767f10fc6d3e9777

7 years agoMerge "Fix an obsolete comment." am: 1adb683447
Elliott Hughes [Wed, 14 Dec 2016 22:07:30 +0000 (22:07 +0000)]
Merge "Fix an obsolete comment." am: 1adb683447
am: 58646b53b7

Change-Id: Ia7254ff57a4f318bb0bed542ed09ba661e153f45

7 years agoMerge "Fix an obsolete comment."
Elliott Hughes [Wed, 14 Dec 2016 22:00:28 +0000 (22:00 +0000)]
Merge "Fix an obsolete comment."
am: 1adb683447

Change-Id: I6c69db6efc68e49ab6936fcd2f1d32e76287ac1a

7 years agoMerge "Fix an obsolete comment."
Elliott Hughes [Wed, 14 Dec 2016 21:50:32 +0000 (21:50 +0000)]
Merge "Fix an obsolete comment."

7 years agoFix an obsolete comment.
Elliott Hughes [Wed, 14 Dec 2016 20:43:30 +0000 (12:43 -0800)]
Fix an obsolete comment.

280236537e06c7accaffabf8fb407f93dd1c834f factored the pthread types out
so that they could be in both <sys/types.h> and <pthread.h>.

Bug: N/A
Test: builds
Change-Id: Ie649c938ec8be1c59a0e4ef777f425550f8d4539

7 years agoAdd test for elf-hash and packed relocations
Dimitry Ivanov [Mon, 21 Nov 2016 20:50:38 +0000 (12:50 -0800)]
Add test for elf-hash and packed relocations

This adds CTS test for system libraries to support
workaround for http://b/24465209: some apps require
a subset of system libs to have elf-hash and not to
use packed relocations.

Bug: http://b/32917341
Bug: http://b/24465209
Test: bionic-unit-tests --gtest_filter=Dl*:dl*
Change-Id: Ia0bc28506b1f1f97d4cf902d73b0769e2815fed3

7 years agoMerge "Update socket constants." am: cb0134d96e
Elliott Hughes [Wed, 14 Dec 2016 16:44:39 +0000 (16:44 +0000)]
Merge "Update socket constants." am: cb0134d96e
am: 72f259ac6f

Change-Id: Ie45ea13d264f876939f95ac76a2bdba1b2331e53

7 years agoMerge "Update socket constants."
Elliott Hughes [Wed, 14 Dec 2016 16:37:38 +0000 (16:37 +0000)]
Merge "Update socket constants."
am: cb0134d96e

Change-Id: Ic98fbc1d9e6ad39492d413d15689cbc9f1dbb77c

7 years agoMerge "Update socket constants."
Elliott Hughes [Wed, 14 Dec 2016 16:28:24 +0000 (16:28 +0000)]
Merge "Update socket constants."

7 years agoMerge "Update to kernel headers v4.8.14." am: f27e97956d
Christopher Ferris [Tue, 13 Dec 2016 23:53:47 +0000 (23:53 +0000)]
Merge "Update to kernel headers v4.8.14." am: f27e97956d
am: 3ec2701f0c

Change-Id: I91e4e095bae01675698e5514c00e19896055c51d

7 years agoMerge "Update to kernel headers v4.8.14."
Christopher Ferris [Tue, 13 Dec 2016 23:47:46 +0000 (23:47 +0000)]
Merge "Update to kernel headers v4.8.14."
am: f27e97956d

Change-Id: Ia857d26c0ed664157d1d1728764ea3c9d68cc64b

7 years agoMerge "Update to kernel headers v4.8.14."
Christopher Ferris [Tue, 13 Dec 2016 23:40:00 +0000 (23:40 +0000)]
Merge "Update to kernel headers v4.8.14."

7 years agoUpdate socket constants.
Elliott Hughes [Tue, 13 Dec 2016 23:29:58 +0000 (15:29 -0800)]
Update socket constants.

This corresponds to Linux 4.10.

Bug: N/A
Test: builds
Change-Id: Ia7135c9fec181613b79726d1b16867133cdefd04

7 years agoMerge "libc: ARM64: update memset/strlen/memcpy/memmove to newlib/cortex-strings...
Christopher Ferris [Tue, 13 Dec 2016 23:27:41 +0000 (23:27 +0000)]
Merge "libc: ARM64: update memset/strlen/memcpy/memmove to newlib/cortex-strings" am: 8b3e812684
am: 24dae7f57c

Change-Id: I556841ceac287f0a02746f23e6a30c436d0143b9

7 years agoMerge "libc: ARM64: update memset/strlen/memcpy/memmove to newlib/cortex-strings"
Christopher Ferris [Tue, 13 Dec 2016 23:21:10 +0000 (23:21 +0000)]
Merge "libc: ARM64: update memset/strlen/memcpy/memmove to newlib/cortex-strings"
am: 8b3e812684

Change-Id: Ib2f1102f7bce8584fcd478d0d3ef1c285ba011ba

7 years agoMerge "libc: ARM64: update memset/strlen/memcpy/memmove to newlib/cortex-strings"
Christopher Ferris [Tue, 13 Dec 2016 23:11:27 +0000 (23:11 +0000)]
Merge "libc: ARM64: update memset/strlen/memcpy/memmove to newlib/cortex-strings"

7 years agoMerge "Remove BSD cruft from <pwd.h>." am: 9438a648eb
Elliott Hughes [Tue, 13 Dec 2016 23:07:51 +0000 (23:07 +0000)]
Merge "Remove BSD cruft from <pwd.h>." am: 9438a648eb
am: 6890799937

Change-Id: Icf01428e52890b3e08694c600242ef4be9097742

7 years agoMerge "Rename <grp.h>/<pwd.h> tests to fit the usual pattern." am: 9f9c73bb2e
Elliott Hughes [Tue, 13 Dec 2016 23:07:39 +0000 (23:07 +0000)]
Merge "Rename <grp.h>/<pwd.h> tests to fit the usual pattern." am: 9f9c73bb2e
am: 0d5910b1f2

Change-Id: I3591a0a325e425cf9d0331047ac9d294638e6def

7 years agoMerge "Remove BSD cruft from <pwd.h>."
Elliott Hughes [Tue, 13 Dec 2016 23:01:51 +0000 (23:01 +0000)]
Merge "Remove BSD cruft from <pwd.h>."
am: 9438a648eb

Change-Id: I6c4ebf91ff7a00c19e929ea8041e7e7275d31647

7 years agoMerge "Rename <grp.h>/<pwd.h> tests to fit the usual pattern."
Elliott Hughes [Tue, 13 Dec 2016 23:01:39 +0000 (23:01 +0000)]
Merge "Rename <grp.h>/<pwd.h> tests to fit the usual pattern."
am: 9f9c73bb2e

Change-Id: I2b79e278fc50938d8f6f0403c74a6fb00de460b1

7 years agoMerge "Remove BSD cruft from <pwd.h>."
Elliott Hughes [Tue, 13 Dec 2016 22:55:05 +0000 (22:55 +0000)]
Merge "Remove BSD cruft from <pwd.h>."

7 years agoMerge "Rename <grp.h>/<pwd.h> tests to fit the usual pattern."
Elliott Hughes [Tue, 13 Dec 2016 22:53:24 +0000 (22:53 +0000)]
Merge "Rename <grp.h>/<pwd.h> tests to fit the usual pattern."

7 years agoDefine range of GIDs for cached app data.
Jeff Sharkey [Tue, 13 Dec 2016 21:03:19 +0000 (14:03 -0700)]
Define range of GIDs for cached app data.

To support upcoming disk usage calculation optimizations, this change
creates a new GID for each app that will be used to mark its cached
data.  We're allocating these unique GIDs so that we can use
quotactl() to track cached data on a per-app basis.

Test: builds, boots, tests pass
Bug: 27948817
Change-Id: Ic00c39ccedc23d5d43988029e9921679126f8f2d

7 years agoMerge "bionic-unit-tests: Build host testlibs in bionic-loader-test-libs" am: 755ecdead5
Kevin Brodsky [Tue, 13 Dec 2016 19:44:26 +0000 (19:44 +0000)]
Merge "bionic-unit-tests: Build host testlibs in bionic-loader-test-libs" am: 755ecdead5
am: 6e56470f77

Change-Id: I18a66f0cf7d2b87dddf711ccb20d16f6a1002253

7 years agoMerge "bionic-unit-tests: Build host testlibs in bionic-loader-test-libs"
Kevin Brodsky [Tue, 13 Dec 2016 19:38:26 +0000 (19:38 +0000)]
Merge "bionic-unit-tests: Build host testlibs in bionic-loader-test-libs"
am: 755ecdead5

Change-Id: I1f593fcd31742260ee0b6adf8076c55310502531

7 years agoMerge "bionic-unit-tests: Build host testlibs in bionic-loader-test-libs"
Treehugger Robot [Tue, 13 Dec 2016 19:32:09 +0000 (19:32 +0000)]
Merge "bionic-unit-tests: Build host testlibs in bionic-loader-test-libs"

7 years agoUpdate to kernel headers v4.8.14.
Christopher Ferris [Mon, 12 Dec 2016 22:55:36 +0000 (14:55 -0800)]
Update to kernel headers v4.8.14.

Test: Built mips/arm/arm64/x86/x86_64. Built and booted angler.
Change-Id: Icedb035769d8a41a170a6f1ecd707113e332d8dd

7 years agoMerge "Add a way to track all dlsym calls" am: f4af73f131
Dimitry Ivanov [Tue, 13 Dec 2016 02:39:59 +0000 (02:39 +0000)]
Merge "Add a way to track all dlsym calls" am: f4af73f131
am: 2ac2d40745

Change-Id: I67560dfb318f687b9ab107c0bd52a54febf2d2b5

7 years agoMerge "Add a way to track all dlsym calls"
Dimitry Ivanov [Tue, 13 Dec 2016 02:33:59 +0000 (02:33 +0000)]
Merge "Add a way to track all dlsym calls"
am: f4af73f131

Change-Id: I030d18ae86e8bcc542ec8fc283810eff8491917d

7 years agoMerge "Add a way to track all dlsym calls"
Treehugger Robot [Tue, 13 Dec 2016 02:25:48 +0000 (02:25 +0000)]
Merge "Add a way to track all dlsym calls"

7 years agoMerge "Repair dlwarning toast" am: 63741d523c
Dimitry Ivanov [Tue, 13 Dec 2016 02:22:29 +0000 (02:22 +0000)]
Merge "Repair dlwarning toast" am: 63741d523c
am: 02855d7be1

Change-Id: I12c2eaab051612bb051d98284021e617b88b44ca

7 years agoMerge "Repair dlwarning toast"
Dimitry Ivanov [Tue, 13 Dec 2016 02:16:28 +0000 (02:16 +0000)]
Merge "Repair dlwarning toast"
am: 63741d523c

Change-Id: Ibddf4f733035d9a7f388dc90efa71025f1539119

7 years agoMerge "Repair dlwarning toast"
Treehugger Robot [Tue, 13 Dec 2016 02:10:50 +0000 (02:10 +0000)]
Merge "Repair dlwarning toast"

7 years agoRename <grp.h>/<pwd.h> tests to fit the usual pattern.
Elliott Hughes [Tue, 13 Dec 2016 01:32:14 +0000 (17:32 -0800)]
Rename <grp.h>/<pwd.h> tests to fit the usual pattern.

Bug: N/A
Test: ran tests
Change-Id: I5ec30cc17f94e631f3376b671055a0e82fb472c3

7 years agoRemove BSD cruft from <pwd.h>.
Elliott Hughes [Tue, 13 Dec 2016 01:31:02 +0000 (17:31 -0800)]
Remove BSD cruft from <pwd.h>.

Other C libraries don't have this, and it doesn't make sense on Android
anyway.

Bug: N/A
Test: builds
Change-Id: Iebc490698d620b5baec5f9a7ad5e1a0a1323d16c

7 years agoMerge "versioner: use unique_ptr to handle ownership of FTS*." am: e54c490503
Josh Gao [Tue, 13 Dec 2016 01:26:25 +0000 (01:26 +0000)]
Merge "versioner: use unique_ptr to handle ownership of FTS*." am: e54c490503
am: 832f4ce02b

Change-Id: I9c20ce5c0543b4d6be3fcc9601b038e17f12dc55

7 years agoMerge "versioner: use unique_ptr to handle ownership of FTS*."
Josh Gao [Tue, 13 Dec 2016 01:20:53 +0000 (01:20 +0000)]
Merge "versioner: use unique_ptr to handle ownership of FTS*."
am: e54c490503

Change-Id: I050613aaf21899b3599d5c609ffa664cb4267738

7 years agoMerge "versioner: use unique_ptr to handle ownership of FTS*."
Josh Gao [Tue, 13 Dec 2016 01:14:09 +0000 (01:14 +0000)]
Merge "versioner: use unique_ptr to handle ownership of FTS*."

7 years agoMerge "Revert "move android_ids into bionic"" am: 50ae6dde5b
Elliott Hughes [Tue, 13 Dec 2016 00:54:39 +0000 (00:54 +0000)]
Merge "Revert "move android_ids into bionic"" am: 50ae6dde5b
am: bd8d8f99ce

Change-Id: Icbd36060c3d7a266e09f204eeae3a1c7f8477f2c

7 years agoRevert "move android_ids into bionic" am: 77cb68d9f2
Elliott Hughes [Tue, 13 Dec 2016 00:52:23 +0000 (00:52 +0000)]
Revert "move android_ids into bionic" am: 77cb68d9f2
am: 75b51ac14e

Change-Id: Iab214bff9b94f6f3f0a3ebc217794d85b5af5164

7 years agoMerge "Revert "move android_ids into bionic""
Elliott Hughes [Tue, 13 Dec 2016 00:46:24 +0000 (00:46 +0000)]
Merge "Revert "move android_ids into bionic""
am: 50ae6dde5b

Change-Id: Ia90b4689c10f3e0944582c853a970766b0dc57f0

7 years agoRevert "move android_ids into bionic"
Elliott Hughes [Tue, 13 Dec 2016 00:42:35 +0000 (00:42 +0000)]
Revert "move android_ids into bionic"
am: 77cb68d9f2

Change-Id: I45d8098e38dd35fdf9b3d270ac4f26c3a7284971

7 years agoAdd a way to track all dlsym calls
Dimitry Ivanov [Tue, 13 Dec 2016 00:30:15 +0000 (16:30 -0800)]
Add a way to track all dlsym calls

Add dlsym option to debug.ld.all and debug.ld.app.<appname> which
enables logging of dlsym calls.

Bug: http://b/29458203
Test: flash, set debug.ld.all to dlsym and check
      if there are messages in logcat

Change-Id: I9cb815a38b5b98aac9ebe3ac1540bcdedd2e8db0

7 years agoMerge "Revert "move android_ids into bionic""
Treehugger Robot [Tue, 13 Dec 2016 00:31:25 +0000 (00:31 +0000)]
Merge "Revert "move android_ids into bionic""

7 years agoRepair dlwarning toast
Dimitry Ivanov [Tue, 13 Dec 2016 00:21:46 +0000 (16:21 -0800)]
Repair dlwarning toast

This was introduced by d9e427cf41893377dcdd0650ba20ff7cf7d72209
where libdl.c android_dlwarning method implementation was
not updated.

This makes it delegate the call to ld-android.so

Bug: http://b/33530622
Test: build, flash and launch test app
Change-Id: I8a379442de94724280638db73e5f7934f2ea394e

7 years agoMerge "Fix gtest_filter of bionic gtest runner." am: 901de13c37
Yabin Cui [Tue, 13 Dec 2016 00:10:51 +0000 (00:10 +0000)]
Merge "Fix gtest_filter of bionic gtest runner." am: 901de13c37
am: ae3abaa8df

Change-Id: I1aae20776a1384f10c89d04d1eb92215fd60b4f3

7 years agoMerge "Fix gtest_filter of bionic gtest runner."
Yabin Cui [Tue, 13 Dec 2016 00:04:19 +0000 (00:04 +0000)]
Merge "Fix gtest_filter of bionic gtest runner."
am: 901de13c37

Change-Id: Id888bfd63032758f1d02cfeb90c67e3e5189d621

7 years agoMerge "Fix gtest_filter of bionic gtest runner."
Yabin Cui [Mon, 12 Dec 2016 23:59:06 +0000 (23:59 +0000)]
Merge "Fix gtest_filter of bionic gtest runner."

7 years agoMerge "Fix android_dlwarning lookup" am: 4cfb13b31a
Dimitry Ivanov [Mon, 12 Dec 2016 22:14:43 +0000 (22:14 +0000)]
Merge "Fix android_dlwarning lookup" am: 4cfb13b31a
am: e620f6840e

Change-Id: If495085f411ead0b6711e892ce064ebc08aea30b

7 years agoRevert "move android_ids into bionic"
Elliott Hughes [Mon, 12 Dec 2016 22:11:37 +0000 (22:11 +0000)]
Revert "move android_ids into bionic"

This reverts commit 1a13db5b2675759316a8529873c5d29831a9ba32.

Change-Id: I7f571b3a9d542694d16fb9cf1131ef9e59d330ea

7 years agoMerge "Fix android_dlwarning lookup"
Dimitry Ivanov [Mon, 12 Dec 2016 22:08:42 +0000 (22:08 +0000)]
Merge "Fix android_dlwarning lookup"
am: 4cfb13b31a

Change-Id: If0557c776e65450724737c81d52cf0a0b48a5df5

7 years agoMerge "Fix android_dlwarning lookup"
Dimitry Ivanov [Mon, 12 Dec 2016 22:02:08 +0000 (22:02 +0000)]
Merge "Fix android_dlwarning lookup"

7 years agoFix gtest_filter of bionic gtest runner.
Yabin Cui [Mon, 12 Dec 2016 21:32:15 +0000 (13:32 -0800)]
Fix gtest_filter of bionic gtest runner.

Bug: http://b/29514723
Test: run bionic-unit-tests --gtest-filter='*grp*'
Change-Id: I45ed561702bd601bae84c8d77824aa5769dbfa9c

7 years agoFix android_dlwarning lookup
Dimitry Ivanov [Mon, 12 Dec 2016 21:11:50 +0000 (13:11 -0800)]
Fix android_dlwarning lookup

Bug: http://b/33530622
Test: mm
Change-Id: I3eefca58e91b7bbc41f6add9b8c756f1474a7f93

7 years agoMerge "Fix the way to find negative filter pattern." am: 858ec7abec
Yabin Cui [Sat, 10 Dec 2016 04:00:37 +0000 (04:00 +0000)]
Merge "Fix the way to find negative filter pattern." am: 858ec7abec
am: 5c726ec432

Change-Id: I2289f948ea8c6dc3d7593f6737dcee512237ae0e

7 years agoMerge "Fix the way to find negative filter pattern."
Yabin Cui [Sat, 10 Dec 2016 03:55:07 +0000 (03:55 +0000)]
Merge "Fix the way to find negative filter pattern."
am: 858ec7abec

Change-Id: Idcd766b1abef6c757cf741d08701e523c364dcd5

7 years agoMerge "Fix the way to find negative filter pattern."
Yabin Cui [Sat, 10 Dec 2016 03:49:16 +0000 (03:49 +0000)]
Merge "Fix the way to find negative filter pattern."

7 years agoMerge "Bionic loader is no longer hijacking libdl.so" am: 50640170c6
Dimitry Ivanov [Sat, 10 Dec 2016 00:50:06 +0000 (00:50 +0000)]
Merge "Bionic loader is no longer hijacking libdl.so" am: 50640170c6
am: eb7ed14c7f

Change-Id: I3661164002ef0c77121f369fbedf0c07ee277f0d

7 years agoMerge "Bionic loader is no longer hijacking libdl.so"
Dimitry Ivanov [Sat, 10 Dec 2016 00:45:03 +0000 (00:45 +0000)]
Merge "Bionic loader is no longer hijacking libdl.so"
am: 50640170c6

Change-Id: I061ae8c99418f42cd50d340a22fa040a028ba252

7 years agoMerge "Bionic loader is no longer hijacking libdl.so"
Treehugger Robot [Sat, 10 Dec 2016 00:37:38 +0000 (00:37 +0000)]
Merge "Bionic loader is no longer hijacking libdl.so"

7 years agoMerge "move android_ids into bionic" am: ded6c91acc
Elliott Hughes [Sat, 10 Dec 2016 00:25:37 +0000 (00:25 +0000)]
Merge "move android_ids into bionic" am: ded6c91acc
am: cfefde8a7a

Change-Id: I45a91a9be2254e0332c27a5eff1081e12d11951d

7 years agomove android_ids into bionic am: 1a13db5b26
William Roberts [Sat, 10 Dec 2016 00:25:33 +0000 (00:25 +0000)]
move android_ids into bionic am: 1a13db5b26
am: f3def87a05

Change-Id: I245c800f5581b193cdfcfa4d88305d9b1b56edd6

7 years agoMerge "move android_ids into bionic"
Elliott Hughes [Sat, 10 Dec 2016 00:21:45 +0000 (00:21 +0000)]
Merge "move android_ids into bionic"
am: ded6c91acc

Change-Id: I6d19e4d2a5809a028eefce787620aca191f83bec

7 years agomove android_ids into bionic
William Roberts [Sat, 10 Dec 2016 00:20:28 +0000 (00:20 +0000)]
move android_ids into bionic
am: 1a13db5b26

Change-Id: I12ac9a338503687fba3c43dcdd8a6c1a74cc99fe

7 years agoMerge "move android_ids into bionic"
Elliott Hughes [Sat, 10 Dec 2016 00:13:04 +0000 (00:13 +0000)]
Merge "move android_ids into bionic"

7 years agoFix the way to find negative filter pattern.
Yabin Cui [Fri, 9 Dec 2016 23:49:09 +0000 (15:49 -0800)]
Fix the way to find negative filter pattern.

Bug: http://b/29514723
Test: run CtsBionicTestCases --gtest_filter=-Fortify2_clang.strncpy --gtest_list_tests
Change-Id: Ia3adec1fc03252adee4aed238b9c88508da17faf

7 years agoBionic loader is no longer hijacking libdl.so
Dimitry Ivanov [Wed, 23 Nov 2016 00:55:25 +0000 (16:55 -0800)]
Bionic loader is no longer hijacking libdl.so

Do not hijack libdl.so methods but make libdl proxy calls to
loader instead. This will be replaces by calls to libc.so
once loader functionality is migrated.

Also add a lock to dl_unwind_find_exidx function call.

Test: bionic-unit-tests --gtest_filter=dl*:Dl*
Bug: http://b/27106625
Change-Id: Ic33a7109a86f4262798d63a35f4c61d15b0068bb

7 years agobionic-unit-tests: Build host testlibs in bionic-loader-test-libs
Kevin Brodsky [Fri, 9 Dec 2016 09:54:42 +0000 (09:54 +0000)]
bionic-unit-tests: Build host testlibs in bionic-loader-test-libs

The target test libs are now all built in
nativetest/bionic-loader-test-libs. However, libs built using
libs/Android.build.testlib.mk are still put in lib/ on the host.

This commit refactors libs/Android.build.testlib*.mk so that all test
libs go into nativetest/bionic-loader-test-libs on the host; nothing
changes on the target. Android.build.mk now understands
*_install_to_native_tests_dir both for host and target builds.

Change-Id: I1022e9bab38bf53036c95fd39b3b240bcb31f23a

7 years agoMerge "Fix icu4c calling on x86." am: 227894a754
Elliott Hughes [Fri, 9 Dec 2016 02:20:38 +0000 (02:20 +0000)]
Merge "Fix icu4c calling on x86." am: 227894a754
am: 5fb3a092d6

Change-Id: I1480a635c68ddd6abde7df5624a08010da49e6d6

7 years agoMerge "Fix icu4c calling on x86."
Elliott Hughes [Fri, 9 Dec 2016 02:15:37 +0000 (02:15 +0000)]
Merge "Fix icu4c calling on x86."
am: 227894a754

Change-Id: I9056c55824c2eeba6ce4cb6119d7c7aaa1973fe3

7 years agoMerge "Fix icu4c calling on x86."
Treehugger Robot [Fri, 9 Dec 2016 02:09:23 +0000 (02:09 +0000)]
Merge "Fix icu4c calling on x86."