OSDN Git Service
Lazar Trsic [Tue, 1 Mar 2016 19:51:04 +0000 (19:51 +0000)]
Merge "Update libgcc_compat.c file for mips32 arch" am:
4fedc4154d
am:
3bb5ea60a0
* commit '
3bb5ea60a0ca662be09ea1a6c74253dbb632aa25':
Update libgcc_compat.c file for mips32 arch
Pierre Imai [Tue, 1 Mar 2016 19:50:58 +0000 (19:50 +0000)]
Merge "Copy the entire zero-separated DNS seach domain string." am:
2de7983470
am:
b908f71f72
* commit '
b908f71f726b224e1d8dd8e196b64d7e1cdec103':
Copy the entire zero-separated DNS seach domain string.
Lazar Trsic [Tue, 1 Mar 2016 19:38:24 +0000 (19:38 +0000)]
Merge "Update libgcc_compat.c file for mips32 arch"
am:
4fedc4154d
* commit '
4fedc4154d09149d2376bd69ef2ad0e771466517':
Update libgcc_compat.c file for mips32 arch
Dimitry Ivanov [Tue, 1 Mar 2016 19:35:35 +0000 (19:35 +0000)]
Merge "Update libgcc_compat.c file for mips32 arch"
Lazar Trsic [Tue, 1 Mar 2016 14:14:58 +0000 (15:14 +0100)]
Update libgcc_compat.c file for mips32 arch
Contains complete list of libgcc references.
Change-Id: If6b8000dcefa72036a025ebbe59f51e93fe57e98
Pierre Imai [Tue, 1 Mar 2016 08:15:39 +0000 (08:15 +0000)]
Merge "Copy the entire zero-separated DNS seach domain string."
am:
2de7983470
* commit '
2de7983470a04e3037a8993553c3b9533b985952':
Copy the entire zero-separated DNS seach domain string.
Pierre Imai [Tue, 1 Mar 2016 08:15:03 +0000 (08:15 +0000)]
Merge "Copy the entire zero-separated DNS seach domain string."
Elliott Hughes [Tue, 1 Mar 2016 03:30:14 +0000 (03:30 +0000)]
Rewrite ifaddrs#getifaddrs_INET.
am:
2ef5f633e7
* commit '
2ef5f633e7998cf71029341e466d8e13bad7b05b':
Rewrite ifaddrs#getifaddrs_INET.
Elliott Hughes [Tue, 1 Mar 2016 03:24:15 +0000 (03:24 +0000)]
Merge "Rewrite ifaddrs#getifaddrs_INET." am:
27900405c6
am:
686a2beaee
* commit '
686a2beaee1b7f321761db8e58446db60540c79c':
Rewrite ifaddrs#getifaddrs_INET.
Elliott Hughes [Mon, 29 Feb 2016 21:31:59 +0000 (13:31 -0800)]
Rewrite ifaddrs#getifaddrs_INET.
The old implementation was unnecessarily complex, and using the wrong ioctl
for point-to-point destination addresses.
Bug: http://b/
27313259
(cherry picked from commit
bf97770a8602ad50ac97a16b978f92c366595684)
Change-Id: Ifad01967d6b7f4bb1e0346a5bb352dbb524bf846
Elliott Hughes [Tue, 1 Mar 2016 03:22:16 +0000 (03:22 +0000)]
Merge "Rewrite ifaddrs#getifaddrs_INET."
am:
27900405c6
* commit '
27900405c66c53e3a45637661f89ff3c8cf69ec5':
Rewrite ifaddrs#getifaddrs_INET.
Elliott Hughes [Tue, 1 Mar 2016 03:21:35 +0000 (03:21 +0000)]
Merge "Rewrite ifaddrs#getifaddrs_INET."
Elliott Hughes [Mon, 29 Feb 2016 21:31:59 +0000 (13:31 -0800)]
Rewrite ifaddrs#getifaddrs_INET.
The old implementation was unnecessarily complex, and using the wrong ioctl
for point-to-point destination addresses.
Bug: http://b/
27313259
Change-Id: I9cabd17e414ce42b115037a3f828d79843f604f9
Christopher Ferris [Mon, 29 Feb 2016 21:19:44 +0000 (21:19 +0000)]
Move hard-coded values to constants.
am:
598e2c0d2a
* commit '
598e2c0d2ae6b7fbc5eb470e4296c20ed1a011ee':
Move hard-coded values to constants.
Christopher Ferris [Tue, 23 Feb 2016 03:23:26 +0000 (19:23 -0800)]
Move hard-coded values to constants.
Change all of the hard-coded config values to be defined constants.
Also make sure to use these constants in the usage output.
Bug:
26739265
(cherry picked from commit
549e52200b6af3c33cba7ef759ea98b49fa40082)
Change-Id: I07b7095cad9c47207a31d9b95e4013f4cb07ae0e
Christopher Ferris [Mon, 29 Feb 2016 19:25:22 +0000 (19:25 +0000)]
Merge "Move hard-coded values to constants." am:
6fa50a292e
am:
787e3f6136
* commit '
787e3f6136ec1e77ef9819afaf6d40314945a7ea':
Move hard-coded values to constants.
Christopher Ferris [Mon, 29 Feb 2016 19:23:45 +0000 (19:23 +0000)]
Merge "Move hard-coded values to constants."
am:
6fa50a292e
* commit '
6fa50a292e541d9be846f03cff52c0ae95781fb2':
Move hard-coded values to constants.
Christopher Ferris [Mon, 29 Feb 2016 19:22:59 +0000 (19:22 +0000)]
Merge "Move hard-coded values to constants."
Dan Willemsen [Mon, 29 Feb 2016 19:13:01 +0000 (19:13 +0000)]
Merge "Update Android.bp with recent Android.mk changes" am:
bb3add2125
am:
85884137d9
* commit '
85884137d928f855a2feafe589a3a6127278b22d':
Update Android.bp with recent Android.mk changes
Dan Willemsen [Mon, 29 Feb 2016 19:10:03 +0000 (19:10 +0000)]
Merge "Update Android.bp with recent Android.mk changes"
am:
bb3add2125
* commit '
bb3add2125ce4ace0ba053e3c9bb2a8bf3840f47':
Update Android.bp with recent Android.mk changes
Dan Willemsen [Mon, 29 Feb 2016 19:06:47 +0000 (19:06 +0000)]
Merge "Update Android.bp with recent Android.mk changes"
Dan Willemsen [Mon, 29 Feb 2016 18:37:56 +0000 (10:37 -0800)]
Update Android.bp with recent Android.mk changes
Change-Id: If9777e9ece6de1bc00c3ef86724c7bd4d437aaca
Pierre Imai [Mon, 29 Feb 2016 07:31:55 +0000 (16:31 +0900)]
Copy the entire zero-separated DNS seach domain string.
The DNS search string contains zeros as domain separator. The resolver
code erroneously used strlcpy(), which resulted in only the first domain
to be copied. The code uses pointers into this string to access the
individual domains. Since the structure is zero-initialized, this bug only
resulted in zero-length domains instead of accessing unitialized memory.
BUG:
27312811
Change-Id: Ia9d066c405dfcc5e82d6766d93ead2ce574e7b0d
Elliott Hughes [Sun, 28 Feb 2016 15:55:53 +0000 (15:55 +0000)]
Merge "Create logging sockets with SOCK_NONBLOCK..." am:
17866357c5
am:
849551dc28
* commit '
849551dc28cc7ef477f82a4428b4a948c847484d':
Create logging sockets with SOCK_NONBLOCK...
Elliott Hughes [Sun, 28 Feb 2016 15:55:39 +0000 (15:55 +0000)]
Merge "Create logging sockets with SOCK_NONBLOCK..."
am:
17866357c5
* commit '
17866357c5437d1b43b9f4b7411e48d9c9c38bec':
Create logging sockets with SOCK_NONBLOCK...
Elliott Hughes [Sun, 28 Feb 2016 15:54:44 +0000 (15:54 +0000)]
Merge "Create logging sockets with SOCK_NONBLOCK..."
Elliott Hughes [Sun, 28 Feb 2016 03:18:41 +0000 (19:18 -0800)]
Create logging sockets with SOCK_NONBLOCK...
...rather than calling fcntl on them directly after creation.
Bug: https://code.google.com/p/android/issues/detail?id=201440
Change-Id: Ia3941b7645455d69620b1a361902df009b5da2c5
Elliott Hughes [Sun, 28 Feb 2016 00:31:29 +0000 (00:31 +0000)]
Merge "Improve FORTIFY failure diagnostics." am:
31adf6cd38
am:
255ef494f7
* commit '
255ef494f75ac0eed42fec13d0443a70705841e8':
Improve FORTIFY failure diagnostics.
Elliott Hughes [Sun, 28 Feb 2016 00:31:16 +0000 (00:31 +0000)]
Merge "Improve FORTIFY failure diagnostics."
am:
31adf6cd38
* commit '
31adf6cd3846030f0d7397fa5f3cc285d8c79533':
Improve FORTIFY failure diagnostics.
Elliott Hughes [Sun, 28 Feb 2016 00:30:31 +0000 (00:30 +0000)]
Merge "Improve FORTIFY failure diagnostics."
Elliott Hughes [Fri, 26 Feb 2016 04:33:47 +0000 (20:33 -0800)]
Improve FORTIFY failure diagnostics.
Our FORTIFY _chk functions' implementations were very repetitive and verbose
but not very helpful. We'd also screwed up and put the SSIZE_MAX checks where
they would never fire unless you actually had a buffer as large as half your
address space, which probably doesn't happen very often.
Factor out the duplication and take the opportunity to actually show details
like how big the overrun buffer was, or by how much it was overrun.
Also remove the obsolete FORTIFY event logging.
Also remove the unused __libc_fatal_no_abort.
This change doesn't improve the diagnostics from the optimized assembler
implementations.
Change-Id: I176a90701395404d50975b547a00bd2c654e1252
Christopher Ferris [Tue, 23 Feb 2016 03:23:26 +0000 (19:23 -0800)]
Move hard-coded values to constants.
Change all of the hard-coded config values to be defined constants.
Also make sure to use these constants in the usage output.
Bug:
26739265
Change-Id: I597a6d71279a2df9cc7e98c42ac70224261bac99
Neil Fuller [Fri, 26 Feb 2016 14:40:40 +0000 (14:40 +0000)]
Merge "Update timezone data to 2016a" into nyc-dev
am:
2465df001c
* commit '
2465df001c7b1d3dc0a0e003f15c5fe6000a0452':
Update timezone data to 2016a
Neil Fuller [Fri, 26 Feb 2016 14:37:43 +0000 (14:37 +0000)]
Merge "Update timezone data to 2016a" into nyc-dev
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
(cherry picked from commit
92057af535a8976b078b61eb58f894cd6f511fea)
Change-Id: I31985eb6101cf5d428ecaec70be4248c896a5b86
Neil Fuller [Fri, 26 Feb 2016 11:26:35 +0000 (11:26 +0000)]
Merge "Update timezone data to 2016a" am:
eb727252f2
am:
812506301d
* commit '
812506301dda9297aba98c255e255d820867c290':
Update timezone data to 2016a
Neil Fuller [Fri, 26 Feb 2016 11:25:05 +0000 (11:25 +0000)]
Merge "Update timezone data to 2016a"
am:
eb727252f2
* commit '
eb727252f22bd533ebfd40637c0718fdc9946221':
Update timezone data to 2016a
Neil Fuller [Fri, 26 Feb 2016 11:23:28 +0000 (11:23 +0000)]
Merge "Update timezone data to 2016a"
Elliott Hughes [Fri, 26 Feb 2016 06:09:22 +0000 (06:09 +0000)]
Merge "If you\'re going to use memset..." am:
a8f05fcc64
am:
74e096efc5
* commit '
74e096efc5d13fcbc4b1665294dd3d48698889cf':
If you're going to use memset...
Elliott Hughes [Fri, 26 Feb 2016 06:07:46 +0000 (06:07 +0000)]
Merge "If you\'re going to use memset..."
am:
a8f05fcc64
* commit '
a8f05fcc64c6484051112882a087fba533f14322':
If you're going to use memset...
Elliott Hughes [Fri, 26 Feb 2016 06:06:11 +0000 (06:06 +0000)]
Merge "If you're going to use memset..."
Elliott Hughes [Fri, 26 Feb 2016 06:05:28 +0000 (22:05 -0800)]
If you're going to use memset...
...you'd better #include <string.h>.
Change-Id: I83e0877f4151fc764588e2d876e66d7712d41f61
Elliott Hughes [Fri, 26 Feb 2016 05:57:00 +0000 (05:57 +0000)]
Merge "GCC doesn\'t like {}, and clang doesn\'t like {0}..." am:
a8e75ba37d
am:
30fbacba13
* commit '
30fbacba13db8b809a591e3795b7b9cdaa7716ae':
GCC doesn't like {}, and clang doesn't like {0}...
Elliott Hughes [Fri, 26 Feb 2016 05:55:34 +0000 (05:55 +0000)]
Merge "GCC doesn\'t like {}, and clang doesn\'t like {0}..."
am:
a8e75ba37d
* commit '
a8e75ba37deff962b0ddbc2fb81b96c3515ae7e5':
GCC doesn't like {}, and clang doesn't like {0}...
Elliott Hughes [Fri, 26 Feb 2016 05:53:59 +0000 (05:53 +0000)]
Merge "GCC doesn't like {}, and clang doesn't like {0}..."
Elliott Hughes [Fri, 26 Feb 2016 05:51:50 +0000 (21:51 -0800)]
GCC doesn't like {}, and clang doesn't like {0}...
...so memset it is, then.
I'll be glad when GCC is dead and we can use "= {}" like it's the 21st century.
Change-Id: I28d820d3926ac9bf44bf7c1e89e184726c840391
Anton Kirilov [Fri, 26 Feb 2016 05:03:44 +0000 (05:03 +0000)]
Merge "Fix a structure initialisation in pthread_exit()." am:
d07d77e399
am:
2e3f5e72a6
* commit '
2e3f5e72a65341b4cadd58a627d8974267edcdc5':
Fix a structure initialisation in pthread_exit().
Anton Kirilov [Fri, 26 Feb 2016 05:02:16 +0000 (05:02 +0000)]
Merge "Fix a structure initialisation in pthread_exit()."
am:
d07d77e399
* commit '
d07d77e399ee26291125bedbe46d03e037e705f2':
Fix a structure initialisation in pthread_exit().
Elliott Hughes [Fri, 26 Feb 2016 04:59:51 +0000 (04:59 +0000)]
Merge "Fix a structure initialisation in pthread_exit()."
Anton Kirilov [Fri, 19 Feb 2016 18:19:08 +0000 (18:19 +0000)]
Fix a structure initialisation in pthread_exit().
The purpose of this change is to silence Valgrind's warning about a
syscall parameter pointing to uninitialised bytes.
Change-Id: I2737235f9ac288dbc8ec4be0c6f1cef181c9b7d7
Dimitry Ivanov [Thu, 25 Feb 2016 23:21:29 +0000 (23:21 +0000)]
Merge "[MIPS] Add __popcountsi2 to libgcc_compat.c" am:
b4b98e750f
am:
ec7c01930b
* commit '
ec7c01930b59408f0b4ee6b69e76c07ba0308575':
[MIPS] Add __popcountsi2 to libgcc_compat.c
Dimitry Ivanov [Thu, 25 Feb 2016 23:17:58 +0000 (23:17 +0000)]
Merge "[MIPS] Add __popcountsi2 to libgcc_compat.c"
am:
b4b98e750f
* commit '
b4b98e750f81322f1065194e1618c5a965224f95':
[MIPS] Add __popcountsi2 to libgcc_compat.c
Dimitry Ivanov [Thu, 25 Feb 2016 23:12:29 +0000 (23:12 +0000)]
Merge "[MIPS] Add __popcountsi2 to libgcc_compat.c"
Dimitry Ivanov [Thu, 25 Feb 2016 22:22:32 +0000 (14:22 -0800)]
[MIPS] Add __popcountsi2 to libgcc_compat.c
Also removed outdated genlibgcc_compat.py script
and references to it.
Bug: http://b/
27340856
Change-Id: I7eef362364078867c60a27e72abba515f08b6651
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
(cherry-picked from commit
5408d8f39aeaac1f477757f90b09cff32c641d56)
Change-Id: I568ae45e0b38382507db3c244392ccc2edff29d3
Neil Fuller [Thu, 25 Feb 2016 17:47:33 +0000 (17:47 +0000)]
Update timezone data to 2016a am:
5408d8f39a
am:
809b50237b
* commit '
809b50237b31251a86b4ea535cf5e15d27fde4c7':
Update timezone data to 2016a
Neil Fuller [Thu, 25 Feb 2016 17:42:48 +0000 (17:42 +0000)]
Update timezone data to 2016a
am:
5408d8f39a
* commit '
5408d8f39aeaac1f477757f90b09cff32c641d56':
Update 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
Christopher Ferris [Wed, 24 Feb 2016 02:46:53 +0000 (02:46 +0000)]
Fix incorrect size of array.
am:
1724535fb4
* commit '
1724535fb4ebf6b6ff1b3ac06f7dcaf5cb36da78':
Fix incorrect size of array.
Colin Cross [Wed, 24 Feb 2016 02:46:44 +0000 (02:46 +0000)]
malloc_debug: reread /proc/pid/maps when entry is missing
am:
b7ff533ed2
* commit '
b7ff533ed28f82c0981b83ae80e8bc8e3f350d0f':
malloc_debug: reread /proc/pid/maps when entry is missing
Colin Cross [Wed, 24 Feb 2016 02:46:36 +0000 (02:46 +0000)]
Add backtrace_string and export to libmemunreachable
am:
6deb3042df -s ours
* commit '
6deb3042df87f8569fb430dbf5f140f6a694ddfd':
Add backtrace_string and export to libmemunreachable
Colin Cross [Wed, 24 Feb 2016 02:26:05 +0000 (02:26 +0000)]
Export malloc_backtrace
am:
d6c9b44091
* commit '
d6c9b44091a8865a3b61ada247dd9abf4d6b8705':
Export malloc_backtrace
Colin Cross [Wed, 24 Feb 2016 02:25:57 +0000 (02:25 +0000)]
Export malloc_iterate and friends
am:
c40577f740 -s ours
* commit '
c40577f740ae4f66cdba4b2137668fb3114bb99d':
Export malloc_iterate and friends
Colin Cross [Wed, 24 Feb 2016 02:20:24 +0000 (02:20 +0000)]
malloc_debug: reset TrackData mutex after fork
am:
d863530ecc
* commit '
d863530eccceeae00c1c5d4968550a052f13ec2c':
malloc_debug: reset TrackData mutex after fork
Christopher Ferris [Sat, 20 Feb 2016 02:13:29 +0000 (18:13 -0800)]
Fix incorrect size of array.
When using sscanf and "%4s", the array passed in must include space for
a nul terminator.
Bug:
26739265
(cherry picked from commit
f499dc91e774db4cb9d21f9a7c34704fa9b7ed39)
Change-Id: I8aac6fca3e5bc7a6399e2ed9c6ba4140a55ffdee
Colin Cross [Mon, 8 Feb 2016 22:29:03 +0000 (14:29 -0800)]
malloc_debug: reread /proc/pid/maps when entry is missing
Reread /proc/pid/maps on demand in case a new library has been loaded.
Bug:
27208635
(cherry picked from commit
d75d4bea54a788dada3f2538a33cc491e4c56ed4)
Change-Id: I80140cf57fa3b3e93d51dbe7b7a27595b72ee694
Colin Cross [Sat, 6 Feb 2016 00:17:39 +0000 (16:17 -0800)]
Add backtrace_string and export to libmemunreachable
Add backtrace_string to convert a malloc_debug backtrace to a string.
Also move the backtrace functions to libc_malloc_debug_backtrace so that
libmemunreachable can reuse them.
Bug:
27208635
(cherry picked from commit
2c75991359df165ca7cc7a6213fb227c0b5ed87c)
Change-Id: Ia93aaf010fbce1ace058439427066ea2dfd8bd13
Colin Cross [Tue, 2 Feb 2016 19:57:54 +0000 (11:57 -0800)]
Export malloc_backtrace
Bug:
27208635
(cherry picked from commit
2d4721c0c57fe2f7c1e1b40df4763a561b3cf856)
Change-Id: Ida926cabb706dfd962b692ba1775da332f68488f
Colin Cross [Fri, 29 Jan 2016 20:48:18 +0000 (12:48 -0800)]
Export malloc_iterate and friends
Export malloc_iterate, malloc_enable, and malloc_disable to be used by
libmemunreachable.
Bug:
27208635
(cherry picked from commit
869691c6f7691dd5bf343617aa185c32e0d3d160)
Change-Id: Ifa44421a84ac3be6a57fac28c4da501febe88c28
Colin Cross [Mon, 8 Feb 2016 06:51:15 +0000 (22:51 -0800)]
malloc_debug: reset TrackData mutex after fork
Add a pthread_atfork handler to malloc_debug to lock the TrackData mutex
during fork and reset it in the child. Ensures that the TrackData is
consistent when forking from a multi-threaded process, and that the
mutex is in a defined state in the child.
Bug:
27208635
(cherry picked from commit
7a28a3cf1f8df36e30724e8b4021cddde0596118)
Change-Id: I84bc67be09b8b767e1cf2f14141e2ae8dc4fb462
Stephen Hines [Tue, 23 Feb 2016 22:22:00 +0000 (22:22 +0000)]
Merge "Remove unused libm_clang variable." am:
e0959b4b16
am:
32db9a85ec
* commit '
32db9a85ecf422adf35c860f2cd504314583f44e':
Remove unused libm_clang variable.
Stephen Hines [Tue, 23 Feb 2016 22:13:24 +0000 (22:13 +0000)]
Merge "Remove unused libm_clang variable."
am:
e0959b4b16
* commit '
e0959b4b164a26eb9931ed6925c71d7870c063fe':
Remove unused libm_clang variable.
Stephen Hines [Tue, 23 Feb 2016 22:05:25 +0000 (22:05 +0000)]
Merge "Remove unused libm_clang variable."
Christopher Ferris [Tue, 23 Feb 2016 19:33:04 +0000 (19:33 +0000)]
Fix wrong guard values for 64 bit.
am:
a071f48b1f
* commit '
a071f48b1f2088c4dd1a18dac58834e4488ac563':
Fix wrong guard values for 64 bit.
Christopher Ferris [Tue, 23 Feb 2016 19:30:22 +0000 (19:30 +0000)]
Merge "Fix wrong guard values for 64 bit." am:
0a84f1a5eb
am:
11bd005f7e
* commit '
11bd005f7ed110c45138ee6e239f129b765ee801':
Fix wrong guard values for 64 bit.
Christopher Ferris [Tue, 23 Feb 2016 19:25:18 +0000 (19:25 +0000)]
Merge "Fix wrong guard values for 64 bit."
am:
0a84f1a5eb
* commit '
0a84f1a5eb1be4a742ec5ce8f0376c692d49bec2':
Fix wrong guard values for 64 bit.
Christopher Ferris [Tue, 23 Feb 2016 03:14:26 +0000 (19:14 -0800)]
Fix wrong guard values for 64 bit.
I added the code to force alignments of 8 for 32 bit and 16 for 64 bit,
but I missed a couple of tests that failed due to this change. Fix the
failing tests.
Bug:
26739265
(cherry picked from commit
0e2a0265798ed47cbbf6977f0f84cf81d93173a6)
Change-Id: I21c3e26a340df6e427f06625e525b88b19b0cae1
Christopher Ferris [Tue, 23 Feb 2016 19:15:57 +0000 (19:15 +0000)]
Merge "Fix wrong guard values for 64 bit."
Christopher Ferris [Tue, 23 Feb 2016 03:14:26 +0000 (19:14 -0800)]
Fix wrong guard values for 64 bit.
I added the code to force alignments of 8 for 32 bit and 16 for 64 bit,
but I missed a couple of tests that failed due to this change. Fix the
failing tests.
Bug:
26739265
Change-Id: Ice9932d1419e59c07483c4c9fcdb84970844f0a6
Christopher Ferris [Mon, 22 Feb 2016 22:45:41 +0000 (22:45 +0000)]
Merge "Fix incorrect size of array." am:
f2d516b3f9
am:
9e6b62dffe
* commit '
9e6b62dffe1c26a39bfe2140dcceb070bc720b52':
Fix incorrect size of array.
Christopher Ferris [Mon, 22 Feb 2016 19:26:10 +0000 (19:26 +0000)]
Merge "Fix incorrect size of array."
am:
f2d516b3f9
* commit '
f2d516b3f9ef901991387ee473140ea24feaab48':
Fix incorrect size of array.
Christopher Ferris [Mon, 22 Feb 2016 18:46:35 +0000 (18:46 +0000)]
Merge "Fix incorrect size of array."
Christopher Ferris [Sat, 20 Feb 2016 02:13:29 +0000 (18:13 -0800)]
Fix incorrect size of array.
When using sscanf and "%4s", the array passed in must include space for
a nul terminator.
Bug:
26739265
Change-Id: I0140a6100ca370666ae61689087ba41b4914789d
Stephen Hines [Fri, 19 Feb 2016 09:17:18 +0000 (01:17 -0800)]
Remove unused libm_clang variable.
Bug: http://b/
21899249
As part of the cleanup here, this unset/unused variable was missed.
Change-Id: I0e0f2640e2e975f3e154f68509aa791fd22053a9
Dimitry Ivanov [Fri, 19 Feb 2016 04:49:01 +0000 (04:49 +0000)]
Merge "Improvements to dynamic linker messages" am:
b539baab39
am:
582e162a75
* commit '
582e162a7547f343a0f4c428dc2cf5f66a05eb58':
Improvements to dynamic linker messages
Colin Cross [Fri, 19 Feb 2016 04:48:53 +0000 (04:48 +0000)]
Merge changes Iac8109b3,I5ad67001,Ic1adb4df,I08a50349 am:
c95a4c8196
am:
74c0a68e3e
* commit '
74c0a68e3ee5deef1ccd635acac81bb31f36c633':
malloc_debug: reread /proc/pid/maps when entry is missing
Add backtrace_string and export to libmemunreachable
Export malloc_backtrace
Export malloc_iterate and friends
Dimitry Ivanov [Fri, 19 Feb 2016 02:49:23 +0000 (02:49 +0000)]
Merge "Improvements to dynamic linker messages"
am:
b539baab39
* commit '
b539baab398ce20f9add5d6dfbadfdc7abdeb970':
Improvements to dynamic linker messages
Dimitry Ivanov [Fri, 19 Feb 2016 02:43:47 +0000 (02:43 +0000)]
Merge "Improvements to dynamic linker messages"
Colin Cross [Fri, 19 Feb 2016 02:34:34 +0000 (02:34 +0000)]
Merge changes Iac8109b3,I5ad67001,Ic1adb4df,I08a50349
am:
c95a4c8196
* commit '
c95a4c8196f470f8fb5e616d8e5cc79672752cbb':
malloc_debug: reread /proc/pid/maps when entry is missing
Add backtrace_string and export to libmemunreachable
Export malloc_backtrace
Export malloc_iterate and friends
Dimitry Ivanov [Thu, 18 Feb 2016 22:37:44 +0000 (14:37 -0800)]
Improvements to dynamic linker messages
Error messages now include executable name,
also linker doesn't abort if called on itself.
Change-Id: Ia17dd540919544b28062ed71751a1d79ee865206
Colin Cross [Fri, 19 Feb 2016 01:55:09 +0000 (01:55 +0000)]
Merge changes Iac8109b3,I5ad67001,Ic1adb4df,I08a50349
* changes:
malloc_debug: reread /proc/pid/maps when entry is missing
Add backtrace_string and export to libmemunreachable
Export malloc_backtrace
Export malloc_iterate and friends
Colin Cross [Mon, 8 Feb 2016 22:29:03 +0000 (14:29 -0800)]
malloc_debug: reread /proc/pid/maps when entry is missing
Reread /proc/pid/maps on demand in case a new library has been loaded.
Change-Id: Iac8109b3e6a07bf02c38300b21eecabf4bcd54df
Colin Cross [Sat, 6 Feb 2016 00:17:39 +0000 (16:17 -0800)]
Add backtrace_string and export to libmemunreachable
Add backtrace_string to convert a malloc_debug backtrace to a string.
Also move the backtrace functions to libc_malloc_debug_backtrace so that
libmemunreachable can reuse them.
Change-Id: I5ad67001c0b4d184903c762863a8588181d4873b
Colin Cross [Tue, 2 Feb 2016 19:57:54 +0000 (11:57 -0800)]
Export malloc_backtrace
Change-Id: Ic1adb4dfd86b9ca698443a36263a3df2c91edda3
Dimitry Ivanov [Thu, 18 Feb 2016 23:44:05 +0000 (23:44 +0000)]
Merge "Move gdb support functions to a separate file" am:
aca201358b
am:
a8497a9c19
* commit '
a8497a9c194b599356808166848d81c7b99e4613':
Move gdb support functions to a separate file
Colin Cross [Fri, 29 Jan 2016 20:48:18 +0000 (12:48 -0800)]
Export malloc_iterate and friends
Export malloc_iterate, malloc_enable, and malloc_disable to be used by
libmemunreachable.
Change-Id: I08a50349af82a95d096b6b4cbac37ababe4b9b06
Dimitry Ivanov [Thu, 18 Feb 2016 22:13:43 +0000 (22:13 +0000)]
Merge "Move gdb support functions to a separate file"
am:
aca201358b
* commit '
aca201358b910e5a4b925c639902387fbdfd9016':
Move gdb support functions to a separate file
Dimitry Ivanov [Thu, 18 Feb 2016 22:12:26 +0000 (22:12 +0000)]
Merge "Move gdb support functions to a separate file"
Elliott Hughes [Thu, 18 Feb 2016 21:31:50 +0000 (21:31 +0000)]
Fix scope ids for link-local IPv6 addresses from getifaddrs(3).
am:
31e4472dc7
* commit '
31e4472dc7779f4de13975090fc88b1e5dfb52b2':
Fix scope ids for link-local IPv6 addresses from getifaddrs(3).
Dimitry Ivanov [Thu, 18 Feb 2016 00:08:03 +0000 (16:08 -0800)]
Move gdb support functions to a separate file
Move gdb support functions and variables to
linker_gdb_support.h/cpp
Change-Id: I96c6592a7055715b18f1137367470fe80987263f