aboutsummaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
* Update timezone data to 2016fNeil Fuller2016-07-061-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 2016f release of the tz code and data is available. It reflects the following changes, which were either circulated on the tz mailing list or are relatively minor technical or administrative changes: Changes affecting future time stamps The Egyptian government changed its mind on short notice, and Africa/Cairo will not introduce DST starting 2016-07-07 after all. (Thanks to Mina Samuel.) Asia/Novosibirsk switches from +06 to +07 on 2016-07-24 at 02:00. (Thanks to Stepan Golosunov.) Changes to past and future time stamps Asia/Novokuznetsk and Asia/Novosibirsk now use numeric time zone abbreviations instead of invented ones. Changes affecting past time stamps Europe/Minsk's 1992-03-29 spring-forward transition was at 02:00 not 00:00. (Thanks to Stepan Golosunov.) Note: Paul Eggert changed the key used to sign the tzdata bundle and the new public key cannot be found. The changes to the data since 2016e have been verified visually. Change-Id: I1767b5d0f7a11349ecd85c1c16942f4d73172dd0 Test: Ran CTS/android.core.tests.libcore.package.harmony_java_util Test: Ran CTS/android.core.tests.libcore.package.harmony_java_text Test: Ran CTS/android.core.tests.libcore.package.libcore Bug: 29984514
* Update timezone data to 2016eNeil Fuller2016-06-151-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | Changes affecting future time stamps Africa/Cairo observes DST in 2016 from July 7 to the end of October. Guess October 27 and 24:00 transitions. (Thanks to Steffen Thorsen.) For future years, guess April's last Thursday to October's last Thursday except for Ramadan. Changes affecting past time stamps Locations while uninhabited now use '-00', not 'zzz', as a placeholder time zone abbreviation. This is inspired by Internet RFC 3339 and is more consistent with numeric time zone abbreviations already used elsewhere. The change affects several arctic and antarctic locations, e.g., America/Cambridge_Bay before 1920 and Antarctica/Troll before 2005. Asia/Baku's 1992-09-27 transition from +04 (DST) to +04 (non-DST) was at 03:00, not 23:00 the previous day. (Thanks to Michael Deckers.) Bug: 29354265 Change-Id: Iad332b686410c54277fe8efc83b38a1b5e90aeb2
* Always update search domain paths.Pierre Imai2016-05-121-32/+36
| | | | | | | | | _resolv_set_nameservers_for_net() so far did not update the search paths, unless the servers changed as well. BUG: 28437641 Change-Id: Id31f2d97c173e00357fb2ba95908afb4572c0fc1 (cherry picked from commit 06e2202a4cc6d9a0f382a0bbdcdbd2d527734d5f)
* Remove linker-namespace functions from the headerDimitry Ivanov2016-05-111-65/+1
| | | | | | | | | They are intended for platform use only and we shouldn't have them in the public header file. Bug: http://b/28174921 Change-Id: Ib9b3d0fa9442cfa2e784a693ad567d1444d774e5 (cherry picked from commit 41fd29532b52bb66e3e1f4620053713fd0299f6e)
* Merge "Record the resolution start time on errors." into nyc-devLorenzo Colitti2016-05-021-14/+21
|\
| * Record the resolution start time on errors.Pierre Imai2016-05-021-14/+21
| | | | | | | | | | | | | | | | | | Also only record samples on the first try for a server. BUG: 25731675 Change-Id: I10a68813c6636874e63aca1db661e63e1af72a2d (cherry picked from commit 8b8611a0e6f1928b793c17e80d22c1e2810eadc0)
* | Merge "Make malloc debug symbols platform-private" into nyc-devTreeHugger Robot2016-04-2810-40/+40
|\ \
| * | Make malloc debug symbols platform-privateDimitry Ivanov2016-04-2710-40/+40
| |/ | | | | | | | | | | Bug: http://b/28432442 Change-Id: I96b9cb8b57726b4e8d53069e72666cf107cdeba2 (cherry picked from commit 54548d8cf91ba2e891b2dd0d25ae5956c62ad3ef)
* | Merge "Add unwind information for r7 in arm syscalls." into nyc-devTreeHugger Robot2016-04-28176-0/+352
|\ \ | |/ |/|
| * Add unwind information for r7 in arm syscalls.Christopher Ferris2016-04-27176-0/+352
| | | | | | | | | | | | | | | | | | | | | | | | | | It turns out that clang can emit code where the sp is saved in the r7 register on arm. Unfortunately, a lot of our syscalls overwrite that value while the syscall is executing, so unwinding through that syscall fails. Update the syscall generation code to add unwinding information for these uses. Bug: 28411713 Change-Id: Id51a5d43c058631bb50834527f93fa299bbcf759
* | DO NOT MERGE Fix DNS search path info.Pierre Imai2016-04-271-2/+8
|/ | | | | | | | | | Fix the resolver information returned by android_net_res_stats_get_info_for_net, erroneously included MAXDNSRCH empty results if no search path was set. BUG: 25731675 Change-Id: I97ef5d2d47dc62ca403a3323c7f14902e47b29b6 (cherry picked from commit 1b069a990ad783cd20327a35df59fcdc83e2e1e2)
* Update timezone data to 2016dNeil Fuller2016-04-211-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes affecting future time stamps America/Caracas switches from -0430 to -04 on 2016-05-01 at 02:30. (Thanks to Alexander Krivenyshev for the heads-up.) Asia/Magadan switches from +10 to +11 on 2016-04-24 at 02:00. (Thanks to Alexander Krivenyshev and Matt Johnson.) New zone Asia/Tomsk, split off from Asia/Novosibirsk. It covers Tomsk Oblast, Russia, which switches from +06 to +07 on 2016-05-29 at 02:00. (Thanks to Stepan Golosunov.) Changes affecting past time stamps New zone Europe/Kirov, split off from Europe/Volgograd. It covers Kirov Oblast, Russia, which switched from +04/+05 to +03/+04 on 1989-03-26 at 02:00, roughly a year after Europe/Volgograd made the same change. (Thanks to Stepan Golosunov.) Russia and nearby locations had daylight-saving transitions on 1992-03-29 at 02:00 and 1992-09-27 at 03:00, instead of on 1992-03-28 at 23:00 and 1992-09-26 at 23:00. (Thanks to Stepan Golosunov.) Many corrections to historical time in Kazakhstan from 1991 through 2005. (Thanks to Stepan Golosunov.) Replace Kazakhstan's invented time zone abbreviations with numeric abbreviations. Bug: 28240832 Change-Id: If11e29f064f074f8b5812d397996322d007ab1d2
* DO NOT MERGE Add new info functions to resolver for use by Netd.Pierre Imai2016-04-2116-20/+165
| | | | | | | | | | | | | | | android_net_res_stats_get_info_for_net returns the current name servers, search domains, parameters and stats for the given network ID. android_net_res_stats_aggregate provides statistics such as errors counts from the raw stats data reported by android_net_res_stats_get_info_for_net. android_net_res_stats_get_usable_servers uses the data returned by android_net_res_stats_aggregate to determine which of the servers are considered valid or broken by the resolver. BUG: 25731675 Change-Id: I6059b68e5e8b809027a4d3135f6081588bee8a7d
* DO NOT MERGE Store DNS server count in resolv_cache.Pierre Imai2016-04-215-57/+59
| | | | | | | | | | | | | Instead of keeping a sentinel after nameservers[], nsaddrinfo[] and nstats[], store the server count in the structure, freeing up memory and eliminating the need to enumerate the server count every time _resolv_is_nameservers_equal_locked() is invoked. Also increase MAXNS from 3 to 4. BUG: 28153323 Change-Id: I11a7257af695157c9e32019cd00c67b535b63c75 (cherry picked from commit fff356786f8a3a98c5c29f12bb7e59e6d98076a9)
* Change pointer to allocation in unit tests.Christopher Ferris2016-04-201-15/+15
| | | | | | | | | | | I changed the output from "pointer" to "allocation" for allocation mismatches. I forgot to update the tests. Bug: 28218530 (cherry picked from commit 97fd7d95f5abd3fbc3274b2591883ecdd9cc03cc) Change-Id: I4076e4ddb5d2385e786e3ebca187d1e84e3c172c
* Add malloc debug documentation.Christopher Ferris2016-04-192-0/+394
| | | | | | | | | Bug: 27902359 Bug: 28218530 (cherry picked from commit 713a8e36f863c27736ad4f29a5fd9bf84be83aaf) Change-Id: I63c0cc53287d414ae6accd03c191f3474c02fc82
* Small fixes to malloc debug.Christopher Ferris2016-04-183-3/+3
| | | | | | | | | | | | | - Change the printed name from pointer to allocation to be explicit about what is wrong. - Change the signal to be SIGRTMAX - 19 instead of SIGRTMIN. This should prevent problems if we have to reserve other real time signals. Bug: 28218530 (cherry picked from commit ea26b33248663a836d2f0719cb4e46967b648fe2) Change-Id: I707d5200c1804bdbf45fc46de0f2565016c48a82
* Update timezone data to 2016cNeil Fuller2016-04-181-0/+0
| | | | | | | | | | | | | | | | | | | | | | | Changes affecting future time stamps Azerbaijan no longer observes DST. (Thanks to Steffen Thorsen.) Chile reverts from permanent to seasonal DST. (Thanks to Juan Correa for the heads-up, and to Tim Parenti for corrections.) Guess that future transitions are August's and May's second Saturdays at 24:00 mainland time. Also, call the period from 2014-09-07 through 2016-05-14 daylight saving time instead of standard time, as that seems more appropriate now. Changes affecting past time stamps Europe/Kaliningrad and Europe/Vilnius changed from +03/+04 to +02/+03 on 1989-03-26, not 1991-03-31. Europe/Volgograd changed from +04/+05 to +03/+04 on 1988-03-27, not 1989-03-26. (Thanks to Stepan Golosunov.) Bug: 27826144 Change-Id: I4353fa075e6cc0f277a72c928442a63835ec4d97
* Merge "Update timezone data to 2016b" into nyc-devNeil Fuller2016-04-181-0/+0
|\
| * Update timezone data to 2016bNeil Fuller2016-03-231-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes affecting future time stamps New zones Europe/Astrakhan and Europe/Ulyanovsk for Astrakhan and Ulyanovsk Oblasts, Russia, both of which will switch from +03 to +04 on 2016-03-27 at 02:00 local time. They need distinct zones since their post-1970 histories disagree. New zone Asia/Barnaul for Altai Krai and Altai Republic, Russia, which will switch from +06 to +07 on the same date and local time. Also, Asia/Sakhalin moves from +10 to +11 on 2016-03-27 at 02:00. (Thanks to Alexander Krivenyshev for the heads-up, and to Matt Johnson and Stepan Golosunov for followup.) As a trial of a new system that needs less information to be made up, the new zones use numeric time zone abbreviations like "+04" instead of invented abbreviations like "ASTT". Haiti will not observe DST in 2016. (Thanks to Jean Antoine via Steffen Thorsen.) Palestine's spring-forward transition on 2016-03-26 is at 01:00, not 00:00. (Thanks to Hannah Kreitem.) Guess future transitions will be March's last Saturday at 01:00, not March's last Friday at 24:00. Changes affecting past time stamps Europe/Chisinau observed DST during 1990, and switched from +04 to +03 at 1990-05-06 02:00, instead of switching from +03 to +02. (Thanks to Stepan Golosunov.) 1991 abbreviations in Europe/Samara should be SAMT/SAMST, not KUYT/KUYST. (Thanks to Stepan Golosunov.) The update produced (apparently benign) warnings from zic as suggested here: http://mm.icann.org/pipermail/tz-announce/2016-March/000036.html Bug: 27656428 Change-Id: I31c7805b6fdb458c3ee9e695b3dff7bd003d8cab
* | Revert "Temporary move __udivdi3 back to LIBC for x86"Dimitry Ivanov2016-04-157-8/+7
| | | | | | | | | | | | | | | | | | This reverts commit bc02fb964a59983521c5f6cf80b1189434952780. Bug: http://b/26406724 Bug: http://b/26423217 Change-Id: I8e3186fc76502d6818753e5d76a7c145207ed9a3 (cherry picked from commit 9f39326a740860a0cfd472115b929bf0ab83799b)
* | DO NOT MERGE: Reduce the amount of logging in Bionic's resolver.Pierre Imai2016-04-061-1/+1
| | | | | | | | Change-Id: I3b7b5ef5a5ee6ba3ad8654f792400d42d5ecd4b9
* | DO NOT MERGE: Fix off-by-one error in res_cache.cPierre Imai2016-04-064-8/+11
| | | | | | | | | | | | (cherry picked from commit 03844d8cdb43c351d2c94eb67242966019f7600d) Change-Id: Ib5fff46ac9211716a1577ee25bb22461c489ea9f
* | DO NOT MERGE: Ignore unreliable DNS servers.Pierre Imai2016-04-067-96/+562
| | | | | | | | | | | | | | | | | | | | | | | | Collect statistics about DNS query success state and delay. Ignore servers that have been tried at least five times and have a success rate of < 0.25. Retry these servers once every 180s. Bug: 25731675 (cherry picked from commit 6b3f0d65f2c706625e5efb495df0f2c6178b965a) Change-Id: Id989404b14fd885fb31a5a4de36a4186be1c9ad1
* | Merge "Copy the entire zero-separated DNS seach domain string." into nyc-devPierre Imai2016-03-301-1/+2
|\ \
| * | Copy the entire zero-separated DNS seach domain string.Pierre Imai2016-03-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The DNS search string contains zeros as domain separator. The resolver code erroneously used strlcpy(), which resulted in only the first domain to be copied. The code uses pointers into this string to access the individual domains. Since the structure is zero-initialized, this bug only resulted in zero-length domains instead of accessing unitialized memory. BUG: 27312811 Change-Id: Ia9d066c405dfcc5e82d6766d93ead2ce574e7b0d (cherry picked from commit 0967fc7e59cda0ea2561b0eaa58ed842da7c0eb9)
* | | Add a checksum to jmp_buf on x86_64.Josh Gao2016-03-291-1/+19
| | | | | | | | | | | | | | | | | | | | | Bug: http://b/27856501 Bug: http://b/27417786 Change-Id: I541f5a7ce4972ef56b3f69e73927ca7df362609a (cherry picked from commit 686e5f6f69c5c30a09d73e42657cb502a261ad6a)
* | | Delete lies from x86_64 setjmp implementation.Josh Gao2016-03-291-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the implementation of setjmp on x86_64 claimed that sigprocmask would write to two longs' worth of bytes. Bug: http://b/27856501 Change-Id: I9f32b40ac773a0cd91a976aace5bfba6e67fb0f8 (cherry picked from commit c244fcb8a3396f94976a56379cce144c4451c3d4)
* | | Add a checksum to jmp_buf on x86.Josh Gao2016-03-291-1/+38
| | | | | | | | | | | | | | | | | | | | | Bug: http://b/27856501 Bug: http://b/27417786 Change-Id: Id5a0a81fc38e311bff678cbc7dc2219bc0074503 (cherry picked from commit 926078539346f5d3cc864c9ba25993e8c6437c07)
* | | libc: implement kernel vdso syscalls for i386Mingwei Shi2016-03-29208-723/+2392
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch uses __kernel_vsyscall instead of "int 0x80" as the syscall entry point. AT_SYSINFO points to an adapter to mask the arch specific difference and gives a performance boost on i386 architecture. Bug: http://b/27533895 Change-ID: Ib340c604d02c6c25714a95793737e3cfdc3fc5d7 Signed-off-by: Mingwei Shi <mingwei.shi@intel.com> (cherry picked from commit be910529322b461148debefd50b9e0d67ae84f8e)
* | | Update Android.bp to match Android.mkColin Cross2016-03-241-0/+1
|/ / | | | | | | Change-Id: Ib5bbe66a398734b6db9a40d51f2849d1531853ef
* | Revert "Update timezone data to 2016b"Neil Fuller2016-03-241-0/+0
| | | | | | | | | | | | | | | | | | | | | | The bionic change merged down from upstream but the external/icu one didn't. A replacement change will be submitted along with one for external/icu. This reverts commit 7bcee86edcc8cb0f969c719fed9bc3bd04de142f. Change-Id: I0dd28e02231e6ebba5b61131b22889a1268a0675
* | Update timezone data to 2016bNeil Fuller2016-03-221-0/+0
|\ \ | | | | | | | | | | | | | | | | | | am: 7bcee86 * commit '7bcee86edcc8cb0f969c719fed9bc3bd04de142f': Update timezone data to 2016b
| * | Update timezone data to 2016bNeil Fuller2016-03-221-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes affecting future time stamps New zones Europe/Astrakhan and Europe/Ulyanovsk for Astrakhan and Ulyanovsk Oblasts, Russia, both of which will switch from +03 to +04 on 2016-03-27 at 02:00 local time. They need distinct zones since their post-1970 histories disagree. New zone Asia/Barnaul for Altai Krai and Altai Republic, Russia, which will switch from +06 to +07 on the same date and local time. Also, Asia/Sakhalin moves from +10 to +11 on 2016-03-27 at 02:00. (Thanks to Alexander Krivenyshev for the heads-up, and to Matt Johnson and Stepan Golosunov for followup.) As a trial of a new system that needs less information to be made up, the new zones use numeric time zone abbreviations like "+04" instead of invented abbreviations like "ASTT". Haiti will not observe DST in 2016. (Thanks to Jean Antoine via Steffen Thorsen.) Palestine's spring-forward transition on 2016-03-26 is at 01:00, not 00:00. (Thanks to Hannah Kreitem.) Guess future transitions will be March's last Saturday at 01:00, not March's last Friday at 24:00. Changes affecting past time stamps Europe/Chisinau observed DST during 1990, and switched from +04 to +03 at 1990-05-06 02:00, instead of switching from +03 to +02. (Thanks to Stepan Golosunov.) 1991 abbreviations in Europe/Samara should be SAMT/SAMST, not KUYT/KUYST. (Thanks to Stepan Golosunov.) The update produced (apparently benign) warnings from zic as suggested here: http://mm.icann.org/pipermail/tz-announce/2016-March/000036.html Bug: 27656428 Change-Id: Ibbf7237344c21d22a0f781f547fbc95b46623ece
* | | Fix race in malloc debug option free_track.Christopher Ferris2016-03-173-21/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The free track mechanism could fail if, at the same time a free occurs, another thread is trying to free and verify the same allocation. This doesn't work if the freed allocation is added to the list and we still do work on it. The fix is to only add to the free list when we are done with the allocation. Also fix a problem where the usable size is computed incorrectly because two of the arguments where reversed. In addition, add a check that the allocation being verified has the correct tag before trying to check the body of the allocation. Add a test to catch the original failure. Add a test for the tag being different. Bug: 27601650 (cherry picked from commit d0919623a2ef56107590eca9a9522a250fb8bd4a) Change-Id: Ie1aa4d9a829da9a96de9b8bd1cc8fc681e9cab15
* | | Fix problem where unknown option is not an error.Christopher Ferris2016-03-152-1/+9
| |/ |/| | | | | | | | | | | | | | | | | | | | | If the first option is found, then any unknown options are simply ignored, but do not produce an error. Fixed this so that each option found is actually verified to exist. Bug: 27620263 (cherry picked from commit a4b14252752d14454afb48feb3272e8689e3a66d) Change-Id: I709774456283879e2a8aa5ce375899eaa79f6bc3
* | Init functions after debug malloc succeeds.Christopher Ferris2016-03-121-16/+19
| | | | | | | | | | | | | | | | | | | | | | Do not initialize all of the global function pointers associated with debug malloc until the initialization has completed correctly. Bug: 27600760 (cherry picked from commit 20f2c1ebd5b5860e69772b228ccda756eafc1398) Change-Id: Ibc45213f55be9c8e95fb838b583353cd090c8b88
* | Merge changes I3f1c1310,Ia8dc3481,I6b19fd63 into nyc-devColin Cross2016-03-102-5/+30
|\ \ | | | | | | | | | | | | | | | | | | * changes: malloc_debug: fix multiplication overflow in debug_calloc malloc_debug: round 0 byte allocations up to 1 byte malloc_debug: iterate: use usable_size
| * | malloc_debug: fix multiplication overflow in debug_callocColin Cross2016-03-102-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | The over flow check for nmemb * bytes in debug_calloc is incorrect, use the builtin overflow functions to check for multiplication and addition overflow. Change-Id: I3f1c13102621bc5380be1f69caa88dba2118f3cb
| * | malloc_debug: round 0 byte allocations up to 1 byteColin Cross2016-03-091-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0 byte allocations can cause problems if they are immediately followed by another allocation with no header, as both allocations will have the same address. Treat 0 byte allocations as 1 byte allocations so that debug_iterate will return separate addresses for them. Bug: 27578580 Change-Id: Ia8dc3481fa7062391e9b3ae58a36e8d47e7ee557
| * | malloc_debug: iterate: use usable_sizeColin Cross2016-03-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | malloc_iterate with malloc debug enabled was returning allocation sizes using the requested size instead of usable size. If anything wrote pointers above the requested size but below the usable size, those pointers would be invisible to libmemunreachable and referenced allocations could be reported as a leak. Bug: 27107100 Change-Id: I6b19fd631f68ce93b3aee408cc3d296ec457bd01
* | | Improve and fix the stack-protector tests.Elliott Hughes2016-03-104-9/+19
|/ / | | | | | | | | | | | | | | Bug: http://b/26888853 (cherry picked from commit fc69a8ad5f0d9b63de48e3858fb4811ede7ac64e) Change-Id: Ibc431076000b9a8db46f68f858480045b03b6e79
* | forkpty: set the output fd to -1 on the slave side.Josh Gao2016-03-041-4/+7
| | | | | | | | | | | | | | | | glibc, FreeBSD, OpenBSD, and Darwin all just leave the fd unchanged and possibly uninitialized. Setting it to -1 seems friendlier, though. Bug: http://b/27506278 Change-Id: I7acdc8eecbea4404d5fb4ba0b4d572245a323886
* | Don't call clock_getres in sysconf.Elliott Hughes2016-03-041-15/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are a hundred other reasons why we can't run on kernels old enough to not have all the clocks covered by sysconf. This was causing trouble for jemalloc 4.1.0 in a seccomp-constrained process because jemalloc 4.1.0 introduced a call to sysconf that caused us to make clock_getres syscalls for the first time, leading to SIGSYS. Bug: http://b/27408522 (cherry picked from commit d2b8de2cd16ecd86c830d98c58bcf392475bd0b3) Change-Id: Id46a0f2c2804c597a8c9091690a8a1fc4a65f4cd
* | Add a checksum to jmp_buf on AArch64.Josh Gao2016-03-031-0/+38
| | | | | | | | | | | | Bug: http://b/27417786 Change-Id: I17c22dc28a46dd6b678b449b506b0da978f3793e (cherry picked from commit 0c3655a864f33080ebbec1248c27a7ead87d6a28)
* | Add a checksum to jmp_buf on ARM.Josh Gao2016-03-032-11/+46
| | | | | | | | | | | | | | | | | | Make it easier to diagnose applications mucking with the contents of jmp_buf by checksumming its contents. Bug: http://b/27417786 Change-Id: I9989e2ea3979a36ae0bc4c9e1bacafddbacc731b (cherry picked from commit a4c69137c693c45fce4010ba61d69d7147f5dd9a)
* | Modify android_dlwarning function to use a callbackDimitry Ivanov2016-03-031-2/+0
| | | | | | | | | | | | | | | | | | | | | | The previous implementation of android_dlwarning was not thread-safe and could return a pointer soon to become invalid in some situations. This change fixed the problem. I have also removed android_dlwarning from the dlext.h header file in case we decide to keep android_dlwarning in the final release. Bug: http://b/27453994 Change-Id: If6c896a80a17c4be0e18795e617712ad36a106fe
* | Fix getifaddrs' handling of point-to-point interfaces.Elliott Hughes2016-03-021-22/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also remove an if that implied that IFA_BROADCAST is a possibility for AF_INET6. The existing tests fail if you have a point-to-point interface configured, so no new test necessary. Bug: http://b/27442503 (cherry picked from commit ef925e50d38fe6f5499c1d0d24cca98bf88e5256) Change-Id: I19c19d83a86d0a8004a6b45dea7febe9d6fb6a2e
* | Merge "Add android_dlwarning() method" into nyc-devDimitry Ivanov2016-03-011-0/+2
|\ \
| * | Add android_dlwarning() methodDimitry Ivanov2016-02-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is temporary method intended to use for a toast message on preview and beta releases. Will be removed before the production release. Bug: http://b/27365747 Change-Id: I39cc716bb82863ae761b6821bcec77cce6db3781