OSDN Git Service
Josh Gao [Wed, 29 Jun 2016 21:58:28 +0000 (21:58 +0000)]
Merge changes I98c9329f,I40936f7b,I09d20ff1 am:
1159c196db
am:
d7fc79ad53
Change-Id: I2c2f4bbdc24b461570b380a67c553e2ce0abc936
Josh Gao [Wed, 29 Jun 2016 21:56:02 +0000 (21:56 +0000)]
Merge changes I98c9329f,I40936f7b,I09d20ff1
am:
1159c196db
Change-Id: Id118e7961eaeb3fa3f7c40abcbf158e45bee32f6
Treehugger Robot [Wed, 29 Jun 2016 21:45:34 +0000 (21:45 +0000)]
Merge changes I98c9329f,I40936f7b,I09d20ff1
* changes:
Defer registration of the arc4random fork-detect handler.
Make getpid work before the main thread is initialized.
Take the arc4random lock before forking.
Josh Gao [Fri, 24 Jun 2016 23:18:21 +0000 (16:18 -0700)]
Defer registration of the arc4random fork-detect handler.
Previously, arc4random would register a fork-detecting pthread_atfork
handler to not have to call getpid() after a fork. pthread_atfork uses
pthread_mutex_lock, which requires the current thread to be initialized,
preventing the use of arc4random for initializing the global stack guard,
which needs to happen before the main thread has been initialized.
Extract the arc4random fork-detection flag and use the existing
arc4random fork handler to set it.
Bug: http://b/
29622562
Change-Id: I98c9329fa0e489c3f78cad52747eaaf2f5226b80
Josh Gao [Fri, 24 Jun 2016 23:13:33 +0000 (16:13 -0700)]
Make getpid work before the main thread is initialized.
Bug: http://b/
29622562
Test: code dependent on this change no longer crashes
Change-Id: I40936f7b35d9e58182aeb2e34e52f54088700825
Josh Gao [Fri, 24 Jun 2016 20:04:09 +0000 (13:04 -0700)]
Take the arc4random lock before forking.
Bug: http://b/
24675038
Test: stepped through a fork call in gdb
Change-Id: I09d20ff1d103d0c005f2a0cdd9b0a8710ab2392c
Pirama Arumuga Nainar [Mon, 27 Jun 2016 22:51:14 +0000 (22:51 +0000)]
Merge \\"Skip Clang\\'s integrated-as for hand-coded assembly\\" am:
9158386758
am:
476b301eb1
Change-Id: Ia8c325990aa409f3d89ecd12689b0e0f8ef52778
Pirama Arumuga Nainar [Mon, 27 Jun 2016 22:48:43 +0000 (22:48 +0000)]
Merge \"Skip Clang\'s integrated-as for hand-coded assembly\"
am:
9158386758
Change-Id: Iccc7a425b1b68903db309efb8385e19ee8edeb4f
Treehugger Robot [Mon, 27 Jun 2016 22:39:48 +0000 (22:39 +0000)]
Merge "Skip Clang's integrated-as for hand-coded assembly"
Pirama Arumuga Nainar [Sat, 25 Jun 2016 19:53:06 +0000 (12:53 -0700)]
Skip Clang's integrated-as for hand-coded assembly
Bug: http://b/
28149048
Bug: http://b/
29771478
Clang recently switched to using integrated assembler for Mips.
However, it fails to compile some of the hand-coded assembly files in
bionic. Disable integrated-as for the time being.
Change-Id: I2eed4391f6827224da74383387bdd9105de5a857
Neil Fuller [Fri, 24 Jun 2016 09:45:38 +0000 (09:45 +0000)]
Merge \\"Update timezone data to 2016e\\" am:
bb400855c3
am:
365dbece7f
Change-Id: Ifa37018de37079ec1e67fa9b5dbee5e80a4b539f
Neil Fuller [Fri, 24 Jun 2016 09:42:08 +0000 (09:42 +0000)]
Merge \"Update timezone data to 2016e\"
am:
bb400855c3
Change-Id: Ideb25d2e0d74e9e73d38ecaa5300e82b85a01972
Neil Fuller [Fri, 24 Jun 2016 09:02:03 +0000 (09:02 +0000)]
Merge "Update timezone data to 2016e"
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
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
(cherry picked from commit
1b0ee2041c5ccf4053be8648e0cfbe45c102aeb7)
Change-Id: I00b892b160769faae6fc8e0df2a58211a43bc1a0
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: Idffbbfeef086b67c22a24780c4bd4bcc5fd33911
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:32 +0000 (10:48 +0000)]
Update timezone data to 2016e am:
930bdf8e8c am:
65f57e4cea am:
6a0a02efab
am:
378eb66e6c
Change-Id: I737d974a4dfbdd03188b7468dbfa3aa61ec70b6e
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:16 +0000 (09:00 +0000)]
Update timezone data to 2016d am:
8a35704bea -s ours
am:
140a65866f
Change-Id: I68f2814dc54c1e7c6c4da997bdd5a9185e4b3919
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:27 +0000 (08:44 +0000)]
Revert \\"Update timezone data to 2016b\\" am:
5ed031daa3 -s ours
am:
371b718a0b
Change-Id: I865635f2b5f0aaa98176db83ba8ae37ae8e676ac
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
Chih-hung Hsieh [Tue, 21 Jun 2016 18:28:00 +0000 (18:28 +0000)]
Merge \\"Fix misc-macro-parentheses warnings in bionic.\\" am:
36ad0207d6
am:
5e72ffc7d5
Change-Id: I1bba6a11dbfb02e52b4dcde7fc85e86bbc84d79f
Chih-Hung Hsieh [Tue, 21 Jun 2016 18:25:20 +0000 (18:25 +0000)]
Merge \"Fix misc-macro-parentheses warnings in bionic.\"
am:
36ad0207d6
Change-Id: Id74313f674094f47c876d12e061110838b86fa21
Chih-hung Hsieh [Tue, 21 Jun 2016 18:15:36 +0000 (18:15 +0000)]
Merge "Fix misc-macro-parentheses warnings in bionic."
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
Josh Gao [Mon, 20 Jun 2016 20:49:40 +0000 (20:49 +0000)]
Merge \\"Lose debuggerd client code to libdebuggerd_client.\\" am:
801dfc03cb
am:
a98e118a0c
Change-Id: Ia009551c319957da01294f55875d78a682eac3ee
Josh Gao [Mon, 20 Jun 2016 20:47:15 +0000 (20:47 +0000)]
Merge \"Lose debuggerd client code to libdebuggerd_client.\"
am:
801dfc03cb
Change-Id: Ifc117832bc7237ff75ddee156954149c77bacc43
Treehugger Robot [Mon, 20 Jun 2016 20:22:18 +0000 (20:22 +0000)]
Merge "Lose debuggerd client code to libdebuggerd_client."
Christopher Ferris [Mon, 20 Jun 2016 19:43:41 +0000 (19:43 +0000)]
Merge \\"Make missing public soname error message clear.\\" am:
835bd47cc4
am:
f3dd3bc5c4
Change-Id: Iee200c9317effdf898b95e4d7616dae453fd47b4
Christopher Ferris [Mon, 20 Jun 2016 19:41:17 +0000 (19:41 +0000)]
Merge \"Make missing public soname error message clear.\"
am:
835bd47cc4
Change-Id: Ib9bbeabf2367a9779df8c788e570b5d9978c7a8f
Treehugger Robot [Mon, 20 Jun 2016 19:33:23 +0000 (19:33 +0000)]
Merge "Make missing public soname error message clear."
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
(cherry picked from commit
9a84d90c753dd934c3086322f6ba6b7a1f580c8c)
Change-Id: Ie2306a2e28aff779d07441dc8af078256b184f8a
Neil Fuller [Thu, 16 Jun 2016 15:12:55 +0000 (15:12 +0000)]
Update timezone data to 2016e
am:
1b0ee2041c
Change-Id: I5d088848d55981de98d82b7a93f7e0d8af7aa1d3
Josh Gao [Thu, 16 Jun 2016 01:33:26 +0000 (18:33 -0700)]
Lose debuggerd client code to libdebuggerd_client.
Bug: http://b/
24414818
Change-Id: I524714e081a27df4d2046f0c8eb853a1b20592e6
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
Elliott Hughes [Tue, 14 Jun 2016 00:15:36 +0000 (00:15 +0000)]
Merge \\"Don\\'t expose all BSD extensions.\\" am:
112be469bb
am:
8d9b692c4f
Change-Id: If6eedc1078aa2f760147a48382d22ad01feaa80b
Elliott Hughes [Tue, 14 Jun 2016 00:11:21 +0000 (00:11 +0000)]
Merge \"Don\'t expose all BSD extensions.\"
am:
112be469bb
Change-Id: If1ca42d249c1163a92e85c0a35e48bf8e796c976
Treehugger Robot [Mon, 13 Jun 2016 23:55:22 +0000 (23:55 +0000)]
Merge "Don't expose all BSD extensions."
Elliott Hughes [Mon, 13 Jun 2016 20:23:42 +0000 (13:23 -0700)]
Don't expose all BSD extensions.
Just expose the ones that bionic historically leaked.
Also, many of the M_* constants in <math.h> are actually POSIX.
Change-Id: I6275df84c5866b872b71f1c8ed14e2aada12b793
Neil Fuller [Mon, 13 Jun 2016 09:31:13 +0000 (09:31 +0000)]
Update timezone data to 2016d am:
2880a020e3 am:
9958dc9fe8 -s ours am:
d9523aac7c
am:
5bdac2156c
Change-Id: I9ff179a335cc726af1a4541ba85553a8a7e18527
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
Josh Gao [Mon, 13 Jun 2016 08:07:51 +0000 (08:07 +0000)]
Merge \\"Update symbol versions.\\" am:
c713adeca1
am:
acd0d2f612
Change-Id: I671c3eb7aab7494ae67bb82ef49d15c61e0916b8
Josh Gao [Mon, 13 Jun 2016 08:03:55 +0000 (08:03 +0000)]
Merge \"Update symbol versions.\"
am:
c713adeca1
Change-Id: I4c35423343e5831f8f822456daa6ed7359d47ec8
Treehugger Robot [Mon, 13 Jun 2016 07:55:08 +0000 (07:55 +0000)]
Merge "Update symbol versions."
Josh Gao [Fri, 10 Jun 2016 23:33:05 +0000 (16:33 -0700)]
Update symbol versions.
Bug: http://b/
28178111
Change-Id: I8e9fb919d96693dd320962775e991caf5aeb0107
Chih-Hung Hsieh [Fri, 10 Jun 2016 18:07:21 +0000 (11:07 -0700)]
Fix misc-macro-parentheses warnings in bionic.
Add parentheses around macro arguments used beside operators,
or use constexpr for simple constants.
Bug:
28705665
Change-Id: I378c8aad92d3ec8e8c4b0440b5c2c99dfe01ce79
Elliott Hughes [Fri, 10 Jun 2016 20:50:51 +0000 (20:50 +0000)]
Merge \\"Rationalize visibility.\\" am:
2ed5852759
am:
a82358224f
Change-Id: I5154c5fe8e7d5745dd4bfe07a217f47ae8e4a7c4
Elliott Hughes [Fri, 10 Jun 2016 20:45:02 +0000 (20:45 +0000)]
Merge \"Rationalize visibility.\"
am:
2ed5852759
Change-Id: I98c8affae3e21aa1be4dc31f47a0a7ed500ebb70
Treehugger Robot [Fri, 10 Jun 2016 20:41:16 +0000 (20:41 +0000)]
Merge "Rationalize visibility."
Elliott Hughes [Fri, 10 Jun 2016 20:40:59 +0000 (20:40 +0000)]
Merge \\"Remove obsolete GCC workaround.\\" am:
5e02bde75d
am:
9050d35b5b
Change-Id: I9bd8134531594aebeb5a704398ae3b1ec30939c7
Elliott Hughes [Fri, 10 Jun 2016 20:37:21 +0000 (20:37 +0000)]
Merge \"Remove obsolete GCC workaround.\"
am:
5e02bde75d
Change-Id: Ie14aeef2fc96dd38fe9d6ef817c18fc83d2463c2
Treehugger Robot [Fri, 10 Jun 2016 20:29:37 +0000 (20:29 +0000)]
Merge "Remove obsolete GCC workaround."
Elliott Hughes [Fri, 10 Jun 2016 19:49:04 +0000 (12:49 -0700)]
Remove obsolete GCC workaround.
bionic is no longer built with GCC.
Change-Id: If01c53d8f6ec7e801bfcdc61775cc24356eb8434
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
Christopher Ferris [Fri, 10 Jun 2016 00:50:26 +0000 (00:50 +0000)]
Merge \\"Fix the SIZE_T_MAX SSIZE_MAX defines.\\" am:
93bae32c27
am:
ed392f649f
Change-Id: I09d699b124a6372928434b048224ebf1dfe4db38
Christopher Ferris [Fri, 10 Jun 2016 00:47:51 +0000 (00:47 +0000)]
Merge \"Fix the SIZE_T_MAX SSIZE_MAX defines.\"
am:
93bae32c27
Change-Id: I6ed198a90dfe58a6c8b379548e8f9522226ed86b
Elliott Hughes [Thu, 9 Jun 2016 01:11:23 +0000 (18:11 -0700)]
Rationalize visibility.
If it's C or POSIX, it's in. If it's BSD or GNU, it's guarded by __USE_BSD
or __USE_GNU.
Bug: https://code.google.com/p/android/issues/detail?id=194631
Change-Id: Ife51a21c2b37b060db56780d29c929805b199cb6
Treehugger Robot [Fri, 10 Jun 2016 00:35:37 +0000 (00:35 +0000)]
Merge "Fix the SIZE_T_MAX SSIZE_MAX defines."
Christopher Ferris [Thu, 9 Jun 2016 23:32:54 +0000 (16:32 -0700)]
Fix the SIZE_T_MAX SSIZE_MAX defines.
This should not affect the underlying values, just the types used
by the defines.
This fixes any warnings where code does something like:
printf("%zx", SIZE_T_MAX);
Change-Id: I4beb6d382f30261e4fe133a88fb503984911326d
Elliott Hughes [Thu, 9 Jun 2016 23:31:47 +0000 (23:31 +0000)]
Merge \\"Add ctermid.\\" am:
f3c39b26b5
am:
8d4f7acfe9
Change-Id: I13abb53b3e759f69721ecc6b33cffdb61011e597
Elliott Hughes [Thu, 9 Jun 2016 23:29:11 +0000 (23:29 +0000)]
Merge \"Add ctermid.\"
am:
f3c39b26b5
Change-Id: Id6c4549a355d1d6db374be2962c1c9f988e6bc74
Treehugger Robot [Thu, 9 Jun 2016 23:21:22 +0000 (23:21 +0000)]
Merge "Add ctermid."
Elliott Hughes [Thu, 9 Jun 2016 23:06:52 +0000 (23:06 +0000)]
Merge \\"Clean up obsolete libm makefile cruft.\\" am:
4bc95c0f30
am:
1c8211a79c
Change-Id: I5fe4c338d77078f2d98ac238cef31f16d0ff9f42
Elliott Hughes [Thu, 9 Jun 2016 23:04:01 +0000 (23:04 +0000)]
Merge \"Clean up obsolete libm makefile cruft.\"
am:
4bc95c0f30
Change-Id: Ia30be9e28ff2b6799b95a35e82629da814e8efa8
Treehugger Robot [Thu, 9 Jun 2016 22:56:18 +0000 (22:56 +0000)]
Merge "Clean up obsolete libm makefile cruft."
Elliott Hughes [Thu, 9 Jun 2016 22:16:32 +0000 (15:16 -0700)]
Add ctermid.
Change-Id: I7c7c815c2725df222932db923632c8b6419741ab
Elliott Hughes [Thu, 9 Jun 2016 22:04:27 +0000 (15:04 -0700)]
Clean up obsolete libm makefile cruft.
Change-Id: I52a80c182546168bc31ccc04d8bf815350dba28c
Elliott Hughes [Thu, 9 Jun 2016 17:50:23 +0000 (17:50 +0000)]
Merge \\"Add futimes, futimesat, and lutimes.\\" am:
70d99a1053
am:
fe25bf8fe5
Change-Id: I5f1e4ddcc7e9448629f520e69e5957ce3551be13
Elliott Hughes [Thu, 9 Jun 2016 17:44:59 +0000 (17:44 +0000)]
Merge \"Add futimes, futimesat, and lutimes.\"
am:
70d99a1053
Change-Id: I6714f4c3ef0a59d4e3bf51562ffe4a7ccd8c2018
Elliott Hughes [Thu, 9 Jun 2016 17:34:41 +0000 (17:34 +0000)]
Merge "Add futimes, futimesat, and lutimes."
Elliott Hughes [Thu, 9 Jun 2016 02:51:20 +0000 (19:51 -0700)]
Add futimes, futimesat, and lutimes.
Spotted these while cleaning up <sys/cdefs.h> --- if we remove __USE_XOPEN2K8,
libchrome decides you "must" have futimes. Adding the missing functions (all
just alternative interfaces to utimensat(2) system call) lets us clean up
without breaking anything.
Change-Id: If44fab08ee3de0e31066d650d128a3c96323529b
Elliott Hughes [Wed, 8 Jun 2016 19:58:59 +0000 (19:58 +0000)]
Merge \\"Move /vendor/bin down with /vendor/xbin.\\" am:
cf4c3649ad
am:
98c495ed6a
Change-Id: Ia17103fde70d455b048b1f4e3be43a08f8480eaf
Elliott Hughes [Wed, 8 Jun 2016 19:56:29 +0000 (19:56 +0000)]
Merge \"Move /vendor/bin down with /vendor/xbin.\"
am:
cf4c3649ad
Change-Id: Ia03673777560d01ce6c3498c99f7b972b25e4d64
Elliott Hughes [Wed, 8 Jun 2016 19:56:28 +0000 (19:56 +0000)]
Merge \\"More C compatibility.\\" am:
34985b60c1
am:
be5dbd8bb8
Change-Id: If07051357cf971774145180bf5a187b610d423d7
Elliott Hughes [Wed, 8 Jun 2016 19:54:05 +0000 (19:54 +0000)]
Merge \"More C compatibility.\"
am:
34985b60c1
Change-Id: If3a8ef52c4c23c875561f7592b4193f4f918c4cf
Elliott Hughes [Wed, 8 Jun 2016 19:53:21 +0000 (19:53 +0000)]
Merge "Move /vendor/bin down with /vendor/xbin."
Treehugger Robot [Wed, 8 Jun 2016 19:44:29 +0000 (19:44 +0000)]
Merge "More C compatibility."
Elliott Hughes [Wed, 8 Jun 2016 17:52:15 +0000 (10:52 -0700)]
More C compatibility.
Add C11 static_assert to <assert.h>. Remove uses of __dead while we're there:
__noreturn already does the same thing on those functions.
Fix <uchar.h> so it works from C.
<stdalign.h> and <stdnoreturn.h> are provided by clang, so there's nothing
for us to do.
Bug: http://b/
29178582
Change-Id: Iebc46223868729a26d1a61eb125b76cbcb83a22d
Elliott Hughes [Wed, 8 Jun 2016 17:17:26 +0000 (10:17 -0700)]
Move /vendor/bin down with /vendor/xbin.
The intention is that /vendor/*bin _extends_ rather than overrides.
Change-Id: Iad7db78f653345d79aa6f87abe0a3c2a797f71a3
Erik Kline [Wed, 8 Jun 2016 01:24:58 +0000 (01:24 +0000)]
Merge \\"Add /vendor/xbin to root\\'s path.\\" am:
74669e99ce
am:
a258d220b1
Change-Id: If00b5c21d8a68fa89d0e707ac60434a7054a6fa2
Erik Kline [Wed, 8 Jun 2016 01:22:22 +0000 (01:22 +0000)]
Merge \"Add /vendor/xbin to root\'s path.\"
am:
74669e99ce
Change-Id: Ia5bccd411cf19351b26b1ccbb78fc65443b0d33d
Treehugger Robot [Wed, 8 Jun 2016 01:06:48 +0000 (01:06 +0000)]
Merge "Add /vendor/xbin to root's path."
Elliott Hughes [Tue, 7 Jun 2016 20:27:35 +0000 (20:27 +0000)]
Merge "Preliminary cleanup of <sys/cdefs.h>." am:
30ad0dd6ad
am:
2278f77e18
* commit '
2278f77e185c15f703c5513ae9ce6962d487f693':
Preliminary cleanup of <sys/cdefs.h>.
Change-Id: I52dacdc75b3b172c83a3c9897bbc3af0fb9a2298
Elliott Hughes [Tue, 7 Jun 2016 20:25:11 +0000 (20:25 +0000)]
Merge "Preliminary cleanup of <sys/cdefs.h>."
am:
30ad0dd6ad
* commit '
30ad0dd6ad90131cdcc71b8b9c33a17598a25671':
Preliminary cleanup of <sys/cdefs.h>.
Change-Id: Ibfa1773b59ad937b663886df849c0a06476ce454
Elliott Hughes [Tue, 7 Jun 2016 20:16:26 +0000 (20:16 +0000)]
Merge "Preliminary cleanup of <sys/cdefs.h>."
Elliott Hughes [Tue, 7 Jun 2016 00:35:53 +0000 (17:35 -0700)]
Preliminary cleanup of <sys/cdefs.h>.
We don't support anything other than Clang and GCC, and we don't support
GCC earlier than 4.9.
Move the various synonyms for __attribute__(__whatever__) together.
Fix a __STDC__VERSION__ (for __STDC_VERSION__) typo.
Drop support for BSD _ANSI_SOURCE and _C99_SOURCE; there's enough confusing
nonsense here already, and plenty of other ways to ask for obsolete standards.
There are plenty more problems here -- what I really want to do is rationalize
our treatment of __STDC_VERSION__ -- but let's get some of this easy stuff
out of the way first.
Bug: https://code.google.com/p/android/issues/detail?id=194631
Change-Id: I7526b9770fdc01f8a4667781b65e2fb08287b20b
Christopher Ferris [Mon, 6 Jun 2016 22:39:50 +0000 (22:39 +0000)]
Merge "Fix infinite loop if semaphore test is not run." am:
d80d42740d
am:
d969bb9603
* commit '
d969bb9603fd70edfb801a0433d1538bfa078222':
Fix infinite loop if semaphore test is not run.
Change-Id: Ifd58caa81fe23f0d1d8c143962adc041555771e6