summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Sync with upstream NetBSD lib/libc/regex.Elliott Hughes2015-10-214-50/+130
|\ | | | | | | | | | | | | am: 055a66c9b1 * commit '055a66c9b1017c01b82c12b65a571bf9efad8b19': Sync with upstream NetBSD lib/libc/regex.
| * Sync with upstream NetBSD lib/libc/regex.Elliott Hughes2015-10-194-50/+130
| | | | | | | | | | | | | | Bug: http://b/22850181 Change-Id: I11a51a2031e68a953ccd5691da98c699c7d01904 (cherry-picked from commit 71927a82379f7a72559ea96e6678d6215090937f)
* | am 2d23418e: am 18442e02: (-s ours) am beb6e08a: Sync with upstream NetBSD ↵Elliott Hughes2015-10-190-0/+0
|\ \ | |/ | | | | | | | | | | lib/libc/regex. * commit '2d23418e68acdab7e142cc75db2850a54aa829aa': Sync with upstream NetBSD lib/libc/regex.
| * am 18442e02: (-s ours) am beb6e08a: Sync with upstream NetBSD lib/libc/regex.Elliott Hughes2015-10-190-0/+0
| |\ | | | | | | | | | | | | * commit '18442e023536c5cf205b820ed5d74b972b710acb': Sync with upstream NetBSD lib/libc/regex.
| | * am beb6e08a: Sync with upstream NetBSD lib/libc/regex.Elliott Hughes2015-10-194-50/+130
| | |\ | | | | | | | | | | | | | | | | * commit 'beb6e08abf1393663151afde2742bb23eccab4e1': Sync with upstream NetBSD lib/libc/regex.
| | | * Sync with upstream NetBSD lib/libc/regex.Elliott Hughes2015-10-164-50/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: http://b/22850181 (cherry-picked from commit 71927a82379f7a72559ea96e6678d6215090937f) Change-Id: I11a51a2031e68a953ccd5691da98c699c7d01904
* | | | Merge "Fix flaky test time.timer_settime_0." into lollipop-mr1-cts-devYabin Cui2015-08-111-2/+2
|\ \ \ \
| * | | | Fix flaky test time.timer_settime_0.Yabin Cui2015-08-111-2/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | It fixes the problem reported in https://code.google.com/p/android/issues/detail?id=182395. Change-Id: Ie16aa04095dac08a62dd0d4c50e763b36526624c
* | | | Merge "Fix flaky test of timer_create_multiple in L." into lollipop-mr1-cts-devYabin Cui2015-06-191-3/+3
|\ \ \ \
| * | | | Fix flaky test of timer_create_multiple in L.Yabin Cui2015-06-181-3/+3
|/ / / / | | | | | | | | | | | | | | | | Bug: 20677618 Change-Id: I0cb5faf77edce042b10611543180f3e2e73d3d05
* | | | Merge "Make sys_resource test more robust." into lollipop-cts-devYabin Cui2015-06-021-44/+68
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | automerge: 492a0bf * commit '492a0bf212973baa1c33d584d57e75395774447f': Make sys_resource test more robust.
| * | | Merge "Make sys_resource test more robust." into lollipop-cts-devYabin Cui2015-06-021-44/+68
| |\ \ \
| | * | | Make sys_resource test more robust.Yabin Cui2015-06-021-44/+68
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 19482626 "ulimit -c xxx" command may run before bionic-unit-tests. Make sure sys_resource test fails gently in that case. Change-Id: Ic3b5ed8b20acba56df8c5ef082c88e5050e761aa (cherry picked from commit 4853f40f3fb6664cb1b7af97b6b3e795717026b1)
* | | | Merge "Fix timer flaky test in lollipop-mr1-cts-dev." into lollipop-mr1-cts-devYabin Cui2015-05-091-73/+76
|\ \ \ \
| * | | | Fix timer flaky test in lollipop-mr1-cts-dev.Yabin Cui2015-05-081-73/+76
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is partically cherry-pick from https://android-review.googlesource.com/#/c/123410/. And as lollipop-mr1-cts-dev still uses stlport, <stdatomic.h> is used instead of <atomic>. Bug: 20677618 Change-Id: I952a6fd074facc4227c955fecf3ecbfbbaec4193
* | | | Modify test to avoid race condition.Christopher Ferris2015-02-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a possible race if a timer is set to trigger at nearly the same time as it is set. Since nobody uses the timers like this, modify the test so this doesn't happen. The race that this can provoke has been fixed in aosp. Bug: 19423618 Change-Id: I21084c99da5ae46f404936d673dae6bad7c82caa
* | | | Fixes to the update-tzdata.py toolNeil Fuller2015-02-021-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We build one too many times. Creating a missing directory is sufficient. The tz2icu needs some files in the CWD. Added symlinks. Bug: 19230091 (cherry-pick of commit 0662c3e5b33840e19f4c14b85bf619c33b3a0d0f) Change-Id: Ie21d848f1b776ec745473b9122e003fdf0acf105
* | | | Update tzdata to tzdata2015aNeil Fuller2015-02-021-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Time Zone Data v. 2015a (Released 2015-01-29) http://www.iana.org/time-zones/repository/releases/tzdata2015a.tar.gz Information from NEWS: Release 2015a - 2015-01-29 22:35:20 -0800 Changes affecting future time stamps The Mexican state of Quintana Roo, represented by America/Cancun, will shift from Central Time with DST to Eastern Time without DST on 2015-02-01 at 02:00. (Thanks to Steffen Thorsen and Gwillim Law.) Chile will not change clocks in April or thereafter; its new standard time will be its old daylight saving time. This affects America/Santiago, Pacific/Easter, and Antarctica/Palmer. (Thanks to Juan Correa.) New leap second 2015-06-30 23:59:60 UTC as per IERS Bulletin C 49. (Thanks to Tim Parenti.) Changes affecting past time stamps Iceland observed DST in 1919 and 1921, and its 1939 fallback transition was Oct. 29, not Nov. 29. Remove incorrect data from Shanks about time in Iceland between 1837 and 1908. Some more zones have been turned into links, when they differed from existing zones only for older time stamps. As usual, these changes affect UTC offsets in pre-1970 time stamps only. Their old contents have been moved to the 'backzone' file. The affected zones are: Asia/Aden, Asia/Bahrain, Asia/Kuwait, and Asia/Muscat. Changes affecting code tzalloc now scrubs time zone abbreviations compatibly with the way that tzset always has, by replacing invalid bytes with '_' and by shortening too-long abbreviations. tzselect ports to POSIX awk implementations, no longer mishandles POSIX TZ settings when GNU awk is used, and reports POSIX TZ settings to the user. (Thanks to Stefan Kuhn.) Changes affecting build procedure 'make check' now checks for links to links in the data. One such link (for Africa/Asmera) has been fixed. (Thanks to Stephen Colebourne for pointing out the problem.) Changes affecting commentary The leapseconds file commentary now mentions the expiration date. (Problem reported by Martin Burnicki.) Update Mexican Library of Congress URL. Bug: 19212588 Change-Id: Idc07ac862901500d4a1dbd0f4aadcfd0aa9d10b8
* | | | Print error when prelink fails for main executableDmitriy Ivanov2015-01-071-1/+4
| | | | | | | | | | | | | | | | | | | | Bug: 18931021 Change-Id: Ieefdcf60f1506af522714300030754a4ed61c08e
* | | | Restore symbols from <arpa/nameser.h>.Elliott Hughes2014-12-041-74/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18627252 Bug: https://code.google.com/p/android/issues/detail?id=81690 (cherry picked from commit 42804c4b30e813d3140cba877d3ae6bbef0d3a17) Change-Id: Idd33578b31bba9a4afdfd15c7b193d10974aea90
* | | | Avoid pathological behavior in OpenBSD's fread.Elliott Hughes2014-12-023-2/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 20841a137beac5caa824e3586c7bd91d879ff92e) Bug: https://code.google.com/p/android/issues/detail?id=81155 Bug: 18556607 Change-Id: Ibdfebc20dce4c34ad565014523c9b074e90ea665
* | | | Merge "Put stdin/stdout/stderr symbols in place." into lmp-mr1-devElliott Hughes2014-12-021-0/+7
|\ \ \ \
| * | | | Put stdin/stdout/stderr symbols in place.Elliott Hughes2014-12-011-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To help with future binary compatibility. Bug: 18553223 Change-Id: Ia8103b4f189c18528b11948ac9e520f61b9ccc0e
* | | | | Fail queries fast if no DNS servers are configured.Lorenzo Colitti2014-12-011-0/+4
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When no DNS servers are configured (and thus there is no chance that the DNS query will suceed), res_nsend returns early, but it does not tell the cache that the query has failed. Therefore, if the caller retries the query, it will block for PENDING_REQUEST_TIMEOUT (= 20 seconds) waiting for the "existing query" (which isn't actually doing anything) to complete. Bug: 18240188 Bug: 18327075 Change-Id: I0df13ff4a17ee65e640be96695a3af31b020963a
* | | | Fix flockfile(3) and friends for stdin/stdout/stderr too.Elliott Hughes2014-11-195-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stdin/stdout/stderr are special; their mutexes are initialized by __sinit. There's no unit test for this, because __sinit has already been called by the time the first unit test runs, but you could reproduce this failure with a trivial main() that calls flockfile or ftrylockfile on one of the standard streams before otherwise using stdio. Bug: 18208568 (cherry picked from commit c48c3e4bb3d1665f3e9fa2785daafa72dfe59399) Change-Id: Ia0c43ed4ac69daea8152aee9516415a6e3f8a042
* | | | sysconf(3) returns long.Elliott Hughes2014-11-143-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On LP32, this makes no difference. Not an ABI change. On LP64, results are going to be in %rax or x0 whether they're 32- or 64-bit, and the only difference is going to be whether the top bits are clobbered. (cherry picked from commit 60d84af1726225320b26683b726e5e735d9d76e8) Bug: 18390956 Change-Id: I722461498bc5494e2972fb07d5189dffe76e8993
* | | | bionic: libc: Added path to vendor build properties file.Daniel Rosenberg2014-11-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Rosenberg <drosen@google.com> (cherry picked from commit 71d220c1de1372e20c8bbec4ccf387991a3bb549) Bug: 18281574 Change-Id: I2843f23ecb4c4ca79b230d8041bbca02dbedeadc
* | | | Merge "Fix tzdata update tools for 'backzone'." into lmp-mr1-devElliott Hughes2014-11-122-11/+21
|\ \ \ \
| * | | | Fix tzdata update tools for 'backzone'.Elliott Hughes2014-11-112-11/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To maintain the status quo, we need to pull in backzone file. This file can't be built on its own, so the easiest fix is to give zic(1) all the files at once. We also now have a situation where we have links to links, so we need to dereference them until we find actual data. Bug: 18330681 (cherry picked from commit 2c2463bd3065f0a5fef34a47e3eb94aad64b0cea) Change-Id: I654b80518a7144038d8b3ea7223f49e2b1d2ad13
* | | | | Upgrade bionic to tzdata2014j.Elliott Hughes2014-11-111-0/+0
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From the release notes: Changes affecting current and future time stamps Turks & Caicos' switch from US eastern time to UTC-4 year-round did not occur on 2014-11-02 at 02:00. It's currently scheduled for 2015-11-01 at 02:00. (Thanks to Chris Walton.) Changes affecting past time stamps Many pre-1989 time stamps have been corrected for Asia/Seoul and Asia/Pyongyang, based on sources for the Korean-language Wikipedia entry for time in Korea. (Thanks to Sanghyuk Jung.) Also, no longer guess that Pyongyang mimicked Seoul time after World War II, as this is politically implausible. Some more zones have been turned into links, when they differed from existing zones only for older time stamps. As usual, these changes affect UTC offsets in pre-1970 time stamps only. Their old contents have been moved to the 'backzone' file. The affected zones are: Africa/Addis_Ababa, Africa/Asmara, Africa/Dar_es_Salaam, Africa/Djibouti, Africa/Kampala, Africa/Mogadishu, Indian/Antananarivo, Indian/Comoro, and Indian/Mayotte. Bug: 18330681 (cherry picked from commit b11d8e057c86c3926128af9d07180d9328e144c6) Change-Id: Ifd48e7446e400dccae3afd5cbef96ca843775477
* | | | Revert "Fix dlsym() to take into account RTLD_GLOBAL/LOCAL"Dmitriy Ivanov2014-11-035-72/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c85e82dde5c4b2accc50a9e17740b9005dfbae6a. Bug: 18222321 Bug: 18211780 Change-Id: I32f4048bd5ea85dc8a3dfccce8cf141b241ab692
* | | | Revert "Add RTLD_NODELETE flag support"Dmitriy Ivanov2014-11-038-226/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c87f65d2cd0690d81665f8b241c1d763f72b6f80. Bug: 18222321 Bug: 18211780 Change-Id: I00252e26a28a41ab9f1e2dd3b32f0f80d86297f1
* | | | Revert "Fix relocation to look for symbols in local group"Dmitriy Ivanov2014-11-0314-688/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit fd2747bb585fc51b5ad56db09c0e9b66c7091a92. Bug: 18222321 Bug: 18211780 Change-Id: I2d4ebab1e73b7277161af76b99f8249825b22d65
* | | | Revert "Remove unnecessary lookups during relocations"Dmitriy Ivanov2014-11-031-5/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 6442dbd3bcadbd5e522465743a8d8cf56338ae1c. Bug: 18222321 Bug: 18211780 Change-Id: I87b18a32238a1f75afe56149221b6691f50d9f56
* | | | Revert "Fix mips build"Dmitriy Ivanov2014-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit bf3d5ef5fd240d4c5fbde1b32f9084dbc720840b. Bug: 18222321 Bug: 18211780 Change-Id: I902ed888197b358c77303f1acb6d5ffd7ae6dcd3
* | | | Revert "Fix symbol lookup order during relocation"Dmitriy Ivanov2014-11-0311-385/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 976402cca13a1f4f3aa988fd301575e134ef5f2c. Bug: 18222321 Bug: 18211780 Change-Id: Iafdd3d843db7b1cf288be9a0232022816622c944
* | | | Revert "Fix arm64 and arm builds."Dmitriy Ivanov2014-11-033-13/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 445111a1c977e94a4233efd54f3690defa4a7582. Bug: 18222321 Bug: 18211780 Change-Id: I4fa9e1b63ec9b528f8bfed73c2ec15046c43a2fe
* | | | Ensure we initialize stdin/stdout/stderr's recursive mutexes.Elliott Hughes2014-11-033-10/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry-pick of 6a03abcfd23f31d1df06eb0059830e22621282bb.) Bug: 18208568 Change-Id: I9da16ce0f9375bc363d1d02be706d73fd3b1e150
* | | | Fix arm64 and arm builds.Dmitriy Ivanov2014-10-313-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18186310 (cherry picked from commit 4e446b19d8710cd2004785db4a00f18f249fe73f) Change-Id: Ibc77a9ade36dc6b9bf5a316b5ab9ae5f0a70e826
* | | | Fix symbol lookup order during relocationDmitriy Ivanov2014-10-3111-71/+385
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relocate symbol against DF_1_GLOBAL shared libraries loaded before this shared library. This includes main executable, ld_preloads and other libraries that have DF_1_GLOBAL flag set. Bug: 2643900 Bug: 15432753 Bug: 18186310 (cherry picked from commit d225a5e65223b375a63548c4b780f04d8f3d7b60) Change-Id: I4e889cdf2dfbf8230b0790053d311ee6b0d0ee2d
* | | | Fix mips buildDmitriy Ivanov2014-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18186310 (cherry picked from commit 90b74fb8671db6f5512821a033e12a6248e5c804) Change-Id: I8d4ed254e5c421b65b62c401abdb1ee07e5dc3b2
* | | | Remove unnecessary lookups during relocationsDmitriy Ivanov2014-10-311-22/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | local_group includes this library and its dependencies. Bug: 18186310 (cherry picked from commit e47b3f8456fc34ac136e9fddef59a9ae37febcbe) Change-Id: I93c2d873e924df7319569307444bf603d7d27bf0
* | | | Fix relocation to look for symbols in local groupDmitriy Ivanov2014-10-3114-162/+688
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The local group is a sequence of libraries in default (breadth-first) order. It allows RTLD_LOCALLY loaded library to correctly relocate symbols within its group (see test-cases). Local group lookup is performed after main executable and ld_preloads. Bug: 2643900 Bug: 15432753 Bug: 18186310 (cherry picked from commit cfa97f172dc1b10d650fefbb6ccffd88ce72a5fb) Change-Id: I5fa8c673f929e4652c738912c7ae078d7ec286d2
* | | | Correct way to specify additional dependenciesDmitriy Ivanov2014-10-313-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previous one was not covering all the targets Bug: 17548097 Bug: 18186310 (cherry picked from commit 4a9e1937c56511aef579312bf39ab345f9179230) Change-Id: I2cd9e58893555d16cbfe291b2d1279621489d5ad
* | | | Add dlfcn_test to glibc test suite.Dmitriy Ivanov2014-10-315-79/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18186310 (cherry picked from commit eb27bbae8f0edc6b62ca2db73256c7fb53b9e9bf) Change-Id: I1d608dfa12dbafbdcdb8bc6d818c5872404c19e0
* | | | Ignore DT_BIND_NOW (0x18)Dmitriy Ivanov2014-10-311-7/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18186310 Bug: 17552334 (cherry picked from commit ea6eae182ad64312f80b9adddac511d8938e23e7) Change-Id: I07d6f6fbb462fea329581d0da02f6d88be1c262f
* | | | Resolve "unused DT entry" warnings for x86_64Dmitriy Ivanov2014-10-311-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18186310 (cherry picked from commit 513e29e16f16a6ffa1636ba282d599fd6b437aeb) Change-Id: I1e4c5af2cdc09dc978c7a78fcdcf8796c919751e
* | | | Add RTLD_NODELETE flag supportDmitriy Ivanov2014-10-318-10/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18186310 Bug: https://code.google.com/p/android/issues/detail?id=64069 (cherry picked from commit 1b20dafdbe65e43b9f4c95057e8482380833ea91) Change-Id: Ic02eec22a7c322ece65eb40730a3404f611526b1
* | | | Fix mips buildDmitriy Ivanov2014-10-311-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18186310 (cherry picked from commit ecf532fa1cfe91ca946243c11ef154c602870ba6) Change-Id: Ia12f2fa28c8cd3204eb7d6b4c7d872f4e81fb8ef
* | | | Fix unused DT entry warnings.Dmitriy Ivanov2014-10-314-9/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DT_STRSZ Implement strtab boundary checks DT_FLAGS_1 Warn if flags other than DF_1_NOW|DF_1_GLOBAL are set Bug: 17552334 Bug: 18186310 (cherry picked from commit 6cdeb5234d7f4523fe9d83974f265d80f10512a6) Change-Id: I7ffc7bc600798308a77ad949a644949b64250ae2