OSDN Git Service
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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.
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)
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.
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.
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.
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.
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.
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.
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
Neil Fuller [Thu, 15 Oct 2015 08:25:58 +0000 (08:25 +0000)]
Merge "Update timezone data to 2015g" 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
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
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
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
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
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
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
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.
Christopher Ferris [Fri, 25 Sep 2015 01:45:53 +0000 (18:45 -0700)]
Force cts to only run one test at a time.
Also, slightly increase the timeout for each test run.
Bug:
24198050
(cherry picked from commit
daaaed18ce1d2f2da9d2240e974922299d937670)
Change-Id: I29e169e962da803a89abf0a28e071abcafa315b7
Yabin Cui [Tue, 22 Sep 2015 18:16:15 +0000 (11:16 -0700)]
Increase alternative signal stack size on 64-bit devices.
Bug:
23041777
Bug:
24187462
Change-Id: I7d84c0cc775a74753a3e8e101169c0fb5dbf7437
Neil Fuller [Tue, 25 Aug 2015 11:46:33 +0000 (12:46 +0100)]
Update timezone data to 2015f
Changes affecting future time stamps
North Korea switches to +0830 on 2015-08-15. (Thanks to Steffen Thorsen.)
The abbreviation remains "KST". (Thanks to Robert Elz.)
Uruguay no longer observes DST. (Thanks to Steffen Thorsen
and Pablo Camargo.)
Changes affecting past and future time stamps
Moldova starts and ends DST at 00:00 UTC, not at 01:00 UTC.
(Thanks to Roman Tudos.)
Bug:
23480367
(cherry-picked from commit
6e7bc700e287f5d46165862a7031236670fa94d5)
Change-Id: I4d82604366e9e30a2100e09433e2772fe6957fff
Yabin Cui [Tue, 11 Aug 2015 19:05:43 +0000 (19:05 +0000)]
am
a6a12a78: am
0fdcdd00: Merge "Fix flaky test time.timer_settime_0." into lollipop-mr1-cts-dev
* commit '
a6a12a7804402273e193074a58162cc0b3890812':
Fix flaky test time.timer_settime_0.
Yabin Cui [Tue, 11 Aug 2015 18:56:43 +0000 (18:56 +0000)]
am
0fdcdd00: Merge "Fix flaky test time.timer_settime_0." into lollipop-mr1-cts-dev
* commit '
0fdcdd0067af88e7deef73070d0861ceb9f53c37':
Fix flaky test time.timer_settime_0.
Yabin Cui [Tue, 11 Aug 2015 18:41:17 +0000 (18:41 +0000)]
Merge "Fix flaky test time.timer_settime_0." into lollipop-mr1-cts-dev
Yabin Cui [Tue, 11 Aug 2015 18:23:16 +0000 (11:23 -0700)]
Fix flaky test time.timer_settime_0.
It fixes the problem reported in https://code.google.com/p/android/issues/detail?id=182395.
Change-Id: Ie16aa04095dac08a62dd0d4c50e763b36526624c
Dmitriy Ivanov [Sun, 26 Jul 2015 14:37:09 +0000 (07:37 -0700)]
Restore protection flags for ifunc during relocs.
IFUNC relocations require executable flag for the load
segment containing .text. When dso has text relocs linker
removes exec which causes crash during ifunc relocations.
This patch fixes this problem by restoring segments protection
for ifunc relocs.
Bug: http://b/
22611399
Change-Id: Icbf3be0fec0e42bf805bcad7533e2032a2e11b9c
Yabin Cui [Wed, 22 Jul 2015 00:27:54 +0000 (17:27 -0700)]
Don't abort when failed to write tracing message.
Also make the code thread-safe with lock.
Bug:
20666100
Change-Id: I0f331a617b75280f36179c187418450230d713ef
(cherry picked from commit
166112531558a1d4ea179c29147f27db7045db22)
Dan Albert [Tue, 21 Jul 2015 23:09:35 +0000 (23:09 +0000)]
Merge "Revert "Stop libc from cross-referencing unwind symbols"" into mnc-dev
Ying Wang [Tue, 21 Jul 2015 20:51:26 +0000 (20:51 +0000)]
Merge "We don't have CXX_BARE any more" into mnc-dev
Christopher Ferris [Thu, 16 Jul 2015 21:49:17 +0000 (14:49 -0700)]
Add support for non-zero vaddr in maps.
If a map has a non-zero vaddr then it needs to be added to the
computed relative offset.
Bug:
22532054
(cherry picked from commit
70b6e1daffd58ebce006d4b504cd0fb9672b6d07)
Change-Id: I1e98741d6ff3b5bbb7fc5f88cc85b27ace75ee2e
Ying Wang [Tue, 21 Jul 2015 01:51:30 +0000 (18:51 -0700)]
We don't have CXX_BARE any more
Now we have split CXX_WRAPPER from TARGET_CXX and CXX_BARE isn't needed
any more.
Bug:
22612634
Change-Id: I52c78b0d1b325910e875a786d17f780731778b4b
Dan Albert [Mon, 20 Jul 2015 23:56:51 +0000 (16:56 -0700)]
Revert "Stop libc from cross-referencing unwind symbols"
This reverts commit
cd13b14e98d4921af126667fae0cf6613a5615c5.
Bug: http://b/
19958712
Change-Id: I7cc7f69728c42c37e129aee30d761c4cd7e30e94
(cherry picked from commit
95fd031c4d22b90c542621170bb6d4d05bb94457)
Christopher Ferris [Mon, 13 Jul 2015 20:15:29 +0000 (20:15 +0000)]
Merge "Do not hold hash table lock while backtracing." into mnc-dev
Christopher Ferris [Sun, 12 Jul 2015 05:47:06 +0000 (22:47 -0700)]
Do not hold hash table lock while backtracing.
There is a deadlock if holding the hash table lock while trying to do
a backtrace. Change the code so that the hash table lock is only held
while actually modifying either g_hash_table, or while modifying an
entry from g_hash_table.
Bug:
22423683
Change-Id: I604ea56f940f22e99da41ea4dcdf97bedaac268d
Neil Fuller [Fri, 10 Jul 2015 09:47:51 +0000 (09:47 +0000)]
Merge "Update timezone data to 2015e" into mnc-dev
Dmitriy Ivanov [Wed, 8 Jul 2015 22:26:46 +0000 (15:26 -0700)]
Fix memory-leak on soinfo_free()
Bug: http://b/
22290728
Change-Id: I00747056db2cd3ff8b33936278464daed7236536
(cherry picked from commit
609f11b31ecedc4e9f2a1f6017b60b1f51b15c22)
Elliott Hughes [Mon, 6 Jul 2015 21:16:12 +0000 (14:16 -0700)]
Fix alignment after variable-length data.
In the serialized output from netd, the strings come first. Some code
assumes -- reasonably enough -- that it can do unaligned reads of pointers,
so we need to ensure alignment after all the strings.
Bug: http://b/
21192318
Change-Id: I456639127db9a2583f7f738e6b8103375d9387fd
Dmitriy Ivanov [Tue, 30 Jun 2015 22:10:51 +0000 (15:10 -0700)]
Improve personality initialization
1. Personality parameter should be unsigned int (not long)
2. Do not reset bits outside of PER_MASK when setting
personality value.
3. Set personality for static executables.
Bug: http://b/
21900686
Change-Id: I4c7e34079cbd59b818ce221eed325c05b9bb2303
Neil Fuller [Tue, 30 Jun 2015 15:21:34 +0000 (16:21 +0100)]
Update timezone data to 2015e
Changes affecting future time stamps
Morocco will suspend DST from 2015-06-14 03:00 through 2015-07-19 02:00,
not 06-13 and 07-18 as we had guessed. (Thanks to Milamber.)
Assume Cayman Islands will observe DST starting next year, using US rules.
Although it isn't guaranteed, it is the most likely.
Bug:
21836574
Change-Id: I30ab9ba8524c79e389ed0ff8c4af4378b7048265
Erik Kline [Thu, 25 Jun 2015 05:27:34 +0000 (14:27 +0900)]
Pass around struct android_net_context for better behaviour
Group network context elements in to a single struct and
add a version of android_getaddrinfofornet() that accepts it.
The introduction of UID-based routing means that the UID is an
integral part of the network context when evaluating connectivity,
sorting addresses, etc.
Also, introduce a distinction between DNS netids/marks and those
expected to be used by the application. This can be important
when the network an application is using is not the same as the
network on which DNS queries will be issued.
Additionally, de-duplicate the UDP connect logic (collapse both
_test_connect() and _find_src_addr() into just the latter).
Bug:
19470192
Bug:
20733156
Bug:
21832279
Change-Id: If16c2f4744695f507993afdac078ca105eb5d3e4
(cherry picked from commit
01e37c9665018534c798daaa59d5b0adb408e0a4)
Dmitriy Ivanov [Mon, 29 Jun 2015 21:48:25 +0000 (14:48 -0700)]
Lock on dl_interate_phdr
There is possibility of someone dlclosing a library
while dl_iterate_phdr in progress which can lead to
dl_iterate_phdr calling callback with invalid address
if it was unmapped by dlclose.
Bug: http://b/
22047255
Change-Id: I3fc0d9fd2c51fb36fd34cb035f37271fa893a7be
Dmitriy Ivanov [Thu, 25 Jun 2015 22:51:41 +0000 (15:51 -0700)]
Fix crash when trying to load invalid ELF file.
Bug: http://b/
22047255
Bug: http://b/
22091640
Change-Id: I6c51cff43287a6ac4b25fa9ce6a6fc3d232fd047
Dimitry Ivanov [Wed, 24 Jun 2015 20:42:33 +0000 (20:42 +0000)]
Revert "[MIPS] Support FR=0 emulation on FR=1 64-bit FP registers"
This reverts commit
40d9e7bf842423e328cda58e21ff5fc0cbab5c8a.
Bug: http://b/
22045439
Change-Id: Ia9c56f65d35e404332a462f46460335cef39f0a4
Duane Sand [Mon, 1 Jun 2015 23:29:14 +0000 (16:29 -0700)]
[MIPS] Support FR=0 emulation on FR=1 64-bit FP registers
Enables running of older MIPS NDK-built apps on mips64r6.
Works with kernel supporting FRE emulation, and old kernels.
Bug: http://b/
21555893
Change-Id: I13923fe62cd83ad1d337f13a50f2eda2dfdd906f
(cherry picked from commit
d02ec08427b006e80191ce60690ce48a788fb832)
Elliott Hughes [Tue, 23 Jun 2015 16:14:16 +0000 (09:14 -0700)]
Fix bad merge of
64e9e71cdb7d88397e510e1986d494b797ed3b45.
Bug: http://b/
22029751
Change-Id: I6245fe5f274c9af8a632da5eebe50cf9fe29dc4a
Dmitriy Ivanov [Mon, 22 Jun 2015 19:25:36 +0000 (19:25 +0000)]
Merge "Remove libdl* tests from bionic-unit-tests-static" into mnc-dev
Dmitriy Ivanov [Mon, 22 Jun 2015 19:25:15 +0000 (19:25 +0000)]
Merge "Remove text-relocs support for apps targeting M+" into mnc-dev
Dmitriy Ivanov [Mon, 22 Jun 2015 18:54:58 +0000 (11:54 -0700)]
Remove libdl* tests from bionic-unit-tests-static
Bug: http://b/
21900592
Change-Id: I907cc15684b121ec2fbdeca49fc584bb6d2eaacc
(cherry picked from commit
de4e27e231143e4e1982b4ca9effd03c1ca12d86)
Yabin Cui [Fri, 19 Jun 2015 19:06:22 +0000 (19:06 +0000)]
am
8beb0c34: am
b245bc75: am
0f455612: Merge "Fix flaky test of timer_create_multiple in L." into lollipop-mr1-cts-dev
* commit '
8beb0c34da46a5146a2de8256db8bb42febb283c':
Fix flaky test of timer_create_multiple in L.
Yabin Cui [Fri, 19 Jun 2015 18:55:51 +0000 (18:55 +0000)]
am
b245bc75: am
0f455612: Merge "Fix flaky test of timer_create_multiple in L." into lollipop-mr1-cts-dev
* commit '
b245bc750021ce6d220e71625fca66620cdd1f05':
Fix flaky test of timer_create_multiple in L.
Yabin Cui [Fri, 19 Jun 2015 18:40:59 +0000 (18:40 +0000)]
am
0f455612: Merge "Fix flaky test of timer_create_multiple in L." into lollipop-mr1-cts-dev
* commit '
0f455612d3325932a851418634a17a61307948c5':
Fix flaky test of timer_create_multiple in L.
David Srbecky [Fri, 19 Jun 2015 18:25:56 +0000 (18:25 +0000)]
Merge "Add flag that makes linker honor min(p_vaddr)" into mnc-dev
Yabin Cui [Fri, 19 Jun 2015 18:00:52 +0000 (18:00 +0000)]
Merge "Fix flaky test of timer_create_multiple in L." into lollipop-mr1-cts-dev
Yabin Cui [Thu, 18 Jun 2015 23:19:02 +0000 (16:19 -0700)]
Fix flaky test of timer_create_multiple in L.
Bug:
20677618
Change-Id: I0cb5faf77edce042b10611543180f3e2e73d3d05
Dmitriy Ivanov [Sat, 6 Jun 2015 05:16:23 +0000 (22:16 -0700)]
Add flag that makes linker honor min(p_vaddr)
(cherry picked from commit
8a1162835597be38705b381ac34c07da17932568)
Bug:
21924613
Bug: http://b/
21523078
Change-Id: I3f944a08dd2ed1df4d8a807da4fee423fdd35eb7
Christopher Ferris [Thu, 18 Jun 2015 00:18:39 +0000 (00:18 +0000)]
Merge "[MIPS] Add optimized string functions" into mnc-dev
Nikola Veljkovic [Tue, 26 May 2015 10:06:09 +0000 (12:06 +0200)]
[MIPS] Add optimized string functions
Use same string functions for all MIPS architectures.
Bug:
21555893
(cherry picked from commit
38f2eaa07b0ad2e01a40607d3a0ac240ff53abbf)
Change-Id: I94521f023d0bb136a4672782148a9f6e77cc6f1e
Dmitriy Ivanov [Tue, 16 Jun 2015 22:38:21 +0000 (15:38 -0700)]
Improve library lookup logic
Linker tries to open a library even if it can
be found by soname. This only happens if the
library was previously opened under different
target sdk version.
Bug: http://b/
21876587
Bug: http://b/
21153477
Bug: http://b/
21171302
Bug: https://code.google.com/p/android/issues/detail?id=160921
Change-Id: I7dbbcc3b49933bffd89ca0af55371e1a1f2bf4c2
Dmitriy Ivanov [Fri, 5 Jun 2015 01:30:51 +0000 (18:30 -0700)]
Add versions to libm.so symbols
Bug: http://b/
20139821
Change-Id: Ifdfcac62d59eb8f0985990aa8512046ecb87449e
(cherry picked from commit
636f5ddddcd9e0bcfc7139b0905ebc92d4adc40a)
Dimitry Ivanov [Wed, 17 Jun 2015 20:43:22 +0000 (20:43 +0000)]
Merge "Revert "Improve library lookup logic"" into mnc-dev
Dimitry Ivanov [Wed, 17 Jun 2015 20:42:20 +0000 (20:42 +0000)]
Revert "Improve library lookup logic"
This reverts commit
ea4ef52fa46602a5853df0e5b1ddd71b194d54ce.
Bug: http://b/
21876587
Bug: http://b/
21153477
Bug: http://b/
21171302
Bug: https://code.google.com/p/android/issues/detail?id=160921
Change-Id: I23ddbd69294023c56c9cbabad29d26c8f736ab43
Dmitriy Ivanov [Wed, 17 Jun 2015 17:15:04 +0000 (17:15 +0000)]
Merge "Improve library lookup logic" into mnc-dev
Elliott Hughes [Tue, 16 Jun 2015 23:04:35 +0000 (16:04 -0700)]
Fixes for building gdbserver (and gdb) out of the box.
Bug: http://b/
21695943
Change-Id: Iadb600b2ae619515d7038a4db9bf464ba31adb36
(cherry picked from commit
895241efbba344c1590b76fcada89c48f4743cf2)
Dmitriy Ivanov [Tue, 16 Jun 2015 22:38:21 +0000 (15:38 -0700)]
Improve library lookup logic
Linker tries to open a library even if it can
be found by soname. This only happens if the
library was previously opened under different
target sdk version.
Bug: http://b/
21876587
Bug: http://b/
21153477
Bug: http://b/
21171302
Bug: https://code.google.com/p/android/issues/detail?id=160921
Change-Id: I769a04b6b1368a107d43f399297be14050338bbc
Tim Murray [Tue, 16 Jun 2015 20:47:16 +0000 (20:47 +0000)]
Merge "Add support for cortex-a53 in bionic." into mnc-dev
Tim Murray [Thu, 11 Jun 2015 22:33:06 +0000 (15:33 -0700)]
Add support for cortex-a53 in bionic.
allows -mcpu=cortex-a53 to be passed as part of a command line.
Change-Id: Id4203a9fd197f4c3b661bad21ac58c32819fd687
Dmitriy Ivanov [Thu, 4 Jun 2015 00:48:51 +0000 (17:48 -0700)]
Add version to libc.so symbols
Bug: http://b/
21617095
Bug: http://b/
20139821
Change-Id: If3d42d2a0b4a0c49721fd9b9ecbb4f7bee5a1eff
(cherry picked from commit
665607a6b7a7a8f129c30ee73c6606f4a56cea0c)
Elliott Hughes [Tue, 16 Jun 2015 02:39:04 +0000 (19:39 -0700)]
Hide accidentally-exposed __clock_nanosleep.
Bug: http://b/
21858067
Change-Id: Iaa83a5e17cfff796aed4f641d0d14427614d9399
(cherry picked from commit
b1304935b64ffcd59cd787cc9ac83a2d14dc587b)