aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-13Merge "Snap for 5450365 from dad73ef232034dd0f4f46bda90c74e8727d840cc to ↵pie-gsiAndroid Merger
pi-platform-release am: 245e08f39e" into pie-gsi
2019-05-13Snap for 5450365 from dad73ef232034dd0f4f46bda90c74e8727d840cc to ↵android-build-team Robot
pi-platform-release am: 245e08f39e Change-Id: I4455426bc3f82e9f32d4f79d982f21e8888384f3
2019-05-07Snap for 5450365 from dad73ef232034dd0f4f46bda90c74e8727d840cc to ↵pie-platform-releaseandroid-build-team Robot
pi-platform-release Change-Id: I289817ccda4f870697efe5a044376a43988fad1f
2019-03-08Merge "Snap for 5240760 from 68f7efc044b4ff9813fba79e3e16e5804c4df651 to ↵Android Merger
pi-platform-release am: 1863ecbca3" into pie-gsi
2019-03-08Snap for 5240760 from 68f7efc044b4ff9813fba79e3e16e5804c4df651 to ↵android-build-team Robot
pi-platform-release am: 1863ecbca3 Change-Id: I801bdcd0d9d6016c74e33948dbeceb38cf9378f6
2019-03-08Snap for 5240760 from 68f7efc044b4ff9813fba79e3e16e5804c4df651 to ↵android-build-team Robot
pi-platform-release Change-Id: Iac928067526678a9d70c44466d67cdf477332e64
2019-02-11Merge "Snap for 5180536 from b32be3f072132a2833e5ab963ce4a2592436805f to ↵Android Merger
pi-platform-release am: d307fa248c" into pie-gsi
2019-02-11Snap for 5180536 from b32be3f072132a2833e5ab963ce4a2592436805f to ↵android-build-team Robot
pi-platform-release am: d307fa248c Change-Id: If2aea467c97bf7cd6c9e1fe04607df786c84f9ad
2019-02-09Snap for 5180536 from b32be3f072132a2833e5ab963ce4a2592436805f to ↵android-build-team Robot
pi-platform-release Change-Id: I75a97c71db475898cbe477b3048846574a89f97a
2019-01-17Merge cherrypicks of [6086654] into pi-qpr2-releaseandroid-9.0.0_r35android-9.0.0_r34pie-qpr2-releaseandroid-build-team Robot
Change-Id: I978a6db494532b84be98221b8cf413ca266cab59
2019-01-17Remove some PR_SET_VMAs during pthread_createTim Murray
PR_SET_VMA takes mmap_sem, which can cause contention and reduce performance any time many threads are created at the same time, like app startup. Test: camera launch performance Bug: 122471935 Change-Id: If7fa7ad99654c01d503f694976fd92bfd30d2afd Merged-in: If7fa7ad99654c01d503f694976fd92bfd30d2afd (cherry picked from commit dad73ef232034dd0f4f46bda90c74e8727d840cc)
2019-01-08Remove some PR_SET_VMAs during pthread_createandroid-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r37android-9.0.0_r36pie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-b4s4-devTim Murray
PR_SET_VMA takes mmap_sem, which can cause contention and reduce performance any time many threads are created at the same time, like app startup. Test: camera launch performance Bug: 122471935 Change-Id: If7fa7ad99654c01d503f694976fd92bfd30d2afd Merged-in: If7fa7ad99654c01d503f694976fd92bfd30d2afd
2018-12-07Merge "Merge PQ1A.181205.006 from Pi-QPR1-Release into ToT for Pi-Platform ↵Android Merger
release.\n\nBUG: 120448245 am: 796198ff34" into pie-gsi
2018-12-06Merge PQ1A.181205.006 from Pi-QPR1-Release into ToT for Pi-Platform ↵Bill Rassieur
release.\n\nBUG: 120448245 am: 796198ff34 Change-Id: Ic96cc9c6d4df334f3ea79deda82d2bd7f643ea16
2018-12-04Merge PQ1A.181205.006 from Pi-QPR1-Release into ToT for Pi-Platform ↵Bill Rassieur
release.\n\nBUG: 120448245 Change-Id: I41ecc8195f43208cb694877a8be2f8d86ed05312
2018-11-30Merge "Merge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-release am: ↵Android Merger
814964e054" into pie-gsi
2018-11-30Merge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-releaseBill Yi
am: 814964e054 Change-Id: I7d79db426636c73ed43d83b66d1fbb9bf46e5e1e
2018-11-28Merge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-releaseBill Yi
Change-Id: Ic9f65be968a41b3419a655102838a432f8d3b62d
2018-11-14Snap for 5130385 from c466fe95dc641d879683700aea4233ffd42bc762 to ↵android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-build-team Robot
pi-qpr2-release Change-Id: Id68db454c90563ae1659a8600f37f885c661a53f
2018-11-08Free memory when it is no more usedKen Chen
Memory leak happen when Android data framework updates identical DNS information to netd. Bug: 115595601 Test: netd_unit_test, netd_integration_test Change-Id: Idcc0956729286563603f482258f488a1ccd75e6a
2018-10-24Snap for 5087486 from 8a07791fbff0dd014ce5da8d88969d09cd3dcf0b to ↵android-build-team Robot
pi-qpr2-release Change-Id: Ib52d553135d65e0679e2a1bd699256dd4be99da7
2018-10-20Merge cherrypicks of [5317808, 5317809, 5318498, 5317873, 5318338, 5318195, ↵android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19pie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-releaseandroid-build-team Robot
5318499, 5317874, 5317875, 5317876, 5318243, 5318244, 5318537, 5318538, 5318539, 5318540, 5318541, 5318542, 5318543, 5318544, 5318545, 5318546, 5315210, 5317756, 5318557, 5318558, 5318559, 5318560, 5318561, 5318339, 5318547, 5318548, 5318549, 5318562, 5318563, 5318564, 5318565, 5318566, 5318172, 5318173, 5318174, 5318550, 5318401, 5318196, 5317889, 5318175, 5318176, 5318577, 5318578, 5318579, 5318580, 5318581, 5318503, 5318390, 5318505, 5318341, 5318551] into pi-qpr1-release Change-Id: I91a3bf454e0eb31e4d34779e2ff1bf2783c6bf09
2018-10-20malloc: add M_PURGE mallopt flagTim Murray
Add a new mallopt flag that purges any pending decaying pages. Test: boots and works bug 117795621 Merged-in: Ib250ae2b705b6a368c1efb801d6a7be54e075acb Change-Id: Ib250ae2b705b6a368c1efb801d6a7be54e075acb (cherry picked from commit 8a07791fbff0dd014ce5da8d88969d09cd3dcf0b)
2018-10-18malloc: add M_PURGE mallopt flagTim Murray
Add a new mallopt flag that purges any pending decaying pages. Test: boots and works bug 117795621 Merged-in: Ib250ae2b705b6a368c1efb801d6a7be54e075acb Change-Id: Ib250ae2b705b6a368c1efb801d6a7be54e075acb
2018-07-30Snap for 4920102 from fbe26c723af60b101a6df9c066c1b661b6ab966c to ↵android-9.0.0_r16pie-qpr1-s1-releaseandroid-build-team Robot
pi-qpr1-release Change-Id: Ifd7027234368d31d675303934b1f0f8b6e23d714
2018-07-27Merge "remove bionic-compile-time-tests-g++" into pi-devTreeHugger Robot
2018-07-27Snap for 4916303 from 6fffb2332ca3be3abee84810b389a29b731887ee to ↵android-build-team Robot
pi-qpr1-release Change-Id: If8971618ca5839bb3044dd35acbd31189ebb613e
2018-07-24remove bionic-compile-time-tests-g++Sajid Dalvi
make checkbuild gives the following error: bionic/tests/fortify_filecheck_diagnostics_test.cpp:1:0: error: unknown value 'cortex-a55' for -mcpu The error is because we have a clang to support the new architecture, but not a corresponding GCC. It is not trivial to filter out an invalid CPU, and since there is no platform code built with GCC any more, its better to remove bionic-compile-time-tests-g++ Bug: 74404306 Change-Id: I6aa181c652abeef782fec6380dfadd066140b8b9
2018-07-18Disable malloc debug intercepts when exiting.Christopher Ferris
There is a hang when enabling leak_track since the dumping of the leak data can wind up doing an allocation. Add new system unit test to make sure this doesn't happen again. Bug: 111146059 Test: Test program that leaks does not hang forever. Test: Unit tests pass. Change-Id: Icf99be58ba5db98ee124a471b957a086045f5870 Merged-In: Icf99be58ba5db98ee124a471b957a086045f5870 (cherry picked from commit 97b474710225bc4853ab314c3d9ca812dc375525)
2018-07-02Merge "Reland "Remove a check for AIDs in the OEM range."" into pi-devandroid-vts-9.0_r4android-cts-9.0_r4android-cts-9.0_r3android-cts-9.0_r2pie-dr1-devTom Cherry
2018-06-29Reland "Remove a check for AIDs in the OEM range."Tom Cherry
There may be vendor extensions to the system image which would need to use these IDs. This reverts commit 41986a013a10c6f79822002800a9afe90efba4f2. Bug: 110856218 Test: these tests
2018-05-30Snap for 4810559 from 03cb53a17d47e1a4777672e4ea76afa8e23f1d41 to pi-releaseandroid-wear-9.0.0_r9android-wear-9.0.0_r8android-wear-9.0.0_r7android-wear-9.0.0_r6android-wear-9.0.0_r5android-wear-9.0.0_r4android-wear-9.0.0_r34android-wear-9.0.0_r33android-wear-9.0.0_r32android-wear-9.0.0_r31android-wear-9.0.0_r30android-wear-9.0.0_r3android-wear-9.0.0_r29android-wear-9.0.0_r28android-wear-9.0.0_r27android-wear-9.0.0_r26android-wear-9.0.0_r25android-wear-9.0.0_r24android-wear-9.0.0_r23android-wear-9.0.0_r22android-wear-9.0.0_r21android-wear-9.0.0_r20android-wear-9.0.0_r2android-wear-9.0.0_r19android-wear-9.0.0_r18android-wear-9.0.0_r17android-wear-9.0.0_r16android-wear-9.0.0_r15android-wear-9.0.0_r14android-wear-9.0.0_r13android-wear-9.0.0_r12android-wear-9.0.0_r11android-wear-9.0.0_r10android-wear-9.0.0_r1android-cts-9.0_r1android-9.0.0_r9android-9.0.0_r8android-9.0.0_r7android-9.0.0_r61android-9.0.0_r60android-9.0.0_r6android-9.0.0_r59android-9.0.0_r58android-9.0.0_r57android-9.0.0_r56android-9.0.0_r55android-9.0.0_r54android-9.0.0_r53android-9.0.0_r52android-9.0.0_r51android-9.0.0_r50android-9.0.0_r5android-9.0.0_r49android-9.0.0_r48android-9.0.0_r3android-9.0.0_r2android-9.0.0_r18android-9.0.0_r17android-9.0.0_r10android-9.0.0_r1security-pi-releasepie-s2-releasepie-release-2pie-releasepie-r2-s2-releasepie-r2-s1-releasepie-r2-releaseandroid-build-team Robot
Change-Id: I8e7369bec8396f574ac8f74f6e471f38c0f95971
2018-05-30DO NOT MERGE: Move to version v1.1.pie-devChristopher Ferris
The new malloc debug sets the num allocations field to non-zero. Unfortunately, an old version of malloc debug incorrectly set this field. In order to differentiate between the broken output, increment the version number. Bug: 74361929 Test: Ran unit tests. Change-Id: Ia88300e324fe9d46aae0c93079ee926e088e675e
2018-05-27Snap for 4807121 from dac8340c437c9dafcc7e621f9dafa6a2239c3ca9 to pi-releaseandroid-build-team Robot
Change-Id: I4b803b5233ed4a824267473b2cc8449092966890
2018-05-24Reenable __work_around_b_24465209__ for x86 linkerRyan Prichard
Bug: b/80258696 Test: build aosp_x86-userdebug ; run emulator Change-Id: If7de24c3fc91a143c0bd17c6364c56ec04dfb08e
2018-05-17Snap for 4787078 from 7b405f8b983fe43401fa9f6c75671b73203b71b0 to pi-releaseandroid-build-team Robot
Change-Id: I8aea358b26f1ad7c96bb0961e536696dedc84c9f
2018-05-16Merge "Require vendor users and groups to start with vendor_" into pi-devTom Cherry
2018-05-16Require vendor users and groups to start with vendor_Tom Cherry
Require that users and groups found in /vendor/etc/{passwd,group} start with vendor_. This is needed to compliance with Treble as without this prefix, it is possible for a new system image to create a user/group name that a vendor has already used, causing a collision. Bug: 79528966 Test: new unit test Merged-In: I07500641e165f41526a8101592d83fa174e7a711 Change-Id: I07500641e165f41526a8101592d83fa174e7a711 (cherry picked from commit c2b9fec50b4bc33de60aef764798a2aca3c35873)
2018-05-16Merge changes from topic "single-gsi" into pi-devLogan Chien
* changes: Use ro.vndk.lite to determine the ld.config.txt Extract ld.config.txt lookup code
2018-05-13Snap for 4778776 from 9b76571684253bef0f8b697f231ba96d76cfc927 to pi-releaseandroid-build-team Robot
Change-Id: I531b181a4752c9ca17d3396058c65c9141ac98a1
2018-05-12Merge changes I8eae0c98,I09d32dcb into pi-devDimitry Ivanov
* changes: vdso should be available in all namespaces Unhardcode /system/lib
2018-05-11Add support for cortex-a55/cortex-a75.Christopher Ferris
Bug: 78133793 Test: Builds and ran to verify best libc routines. Change-Id: I2299b8f0f6379c9003072764978ea917b74aee4f (cherry picked from commit 3162eb3b810e6375931f7e901e3e40496edc12de)
2018-05-11vdso should be available in all namespacesdimitry
vdso should be available in all namespaces when present. This bug went undetected because the way libc currently uses vdso (it does all the lookups itself). This makes it available for the programs that want to take advantage by dlopening it. Bug: http://b/73105445 Bug: http://b/79561555 Test: adb shell /data/nativetest/arm/bionic-unit-tests/bionic-unit-tests --gtest_filter=dl.exec_with_ld_config_file Test: adb shell /data/nativetest/bionic-unit-tests/bionic-unit-tests --gtest_filter=dl* Change-Id: I8eae0c9848f256190d1c9ec85d10dc6ce383a8bc
2018-05-11fchown DNS lookup sockets to AID_DNS.Lorenzo Colitti
Currently DNS lookups are all sent as UID 0. In N we added an AID_DNS user, but we never used it. A separate UID allows us to account for and route DNS traffic differently from other UID 0 traffic such as kernel-originated traffic. (cherry picked from commit 5f02720c880de23c053d6054fe8a3165f23ed749) Fix: 29420831 Bug: 70673901 Test: DNS lookups continue to work Test: netd_{unit,integration}_test pass Change-Id: Ife3ca7df45de51b92437d2cfe627fb4703b672fb Merged-In: I1c76fac51bdd4804620fe8a8567c9a650b8734d9
2018-05-10Use ro.vndk.lite to determine the ld.config.txtLogan Chien
This commit adds an extra check on `ro.vndk.lite`. If `ro.vndk.lite` is true, the linker will pick `/system/etc/ld.config.vndk_lite.txt`. The purpose of this change is to distinguish: 1. Master-GSI + Master-VENDOR (w/o BOARD_VNDK_VERSION for upgrading devices) 2. Master-GSI + O-MR1-VENDOR (w/ BOARD_VNDK_VERSION) Bug: 78605339 Test: aosp_sailfish Master-SYSTEM + Master-VENDOR boots Test: aosp_sailfish Master-GSI + Master-VENDOR boots Test: aosp_walleye Master-SYSTEM + Master-VENDOR boots Test: aosp_walleye Master-GSI + Master-VENDOR boots Test: aosp_walleye Master-GSI + O-MR1-VENDOR boots Change-Id: I34f243f73c173ca2e882d3738ccb81e3fad3a9da
2018-05-10Extract ld.config.txt lookup codeLogan Chien
This commit extracts ld.config.txt lookup code into `get_ld_config_file_path()`. Bug: 78605339 Test: aosp_walleye-userdebug builds and boots Change-Id: I129f19cd032de02a56bda57231521c02a4b4e4c0
2018-05-09Unhardcode /system/libdimitry
Default search path may be different for native bridged enviroments Bug: http://b/73105445 Test: adb shell /data/nativetest/arm/bionic-unit-tests/bionic-unit-tests --gtest_filter=dl.exec_with_ld_config_file Change-Id: I09d32dcb8a7a3f161ccc6d58c29252e79ea5fd3e
2018-05-08Snap for 4767765 from 775fb0962173f07aeb46c8ae764a35a85e00a3f0 to pi-releaseandroid-build-team Robot
Change-Id: I5751f0e466bf7ea8abbb09beec054ec5b7e4222d
2018-05-04Add a warm up pass to pthread_leak.join testEvgeny Eltsin
Bug: 73105445 Bug: 37920774 Test: bionic-unit-tests --gtest_filter=pthread_leak* Change-Id: I227c999ecc13ee0a2136ff6b00a722f135dd48fe
2018-05-03Snap for 4759746 from a9001ceb0a5083f9786652918d16cafbdabcf459 to pi-releaseandroid-build-team Robot
Change-Id: Ia99d1bfbbf089c6398d4b8918a785fb18547a8d1