OSDN Git Service

android-x86/bionic.git
7 years agoRevert "Revert "move android_ids into bionic"" am: 3f6eee9793 am: 45be5dfe98
Elliott Hughes [Tue, 10 Jan 2017 01:33:26 +0000 (01:33 +0000)]
Revert "Revert "move android_ids into bionic"" am: 3f6eee9793 am: 45be5dfe98
am: 80a477c4ea

Change-Id: I18423a5339e7d53c38555e1cedbf9dea09b59f55

7 years agoRevert "Revert "move android_ids into bionic"" am: 3f6eee9793
Elliott Hughes [Tue, 10 Jan 2017 01:27:57 +0000 (01:27 +0000)]
Revert "Revert "move android_ids into bionic"" am: 3f6eee9793
am: 45be5dfe98

Change-Id: I56b1f2a8c10310d4ac54b0cb8a18951be6ef8bba

7 years agoRevert "Revert "move android_ids into bionic""
Elliott Hughes [Tue, 10 Jan 2017 01:23:26 +0000 (01:23 +0000)]
Revert "Revert "move android_ids into bionic""
am: 3f6eee9793

Change-Id: I6a65710f926a76e48705fa4594f479f5d48df068

7 years agoMerge "Dynamic linker errors should go to stderr." am: 74e1fe1cc0 am: 01a8e5bce3
Elliott Hughes [Tue, 10 Jan 2017 00:58:21 +0000 (00:58 +0000)]
Merge "Dynamic linker errors should go to stderr." am: 74e1fe1cc0 am: 01a8e5bce3
am: 59b02d10d0

Change-Id: Ied8eca677494ffdb84f10a2dd6becd1d0b36c789

7 years agoMerge "Dynamic linker errors should go to stderr." am: 74e1fe1cc0
Elliott Hughes [Tue, 10 Jan 2017 00:53:50 +0000 (00:53 +0000)]
Merge "Dynamic linker errors should go to stderr." am: 74e1fe1cc0
am: 01a8e5bce3

Change-Id: Id029e9db75957d9d8572915f6122e81c5ac2bebb

7 years agoMerge "Dynamic linker errors should go to stderr."
Elliott Hughes [Tue, 10 Jan 2017 00:48:20 +0000 (00:48 +0000)]
Merge "Dynamic linker errors should go to stderr."
am: 74e1fe1cc0

Change-Id: I045e0116e73a69989e80d8bd281d38ee6c5112b9

7 years agoMerge "Dynamic linker errors should go to stderr."
Elliott Hughes [Tue, 10 Jan 2017 00:43:38 +0000 (00:43 +0000)]
Merge "Dynamic linker errors should go to stderr."

7 years agoDynamic linker errors should go to stderr.
Elliott Hughes [Mon, 9 Jan 2017 22:39:44 +0000 (14:39 -0800)]
Dynamic linker errors should go to stderr.

Also add the missing \n to the end of the error.

Addresses review comment.

Bug: N/A
Test: manual
Change-Id: I7c997a71e6e02381d21ac762595ba90370db9d05

7 years agoMerge "Exit rather than abort if asked to run a non-PIE executable." am: 71952ef625...
Elliott Hughes [Mon, 9 Jan 2017 22:43:13 +0000 (22:43 +0000)]
Merge "Exit rather than abort if asked to run a non-PIE executable." am: 71952ef625 am: 87e114bb7f
am: c66afc5adf

Change-Id: I7069c4677b114255ba1282267d7ff192a1618eea

7 years agoMerge "Exit rather than abort if asked to run a non-PIE executable." am: 71952ef625
Elliott Hughes [Mon, 9 Jan 2017 22:38:12 +0000 (22:38 +0000)]
Merge "Exit rather than abort if asked to run a non-PIE executable." am: 71952ef625
am: 87e114bb7f

Change-Id: Id3ea80a163a9000073ab6a1d74ca675f3078d7c7

7 years agoMerge "Exit rather than abort if asked to run a non-PIE executable."
Elliott Hughes [Mon, 9 Jan 2017 22:33:13 +0000 (22:33 +0000)]
Merge "Exit rather than abort if asked to run a non-PIE executable."
am: 71952ef625

Change-Id: Ibb2940eef382fabce0c2c5252fe962c145f5be95

7 years agoMerge "Exit rather than abort if asked to run a non-PIE executable."
Elliott Hughes [Mon, 9 Jan 2017 22:26:34 +0000 (22:26 +0000)]
Merge "Exit rather than abort if asked to run a non-PIE executable."

7 years agoMerge "Move to .md files for even trivial documentation." am: 39b6d59049 am: f561edeade
Elliott Hughes [Mon, 9 Jan 2017 21:40:39 +0000 (21:40 +0000)]
Merge "Move to .md files for even trivial documentation." am: 39b6d59049 am: f561edeade
am: 7b1b019a71

Change-Id: I454aa731c4a79f57d1fa5618881066befb1789ac

7 years agoMerge "Move to .md files for even trivial documentation." am: 39b6d59049
Elliott Hughes [Mon, 9 Jan 2017 21:35:39 +0000 (21:35 +0000)]
Merge "Move to .md files for even trivial documentation." am: 39b6d59049
am: f561edeade

Change-Id: If984fd9b2ea3d66b871b484314e79a6994ca5d6a

7 years agoMerge "Move to .md files for even trivial documentation."
Elliott Hughes [Mon, 9 Jan 2017 21:30:38 +0000 (21:30 +0000)]
Merge "Move to .md files for even trivial documentation."
am: 39b6d59049

Change-Id: Ia1950ac9cf0eaa9ca19904ae54d2903471e77626

7 years agoMerge "Move to .md files for even trivial documentation."
Elliott Hughes [Mon, 9 Jan 2017 21:23:00 +0000 (21:23 +0000)]
Merge "Move to .md files for even trivial documentation."

7 years agoMove to .md files for even trivial documentation.
Elliott Hughes [Sat, 7 Jan 2017 20:47:28 +0000 (12:47 -0800)]
Move to .md files for even trivial documentation.

So it's automatically displayed for folks browsing the source.

Bug: N/A
Test: N/A
Change-Id: I80e823415f1fb12ad8ce5348e926519b6e29580f

7 years agoExit rather than abort if asked to run a non-PIE executable.
Elliott Hughes [Sat, 7 Jan 2017 18:38:20 +0000 (10:38 -0800)]
Exit rather than abort if asked to run a non-PIE executable.

Each release we're asked to investigate tombstones from code that hasn't
been allowed to run on Android since L. This is just wasting our time,
and clearly the "obviousness" of aborting rather than exiting hasn't ensured
that all app developers rebuild their old binaries. In some cases it seems
like they run them "just in case" and don't care if they fail.

Bug: http://b/34112178
Test: ran libsupervisor.so from com.ss.android.article.news
Change-Id: I8a3f196c4755601a3888281566fbb7b817f01dca

7 years agoMerge "Fix bionic-unit-tests-static crash" am: 500b9be411 am: 1cfb85c199
Dimitry Ivanov [Sat, 7 Jan 2017 04:11:46 +0000 (04:11 +0000)]
Merge "Fix bionic-unit-tests-static crash" am: 500b9be411 am: 1cfb85c199
am: fe0a303a5a

Change-Id: I873f269dab7db1593c59a3a2da52b2ec873cdd52

7 years agoMerge "Fix bionic-unit-tests-static crash" am: 500b9be411
Dimitry Ivanov [Sat, 7 Jan 2017 04:07:15 +0000 (04:07 +0000)]
Merge "Fix bionic-unit-tests-static crash" am: 500b9be411
am: 1cfb85c199

Change-Id: Ic62ae01cc75b804ae3e04fbfd125dde9c536100f

7 years agoMerge "Fix bionic-unit-tests-static crash"
Dimitry Ivanov [Sat, 7 Jan 2017 04:03:15 +0000 (04:03 +0000)]
Merge "Fix bionic-unit-tests-static crash"
am: 500b9be411

Change-Id: I98d7587228db28d920354f925b0d20e3734838df

7 years agoMerge "Fix bionic-unit-tests-static crash"
Treehugger Robot [Sat, 7 Jan 2017 03:59:14 +0000 (03:59 +0000)]
Merge "Fix bionic-unit-tests-static crash"

7 years agoFix bionic-unit-tests-static crash
Dimitry Ivanov [Fri, 6 Jan 2017 22:49:57 +0000 (14:49 -0800)]
Fix bionic-unit-tests-static crash

The crash happens because for static executables call to dlopen
results in crash. This change moves dlopen() == nullptr check
from static variable to a functions so that the dlopen crash only
affects tests calling dlopen but not the whole executable.

Also make static tests report crashes to debugerd

Test: run bionic-unit-tests-static (for arm 32 and 64)
Bug: http://b/34129417
Change-Id: I7c4d8caf2a43250234fe24496b1c95eab572769f

7 years agoMerge "Make /dev/__properties__ 0711" am: 11798bcc35 am: 7d7e4a6955
Nick Kralevich [Fri, 6 Jan 2017 22:07:21 +0000 (22:07 +0000)]
Merge "Make /dev/__properties__ 0711" am: 11798bcc35 am: 7d7e4a6955
am: 0354990de8

Change-Id: I0361b1ab4f35dc94961a0ce1b161788f9d3e393c

7 years agoMerge "Make /dev/__properties__ 0711" am: 11798bcc35
Nick Kralevich [Fri, 6 Jan 2017 22:03:21 +0000 (22:03 +0000)]
Merge "Make /dev/__properties__ 0711" am: 11798bcc35
am: 7d7e4a6955

Change-Id: I417801d251da1d8740cc70a0f9142de7ca98a829

7 years agoMerge "Make /dev/__properties__ 0711"
Nick Kralevich [Fri, 6 Jan 2017 21:59:19 +0000 (21:59 +0000)]
Merge "Make /dev/__properties__ 0711"
am: 11798bcc35

Change-Id: I4c418dd0567013b003541977f5b2f97a35ac29e3

7 years agoMerge "Make /dev/__properties__ 0711"
Treehugger Robot [Fri, 6 Jan 2017 21:53:05 +0000 (21:53 +0000)]
Merge "Make /dev/__properties__ 0711"

7 years agoMake /dev/__properties__ 0711
Nick Kralevich [Fri, 6 Jan 2017 20:04:29 +0000 (12:04 -0800)]
Make /dev/__properties__ 0711

Don't allow processes to read the contents of the directory
/dev/__properties__. This is an implementation detail of the properties
system that processes shouldn't be concerned with.

Test: Device boots and no problems reading individual properties.
Test: ls -la /dev/__properties__ fails
Change-Id: I00130fe4529525935654bff91e3cc59253b86e26

7 years agoMerge "Add declaration of tgkill to signal.h." am: d26267b8b9 am: f3847eb2d7
Josh Gao [Fri, 6 Jan 2017 00:58:15 +0000 (00:58 +0000)]
Merge "Add declaration of tgkill to signal.h." am: d26267b8b9 am: f3847eb2d7
am: 07739bb921

Change-Id: Ib47977ae856836d94ab2a8edc41606108b602d3f

7 years agoMerge "Add declaration of tgkill to signal.h." am: d26267b8b9
Josh Gao [Fri, 6 Jan 2017 00:54:13 +0000 (00:54 +0000)]
Merge "Add declaration of tgkill to signal.h." am: d26267b8b9
am: f3847eb2d7

Change-Id: I334c6731594b92788fb6045107b34bc4a7182b68

7 years agoMerge "Add declaration of tgkill to signal.h."
Josh Gao [Fri, 6 Jan 2017 00:50:46 +0000 (00:50 +0000)]
Merge "Add declaration of tgkill to signal.h."
am: d26267b8b9

Change-Id: I398886a42d4d3d72b430159ac9c6dcaee5e26d09

7 years agoMerge "Add declaration of tgkill to signal.h."
Treehugger Robot [Fri, 6 Jan 2017 00:44:17 +0000 (00:44 +0000)]
Merge "Add declaration of tgkill to signal.h."

7 years agoAdd declaration of tgkill to signal.h.
Josh Gao [Thu, 5 Jan 2017 21:22:26 +0000 (13:22 -0800)]
Add declaration of tgkill to signal.h.

Expose a useful function that we've had since Jelly Bean.

Bug: http://b/34111810
Test: TreeHugger
Change-Id: Iaf3097f224c09b533f36050cf21394ba148007ad

7 years agoMerge "Downgrade dynamic section checks to warning" am: fb07c36bc0 am: 131e51ad82
Dimitry Ivanov [Tue, 3 Jan 2017 18:28:44 +0000 (18:28 +0000)]
Merge "Downgrade dynamic section checks to warning" am: fb07c36bc0 am: 131e51ad82
am: 8678a3ae2f

Change-Id: Ic4aebc13c1bbae2ec35f83c2e9adbc2047bd8998

7 years agoMerge "Downgrade dynamic section checks to warning" am: fb07c36bc0
Dimitry Ivanov [Tue, 3 Jan 2017 18:20:14 +0000 (18:20 +0000)]
Merge "Downgrade dynamic section checks to warning" am: fb07c36bc0
am: 131e51ad82

Change-Id: If0204cc1cf335d8d2b9e4c975fccb71aae42bb3d

7 years agoMerge "Downgrade dynamic section checks to warning"
Dimitry Ivanov [Tue, 3 Jan 2017 18:12:14 +0000 (18:12 +0000)]
Merge "Downgrade dynamic section checks to warning"
am: fb07c36bc0

Change-Id: I84efe43a93ae0689492ddf229c52e6710e00bc4a

7 years agoMerge "Downgrade dynamic section checks to warning"
Dimitry Ivanov [Tue, 3 Jan 2017 18:03:04 +0000 (18:03 +0000)]
Merge "Downgrade dynamic section checks to warning"

7 years agoDowngrade dynamic section checks to warning
Dimitry Ivanov [Thu, 29 Dec 2016 00:21:49 +0000 (16:21 -0800)]
Downgrade dynamic section checks to warning

For apps targeting pre-O releases print warn about
invalid dynamic section.

Bug: http://b/33842263
Test: Start an app in question and check logs for warning.
Test: Run bionic-unit-test --gtest_filter=dl*:Dl*
Change-Id: I80bd51f2133b956fc04e20a6538cccd50118c1b8

7 years agoMerge "versioner: start using C++17." am: c816e9fa03 am: 73c9ecd00d
Josh Gao [Fri, 16 Dec 2016 22:42:28 +0000 (22:42 +0000)]
Merge "versioner: start using C++17." am: c816e9fa03 am: 73c9ecd00d
am: 4547b6c62f

Change-Id: I127adbd5e086cd6c3b37f492cdfcb587d6902e5b

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 am: ce7c613609
Jeff Sharkey [Thu, 15 Dec 2016 23:31:05 +0000 (23:31 +0000)]
Merge "Define range of GIDs for cached app data." am: 54891837a0 am: ce7c613609
am: 3ef6bb6ff1

Change-Id: I08225c7054e23e715d199441b2a542bcad6dae0a

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

Change-Id: I66de5b6ba8a2db0678b0c182280b5473acd363b4

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 agoMerge "Add test for elf-hash and packed relocations" am: 59dd61573f am: 488eac109b
Dimitry Ivanov [Thu, 15 Dec 2016 18:49:42 +0000 (18:49 +0000)]
Merge "Add test for elf-hash and packed relocations" am: 59dd61573f am: 488eac109b
am: e66f6b8803

Change-Id: I5fea184c15d9876f6e43f1c37dbd958a9f1664a5

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

Change-Id: I9ca795a81639ea0f070ec3a57a60a89a954c910c

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:38:35 +0000 (06:38 +0000)]
Merge "Make the __stack_chk_fail message more searchable on the internets." am: a1d32f95c3 am: 153ebb4557
am: e0bbb4882c

Change-Id: Icb691210845eb9682b5ee6148c9de6ebd507dd9a

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 am: 9d0e1eca71
Dimitry Ivanov [Thu, 15 Dec 2016 00:25:09 +0000 (00:25 +0000)]
Merge "Document bionic loader logging properties" am: a7aac1bf9a am: 9d0e1eca71
am: e1a4f26a0e

Change-Id: Ic15cdeb65cfbbec2c93fce84218d49fc184be34f

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 am: 0f5e653e92
Dimitry Ivanov [Wed, 14 Dec 2016 23:55:36 +0000 (23:55 +0000)]
Merge "Add a way to track all dlsym calls (contd.)" am: 70e3f0c3bf am: 0f5e653e92
am: 98b5115e46

Change-Id: I78d057bd4ec09181c7701e1a9ade538353377069

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 am: 58646b53b7
Elliott Hughes [Wed, 14 Dec 2016 22:21:31 +0000 (22:21 +0000)]
Merge "Fix an obsolete comment." am: 1adb683447 am: 58646b53b7
am: 1c07ca873a

Change-Id: I9f73cdba7a4929014221b958b00a65f39505d717

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 am: 72f259ac6f
Elliott Hughes [Wed, 14 Dec 2016 16:51:38 +0000 (16:51 +0000)]
Merge "Update socket constants." am: cb0134d96e am: 72f259ac6f
am: 17217b8eec

Change-Id: I95c7db72441fbd1c8f2ba586ad0b88fb1cdd904f

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 am: 3ec2701f0c
Christopher Ferris [Wed, 14 Dec 2016 00:00:16 +0000 (00:00 +0000)]
Merge "Update to kernel headers v4.8.14." am: f27e97956d am: 3ec2701f0c
am: 5fbb15f71c

Change-Id: I3de266475731731387df2ad251a96f4470cce63c

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 agoRevert "Revert "move android_ids into bionic""
Elliott Hughes [Tue, 13 Dec 2016 23:47:25 +0000 (23:47 +0000)]
Revert "Revert "move android_ids into bionic""

This reverts commit 77cb68d9f2621639ec7f4e1b124ceeee5c80a66a.

Change-Id: Ibc9f775c4cd418be90fd8a6f192dd72ca5dff09a

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 agoMerge "libc: ARM64: update memset/strlen/memcpy/memmove to newlib/cortex-strings...
Christopher Ferris [Tue, 13 Dec 2016 23:34:11 +0000 (23:34 +0000)]
Merge "libc: ARM64: update memset/strlen/memcpy/memmove to newlib/cortex-strings" am: 8b3e812684 am: 24dae7f57c
am: 19dfe0b4ba

Change-Id: Iec563ee82a6af49b4ff2bc7be331c465ecd0004d

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 "Remove BSD cruft from <pwd.h>." am: 9438a648eb am: 6890799937
Elliott Hughes [Tue, 13 Dec 2016 23:15:20 +0000 (23:15 +0000)]
Merge "Remove BSD cruft from <pwd.h>." am: 9438a648eb am: 6890799937
am: 211a4e9496

Change-Id: I47bcf464a65d91016f278b6247e742404ccaad38

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

Change-Id: I6ee6d93ff018afb71e04d0a8583d8efde98d6c0b

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