OSDN Git Service

android-x86/bionic.git
7 years agoloader: fix dlopen performance regression caused by fix for CVE-2017-0670 am: d6b2586...
dimitry [Tue, 18 Jul 2017 22:15:17 +0000 (22:15 +0000)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670 am: d6b25861d0 am: a5f74a4a80  -s ours am: 3c77ef5326
am: 6cb0d4b2aa

Change-Id: I5a2b6fcb300b86ab15c2d8fe8cf253e5f2ce03b2

7 years agoloader: fix dlopen performance regression caused by fix for CVE-2017-0670 am: d6b2586...
dimitry [Tue, 18 Jul 2017 22:11:40 +0000 (22:11 +0000)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670 am: d6b25861d0 am: a5f74a4a80  -s ours
am: 3c77ef5326

Change-Id: I812f929ce4704bd374e9267aeecca957e1d92d5c

7 years agoloader: fix dlopen performance regression caused by fix for CVE-2017-0670 am: d6b25861d0
dimitry [Tue, 18 Jul 2017 22:05:09 +0000 (22:05 +0000)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670 am: d6b25861d0
am: a5f74a4a80  -s ours

Change-Id: Ic277a838f4c2c974aa37514bbd073413c117f8e5

7 years agoloader: fix dlopen performance regression caused by fix for CVE-2017-0670
dimitry [Tue, 18 Jul 2017 21:48:06 +0000 (21:48 +0000)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670
am: d6b25861d0

Change-Id: If9f751cf09c6551aababec28b6100fd77c3b510d

7 years agoloader: fix dlopen performance regression caused by fix for CVE-2017-0670
dimitry [Mon, 17 Jul 2017 09:24:54 +0000 (11:24 +0200)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670

Fix for CVE-2017-0670 in lmp-mr1 branch caused significant slowdowns
on dlopens for libraries with large dependency trees. Modified
is_recursive check led to unecessary check of already linked libraries.

This change excludes already loaded and linked libraries from this check
since it is redundant - linker already did it while loading these
libraries.

Bug: 63658102
Test: run bionic-unit-tests --gtest_filter=dl*:Dl*
Test: manually check load times for libraries with large dependency trees.
Change-Id: Idf25376f4889c4430442ff16a16e1d79ccb77b27

7 years agoMerge "linker: remove link from external library on unload" into mnc-dev am: 8dee813dfa
Dimitry Ivanov [Tue, 16 May 2017 23:08:20 +0000 (23:08 +0000)]
Merge "linker: remove link from external library on unload" into mnc-dev am: 8dee813dfa
am: 15db978797

Change-Id: I7998e10917cad017c6a8684c6439c19c149c5928

7 years agoMerge "linker: remove link from external library on unload" into mnc-dev
Dimitry Ivanov [Tue, 16 May 2017 23:06:24 +0000 (23:06 +0000)]
Merge "linker: remove link from external library on unload" into mnc-dev
am: 8dee813dfa

Change-Id: Idb826e7c818f12c21bd50a082c8252a996b2bdde

7 years agoMerge "linker: remove link from external library on unload" into mnc-dev
Dimitry Ivanov [Tue, 16 May 2017 23:00:14 +0000 (23:00 +0000)]
Merge "linker: remove link from external library on unload" into mnc-dev

7 years agolinker: remove link from external library on unload
Dimitry Ivanov [Wed, 19 Apr 2017 18:28:16 +0000 (11:28 -0700)]
linker: remove link from external library on unload

When unloading library make sure the soinfo_link to parent
from linked external libraries is removed as well.

Bug: 36104177
Bug: http://b/37433850
Test: manual
Merged-In: I601b54144acecac54744805b38313c46045c54cb
Change-Id: I601b54144acecac54744805b38313c46045c54cb

7 years agoloader: fix leak of child-to-parent links on dlclose() am: 46c3aa2c0e -s ours am...
Dimitry Ivanov [Sun, 14 May 2017 17:46:34 +0000 (17:46 +0000)]
loader: fix leak of child-to-parent links on dlclose() am: 46c3aa2c0e  -s ours am: 02b94ea8ff am: 623d83754a am: 254aec13d0
am: c65740f4a5

Change-Id: I59cea9af44bfa75e1a9f7f4c780396f2d3f606db

7 years agoloader: fix leak of child-to-parent links on dlclose() am: 772db5e6d4 am: 78b10daab3...
Dimitry Ivanov [Sun, 14 May 2017 17:46:23 +0000 (17:46 +0000)]
loader: fix leak of child-to-parent links on dlclose() am: 772db5e6d4 am: 78b10daab3  -s ours am: dfb42b364d
am: de4e1ef729

Change-Id: If332d0da191a7e1671fffe2e4ee1f02dd3bb5845

7 years agoloader: fix leak of child-to-parent links on dlclose() am: 46c3aa2c0e -s ours am...
Dimitry Ivanov [Sun, 14 May 2017 17:44:04 +0000 (17:44 +0000)]
loader: fix leak of child-to-parent links on dlclose() am: 46c3aa2c0e  -s ours am: 02b94ea8ff am: 623d83754a
am: 254aec13d0

Change-Id: I3bf9d4ddda2fecb0a1e18b9f7600585118555121

7 years agoloader: fix leak of child-to-parent links on dlclose() am: 772db5e6d4 am: 78b10daab3...
Dimitry Ivanov [Sun, 14 May 2017 17:43:52 +0000 (17:43 +0000)]
loader: fix leak of child-to-parent links on dlclose() am: 772db5e6d4 am: 78b10daab3  -s ours
am: dfb42b364d

Change-Id: I000de0ab7f28fab41b846ff8837669e97d048e26

7 years agoloader: fix leak of child-to-parent links on dlclose() am: 46c3aa2c0e -s ours am...
Dimitry Ivanov [Sun, 14 May 2017 17:41:34 +0000 (17:41 +0000)]
loader: fix leak of child-to-parent links on dlclose() am: 46c3aa2c0e  -s ours am: 02b94ea8ff
am: 623d83754a

Change-Id: Ieff24664f41ed85ddb65af28a0f44bdbfb76bee2

7 years agoloader: fix leak of child-to-parent links on dlclose() am: 772db5e6d4
Dimitry Ivanov [Sun, 14 May 2017 17:41:22 +0000 (17:41 +0000)]
loader: fix leak of child-to-parent links on dlclose() am: 772db5e6d4
am: 78b10daab3  -s ours

Change-Id: I6ce0ea6a941043e1271d3a02a1f8dc706716e6c9

7 years agoloader: fix leak of child-to-parent links on dlclose() am: 46c3aa2c0e -s ours
Dimitry Ivanov [Sun, 14 May 2017 17:33:31 +0000 (17:33 +0000)]
loader: fix leak of child-to-parent links on dlclose() am: 46c3aa2c0e  -s ours
am: 02b94ea8ff

Change-Id: I0b49c8b7b3d3557f98815e29cd902c29a029a02e

7 years agoloader: fix leak of child-to-parent links on dlclose()
Dimitry Ivanov [Sun, 14 May 2017 17:33:21 +0000 (17:33 +0000)]
loader: fix leak of child-to-parent links on dlclose()
am: 772db5e6d4

Change-Id: I538995372384103dcbd1ca6f3ff5fcd4ae80c972

7 years agoloader: fix leak of child-to-parent links on dlclose()
Dimitry Ivanov [Sun, 14 May 2017 17:30:22 +0000 (17:30 +0000)]
loader: fix leak of child-to-parent links on dlclose()
am: 46c3aa2c0e  -s ours

Change-Id: I41138d893d74f59fc0e888c444e314523a8e7a49

7 years agoloader: fix leak of child-to-parent links on dlclose()
Dimitry Ivanov [Fri, 21 Apr 2017 23:44:48 +0000 (16:44 -0700)]
loader: fix leak of child-to-parent links on dlclose()

Use children instead of parents in is_recursive() - this
allows us to remove code adding links from child to
parent when loading a library.

Bug: 36104177
Test: /data/nativetest/bionic-unit-tests/bionic-unit-tests32 --gtest_filter=dl*
Test: manual - dlopen/dlclose libandroid.so 10 times and see how many blocks are
      used after each dlclose() - make sure they are constant.

Change-Id: I776d47de92101c6ba47f400205ccbfe8844a7cb8

7 years agoloader: fix leak of child-to-parent links on dlclose()
Dimitry Ivanov [Sat, 22 Apr 2017 00:44:25 +0000 (17:44 -0700)]
loader: fix leak of child-to-parent links on dlclose()

Remove the code adding link from child to parent. The link is
not used anywhere in the linker for L release.

Bug: 36104177
Test: manual - dlopen/dlclose libandroid.so 10 times and see how many blocks are
      used after each dlclose() - make sure they are constant.

Change-Id: I57039e934ba233253ad7dce2e071833528460116

7 years agoCheck for bad packets in getaddrinfo.c's getanswer. am: 105a0bdfa5 am: 214dd6e0fb...
Elliott Hughes [Thu, 8 Dec 2016 22:33:52 +0000 (22:33 +0000)]
Check for bad packets in getaddrinfo.c's getanswer. am: 105a0bdfa5 am: 214dd6e0fb am: 71e3bb5d42  -s ours am: 170de03123 am: 59c1e60f83 am: 148a06a7c3 am: 16de57d711
am: 7a163f01d0

Change-Id: I1d37717604f210fbc1c1ddabbd69ec55f118cc48

7 years agoCheck for bad packets in getaddrinfo.c's getanswer. am: 105a0bdfa5 am: 214dd6e0fb...
Elliott Hughes [Thu, 8 Dec 2016 22:29:22 +0000 (22:29 +0000)]
Check for bad packets in getaddrinfo.c's getanswer. am: 105a0bdfa5 am: 214dd6e0fb am: 71e3bb5d42  -s ours am: 170de03123 am: 59c1e60f83 am: 148a06a7c3
am: 16de57d711

Change-Id: I93395c898ac3b1ef6ebeb6ca53c52a057b7d108d

7 years agoCheck for bad packets in getaddrinfo.c's getanswer. am: 105a0bdfa5 am: 214dd6e0fb...
Elliott Hughes [Thu, 8 Dec 2016 22:24:23 +0000 (22:24 +0000)]
Check for bad packets in getaddrinfo.c's getanswer. am: 105a0bdfa5 am: 214dd6e0fb am: 71e3bb5d42  -s ours am: 170de03123 am: 59c1e60f83
am: 148a06a7c3

Change-Id: I2b04ead381c43e5afee710813cff4f1b12d10419

7 years agoCheck for bad packets in getaddrinfo.c's getanswer. am: 105a0bdfa5 am: 214dd6e0fb...
Elliott Hughes [Thu, 8 Dec 2016 22:19:21 +0000 (22:19 +0000)]
Check for bad packets in getaddrinfo.c's getanswer. am: 105a0bdfa5 am: 214dd6e0fb am: 71e3bb5d42  -s ours am: 170de03123
am: 59c1e60f83

Change-Id: I674cdcf370ca9820273aa21fe0b409c0d4351792

7 years agoCheck for bad packets in getaddrinfo.c's getanswer. am: 105a0bdfa5 am: 214dd6e0fb...
Elliott Hughes [Thu, 8 Dec 2016 22:14:21 +0000 (22:14 +0000)]
Check for bad packets in getaddrinfo.c's getanswer. am: 105a0bdfa5 am: 214dd6e0fb am: 71e3bb5d42  -s ours
am: 170de03123

Change-Id: Ib9c8bcb874cdc99c06951102da7cee61b5d09dc2

7 years agoCheck for bad packets in getaddrinfo.c's getanswer. am: 105a0bdfa5 am: 214dd6e0fb
Elliott Hughes [Thu, 8 Dec 2016 22:09:21 +0000 (22:09 +0000)]
Check for bad packets in getaddrinfo.c's getanswer. am: 105a0bdfa5 am: 214dd6e0fb
am: 71e3bb5d42  -s ours

Change-Id: I9128113ef3843603ce29409baa375d72a2c70804

7 years agoCheck for bad packets in getaddrinfo.c's getanswer. am: 9ea3f1c8a5 am: 62b2f0523e...
Elliott Hughes [Thu, 8 Dec 2016 21:59:19 +0000 (21:59 +0000)]
Check for bad packets in getaddrinfo.c's getanswer. am: 9ea3f1c8a5 am: 62b2f0523e am: 91b8b9dd71  -s ours am: 2ad4e6e4f6
am: c58d806231

Change-Id: Iccad5db8fbed8d449c07fbfcdcbf5fc0d7f160e5

7 years agoCheck for bad packets in getaddrinfo.c's getanswer. am: 9ea3f1c8a5 am: 62b2f0523e...
Elliott Hughes [Thu, 8 Dec 2016 21:54:49 +0000 (21:54 +0000)]
Check for bad packets in getaddrinfo.c's getanswer. am: 9ea3f1c8a5 am: 62b2f0523e am: 91b8b9dd71  -s ours
am: 2ad4e6e4f6

Change-Id: I36e2e234308fe8e527acd45c53b918fd4a8f20cf

7 years agoCheck for bad packets in getaddrinfo.c's getanswer. am: 105a0bdfa5
Elliott Hughes [Thu, 8 Dec 2016 21:54:48 +0000 (21:54 +0000)]
Check for bad packets in getaddrinfo.c's getanswer. am: 105a0bdfa5
am: 214dd6e0fb

Change-Id: Icb2a9662e7909d5e9e23fddf632999053398d0f6

7 years agoCheck for bad packets in getaddrinfo.c's getanswer. am: 9ea3f1c8a5 am: 62b2f0523e
Elliott Hughes [Thu, 8 Dec 2016 21:50:18 +0000 (21:50 +0000)]
Check for bad packets in getaddrinfo.c's getanswer. am: 9ea3f1c8a5 am: 62b2f0523e
am: 91b8b9dd71  -s ours

Change-Id: Ifd8532b08f3545aa93561cb73226f116ace49e19

7 years agoCheck for bad packets in getaddrinfo.c's getanswer.
Elliott Hughes [Thu, 8 Dec 2016 21:50:18 +0000 (21:50 +0000)]
Check for bad packets in getaddrinfo.c's getanswer.
am: 105a0bdfa5

Change-Id: I3a6ff59b6b35398f5aa6838995670a6bb9546bc9

7 years agoCheck for bad packets in getaddrinfo.c's getanswer. am: 9ea3f1c8a5
Elliott Hughes [Thu, 8 Dec 2016 21:17:17 +0000 (21:17 +0000)]
Check for bad packets in getaddrinfo.c's getanswer. am: 9ea3f1c8a5
am: 62b2f0523e

Change-Id: I32e6e9d2747364697846ff47ff0622fff260d319

7 years agoCheck for bad packets in getaddrinfo.c's getanswer.
Elliott Hughes [Thu, 8 Dec 2016 21:12:16 +0000 (21:12 +0000)]
Check for bad packets in getaddrinfo.c's getanswer.
am: 9ea3f1c8a5

Change-Id: Id6ba716299450f0f0625750460524fa07f55e708

7 years agoCheck for bad packets in getaddrinfo.c's getanswer. am: 87c0dba7b1
Elliott Hughes [Thu, 8 Dec 2016 20:57:15 +0000 (20:57 +0000)]
Check for bad packets in getaddrinfo.c's getanswer. am: 87c0dba7b1
am: dc0492ac4f

Change-Id: I949b993b8490d27ec180257fcca06d8984940f0f

7 years agoCheck for bad packets in getaddrinfo.c's getanswer.
Elliott Hughes [Thu, 8 Dec 2016 20:52:15 +0000 (20:52 +0000)]
Check for bad packets in getaddrinfo.c's getanswer.
am: 87c0dba7b1

Change-Id: I3a09f86362797881b4e7cc0ee807d28addf7b342

7 years agoCheck for bad packets in getaddrinfo.c's getanswer.
Elliott Hughes [Tue, 15 Nov 2016 20:31:01 +0000 (12:31 -0800)]
Check for bad packets in getaddrinfo.c's getanswer.

The near duplicate in gethnamaddr.c was already doing so (this fix
is basically copy and pasted from there, but with both copies modified
to avoid skirting undefined behavior).

(cherrypick of 27a4459d945e34fabd7166791a5b862ccea83f23 from master.)

Bug: http://b/32322088
Change-Id: I9668b1515ad87665e47cae962812474bb480f205

7 years agoCheck for bad packets in getaddrinfo.c's getanswer.
Elliott Hughes [Mon, 14 Nov 2016 21:56:32 +0000 (13:56 -0800)]
Check for bad packets in getaddrinfo.c's getanswer.

The near duplicate in gethnamaddr.c was already doing so (this fix
is basically copy and pasted from there, but with both copies modified
to avoid skirting undefined behavior).

(cherrypick of 27a4459d945e34fabd7166791a5b862ccea83f23 from master.)

Bug: http://b/32322088
Test: browser still works
Change-Id: I16950bb0ff9dc806cc5405b913ca4ef96e43c19f

7 years agoCheck for bad packets in getaddrinfo.c's getanswer.
Elliott Hughes [Mon, 14 Nov 2016 21:56:32 +0000 (13:56 -0800)]
Check for bad packets in getaddrinfo.c's getanswer.

The near duplicate in gethnamaddr.c was already doing so (this fix
is basically copy and pasted from there, but with both copies modified
to avoid skirting undefined behavior).

Bug: http://b/32322088
Test: browser still works
Change-Id: Ied6662be567fb1bddc7ceb138cae1da77fb57976
(cherry picked from commit 27a4459d945e34fabd7166791a5b862ccea83f23)

8 years agoUpdate timezone data to 2016f
Neil Fuller [Thu, 7 Jul 2016 15:55:47 +0000 (15:55 +0000)]
Update timezone data to 2016f
am: 88d23859e0

Change-Id: I3d0a9287cad7f6ec39174d58bf78f5c4b7e3d3e8

8 years agoUpdate timezone data to 2016f
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

8 years agoMerge \\\"DO NOT MERGE: push out fix for data dir.\\\" into marshmallow-cts-dev am...
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

8 years agoMerge \\"DO NOT MERGE: push out fix for data dir.\\" into marshmallow-cts-dev am...
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

8 years agoMerge \"DO NOT MERGE: push out fix for data dir.\" into marshmallow-cts-dev
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

8 years agoMerge "DO NOT MERGE: push out fix for data dir." into marshmallow-cts-dev
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

8 years agoDO NOT MERGE: push out fix for data dir.
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

8 years agoUpdate timezone data to 2016e
Neil Fuller [Wed, 22 Jun 2016 10:21:57 +0000 (10:21 +0000)]
Update timezone data to 2016e
am: 930bdf8e8c

Change-Id: I85d734d7c7d02f1d999b536745ae8fc323c9b66c

8 years agoUpdate timezone data to 2016e
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

8 years agoUpdate timezone data to 2016d
Neil Fuller [Mon, 13 Jun 2016 09:04:01 +0000 (09:04 +0000)]
Update timezone data to 2016d
am: 2880a020e3

Change-Id: I38ef0c08d2c63a3510b9c80442f85c1f14bf06d0

8 years agoUpdate timezone data to 2016d
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

8 years agoMerge "Run fsync tests on mutable filesystem." into marshmallow-cts-dev am: de1f02c02...
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

8 years agoMerge "Run fsync tests on mutable filesystem." into marshmallow-cts-dev am: de1f02c028
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

8 years agoMerge "Run fsync tests on mutable filesystem." into marshmallow-cts-dev
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

8 years agoMerge "Run fsync tests on mutable filesystem." into marshmallow-cts-dev
Daniel Xie [Thu, 19 May 2016 01:57:22 +0000 (01:57 +0000)]
Merge "Run fsync tests on mutable filesystem." into marshmallow-cts-dev

8 years agoFix overflow testing in sbrk. am: 1944780b62 am: 3a5ebf3154 -s ours am: d95336ac42...
Christopher Ferris [Tue, 17 May 2016 19:03:59 +0000 (19:03 +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

* commit 'b4d92e1362009637a1d0fb7ee7f96d2812a09202':
  Fix overflow testing in sbrk.

Change-Id: I0e8c70deedb9f43204d306a5fdad22b14703dbe5

8 years agoFix brk/sbrk error checking. am: f36b5088a3 am: 1d358c8ed4 -s ours am: f3a1f4244d...
Elliott Hughes [Tue, 17 May 2016 19:00:49 +0000 (19:00 +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

* commit '2f78cab2026db556b166386323542708a3bc6ba3':
  Fix brk/sbrk error checking.

Change-Id: I20fce57c0bb3ee7fb99d2a9b10286b79c9458bd2

8 years agoFix overflow testing in sbrk. am: 1944780b62 am: 3a5ebf3154 -s ours am: d95336ac42...
Christopher Ferris [Tue, 17 May 2016 19:00:48 +0000 (19:00 +0000)]
Fix overflow testing in sbrk. am: 1944780b62 am: 3a5ebf3154  -s ours am: d95336ac42 am: 0993319651 am: 0ae30d9af8 am: 83b0671a33 am: 10a48fb557
am: fd84d78b1e

* commit 'fd84d78b1e0840905b80a4c4072db27b5e3aa2c9':
  Fix overflow testing in sbrk.

Change-Id: I8bf29354a9a631ad7c33a1eab3f66124546b7331

8 years agoFix brk/sbrk error checking. am: f36b5088a3 am: 1d358c8ed4 -s ours am: f3a1f4244d...
Elliott Hughes [Tue, 17 May 2016 18:57:30 +0000 (18:57 +0000)]
Fix brk/sbrk error checking. am: f36b5088a3 am: 1d358c8ed4  -s ours am: f3a1f4244d am: c0c1abe518 am: b6789dc3b5 am: d54ed72cd8 am: 02f7869aef
am: 1d59a2d6c3

* commit '1d59a2d6c3836e8f3a85062ce6725ae489c0122b':
  Fix brk/sbrk error checking.

Change-Id: I3cc097839dfc3534f31c114c15bc89dedb6ba866

8 years agoFix overflow testing in sbrk. am: 1944780b62 am: 3a5ebf3154 -s ours am: d95336ac42...
Christopher Ferris [Tue, 17 May 2016 18:57:23 +0000 (18:57 +0000)]
Fix overflow testing in sbrk. am: 1944780b62 am: 3a5ebf3154  -s ours am: d95336ac42 am: 0993319651 am: 0ae30d9af8 am: 83b0671a33
am: 10a48fb557

* commit '10a48fb5576d44326e35ee01d6163ba78faab9e4':
  Fix overflow testing in sbrk.

Change-Id: Ie5de1ba25e3a769ff57bd9280ae4d4d9625fe4ee

8 years agoFix brk/sbrk error checking. am: f36b5088a3 am: 1d358c8ed4 -s ours am: f3a1f4244d...
Elliott Hughes [Tue, 17 May 2016 18:52:47 +0000 (18:52 +0000)]
Fix brk/sbrk error checking. am: f36b5088a3 am: 1d358c8ed4  -s ours am: f3a1f4244d am: c0c1abe518 am: b6789dc3b5 am: d54ed72cd8
am: 02f7869aef

* commit '02f7869aefb851d721c3020fca5b35c0ad9de713':
  Fix brk/sbrk error checking.

Change-Id: I31322f99f91feb450792baa2781ad87873a0adc1

8 years agoFix overflow testing in sbrk. am: 1944780b62 am: 3a5ebf3154 -s ours am: d95336ac42...
Christopher Ferris [Tue, 17 May 2016 18:52:47 +0000 (18:52 +0000)]
Fix overflow testing in sbrk. am: 1944780b62 am: 3a5ebf3154  -s ours am: d95336ac42 am: 0993319651 am: 0ae30d9af8
am: 83b0671a33

* commit '83b0671a33a0da3d0ed962f8f01ff166069093dd':
  Fix overflow testing in sbrk.

Change-Id: Id325431f9de4bdfe102381da21445fa0781ccc82

8 years agoFix brk/sbrk error checking. am: f36b5088a3 am: 1d358c8ed4 -s ours am: f3a1f4244d...
Elliott Hughes [Tue, 17 May 2016 18:49:14 +0000 (18:49 +0000)]
Fix brk/sbrk error checking. am: f36b5088a3 am: 1d358c8ed4  -s ours am: f3a1f4244d am: c0c1abe518 am: b6789dc3b5
am: d54ed72cd8

* commit 'd54ed72cd89cb66211a011e92acd645dcc0c2243':
  Fix brk/sbrk error checking.

Change-Id: I630c562d6642cce13cb1697e4dfed2432323f57e

8 years agoFix overflow testing in sbrk. am: 1944780b62 am: 3a5ebf3154 -s ours am: d95336ac42...
Christopher Ferris [Tue, 17 May 2016 18:49:09 +0000 (18:49 +0000)]
Fix overflow testing in sbrk. am: 1944780b62 am: 3a5ebf3154  -s ours am: d95336ac42 am: 0993319651
am: 0ae30d9af8

* commit '0ae30d9af8c55d95edf7ddb1c2cb4f9dc0579f83':
  Fix overflow testing in sbrk.

Change-Id: I2d63124f58990f8ae3db35789bdd993d98d389ab

8 years agoFix overflow testing in sbrk. am: 1944780b62 am: 3a5ebf3154 -s ours am: d95336ac42
Christopher Ferris [Tue, 17 May 2016 18:44:48 +0000 (18:44 +0000)]
Fix overflow testing in sbrk. am: 1944780b62 am: 3a5ebf3154  -s ours am: d95336ac42
am: 0993319651

* commit '099331965176b368af627858f087dc0eccd0fc18':
  Fix overflow testing in sbrk.

Change-Id: I4bb6ccba7238bb786eee22cb96b0bc64c3f534b8

8 years agoFix brk/sbrk error checking. am: f36b5088a3 am: 1d358c8ed4 -s ours am: f3a1f4244d...
Elliott Hughes [Tue, 17 May 2016 18:44:48 +0000 (18:44 +0000)]
Fix brk/sbrk error checking. am: f36b5088a3 am: 1d358c8ed4  -s ours am: f3a1f4244d am: c0c1abe518
am: b6789dc3b5

* commit 'b6789dc3b5fbf8bbd6b407ffe53668138e828655':
  Fix brk/sbrk error checking.

Change-Id: Ief90c1e5bac313ff5a2d18117e70b67e62ced301

8 years agoFix overflow testing in sbrk. am: 1944780b62 am: 3a5ebf3154 -s ours
Christopher Ferris [Tue, 17 May 2016 18:41:21 +0000 (18:41 +0000)]
Fix overflow testing in sbrk. am: 1944780b62 am: 3a5ebf3154  -s ours
am: d95336ac42

* commit 'd95336ac42e910e9dd11f01f5af65e8e1f4505cb':
  Fix overflow testing in sbrk.

Change-Id: I60e5637cf560af8b95ccc585f86c2f0fa04481f1

8 years agoFix brk/sbrk error checking. am: f36b5088a3 am: 1d358c8ed4 -s ours am: f3a1f4244d
Elliott Hughes [Tue, 17 May 2016 18:41:19 +0000 (18:41 +0000)]
Fix brk/sbrk error checking. am: f36b5088a3 am: 1d358c8ed4  -s ours am: f3a1f4244d
am: c0c1abe518

* commit 'c0c1abe518ae6a7470aaf50f2170c588eca0c69a':
  Fix brk/sbrk error checking.

Change-Id: I8e622e884c0fe5c7262bae9d42971c30f9b2e4a2

8 years agoFix overflow testing in sbrk. am: 1944780b62
Christopher Ferris [Tue, 17 May 2016 18:37:25 +0000 (18:37 +0000)]
Fix overflow testing in sbrk. am: 1944780b62
am: 3a5ebf3154  -s ours

* commit '3a5ebf3154f4ff22b9196f0cc43986a458b6cadc':
  Fix overflow testing in sbrk.

Change-Id: I48cdfd2a6d05fa81bcd3dc3415c078b5f79c1f0f

8 years agoFix brk/sbrk error checking. am: f36b5088a3 am: 1d358c8ed4 -s ours
Elliott Hughes [Tue, 17 May 2016 18:37:10 +0000 (18:37 +0000)]
Fix brk/sbrk error checking. am: f36b5088a3 am: 1d358c8ed4  -s ours
am: f3a1f4244d

* commit 'f3a1f4244dd53aa9ff5f3c13578c52d3f74aae86':
  Fix brk/sbrk error checking.

Change-Id: Iedd0f7a24a709b4ee7e9b39fd293d56d71d7ec6f

8 years agoFix brk/sbrk error checking. am: f36b5088a3
Elliott Hughes [Tue, 17 May 2016 18:34:36 +0000 (18:34 +0000)]
Fix brk/sbrk error checking. am: f36b5088a3
am: 1d358c8ed4  -s ours

* commit '1d358c8ed4443d358f8a6141071c2445b52c8077':
  Fix brk/sbrk error checking.

Change-Id: I8514cee9e52d38fe8aa92310d9566e8041c58efb

8 years agoFix overflow testing in sbrk.
Christopher Ferris [Tue, 17 May 2016 18:20:00 +0000 (18:20 +0000)]
Fix overflow testing in sbrk.
am: 1944780b62

* commit '1944780b62f84acb660f46c8ae37e10928de8dab':
  Fix overflow testing in sbrk.

Change-Id: I25d6ec44731e53b098b3d6a70ae7eb37e5821ed1

8 years agoFix brk/sbrk error checking.
Elliott Hughes [Tue, 17 May 2016 18:19:59 +0000 (18:19 +0000)]
Fix brk/sbrk error checking.
am: f36b5088a3

* commit 'f36b5088a32775c44661fb6b348ed0b6b3b67e65':
  Fix brk/sbrk error checking.

Change-Id: Ie98e3cd7f1f742a22f0f3f0bd1182e95c55a4280

8 years agoFix overflow testing in sbrk.
Christopher Ferris [Thu, 22 May 2014 02:03:34 +0000 (19:03 -0700)]
Fix overflow testing in sbrk.

Modify the overflow testing for sbrk.

Bug: 15188366
Bug: 28740702

(cherry picked from commit 738b0cc5e95a9a650e9621603f4dd8dd16b07568)

Change-Id: Id79a2314d86333d689b291bc32e513664df7e058

8 years agoFix brk/sbrk error checking.
Elliott Hughes [Sat, 26 Apr 2014 01:27:38 +0000 (18:27 -0700)]
Fix brk/sbrk error checking.

Note that the kernel returns the current break on error or if the requested
break is smaller than the minimum break, or the new break. I don't know where
we got the idea that the kernel could return -1.

Also optimizes the query case.

Also hides an accidentally-exported symbol for LP64.

Bug: 28740702

(cherry picked from commit 533dde4dbf87d6615952be3654fc74e5ff2e1003)

Change-Id: Ied16987756a501acf292368a14e3727ad631efa5

8 years agoRun fsync tests on mutable filesystem.
Shuhei Takahashi [Wed, 11 May 2016 05:04:09 +0000 (14:04 +0900)]
Run fsync tests on mutable filesystem.

The purpose of those tests is to ensure fsync succeeds for
directories. However, they try to call fsync for / (the root
filesystem) that is usually mounted read-only, which does not
make sense because the whole point of fsync is to flush
uncommitted changes to the filesystem.

In fact, some well-known read-only filesystems (e.g. squashfs)
does not support fsync, so these tests fail if we use such
filesystems as the root filesystem.

This patch changes the tests to call fsync against /data
instead. /data is a user data partition and should be always
mounted read-write.

Bug: 28681455
Change-Id: I9314dad6f8d54c66401714af0f66e782ebd8e319

8 years agoUpdate timezone data to 2016a
Neil Fuller [Wed, 24 Feb 2016 15:09:28 +0000 (15:09 +0000)]
Update timezone data to 2016a

  Changes affecting future time stamps

    America/Cayman will not observe daylight saving this year after all.
    Revert our guess that it would.  (Thanks to Matt Johnson.)

    Asia/Chita switches from +0800 to +0900 on 2016-03-27 at 02:00.
    (Thanks to Alexander Krivenyshev.)

    Asia/Tehran now has DST predictions for the year 2038 and later,
    to be March 21 00:00 to September 21 00:00.  This is likely better
    than predicting no DST, albeit off by a day every now and then.

  Changes affecting past and future time stamps

    America/Metlakatla switched from PST all year to AKST/AKDT on
    2015-11-01 at 02:00.  (Thanks to Steffen Thorsen.)

    America/Santa_Isabel has been removed, and replaced with a
    backward compatibility link to America/Tijuana.  Its contents were
    apparently based on a misreading of Mexican legislation.

  Changes affecting past time stamps

    Asia/Karachi's two transition times in 2002 were off by a minute.
    (Thanks to Matt Johnson.)

Bug: 26833368
Change-Id: I5af1d69f8ca767369f1cbc4aa863280b960777e0

8 years agoMerge "Fix potential race condition on CTS TC pthread_gettid_np" into marshmallow...
Daniel Xie [Wed, 11 Nov 2015 19:00:17 +0000 (19:00 +0000)]
Merge "Fix potential race condition on CTS TC pthread_gettid_np" into marshmallow-cts-dev am: 2010fb6722
am: eebe01b523

* commit 'eebe01b523075c0634b04463c210510f192f154d':
  Fix potential race condition on CTS TC pthread_gettid_np

8 years agoMerge "Fix potential race condition on CTS TC pthread_gettid_np" into marshmallow...
Daniel Xie [Wed, 11 Nov 2015 18:57:14 +0000 (18:57 +0000)]
Merge "Fix potential race condition on CTS TC pthread_gettid_np" into marshmallow-cts-dev
am: 2010fb6722

* commit '2010fb6722ea2bd9d07c9f0a3e69eafa3d6114e9':
  Fix potential race condition on CTS TC pthread_gettid_np

8 years agoMerge "Fix potential race condition on CTS TC pthread_gettid_np" into marshmallow...
Daniel Xie [Wed, 11 Nov 2015 18:53:16 +0000 (18:53 +0000)]
Merge "Fix potential race condition on CTS TC pthread_gettid_np" into marshmallow-cts-dev

8 years agoFix potential race condition on CTS TC pthread_gettid_np
Junjie Hu [Wed, 11 Nov 2015 04:52:25 +0000 (12:52 +0800)]
Fix potential race condition on CTS TC pthread_gettid_np

Root cause:
If start_routine thread exits before pthread_gettid_np is invokded, the "tid" field
will be cleared so that pthread_gettid_np will get "0" (which is cleared by kernel,
due to the flag "CLONE_CHILD_CLEARTID" is set while calling clone system call inside
pthread_create).

Proposed patch:
Use a mutex to guarantee pthread_gettid_np will be invoked and returned before the
start_routine exits

Signed-off-by: Junjie Hu <junjie.hu@mediatek.com>
Change-Id: I22411f1b0f7446d76a0373cef4ccec858fac7018

8 years agoresolve merge conflicts of 216bff9ff3 to mnc-dr-dev.
Andreas Gampe [Fri, 23 Oct 2015 05:15:26 +0000 (22:15 -0700)]
resolve merge conflicts of 216bff9ff3 to mnc-dr-dev.

Change-Id: I63c4f3a4e56f30d6f476ad2c623c23ee7e1a3778

8 years agoresolve merge conflicts of d676080a37 to lmp-mr1-ub-dev.
Christopher Ferris [Thu, 22 Oct 2015 22:27:54 +0000 (22:27 +0000)]
resolve merge conflicts of d676080a37 to lmp-mr1-ub-dev.
am: afff4442ae

* commit 'afff4442ae092469f298a71862d61c65ceb67b03':
  Sync with upstream NetBSD lib/libc/regex.

8 years agoresolve merge conflicts of d676080a37 to lmp-mr1-ub-dev.
Christopher Ferris [Wed, 21 Oct 2015 21:56:52 +0000 (14:56 -0700)]
resolve merge conflicts of d676080a37 to lmp-mr1-ub-dev.

Change-Id: I56c1bb2adb4b6a48733c928415e788e689b4944e

8 years agoSync with upstream NetBSD lib/libc/regex.
Elliott Hughes [Wed, 21 Oct 2015 21:45:01 +0000 (21:45 +0000)]
Sync with upstream NetBSD lib/libc/regex.
am: 055a66c9b1

* commit '055a66c9b1017c01b82c12b65a571bf9efad8b19':
  Sync with upstream NetBSD lib/libc/regex.

8 years agoSync with upstream NetBSD lib/libc/regex.
Elliott Hughes [Tue, 15 Sep 2015 01:45:52 +0000 (18:45 -0700)]
Sync with upstream NetBSD lib/libc/regex.

Bug: http://b/22850181
Change-Id: I11a51a2031e68a953ccd5691da98c699c7d01904

(cherry-picked from commit 71927a82379f7a72559ea96e6678d6215090937f)

8 years agoam 1a61896b: am 98384649: am 75316283: am 2d23418e: am 18442e02: (-s ours) am beb6e08...
Elliott Hughes [Mon, 19 Oct 2015 17:32:59 +0000 (17:32 +0000)]
am 1a61896b: am 98384649: am 75316283: am 2d23418e: am 18442e02: (-s ours) am beb6e08a: Sync with upstream NetBSD lib/libc/regex.

* commit '1a61896b1bc470f9377eeeafec461aba0d0dda6c':
  Sync with upstream NetBSD lib/libc/regex.

8 years agoam 98384649: am 75316283: am 2d23418e: am 18442e02: (-s ours) am beb6e08a: Sync with...
Elliott Hughes [Mon, 19 Oct 2015 17:29:49 +0000 (17:29 +0000)]
am 98384649: am 75316283: am 2d23418e: am 18442e02: (-s ours) am beb6e08a: Sync with upstream NetBSD lib/libc/regex.

* commit '98384649b2d3f3eb5b03077bc0004e14a99a4d55':
  Sync with upstream NetBSD lib/libc/regex.

8 years agoam 75316283: am 2d23418e: am 18442e02: (-s ours) am beb6e08a: Sync with upstream...
Elliott Hughes [Mon, 19 Oct 2015 17:25:29 +0000 (17:25 +0000)]
am 75316283: am 2d23418e: am 18442e02: (-s ours) am beb6e08a: Sync with upstream NetBSD lib/libc/regex.

* commit '753162836a0d3a82739611c9e30aa872363558b1':
  Sync with upstream NetBSD lib/libc/regex.

8 years agoam 2d23418e: am 18442e02: (-s ours) am beb6e08a: Sync with upstream NetBSD lib/libc...
Elliott Hughes [Mon, 19 Oct 2015 17:14:41 +0000 (10:14 -0700)]
am 2d23418e: am 18442e02: (-s ours) am beb6e08a: Sync with upstream NetBSD lib/libc/regex.

* commit '2d23418e68acdab7e142cc75db2850a54aa829aa':
  Sync with upstream NetBSD lib/libc/regex.

8 years agoam 18442e02: (-s ours) am beb6e08a: Sync with upstream NetBSD lib/libc/regex.
Elliott Hughes [Mon, 19 Oct 2015 17:07:34 +0000 (10:07 -0700)]
am 18442e02: (-s ours) am beb6e08a: Sync with upstream NetBSD lib/libc/regex.

* commit '18442e023536c5cf205b820ed5d74b972b710acb':
  Sync with upstream NetBSD lib/libc/regex.

8 years agoam beb6e08a: Sync with upstream NetBSD lib/libc/regex.
Elliott Hughes [Mon, 19 Oct 2015 15:34:19 +0000 (15:34 +0000)]
am beb6e08a: Sync with upstream NetBSD lib/libc/regex.

* commit 'beb6e08abf1393663151afde2742bb23eccab4e1':
  Sync with upstream NetBSD lib/libc/regex.

8 years agoSync with upstream NetBSD lib/libc/regex.
Elliott Hughes [Tue, 15 Sep 2015 01:45:52 +0000 (18:45 -0700)]
Sync with upstream NetBSD lib/libc/regex.

Bug: http://b/22850181
(cherry-picked from commit 71927a82379f7a72559ea96e6678d6215090937f)

Change-Id: I11a51a2031e68a953ccd5691da98c699c7d01904

8 years agoMerge "Update timezone data to 2015g" into mnc-dr-dev
Neil Fuller [Thu, 15 Oct 2015 08:25:58 +0000 (08:25 +0000)]
Merge "Update timezone data to 2015g" into mnc-dr-dev

8 years agoMerge "Ensure that readlink has access to /proc/self/fd" into mnc-dr-dev
Dimitry Ivanov [Thu, 15 Oct 2015 01:17:55 +0000 (01:17 +0000)]
Merge "Ensure that readlink has access to /proc/self/fd" into mnc-dr-dev

8 years agoMerge "Sync with upstream NetBSD lib/libc/regex." into mnc-dr-dev
Christopher Ferris [Thu, 15 Oct 2015 01:15:22 +0000 (01:15 +0000)]
Merge "Sync with upstream NetBSD lib/libc/regex." into mnc-dr-dev

8 years agoSync with upstream NetBSD lib/libc/regex.
Elliott Hughes [Tue, 15 Sep 2015 01:45:52 +0000 (18:45 -0700)]
Sync with upstream NetBSD lib/libc/regex.

Bug: http://b/22850181

(cherry picked from commit 71927a82379f7a72559ea96e6678d6215090937f)

Change-Id: I4a914f0594a66f38efb3026b7ba9d28a4887cb2d

8 years agoEnsure that readlink has access to /proc/self/fd
Dmitriy Ivanov [Wed, 14 Oct 2015 18:15:45 +0000 (11:15 -0700)]
Ensure that readlink has access to /proc/self/fd

/proc/self/fd is not available when PR_DUMPABLE is set to 0
which is default for the user builds. It leads to permission
denials on readlink.

This change fixes the problem by setting PR_DUMPABLE flag to 1
for readlink and restoring it's previous value after the call.

Bug: http://b/24912743
Change-Id: I3fd179c5c6b56af96d6a15ee597024ccb15e1a13

8 years agoUpdate timezone data to 2015g
Neil Fuller [Fri, 9 Oct 2015 16:58:58 +0000 (17:58 +0100)]
Update timezone data to 2015g

  Changes affecting future time stamps

    Turkey's 2015 fall-back transition is scheduled for Nov. 8, not Oct. 25.
    (Thanks to Fatih.)

    Norfolk moves from +1130 to +1100 on 2015-10-04 at 02:00 local time.
    (Thanks to Alexander Krivenyshev.)

    Fiji's 2016 fall-back transition is scheduled for January 17, not 24.
    (Thanks to Ken Rylander.)

    Fort Nelson, British Columbia will not fall back on 2015-11-01. It has
    effectively been on MST (-0700) since it advanced its clocks on 2015-03-08.
    New zone America/Fort_Nelson.  (Thanks to Matt Johnson.)

  Changes affecting past time stamps

    Norfolk observed DST from 1974-10-27 02:00 to 1975-03-02 02:00.

Bug: 24595281
(cherry-picked from commit 31740bfdb942399235e42ea920b6b717dfa0279c)

Change-Id: I6a57fbdaf12a4b4ebf2a760fd3bd872055621106

8 years agoLog dlopen failures caused by text relocations
Dmitriy Ivanov [Tue, 13 Oct 2015 18:07:56 +0000 (11:07 -0700)]
Log dlopen failures caused by text relocations

Some apps will fail to load native libraries with
text relocations when switching target sdk version to M.
It could be hard to diagnose because some of them
suppress dlerror and/or UnsatisfiedLinkError.

This change unconditionally logs the error message making
the cause of the failure more visible to developers.

Bug: http://b/24876001
Change-Id: I0477a0d1307d0879000f3a3a43b974b4cf34bdb2

8 years agolinker: don't pass dlextinfo to dependent loads.
Torne (Richard Coles) [Wed, 2 Sep 2015 13:14:08 +0000 (14:14 +0100)]
linker: don't pass dlextinfo to dependent loads.

Don't pass the parent load's dlextinfo to dependent loads, since this
causes the linker to try to load the dependencies using the same
addresses/relro/fds/etc as the main library, which is never going to
work. This was how it worked before ae69a95 which broke this.

Bug: 23742664
Change-Id: I53d8cdf0982d8758e6d2ced4864c704cdf74118f

8 years agoam 93a91f0c: Force cts to only run one test at a time.
Christopher Ferris [Tue, 29 Sep 2015 15:11:45 +0000 (15:11 +0000)]
am 93a91f0c: Force cts to only run one test at a time.

* commit '93a91f0cf4f015762ac1ed57395c4c0de8ba7db3':
  Force cts to only run one test at a time.