OSDN Git Service
Neil Fuller [Mon, 7 Nov 2016 13:24:10 +0000 (13:24 +0000)]
DO NOT MERGE : Update timezone data to 2016i.
IANA changes:
Briefly: Cyprus split into two time zones on 2016-10-30, and Tonga
reintroduces DST on 2016-11-06.
Changes to future time stamps
Pacific/Tongatapu begins DST on 2016-11-06 at 02:00, ending on
2017-01-15 at 03:00. Assume future observances in Tonga will be
from the first Sunday in November through the third Sunday in
January, like Fiji. (Thanks to Pulu ʻAnau.) Switch to numeric
time zone abbreviations for this zone.
Changes to past and future time stamps
Northern Cyprus is now +03 year round, causing a split in Cyprus
time zones starting 2016-10-30 at 04:00. This creates a zone
Asia/Famagusta. (Thanks to Even Scharning and Matt Johnson.)
Antarctica/Casey switched from +08 to +11 on 2016-10-22.
(Thanks to Steffen Thorsen.)
Changes to past time stamps
Several corrections were made for pre-1975 time stamps in Italy.
These affect Europe/Malta, Europe/Rome, Europe/San_Marino, and
Europe/Vatican.
First, the 1893-11-01 00:00 transition in Italy used the new UT
offset (+01), not the old (+00:49:56). (Thanks to Michael
Deckers.)
Second, rules for daylight saving in Italy were changed to agree
with Italy's National Institute of Metrological Research (INRiM)
except for 1944, as follows (thanks to Pierpaolo Bernardi, Brian
Inglis, and Michael Deckers):
The 1916-06-03 transition was at 24:00, not 00:00.
The 1916-10-01, 1919-10-05, and 1920-09-19 transitions were at
00:00, not 01:00.
The 1917-09-30 and 1918-10-06 transitions were at 24:00, not
01:00.
The 1944-09-17 transition was at 03:00, not 01:00. This
particular change is taken from Italian law as INRiM's table,
(which says 02:00) appears to have a typo here. Also, keep the
1944-04-03 transition for Europe/Rome, as Rome was controlled by
Germany then.
The 1967-1970 and 1972-1974 fallback transitions were at 01:00,
not 00:00.
Bug:
32629043
Test: CtsIcuTestCases / CtsLibcoreTestCases / CtsBionicTestCases
Change-Id: Idaa395ef780c45caf9c5d15f5cb0677cec808b2b
Neil Fuller [Fri, 21 Oct 2016 09:20:33 +0000 (10:20 +0100)]
DO NOT MERGE : Update timezone data to 2016h.
IANA update relating to the data as follows:
The 2016h release of the tz code and data is available. Its primary
motivation is to update to the new rules for Palestine, where 2016g
becomes incorrect starting about four hours from now (sorry, we
didn't get much notice). More generally, the 2016h release reflects
the following changes, which were either circulated on the tz mailing
list or are relatively minor technical or administrative changes:
Changes to future time stamps
Asia/Gaza and Asia/Hebron end DST on 2016-10-29 at 01:00, not
2016-10-21 at 00:00. (Thanks to Sharef Mustafa.) Predict that
future fall transitions will be on the last Saturday of October
at 01:00, which is consistent with predicted spring transitions
on the last Saturday of March. (Thanks to Tim Parenti.)
Changes to past time stamps
In Turkey, transitions in 1986-1990 were at 01:00 standard time
not at 02:00, and the spring 1994 transition was on March 20, not
March 27. (Thanks to Kıvanç Yazan.)
Changes to past and future time zone abbreviations
Asia/Colombo now uses numeric time zone abbreviations like "+0530"
instead of alphabetic ones like "IST" and "LKT". Various
English-language sources use "IST", "LKT" and "SLST", with no
working consensus. (Usage of "SLST" mentioned by Sadika
Sumanapala.)
Bug:
32320380
Test: Ran CtsLibcoreTestCases, CtsBionicTestCases and ICU tests
Change-Id: I83311227393a593e29ecb202255937c951c19ca1
Tianjie Xu [Fri, 7 Oct 2016 04:30:14 +0000 (04:30 +0000)]
Fix a linking error in bionic/tests am:
3656958a16 am:
0893380bed
am:
b2b0460c5b
Change-Id: I049b57acdb89e2e841e46120ce06616b0bc65922
Tianjie Xu [Fri, 7 Oct 2016 04:26:44 +0000 (04:26 +0000)]
Fix a linking error in bionic/tests am:
3656958a16
am:
0893380bed
Change-Id: I462b022e42676ec6ceba39ece3933dc4cc6237d0
Tianjie Xu [Fri, 7 Oct 2016 04:22:45 +0000 (04:22 +0000)]
Fix a linking error in bionic/tests
am:
3656958a16
Change-Id: I5636ecc4e0a5ff4e1ee0a6cd0f1d182d444e63f9
Tianjie Xu [Fri, 7 Oct 2016 02:23:05 +0000 (19:23 -0700)]
Fix a linking error in bionic/tests
Fix the following linking error by adding liblog in the makefile:
"system/core/libziparchive/zip_archive.cc:277: error: undefined reference to
'__android_log_error_write'"
The error happens because libziparchive has dependency on liblog. This
error affects the downstream branches of nyc-dev.
Bug:
31251826
Test: mma -j32
Change-Id: Ia42909bbbd150ae0ca9f6aa6b14372f2e0aedccf
neo.chae [Wed, 5 Oct 2016 16:30:00 +0000 (16:30 +0000)]
Fix for default library path "/vendor/lib"
am:
8995c3876b
Change-Id: I06cfc0106ce5a9de3ec97a7aae2495bde6ddc87d
neo.chae [Tue, 4 Oct 2016 02:00:27 +0000 (11:00 +0900)]
Fix for default library path "/vendor/lib"
Android N restrict which libraries C/C++ code
can link against at runtime.
If device has a vendor partition
then /system/vendor symlink to /vendor.
Otherwise /vendor symlink to /system/vendor.
But is_system_library() is only checking /vendor/lib.
It will return false for /system/vendor/lib path.
It is need to add a real path to default library path.
Similarily, default ld library path is already checking.
parse_LD_LIBRARY_PATH()->parse_path()->resolve_paths()
Test: build bionic and run bionic-unit-tests
Bug: http://b/
31919547
Change-Id: Ie6777e2b02729948ce77a94de32343d40358bf2c
Signed-off-by: Hyangseok Chae <neo.chae@lge.com>
(cherry picked from commit
2589f9de6473a2030594e2c5e95541f00eb2dc7a)
Joachim Sauer [Tue, 4 Oct 2016 14:03:16 +0000 (14:03 +0000)]
Update timezone data to 2016g.
am:
ba9734ffd5
Change-Id: Iefe8047d6121febc517b812e22d80f87aa452dd8
Joachim Sauer [Mon, 3 Oct 2016 12:38:43 +0000 (13:38 +0100)]
Update timezone data to 2016g.
The 2016g 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 to future time stamps
Turkey switched from EET/EEST (+02/+03) to permanent +03,
effective 2016-09-07. (Thanks to Burak AYDIN.) Use "+03" rather
than an invented abbreviation for the new time.
New leap second 2016-12-31 23:59:60 UTC as per IERS Bulletin C 52.
(Thanks to Tim Parenti.)
Changes to past time stamps
For America/Los_Angeles, spring-forward transition times have been
corrected from 02:00 to 02:01 in 1948, and from 02:00 to 01:00 in
1950-1966.
For zones using Soviet time on 1919-07-01, transitions to UT-based
time were at 00:00 UT, not at 02:00 local time. The affected
zones are Europe/Kirov, Europe/Moscow, Europe/Samara, and
Europe/Ulyanovsk. (Thanks to Alexander Belopolsky.)
Changes to past and future time zone abbreviations
The Factory zone now uses the time zone abbreviation -00 instead
of a long English-language string, as -00 is now the normal way to
represent an undefined time zone.
Several zones in Antarctica and the former Soviet Union, along
with zones intended for ships at sea that cannot use POSIX TZ
strings, now use numeric time zone abbreviations instead of
invented or obsolete alphanumeric abbreviations. The affected
zones are Antarctica/Casey, Antarctica/Davis,
Antarctica/DumontDUrville, Antarctica/Mawson, Antarctica/Rothera,
Antarctica/Syowa, Antarctica/Troll, Antarctica/Vostok,
Asia/Anadyr, Asia/Ashgabat, Asia/Baku, Asia/Bishkek, Asia/Chita,
Asia/Dushanbe, Asia/Irkutsk, Asia/Kamchatka, Asia/Khandyga,
Asia/Krasnoyarsk, Asia/Magadan, Asia/Omsk, Asia/Sakhalin,
Asia/Samarkand, Asia/Srednekolymsk, Asia/Tashkent, Asia/Tbilisi,
Asia/Ust-Nera, Asia/Vladivostok, Asia/Yakutsk, Asia/Yekaterinburg,
Asia/Yerevan, Etc/GMT-14, Etc/GMT-13, Etc/GMT-12, Etc/GMT-11,
Etc/GMT-10, Etc/GMT-9, Etc/GMT-8, Etc/GMT-7, Etc/GMT-6, Etc/GMT-5,
Etc/GMT-4, Etc/GMT-3, Etc/GMT-2, Etc/GMT-1, Etc/GMT+1, Etc/GMT+2,
Etc/GMT+3, Etc/GMT+4, Etc/GMT+5, Etc/GMT+6, Etc/GMT+7, Etc/GMT+8,
Etc/GMT+9, Etc/GMT+10, Etc/GMT+11, Etc/GMT+12, Europe/Kaliningrad,
Europe/Minsk, Europe/Samara, Europe/Volgograd, and
Indian/Kerguelen. For Europe/Moscow the invented abbreviation MSM
was replaced by +05, whereas MSK and MSD were kept as they are not
our invention and are widely used.
Changes to zone names
Rename Asia/Rangoon to Asia/Yangon, with a backward compatibility link.
(Thanks to David Massoud.)
Test: Ran CTS modules CtsLibcoreTestCases and CtsBionicTestCases.
Bug:
31848040
Change-Id: I4e9857616570ca9a540e27c109951ab265fea792
Elliott Hughes [Tue, 4 Oct 2016 02:38:35 +0000 (02:38 +0000)]
Fix tzdata loading.
am:
fa8f1d0ab2
Change-Id: I9bb66df357a20b74f3ea25043287be2567c6a260
Elliott Hughes [Mon, 3 Oct 2016 19:29:30 +0000 (12:29 -0700)]
Fix tzdata loading.
Android uses one large file of tzdata, so the "read up to the maximum
possible length of a valid tzfile" code in upstream localtime.c is
broken: there is always data after the current tzfile (even the
last tzfile is followed by the zone.tab data). This patch passes the
exact length through to the read(2) call so we don't over-read, rather
than have to rewrite upstream code that measures back from the "end" of
the tzfile.
The old code failed the existing time.strftime_null_tm_zone test after
updating to tzdata2016g.
(cherry picked from commit
81c46fc10fa60fd341f11024d8d3f26ff2c69082)
Bug: http://b/
31848040
Test: time.strftime_null_tm_zone
Change-Id: Iee059b5a8c051bd4952cfd80f02b00d83e489d5e
Dimitry Ivanov [Fri, 26 Aug 2016 22:04:28 +0000 (22:04 +0000)]
Merge "Fix dlext.ns_smoke test" into nyc-mr1-dev
am:
abe80314eb
Change-Id: I1bda620e360b96757c13394f290e45e1a981b9aa
Dimitry Ivanov [Fri, 26 Aug 2016 22:04:28 +0000 (22:04 +0000)]
Fix dlext.ns_smoke test
am:
23af6af7c2
Change-Id: I2f2106a03e573abf4f3d2574040c6cb4203fff1d
Dimitry Ivanov [Fri, 26 Aug 2016 21:57:40 +0000 (21:57 +0000)]
Merge "Fix dlext.ns_smoke test" into nyc-mr1-dev
Dimitry Ivanov [Fri, 26 Aug 2016 05:22:24 +0000 (05:22 +0000)]
linker: stat /proc/self/exe instead of executable_path am:
f987129903
am:
d5ac5ffa43
Change-Id: Iaae5632101b4af9a48fee6c897edb5b8ec6979e3
Dimitry Ivanov [Fri, 26 Aug 2016 05:19:54 +0000 (05:19 +0000)]
linker: stat /proc/self/exe instead of executable_path
am:
f987129903
Change-Id: I9d523394eea21f14abf4ad02c424afe028f38b4f
Dimitry Ivanov [Fri, 26 Aug 2016 02:44:14 +0000 (02:44 +0000)]
Merge "linker: stat /proc/self/exe instead of executable_path" into nyc-mr1-dev
am:
690c8ba6e7
Change-Id: Ib66401072a32c6bc5ebb7a435ace19e9f22a2916
Dimitry Ivanov [Fri, 26 Aug 2016 02:44:13 +0000 (02:44 +0000)]
linker: stat /proc/self/exe instead of executable_path
am:
7da4bbbe87
Change-Id: I4dc2883489876ac44c8a5b302511f49a2ad4e77d
Dimitry Ivanov [Thu, 25 Aug 2016 21:53:35 +0000 (14:53 -0700)]
linker: stat /proc/self/exe instead of executable_path
The absolute path to an executable may no longer be valid for
example when the file is unlinked immediately after exec.
Using /proc/self/exe instead of absolute path solves this problem.
Bug: http://b/
31084669
Test: Run the app from http://b/
31084669 make sure executable starts
Test: by checking ps and /proc/<pid>/exe
Change-Id: I5c819f39ef0fc4fc71b05de71e8af9ede611f04c
(cherry picked from commit
7da4bbbe87a7eca742c6c45a76aaf191aa70d948)
Dimitry Ivanov [Fri, 26 Aug 2016 02:32:57 +0000 (02:32 +0000)]
Merge "linker: stat /proc/self/exe instead of executable_path" into nyc-mr1-dev
Dimitry Ivanov [Thu, 25 Aug 2016 22:51:55 +0000 (22:51 +0000)]
linker: warn about W+E load segments
am:
a6f3b63f33
Change-Id: I4f422aeeaab25d3e82ead3512d2b938ee62b1c7b
Dimitry Ivanov [Wed, 13 Jul 2016 23:28:20 +0000 (16:28 -0700)]
Fix dlext.ns_smoke test
Check for updated error_message
Bug: http://b/
31097098
Test: adb shell bionic-unit-tests32/64 --gtest_filter=dlext.ns*
(cherry picked from commit
3a6c6b3254b2033a9a0246013a2c8b486800624b)
Change-Id: I0f0dd59a6deba016d37d0ccc80113b62db86c1c2
Dimitry Ivanov [Thu, 25 Aug 2016 21:53:35 +0000 (14:53 -0700)]
linker: stat /proc/self/exe instead of executable_path
The absolute path to an executable may no longer be valid for
example when the file is unlinked immediately after exec.
Using /proc/self/exe instead of absolute path solves this problem.
Bug: http://b/
31084669
Test: Run the app from http://b/
31084669 make sure executable starts
Test: by checking ps and /proc/<pid>/exe
Change-Id: I5c819f39ef0fc4fc71b05de71e8af9ede611f04c
Dimitry Ivanov [Wed, 24 Aug 2016 21:14:58 +0000 (14:14 -0700)]
linker: warn about W+E load segments
No mapped segment from the elf file can be writable and
executable at the same time. This commit adds a warning
for malformed PT_LOAD segments in the elf-files.
Change-Id: I5e1e41bc2aabc209d3b07dd6ca2689a394294628
Test: flip protection flag for libtest_empty.so (used hexedit), adb sync
Test: run bionic-unit-tests and make sure it displays the warning.
Bug: http://b/
30146890
Alex Vakulenko [Wed, 24 Aug 2016 06:24:01 +0000 (06:24 +0000)]
Merge "Fix pty.bug_28979140 test in Bionic" into nyc-mr1-dev
am:
56762e036b
Change-Id: Ice60745edf755eefd2b78c20b37518c40ba24284
Alex Vakulenko [Wed, 24 Aug 2016 06:24:00 +0000 (06:24 +0000)]
Fix pty.bug_28979140 test in Bionic
am:
766275e7f6
Change-Id: I04b0e54f2f2eabf389a9868f0757f80351621cdd
TreeHugger Robot [Wed, 24 Aug 2016 06:17:24 +0000 (06:17 +0000)]
Merge "Fix pty.bug_28979140 test in Bionic" into nyc-mr1-dev
Alex Vakulenko [Tue, 12 Jul 2016 00:26:35 +0000 (17:26 -0700)]
Fix pty.bug_28979140 test in Bionic
The test relies on the fact/assumes that CPU 0 is available to the
test process. This is not necessarily the case. Instead of allocating
CPU 0 to the main thread, find the first available CPU and use that
instead.
BUG=b/
29991929
TEST=All Bionic unit tests pass
Change-Id: I36b311cdba57112d663d652757fd5114183fc780
Dimitry Ivanov [Thu, 11 Aug 2016 04:22:44 +0000 (04:22 +0000)]
linker_asan: Translate absolute dlopen paths to use asan-libraries.
am:
5aa67675f8
Change-Id: I912e82324fc014dcfaaed0be57911ee4390a6355
Dimitry Ivanov [Wed, 10 Aug 2016 02:38:43 +0000 (19:38 -0700)]
linker_asan: Translate absolute dlopen paths to use asan-libraries.
This patch enables absolute path translation to instrumented library
when linker_asan is in use.
Test: adb shell cat /proc/<rlid pid>/maps | grep libril-qc-qmi-1.so
check that it is mapped from /data/vendor/lib64 and not /vendor/lib64
Bug: http://b/
30320104
Change-Id: I3bc24754b192afc0a72d6f3801f7b42141ce715b
Dimitry Ivanov [Wed, 10 Aug 2016 01:56:10 +0000 (01:56 +0000)]
Check alignment along with range of mapped file fragments
am:
7e2d49ae3e
Change-Id: I542a864f944153ecd84d6502a2f9ecbd12efaef6
Dimitry Ivanov [Tue, 9 Aug 2016 00:12:18 +0000 (17:12 -0700)]
Check alignment along with range of mapped file fragments
Improve sanity-checks of elf-file by adding alignment check
of mapped sections and section headers.
Bug: http://b/
30687964
Change-Id: I7f06ddaa56a13989ce7be847b3a73c352e32c008
Elliott Hughes [Tue, 2 Aug 2016 21:18:43 +0000 (21:18 +0000)]
Add a test for a known kernel bug.
am:
8bbcc61b54
Change-Id: I35c5b3abe5807acfde029440ac4ae4864c6f27fc
Elliott Hughes [Fri, 15 Jul 2016 00:07:17 +0000 (17:07 -0700)]
Add a test for a known kernel bug.
Bug: http://b/
27265969
(cherry picked from commit
4a253496b86522ec732a89f19d4ca534d71d53f2)
Change-Id: Ibf0b6457b02e89b90bc86c9367e14021c606356b
Yabin Cui [Wed, 13 Jul 2016 22:53:25 +0000 (15:53 -0700)]
Force pthread_cond_timedwait_relative_np using CLOCK_MONOTONIC.
Previous patch changed pthread_cond_timedwait_relative_np to use
CLOCK_REALTIME, which causes app compatibility problem. So change
it back to CLOCK_MONOTONIC.
Bug:
30106240
Change-Id: I8e04058e92ede098f4f9f8d133f094001921441e
(cherry picked from commit
fe4a4d8f67cf84b0b10d6c689f356229e057603b)
Neil Fuller [Thu, 7 Jul 2016 16:07:46 +0000 (16:07 +0000)]
Update timezone data to 2016f am:
88d23859e0 am:
6c4968a6e7 am:
a884aa8df7
am:
bc1ce3b828
Change-Id: I7cfc0bb7755fb4c0559c79ec458610a59c398482
Neil Fuller [Thu, 7 Jul 2016 16:05:31 +0000 (16:05 +0000)]
Update timezone data to 2016f am:
88d23859e0 am:
6c4968a6e7
am:
a884aa8df7
Change-Id: I84612c410e4fea54733ed340b6a6695771bba4d9
Neil Fuller [Thu, 7 Jul 2016 15:58:57 +0000 (15:58 +0000)]
Update timezone data to 2016f am:
88d23859e0
am:
6c4968a6e7
Change-Id: I2b7bbc586b55719fd80d985c0972084dd25c7ada
Neil Fuller [Thu, 7 Jul 2016 15:55:47 +0000 (15:55 +0000)]
Update timezone data to 2016f
am:
88d23859e0
Change-Id: I3d0a9287cad7f6ec39174d58bf78f5c4b7e3d3e8
Neil Fuller [Wed, 6 Jul 2016 18:00:26 +0000 (18:00 +0000)]
Update timezone data to 2016f
am:
510ac40370
Change-Id: Ifcf36728c70db9432ce3d61bf56355b62a5a5bca
Neil Fuller [Wed, 6 Jul 2016 14:26:15 +0000 (15:26 +0100)]
Update timezone data to 2016f
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: I30fd2a57fce7473b22ec80f713863ce502293ab9
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:
29991153
Neil Fuller [Wed, 6 Jul 2016 14:26:15 +0000 (15:26 +0100)]
Update timezone data to 2016f
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
Daniel Xie [Wed, 22 Jun 2016 21:43:30 +0000 (21:43 +0000)]
Merge \\\\\\"DO NOT MERGE: push out fix for data dir.\\\\\\" into marshmallow-cts-dev am:
f09a2ff2e6 -s ours am:
d986ba2659 am:
99a49f5417 am:
9ced3475be am:
e8be35da77 -s ours
am:
3593c2fa62
Change-Id: I602665fc0786a47555fb2a2b8d36d0d2127a70e7
Daniel Xie [Wed, 22 Jun 2016 21:41:07 +0000 (21:41 +0000)]
Merge \\\\\"DO NOT MERGE: push out fix for data dir.\\\\\" into marshmallow-cts-dev am:
f09a2ff2e6 -s ours am:
d986ba2659 am:
99a49f5417 am:
9ced3475be
am:
e8be35da77 -s ours
Change-Id: I177ca0c55de3b54bd764f6eddf8749325b6cb3f4
Daniel Xie [Wed, 22 Jun 2016 21:38:36 +0000 (21:38 +0000)]
Merge \\\\"DO NOT MERGE: push out fix for data dir.\\\\" into marshmallow-cts-dev am:
f09a2ff2e6 -s ours am:
d986ba2659 am:
99a49f5417
am:
9ced3475be
Change-Id: Ie4afe19fe05d760ce22246fb98ef9f5a8a8a88d2
Daniel Xie [Wed, 22 Jun 2016 21:36:06 +0000 (21:36 +0000)]
Merge \\\"DO NOT MERGE: push out fix for data dir.\\\" into marshmallow-cts-dev am:
f09a2ff2e6 -s ours am:
d986ba2659
am:
99a49f5417
Change-Id: I60161d61084359f0ae74c2fdfd9e75b6af5b24d3
Daniel Xie [Wed, 22 Jun 2016 21:33:39 +0000 (21:33 +0000)]
Merge \\"DO NOT MERGE: push out fix for data dir.\\" into marshmallow-cts-dev am:
f09a2ff2e6 -s ours
am:
d986ba2659
Change-Id: I670ae33ee552d13a25f1071ce042015baf470e22
Daniel Xie [Wed, 22 Jun 2016 21:31:10 +0000 (21:31 +0000)]
Merge \"DO NOT MERGE: push out fix for data dir.\" into marshmallow-cts-dev
am:
f09a2ff2e6 -s ours
Change-Id: Icdb05b897a4877b86581b41d1dd7d1a14031172b
Daniel Xie [Wed, 22 Jun 2016 21:22:03 +0000 (21:22 +0000)]
Merge "DO NOT MERGE: push out fix for data dir." into marshmallow-cts-dev
Daniel Xie [Wed, 22 Jun 2016 21:19:01 +0000 (14:19 -0700)]
DO NOT MERGE: push out fix for data dir.
Change-Id: I97ff02676e7f6008c26ddb5c41eb113b4b62280f
Neil Fuller [Wed, 22 Jun 2016 10:48:27 +0000 (10:48 +0000)]
Update timezone data to 2016e am:
930bdf8e8c am:
65f57e4cea am:
6a0a02efab
am:
378eb66e6c
Change-Id: I71ce699be9c888029f0881af5f26d0b005c47d86
Neil Fuller [Wed, 22 Jun 2016 10:46:09 +0000 (10:46 +0000)]
Update timezone data to 2016e am:
930bdf8e8c am:
65f57e4cea
am:
6a0a02efab
Change-Id: I4bba4d1fd498cfe5f30d623940ab385a16146ab4
Neil Fuller [Wed, 22 Jun 2016 10:24:38 +0000 (10:24 +0000)]
Update timezone data to 2016e am:
930bdf8e8c
am:
65f57e4cea
Change-Id: I8f38716470915ebd3d2f266d4e5a102c44c13263
Neil Fuller [Wed, 22 Jun 2016 10:21:57 +0000 (10:21 +0000)]
Update timezone data to 2016e
am:
930bdf8e8c
Change-Id: I85d734d7c7d02f1d999b536745ae8fc323c9b66c
Neil Fuller [Wed, 22 Jun 2016 09:00:13 +0000 (09:00 +0000)]
Update timezone data to 2016d am:
8a35704bea -s ours
am:
140a65866f
Change-Id: I96e94a2e9b75f4e6fcbcf0a80a2109a8b9b48039
Neil Fuller [Wed, 22 Jun 2016 08:57:35 +0000 (08:57 +0000)]
Update timezone data to 2016d
am:
8a35704bea -s ours
Change-Id: I5df7a5c49c79f4a784433a2849f7a01a58f6bf68
Neil Fuller [Wed, 22 Jun 2016 08:44:25 +0000 (08:44 +0000)]
Revert \\"Update timezone data to 2016b\\" am:
5ed031daa3 -s ours
am:
371b718a0b
Change-Id: I1bcca4982750ac839c3e69866245aea58c824827
Neil Fuller [Wed, 22 Jun 2016 08:42:07 +0000 (08:42 +0000)]
Revert \"Update timezone data to 2016b\"
am:
5ed031daa3 -s ours
Change-Id: Ic4a684359f4e73f1c0c91cad12c0762b3eac3b8b
Neil Fuller [Fri, 10 Jun 2016 12:07:43 +0000 (13:07 +0100)]
Update timezone data to 2016d
This change is effectively a cherry-pick of aosp/master commit:
60200a74113bf2da23072523b52aa15490d0b07e
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:
29240433
Bug:
29528355
(cherry picked from commit
2880a020e3859c5febde03be4921e2fbb37f06bf)
Change-Id: I4353a9689e0a21c459259eb5d488ed177acca848
Neil Fuller [Tue, 21 Jun 2016 10:43:14 +0000 (11:43 +0100)]
Revert "Update timezone data to 2016b"
This reverts commit
7bcee86edcc8cb0f969c719fed9bc3bd04de142f.
This is in preparation for applying the 2016a -> 2016d update
to mnc-dr1.5-dev (commit
2880a020e3859c5febde03be4921e2fbb37f06bf)
which cannot currently be applied because the 2016b update is
present in mnc-dr1.5-dev.
Bug:
29528355
Neil Fuller [Tue, 21 Jun 2016 10:30:57 +0000 (11:30 +0100)]
Update timezone data to 2016e
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
Bug:
29240433
Change-Id: I2098aec360bd1ac911e9514fe9dcdf87bdc8778a
Christopher Ferris [Fri, 17 Jun 2016 20:46:36 +0000 (13:46 -0700)]
Make missing public soname error message clear.
If a public library is missing, make it clear that there is no
library with that soname that is missing. This can help diagnose
problems if a library exists, but the library doesn't have the right
soname.
Bug:
29400363
Change-Id: I6e782c76ef892fb18385d720b531e5177598a2b0
Neil Fuller [Thu, 16 Jun 2016 15:09:41 +0000 (15:09 +0000)]
Update timezone data to 2016e
am:
1b0ee2041c
Change-Id: I1ed224fe898c147b0c10373bc811ad5c91643efd
Yabin Cui [Wed, 15 Jun 2016 21:25:48 +0000 (21:25 +0000)]
Merge "Add test for a pty kernel bug." into nyc-mr1-dev
Yabin Cui [Thu, 9 Jun 2016 23:36:28 +0000 (16:36 -0700)]
Add test for a pty kernel bug.
Bug:
28979140
Change-Id: Iad79fcb7a3c5b068f625c7902785cc6e696fe9a1
Neil Fuller [Wed, 15 Jun 2016 13:55:44 +0000 (14:55 +0100)]
Update timezone data to 2016e
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
Neil Fuller [Mon, 13 Jun 2016 09:31:12 +0000 (09:31 +0000)]
Update timezone data to 2016d am:
2880a020e3 am:
9958dc9fe8 -s ours am:
d9523aac7c
am:
5bdac2156c
Change-Id: I5b508e09b60d17f812f7b85569486dca0c5549ba
Neil Fuller [Mon, 13 Jun 2016 09:27:23 +0000 (09:27 +0000)]
Update timezone data to 2016d am:
2880a020e3 am:
9958dc9fe8 -s ours
am:
d9523aac7c
Change-Id: I191ed4f9c1088a44e9130683236cba8e7947e132
Neil Fuller [Mon, 13 Jun 2016 09:23:04 +0000 (09:23 +0000)]
Update timezone data to 2016d am:
2880a020e3
am:
9958dc9fe8 -s ours
Change-Id: I1cbbea60adebecefa5aa2d80e75e41d9fe4ec4dc
Neil Fuller [Mon, 13 Jun 2016 09:04:01 +0000 (09:04 +0000)]
Update timezone data to 2016d
am:
2880a020e3
Change-Id: I38ef0c08d2c63a3510b9c80442f85c1f14bf06d0
Neil Fuller [Fri, 10 Jun 2016 12:07:43 +0000 (13:07 +0100)]
Update timezone data to 2016d
This change is effectively a cherry-pick of aosp/master commit:
60200a74113bf2da23072523b52aa15490d0b07e
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:
29240433
Change-Id: I1a5491f01e0aae8b571c1ed1fddc1995086b6812
Dimitry Ivanov [Wed, 25 May 2016 06:53:23 +0000 (06:53 +0000)]
Correctly handle the case of empty LD_PRELOAD entries
am:
bda20e78f0
* commit '
bda20e78f0f314dbbf0f0bbcf0740cf2d6a4b85e':
Correctly handle the case of empty LD_PRELOAD entries
Change-Id: I8278e77864b0b85af94e527ec0d34eba052ec13a
Dimitry Ivanov [Tue, 24 May 2016 21:29:56 +0000 (14:29 -0700)]
Correctly handle the case of empty LD_PRELOAD entries
Previous android versions ignored empty entries for LD_PRELOAD
Bug: http://b/
28936779
Change-Id: I757478fe0c604ee378186511cb13b757fd9a9864
(cherry picked from commit
d799b2bb7e9335786ab4596757d871e4a7722ff0)
Dimitry Ivanov [Tue, 24 May 2016 15:46:24 +0000 (15:46 +0000)]
Fix comments since we are keeping grey-list in N
am:
f1d4a49598
* commit '
f1d4a4959880eaf0f9c789c43c1bae383a605d9f':
Fix comments since we are keeping grey-list in N
Change-Id: If8dff6fe47514a1906720e24a82ed3ea91c25b9d
Dimitry Ivanov [Tue, 24 May 2016 00:33:27 +0000 (17:33 -0700)]
Fix comments since we are keeping grey-list in N
Also add warning about removing access to greylisted libs
in the future Android releases.
Bug: http://b/
26427993
Change-Id: I1aaa94e3bde09ab0f6594e9170d479cdb3e77d42
Dimitry Ivanov [Mon, 23 May 2016 21:09:02 +0000 (21:09 +0000)]
Merge "Do not resolve caller_ns when it is not needed" into nyc-dev
am:
5b19771009
* commit '
5b19771009d4eb6dfc1e560ceff608cc06050137':
Do not resolve caller_ns when it is not needed
Change-Id: I8a9cff79a15699a9806e26b2efbdbb390280fdf6
TreeHugger Robot [Mon, 23 May 2016 21:01:17 +0000 (21:01 +0000)]
Merge "Do not resolve caller_ns when it is not needed" into nyc-dev
Dimitry Ivanov [Mon, 23 May 2016 17:31:11 +0000 (10:31 -0700)]
Do not resolve caller_ns when it is not needed
create_namespace resolves caller namespace only
when caller did not explicitly specify parent namespace.
This saves about 25 microseconds for the case when
parent_namepsace is not null (for example when creating
second classloader for the app).
Bug: http://b/
28801010
Change-Id: I50ded272c931db701e5a1d8c88ed5ffb13416539
(cherry picked from commit
5240863ed559cb4c2b121ddfbf6b3d78ac15e38f)
Christopher Ferris [Mon, 23 May 2016 19:43:28 +0000 (19:43 +0000)]
Change use of /data to /data/local/tmp.
am:
7e53843f7b
* commit '
7e53843f7b4c061920d1742c8e70a50509d83a53':
Change use of /data to /data/local/tmp.
Change-Id: I52700483c25f5386324b57cf8a094b7d565761f8
Christopher Ferris [Fri, 20 May 2016 22:32:47 +0000 (15:32 -0700)]
Change use of /data to /data/local/tmp.
The unistd fsync/fdatasync were changed to use /data from /.
Unfortunately, this directory is unreadable unless you are root, so
change this path to /data/local/tmp.
Bug:
28885777
Change-Id: Ia88da7a05c8f1b05fbd45ef2e8c55ba0c3368164
Dimitry Ivanov [Thu, 19 May 2016 18:14:00 +0000 (18:14 +0000)]
Merge "Do not check zip-entry validity on create_namespace" into nyc-dev
am:
c912ed0519
* commit '
c912ed05196d18b4f9ce0876b52b600437d1b497':
Do not check zip-entry validity on create_namespace
Change-Id: Icda7971bc067b1dd71b9bc16afaa309c503d9d16
Dimitry Ivanov [Thu, 19 May 2016 17:46:10 +0000 (17:46 +0000)]
Merge "Do not check zip-entry validity on create_namespace" into nyc-dev
Dimitry Ivanov [Thu, 19 May 2016 01:14:19 +0000 (18:14 -0700)]
Do not check zip-entry validity on create_namespace
This operation is the most expensive one and since it is
unlikely that the zip-entry name is invalid (given that it
is constructed by the platform) - it can removed.
The worst case scenario is dlopen() of non-existing libraries
taking more time. And this use-case is not on the critical path.
Bug: http://b/
28801010
Change-Id: I10a6b0bf342404ab72f0f5102ebf19f6c06ee6bf
Daniel Xie [Thu, 19 May 2016 02:19:12 +0000 (02:19 +0000)]
Merge "Run fsync tests on mutable filesystem." into marshmallow-cts-dev am:
de1f02c028 am:
0fab155cf8 am:
b46bb761d5 am:
1e44a6e1ed am:
97ecf98be3
am:
e9cb77f082
* commit '
e9cb77f082c224f31c4c4d04a613594f459a94b8':
Run fsync tests on mutable filesystem.
Change-Id: I0e97fa4e8eb4daf50beb6b1051ae8934deb2fb60
Shuhei Takahashi [Thu, 19 May 2016 02:16:14 +0000 (02:16 +0000)]
Merge "Run fsync tests on mutable filesystem." into marshmallow-cts-dev am:
de1f02c028 am:
0fab155cf8 am:
b46bb761d5 am:
1e44a6e1ed
am:
97ecf98be3
* commit '
97ecf98be3efaf196b19fc98e14dbbbc0e58c373':
Run fsync tests on mutable filesystem.
Change-Id: Id8b620cdc55da0bd2f473a176eac0fb921369d32
Daniel Xie [Thu, 19 May 2016 02:13:12 +0000 (02:13 +0000)]
Merge "Run fsync tests on mutable filesystem." into marshmallow-cts-dev am:
de1f02c028 am:
0fab155cf8 am:
b46bb761d5
am:
1e44a6e1ed
* commit '
1e44a6e1ed6321510d8fbb48bc618a376fc93cc4':
Run fsync tests on mutable filesystem.
Change-Id: If4ffd6e00b4f6c5d099fea3b20027efd72256ce6
Shuhei Takahashi [Thu, 19 May 2016 02:10:13 +0000 (02:10 +0000)]
Merge "Run fsync tests on mutable filesystem." into marshmallow-cts-dev am:
de1f02c028 am:
0fab155cf8
am:
b46bb761d5
* commit '
b46bb761d50e2b0cfe8ae597e202a7e05b0eaa5a':
Run fsync tests on mutable filesystem.
Change-Id: I212ee7226d5a5aa942696c96a49d2f74b1be9c93
Daniel Xie [Thu, 19 May 2016 02:07:14 +0000 (02:07 +0000)]
Merge "Run fsync tests on mutable filesystem." into marshmallow-cts-dev am:
de1f02c028
am:
0fab155cf8
* commit '
0fab155cf861ee12e8b01b6339ef56524d56ebe1':
Run fsync tests on mutable filesystem.
Change-Id: Iadcaa7329c8ace2a898860dce99ae1a9cf5f2757
Shuhei Takahashi [Thu, 19 May 2016 02:04:05 +0000 (02:04 +0000)]
Merge "Run fsync tests on mutable filesystem." into marshmallow-cts-dev
am:
de1f02c028
* commit '
de1f02c02815c06a6123e0d857ca217534ffbd47':
Run fsync tests on mutable filesystem.
Change-Id: I0e1cb73b9bde33672a1ef944b75c8bb180976304
Daniel Xie [Thu, 19 May 2016 01:57:22 +0000 (01:57 +0000)]
Merge "Run fsync tests on mutable filesystem." into marshmallow-cts-dev
Dimitry Ivanov [Wed, 18 May 2016 07:40:09 +0000 (07:40 +0000)]
Merge "Fix dlopen of main executable by absolute path" into nyc-dev
am:
041cf17cdd
* commit '
041cf17cdd900f807d8d39d04802e9f31f2ffd74':
Fix dlopen of main executable by absolute path
Change-Id: Ie58e2eab44e7234a320dd85eaaa7df853bccab1b
Dimitry Ivanov [Wed, 18 May 2016 07:40:03 +0000 (07:40 +0000)]
linker: Allow caller to specify parent namespace
am:
49cfc899a3
* commit '
49cfc899a3708fae9175e44c0c02cd479fda8b36':
linker: Allow caller to specify parent namespace
Change-Id: I175d6a9be50e843a5e2dc3d4cf16c19e1eb6feaa
Dimitry Ivanov [Wed, 18 May 2016 07:33:50 +0000 (07:33 +0000)]
Merge "Fix dlopen of main executable by absolute path" into nyc-dev
Dimitry Ivanov [Thu, 12 May 2016 22:20:21 +0000 (15:20 -0700)]
linker: Allow caller to specify parent namespace
This change enables apps to share libraries opened
with RTLD_GLOBAL between different classloader namespaces.
The new parameter to create_namespace allows native_loader
to instruct the linker to share libraries belonging to
global group from a specified namespace instead of
using the caller_ns.
Bug: http://b/
28560538
Bug: https://code.google.com/p/android/issues/detail?id=208458
Change-Id: I5d0c62730bbed19cdeb16c7559c74aa262a2475f
(cherry picked from commit
fc2da53440383fe1026e0eb287d643b577c2707d)
Dimitry Ivanov [Tue, 17 May 2016 20:29:37 +0000 (13:29 -0700)]
Fix dlopen of main executable by absolute path
This CL adds initialization of inode for the main executable
which enables linker to resolve the correct soinfo when
application calls dlopen with absolute path to the
main executable.
Bug: http://b/
28420266
Change-Id: I102e07bde454bd44c6e46075e3faeeb5092830d8
(cherry picked from commit
2ba1cf39ae6087249a839ec7b3793d4d4fa75438)
Christopher Ferris [Tue, 17 May 2016 19:15:05 +0000 (19:15 +0000)]
Fix overflow testing in sbrk. am:
1944780b62 am:
3a5ebf3154 -s ours am:
d95336ac42 am:
0993319651 am:
0ae30d9af8 am:
83b0671a33 am:
10a48fb557 am:
fd84d78b1e am:
b4d92e1362 am:
ad80daaab5 am:
7189a4ccc2
am:
d120719e25
* commit '
d120719e250d3f112b1c71ae775cab09c70191cd':
Fix overflow testing in sbrk.
Change-Id: I4ab3da189f46d29b1e9fcd9737227e4fcf73221e
Christopher Ferris [Tue, 17 May 2016 19:12:23 +0000 (19:12 +0000)]
Fix overflow testing in sbrk. am:
1944780b62 am:
3a5ebf3154 -s ours am:
d95336ac42 am:
0993319651 am:
0ae30d9af8 am:
83b0671a33 am:
10a48fb557 am:
fd84d78b1e am:
b4d92e1362 am:
ad80daaab5
am:
7189a4ccc2
* commit '
7189a4ccc23598eeca0d769bc70916b6a9fe3bf6':
Fix overflow testing in sbrk.
Change-Id: I3ede782a21037ce189b093dc4448ac5154a11f1b
Elliott Hughes [Tue, 17 May 2016 19:09:43 +0000 (19:09 +0000)]
Fix brk/sbrk error checking. am:
f36b5088a3 am:
1d358c8ed4 -s ours am:
f3a1f4244d am:
c0c1abe518 am:
b6789dc3b5 am:
d54ed72cd8 am:
02f7869aef am:
1d59a2d6c3 am:
2f78cab202 am:
b472137abf am:
0d7fdf1499
am:
74d59a0302
* commit '
74d59a0302a3c3c0a83f96110e0f6949ab84ba91':
Fix brk/sbrk error checking.
Change-Id: Ib27d423f22a9e8dcade2cd1e9d3e3b0469a47459
Elliott Hughes [Tue, 17 May 2016 19:06:53 +0000 (19:06 +0000)]
Fix brk/sbrk error checking. am:
f36b5088a3 am:
1d358c8ed4 -s ours am:
f3a1f4244d am:
c0c1abe518 am:
b6789dc3b5 am:
d54ed72cd8 am:
02f7869aef am:
1d59a2d6c3 am:
2f78cab202 am:
b472137abf
am:
0d7fdf1499
* commit '
0d7fdf149998059f4b3ac115d191ab53bf1b2f43':
Fix brk/sbrk error checking.
Change-Id: I8ef9e4a387599a330e75985f740973f941cc335f