OSDN Git Service
Christopher Ferris [Wed, 16 Mar 2016 05:39:39 +0000 (22:39 -0700)]
Fix race in malloc debug option free_track.
The free track mechanism could fail if, at the same time a free occurs,
another thread is trying to free and verify the same allocation. This
doesn't work if the freed allocation is added to the list and we still
do work on it. The fix is to only add to the free list when we are done
with the allocation.
Also fix a problem where the usable size is computed incorrectly because
two of the arguments where reversed.
In addition, add a check that the allocation being verified has the correct
tag before trying to check the body of the allocation.
Add a test to catch the original failure.
Add a test for the tag being different.
Bug:
27601650
Change-Id: Ie9200677d066255b8e668a48422f23f909f4ddee
Elliott Hughes [Wed, 16 Mar 2016 18:12:33 +0000 (18:12 +0000)]
Merge "Add missing <complex.h> functions."
Elliott Hughes [Wed, 16 Mar 2016 17:07:49 +0000 (17:07 +0000)]
Merge "Fix PTHREAD_THREADS_MAX."
Elliott Hughes [Wed, 16 Mar 2016 00:11:56 +0000 (17:11 -0700)]
Fix PTHREAD_THREADS_MAX.
We don't have a compile-time limit on the number of threads,
and we don't have a definite run-time limit either.
Bug: http://b/
27617302
Change-Id: I6a6fe083e7b655d24eb9e7ef7f3e0280d483080b
Christopher Ferris [Tue, 15 Mar 2016 17:47:02 +0000 (17:47 +0000)]
Merge "Fix problem where unknown option is not an error."
Josh Gao [Tue, 15 Mar 2016 02:43:10 +0000 (02:43 +0000)]
Merge "Silence false positive warnings on GCC."
Josh Gao [Tue, 15 Mar 2016 01:15:15 +0000 (18:15 -0700)]
Silence false positive warnings on GCC.
We still use GCC to build the bionic unit tests into CTS, and it emits a
false positive -Wmissing-field-initializers warning for the C++11 aggregate
initialization syntax `Foo foo = {}`.
Bug: http://b/
27656293
Change-Id: I016d8dae6d6cd28afe4bc19250c2a8fba908f8e6
Christopher Ferris [Mon, 14 Mar 2016 22:29:46 +0000 (15:29 -0700)]
Fix problem where unknown option is not an error.
If the first option is found, then any unknown options are simply
ignored, but do not produce an error. Fixed this so that each
option found is actually verified to exist.
Bug:
27620263
Change-Id: If58732df3285eeae72188162c505e0e202fada8c
Christopher Ferris [Sat, 12 Mar 2016 21:15:34 +0000 (21:15 +0000)]
Merge "Init functions after debug malloc succeeds."
Elliott Hughes [Fri, 11 Mar 2016 22:49:13 +0000 (14:49 -0800)]
Add missing <complex.h> functions.
FreeBSD doesn't seem interested in having low-quality implementations of
these functions:
cacoshl, cacosl, casinhl, casinl, catanhl, catanl, ccoshl, ccosl, cexpl,
clog, clogf, clogl, cpow, cpowf, cpowl, csinhl, csinl, ctanhl, ctanl.
And they still haven't got round to writing good implementations, so for
now let's just take the NetBSD ones so we have the full set.
Bug: http://b/
27555792
Change-Id: I6b72003cf749b1043f006377a01fffe5e1d659bc
Dan Willemsen [Fri, 11 Mar 2016 21:07:49 +0000 (21:07 +0000)]
Merge "Update Android.bp with x86 rint optimizations"
Dan Willemsen [Fri, 11 Mar 2016 21:01:20 +0000 (13:01 -0800)]
Update Android.bp with x86 rint optimizations
Change-Id: Ie14a40301d6dd601b34b3f2341947daf6294e2cb
Christopher Ferris [Fri, 11 Mar 2016 20:27:02 +0000 (12:27 -0800)]
Init functions after debug malloc succeeds.
Do not initialize all of the global function pointers associated with
debug malloc until the initialization has completed correctly.
Bug:
27600760
Change-Id: I0621b54bc2d9fab63805d7992d384e550d6fed2a
Colin Cross [Fri, 11 Mar 2016 01:13:52 +0000 (01:13 +0000)]
Merge changes I3f1c1310,Ia8dc3481,I6b19fd63
* changes:
malloc_debug: fix multiplication overflow in debug_calloc
malloc_debug: round 0 byte allocations up to 1 byte
malloc_debug: iterate: use usable_size
Yabin Cui [Thu, 10 Mar 2016 23:58:32 +0000 (23:58 +0000)]
Merge "Adjust test to let it pass on libhoudini."
Colin Cross [Thu, 10 Mar 2016 21:01:27 +0000 (13:01 -0800)]
malloc_debug: fix multiplication overflow in debug_calloc
The over flow check for nmemb * bytes in debug_calloc is incorrect,
use the builtin overflow functions to check for multiplication and
addition overflow.
Change-Id: I3f1c13102621bc5380be1f69caa88dba2118f3cb
(cherry picked from commit
239838608dbe9917acddfe5a51d92350a4c8e135)
Colin Cross [Thu, 10 Mar 2016 01:56:14 +0000 (17:56 -0800)]
malloc_debug: round 0 byte allocations up to 1 byte
0 byte allocations can cause problems if they are immediately followed
by another allocation with no header, as both allocations will have the
same address. Treat 0 byte allocations as 1 byte allocations so that
debug_iterate will return separate addresses for them.
Bug:
27578580
Change-Id: Ia8dc3481fa7062391e9b3ae58a36e8d47e7ee557
(cherry picked from commit
15af478080cfbfa800fb8172fdf70a84075925e3)
Colin Cross [Thu, 10 Mar 2016 00:33:44 +0000 (16:33 -0800)]
malloc_debug: iterate: use usable_size
malloc_iterate with malloc debug enabled was returning allocation sizes
using the requested size instead of usable size. If anything wrote
pointers above the requested size but below the usable size, those
pointers would be invisible to libmemunreachable and referenced
allocations could be reported as a leak.
Bug:
27107100
Change-Id: I6b19fd631f68ce93b3aee408cc3d296ec457bd01
(cherry picked from commit
b23c6606d2326f8835fc7fc35b23ff7ee5a48f48)
Yabin Cui [Tue, 8 Mar 2016 01:44:58 +0000 (17:44 -0800)]
Adjust test to let it pass on libhoudini.
When using libhoudini to run arm code on x86 platforms, we can't
assume the main thread allocates local variables at the stack
declared by kernel.
Change-Id: Id9457f47fc338a3103fdee25a7a6e622915e7090
Elliott Hughes [Thu, 10 Mar 2016 16:12:26 +0000 (16:12 +0000)]
Merge "Improve and fix the stack-protector tests."
Josh Gao [Thu, 10 Mar 2016 00:00:54 +0000 (00:00 +0000)]
Merge "debuggerd: rethrow the full signal we receive, always."
Josh Gao [Tue, 8 Mar 2016 23:27:15 +0000 (15:27 -0800)]
debuggerd: rethrow the full signal we receive, always.
The previous code assumed that returning would be sufficient to rethrow
signals like SIGSEGV. This is not true, for example, in the case where a
SIGSEGV is sent via kill(2). We were previously only sending the signal
to ourselves in some cases, because using kill(2) would lose information
in the siginfo_t argument. Use rt_tgsigqueueinfo(2) instead to preserve
its contents.
Bug: http://b/
27367422
Change-Id: I1be822818d5905461979c7e12dc4e9c25049273b
Elliott Hughes [Fri, 4 Mar 2016 19:53:09 +0000 (11:53 -0800)]
Improve and fix the stack-protector tests.
Bug: http://b/
26888853
Change-Id: I505dbf7d5934f7247fb639f55dd6a9341df3947b
Elliott Hughes [Wed, 9 Mar 2016 20:36:52 +0000 (20:36 +0000)]
Merge "Switch bionic over to google-benchmark."
Erik Kline [Wed, 9 Mar 2016 04:18:22 +0000 (04:18 +0000)]
Merge "Don't leak sockets if setsockopt() or fchown() fail."
Erik Kline [Fri, 4 Mar 2016 08:16:55 +0000 (17:16 +0900)]
Don't leak sockets if setsockopt() or fchown() fail.
Change-Id: Idcf8c08ff50d21c3a04b7ef80c4044f3f9762f2b
Elliott Hughes [Tue, 8 Mar 2016 22:01:07 +0000 (22:01 +0000)]
Merge "Add x86 optimization of rint functions and tests"
jzha136 [Fri, 12 Jun 2015 16:15:02 +0000 (09:15 -0700)]
Add x86 optimization of rint functions and tests
Change-Id: I5e7696ff9bcb1efc2625100ef8565b68dca2326c
Signed-off-by: Jingwei Zhang <jingwei.zhang@intel.com>
Elliott Hughes [Wed, 17 Feb 2016 18:23:52 +0000 (10:23 -0800)]
Switch bionic over to google-benchmark.
Also removes the old benchmarking library.
Change-Id: I4791ae69fa5dea03644d3d411c60b7c6d1fceae3
Elliott Hughes [Mon, 7 Mar 2016 21:17:00 +0000 (21:17 +0000)]
Merge "Minor clock_getcpuclockid optimization."
am:
b83bd7bc25
* commit '
b83bd7bc256d5121ec3ff1babc3bc08d7f04eea2':
Minor clock_getcpuclockid optimization.
Elliott Hughes [Mon, 7 Mar 2016 21:08:53 +0000 (21:08 +0000)]
Merge "Minor clock_getcpuclockid optimization."
Elliott Hughes [Mon, 7 Mar 2016 19:54:02 +0000 (11:54 -0800)]
Minor clock_getcpuclockid optimization.
Don't ask the kernel to copy data to userspace if we don't need it.
(Noticed while cleaning up sysconf to not call clock_getres.)
Change-Id: Icc0f7559775b8a2dcefe638ce831d06b75d67122
Josh Gao [Sat, 5 Mar 2016 03:08:52 +0000 (03:08 +0000)]
Merge "forkpty: set the output fd to -1 on the slave side."
am:
ba2232d013
* commit '
ba2232d0132274433a269eeccbbbd3be7f8f4384':
forkpty: set the output fd to -1 on the slave side.
Josh Gao [Sat, 5 Mar 2016 03:04:36 +0000 (03:04 +0000)]
Merge "forkpty: set the output fd to -1 on the slave side."
Elliott Hughes [Sat, 5 Mar 2016 02:36:55 +0000 (02:36 +0000)]
Merge "Don\'t call clock_getres in sysconf."
am:
a703498f0c
* commit '
a703498f0c416f58fdfdf3cdb208fffee60c9bb8':
Don't call clock_getres in sysconf.
Elliott Hughes [Sat, 5 Mar 2016 02:31:08 +0000 (02:31 +0000)]
Merge "Don't call clock_getres in sysconf."
Elliott Hughes [Sat, 5 Mar 2016 02:25:57 +0000 (18:25 -0800)]
Don't call clock_getres in sysconf.
There are a hundred other reasons why we can't run on kernels old enough
to not have all the clocks covered by sysconf.
This was causing trouble for jemalloc 4.1.0 in a seccomp-constrained process
because jemalloc 4.1.0 introduced a call to sysconf that caused us to make
clock_getres syscalls for the first time, leading to SIGSYS.
Bug: http://b/
27408522
Change-Id: I2eb6986d871bc03cbef278e5617734409c39e057
Josh Gao [Sat, 5 Mar 2016 02:04:41 +0000 (18:04 -0800)]
forkpty: set the output fd to -1 on the slave side.
glibc, FreeBSD, OpenBSD, and Darwin all just leave the fd unchanged and
possibly uninitialized. Setting it to -1 seems friendlier, though.
Bug: http://b/
27506278
Change-Id: I7acdc8eecbea4404d5fb4ba0b4d572245a323886
Douglas Leung [Sat, 5 Mar 2016 01:11:43 +0000 (01:11 +0000)]
Merge "Add __memset_chk assembler for mips32 and mips64."
am:
c4d2bede15
* commit '
c4d2bede1592dd82dce9bfc6ebecdc414a79490b':
Add __memset_chk assembler for mips32 and mips64.
Elliott Hughes [Sat, 5 Mar 2016 01:07:10 +0000 (01:07 +0000)]
Merge "Add __memset_chk assembler for mips32 and mips64."
Douglas Leung [Fri, 4 Mar 2016 02:55:39 +0000 (18:55 -0800)]
Add __memset_chk assembler for mips32 and mips64.
Change-Id: I365b1f345c695850c30ccb1a9f56f254ce182000
Dimitry Ivanov [Fri, 4 Mar 2016 21:32:14 +0000 (21:32 +0000)]
Merge "libm: rename LIBC_PRIVATE to LIBC_DEPRECATED"
am:
015f2e803a
* commit '
015f2e803abd9403808a1829e40c2609e3cd4fde':
libm: rename LIBC_PRIVATE to LIBC_DEPRECATED
Chih-Hung Hsieh [Fri, 4 Mar 2016 21:32:07 +0000 (21:32 +0000)]
Merge "Enable test with clang aarch64."
am:
cb9e4530a8
* commit '
cb9e4530a8fbf6eb078476610b71e4ca41988cb2':
Enable test with clang aarch64.
Dimitry Ivanov [Fri, 4 Mar 2016 21:29:48 +0000 (21:29 +0000)]
Merge "libm: rename LIBC_PRIVATE to LIBC_DEPRECATED"
Chih-hung Hsieh [Fri, 4 Mar 2016 21:26:05 +0000 (21:26 +0000)]
Merge "Enable test with clang aarch64."
Chih-Hung Hsieh [Fri, 4 Mar 2016 20:28:50 +0000 (12:28 -0800)]
Enable test with clang aarch64.
TLS bug on aarch64 was fixed.
Bug:
25642296
Change-Id: I02b4f67955991f08a133a3d72ba4b109f896f1dd
Dimitry Ivanov [Fri, 4 Mar 2016 19:05:52 +0000 (11:05 -0800)]
libm: rename LIBC_PRIVATE to LIBC_DEPRECATED
Bug: http://b/
26386014
Change-Id: Ia32411ce779f9dcf2cf7910d8658ffa753c73af9
Elliott Hughes [Fri, 4 Mar 2016 16:33:58 +0000 (16:33 +0000)]
Merge "Add x86 __memset_chk assembler."
am:
728e0e9b97
* commit '
728e0e9b97d7a43b4348062e4040d478c2ab8f51':
Add x86 __memset_chk assembler.
Elliott Hughes [Fri, 4 Mar 2016 16:28:10 +0000 (16:28 +0000)]
Merge "Add x86 __memset_chk assembler."
Elliott Hughes [Fri, 4 Mar 2016 03:21:06 +0000 (03:21 +0000)]
Merge "Fix x86-64 __memset_chk."
am:
7d188ce0fe
* commit '
7d188ce0feda07f3e0cf6bdbe4e52efe224bb39f':
Fix x86-64 __memset_chk.
Elliott Hughes [Fri, 4 Mar 2016 03:12:35 +0000 (03:12 +0000)]
Merge "Fix x86-64 __memset_chk."
Elliott Hughes [Fri, 4 Mar 2016 00:46:25 +0000 (16:46 -0800)]
Fix x86-64 __memset_chk.
I can only assume I was testing the 32-bit implementation when I claimed
this worked. While improving the 32-bit code I realized that I'd used
signed comparisons instead of unsigned, and came back to find that the
64-bit code didn't work.
By way of apology, make x86-64 the first architecture where __memset_chk
falls through to memset.
Change-Id: I54d9eee5349b6a2abb2ce81e161fdcde09556561
Dan Willemsen [Fri, 4 Mar 2016 00:40:52 +0000 (00:40 +0000)]
Merge "Update Android.bp with recent *.mk changes"
am:
5f67f8ae9d
* commit '
5f67f8ae9ded09b1eb68e54a1b3a226c35e10166':
Update Android.bp with recent *.mk changes
Elliott Hughes [Fri, 4 Mar 2016 00:10:33 +0000 (16:10 -0800)]
Add x86 __memset_chk assembler.
Change-Id: Ic6732f761ea8a41f70d5ff59d47ad38417d17cc2
Dan Willemsen [Thu, 3 Mar 2016 23:50:24 +0000 (23:50 +0000)]
Merge "Update Android.bp with recent *.mk changes"
Dan Willemsen [Thu, 3 Mar 2016 23:40:33 +0000 (15:40 -0800)]
Update Android.bp with recent *.mk changes
Change-Id: I01acce3b0018d838c4765881c19f5f009721370f
Elliott Hughes [Thu, 3 Mar 2016 22:27:03 +0000 (22:27 +0000)]
Merge "Clean up bcopy cruft."
am:
f3b42e5ae7
* commit '
f3b42e5ae7727234cac586c20c230466886a7232':
Clean up bcopy cruft.
Elliott Hughes [Thu, 3 Mar 2016 22:24:51 +0000 (22:24 +0000)]
Merge "Clean up bcopy cruft."
Elliott Hughes [Thu, 3 Mar 2016 22:23:25 +0000 (22:23 +0000)]
Merge "Mandate optimized assembler for x86-64 __memset_chk."
am:
ff9bda7201
* commit '
ff9bda720194f3596c9096eb8648ef92d9337c7e':
Mandate optimized assembler for x86-64 __memset_chk.
Elliott Hughes [Thu, 3 Mar 2016 22:18:45 +0000 (22:18 +0000)]
Merge "Mandate optimized assembler for x86-64 __memset_chk."
Josh Gao [Thu, 3 Mar 2016 22:04:45 +0000 (22:04 +0000)]
Merge changes I17c22dc2,I9989e2ea
am:
19ca2fe82f
* commit '
19ca2fe82fe05dd7565ce294841bd6425e84bb3d':
Add a checksum to jmp_buf on AArch64.
Add a checksum to jmp_buf on ARM.
Josh Gao [Thu, 3 Mar 2016 22:02:37 +0000 (22:02 +0000)]
Merge changes I17c22dc2,I9989e2ea
* changes:
Add a checksum to jmp_buf on AArch64.
Add a checksum to jmp_buf on ARM.
Josh Gao [Thu, 3 Mar 2016 03:45:29 +0000 (19:45 -0800)]
Add a checksum to jmp_buf on AArch64.
Bug: http://b/
27417786
Change-Id: I17c22dc28a46dd6b678b449b506b0da978f3793e
Josh Gao [Thu, 3 Mar 2016 03:03:17 +0000 (19:03 -0800)]
Add a checksum to jmp_buf on ARM.
Make it easier to diagnose applications mucking with the contents of
jmp_buf by checksumming its contents.
Bug: http://b/
27417786
Change-Id: I9989e2ea3979a36ae0bc4c9e1bacafddbacc731b
Elliott Hughes [Thu, 3 Mar 2016 18:41:42 +0000 (10:41 -0800)]
Clean up bcopy cruft.
Also remove some generic x86 assembler that's never built.
Change-Id: Ic126de2eee646b5ba2b6ee549679ba90d67a48bb
Elliott Hughes [Thu, 3 Mar 2016 18:27:36 +0000 (18:27 +0000)]
Merge "Remove optimized code for bzero, which was removed from POSIX in 2008."
am:
6809af0375
* commit '
6809af03759e27c87598ea56e4f6a8c9b6267add':
Remove optimized code for bzero, which was removed from POSIX in 2008.
Elliott Hughes [Thu, 3 Mar 2016 18:26:02 +0000 (18:26 +0000)]
Merge "Remove optimized code for bzero, which was removed from POSIX in 2008."
Elliott Hughes [Thu, 3 Mar 2016 01:18:18 +0000 (17:18 -0800)]
Remove optimized code for bzero, which was removed from POSIX in 2008.
I'll come back for the last bcopy remnant...
Bug: http://b/
26407170
Change-Id: Iabfeb95fc8a4b4b3992e3cc209ec5221040e7c26
Elliott Hughes [Thu, 3 Mar 2016 00:42:51 +0000 (00:42 +0000)]
Merge "Mandate optimized __memset_chk for arm and arm64."
am:
5e57039c24
* commit '
5e57039c24d8aa777480e33255d627ca28af7dfe':
Mandate optimized __memset_chk for arm and arm64.
Elliott Hughes [Thu, 3 Mar 2016 00:39:29 +0000 (16:39 -0800)]
Mandate optimized assembler for x86-64 __memset_chk.
Change-Id: I4d6b452f3cf850d405e8f5d7da01d432603e606b
Elliott Hughes [Thu, 3 Mar 2016 00:30:06 +0000 (00:30 +0000)]
Merge "Mandate optimized __memset_chk for arm and arm64."
Dimitry Ivanov [Wed, 2 Mar 2016 21:34:03 +0000 (21:34 +0000)]
Merge "libdl: Rename LIBC_PRIVATE to LIBC_PLATFORM"
am:
6e30ca516b
* commit '
6e30ca516bbf1d209d827306c495b2a205540c5a':
libdl: Rename LIBC_PRIVATE to LIBC_PLATFORM
Dimitry Ivanov [Wed, 2 Mar 2016 21:04:31 +0000 (21:04 +0000)]
Merge "libdl: Rename LIBC_PRIVATE to LIBC_PLATFORM"
Elliott Hughes [Wed, 2 Mar 2016 19:58:41 +0000 (11:58 -0800)]
Mandate optimized __memset_chk for arm and arm64.
This involves actually implementing assembler __memset_chk for arm64,
but that's easily done.
Obviously I'd like this for all architectures (and all the string functions),
but this is low-hanging fruit...
Change-Id: I70ec48c91aafd1f0feb974a2555c51611de9ef82
Dimitry Ivanov [Wed, 2 Mar 2016 19:53:12 +0000 (19:53 +0000)]
Merge "Do not add linker the _r_debug.r_map on link_image"
am:
ca75a3e3e7
* commit '
ca75a3e3e7574e66e09632b1692b3c144ba2b4f4':
Do not add linker the _r_debug.r_map on link_image
Dimitry Ivanov [Wed, 2 Mar 2016 19:49:25 +0000 (19:49 +0000)]
Merge "Do not add linker the _r_debug.r_map on link_image"
Dimitry Ivanov [Wed, 2 Mar 2016 19:41:22 +0000 (11:41 -0800)]
libdl: Rename LIBC_PRIVATE to LIBC_PLATFORM
Bug: http://b/
26386014
Change-Id: I3255faac66a96867aed302e205e3644b40ce7750
Elliott Hughes [Wed, 2 Mar 2016 19:21:33 +0000 (19:21 +0000)]
Merge "Improve diagnostics from the assembler __memcpy_chk routines."
am:
2332d52439
* commit '
2332d524396aa69c55969cf6e48a5048f12d53ea':
Improve diagnostics from the assembler __memcpy_chk routines.
Elliott Hughes [Wed, 2 Mar 2016 19:13:02 +0000 (19:13 +0000)]
Merge "Improve diagnostics from the assembler __memcpy_chk routines."
Dimitry Ivanov [Tue, 1 Mar 2016 23:55:56 +0000 (15:55 -0800)]
Do not add linker the _r_debug.r_map on link_image
Change-Id: Idd0fb06a5d9f400c0608ae532cc4c575211810fa
Elliott Hughes [Wed, 2 Mar 2016 16:30:41 +0000 (16:30 +0000)]
Merge "Fix getifaddrs\' handling of point-to-point interfaces."
am:
c5fa374ee9
* commit '
c5fa374ee92e3aedd15daf450e1a8bb5179e7a6a':
Fix getifaddrs' handling of point-to-point interfaces.
Elliott Hughes [Wed, 2 Mar 2016 16:06:13 +0000 (16:06 +0000)]
Merge "Fix getifaddrs' handling of point-to-point interfaces."
Elliott Hughes [Wed, 2 Mar 2016 01:27:12 +0000 (17:27 -0800)]
Fix getifaddrs' handling of point-to-point interfaces.
Also remove an if that implied that IFA_BROADCAST is a possibility for
AF_INET6.
The existing tests fail if you have a point-to-point interface configured,
so no new test necessary.
Bug: http://b/
27442503
Change-Id: I4c5823b32204ae6c15527853414c2a0cef320b53
Dimitry Ivanov [Tue, 1 Mar 2016 23:33:31 +0000 (23:33 +0000)]
Merge "linker: print "not accessible" error message to the log"
am:
a3be5bfded
* commit '
a3be5bfdede8ae6c88bb06d6fa6bf8192ea3268e':
linker: print "not accessible" error message to the log
Dimitry Ivanov [Tue, 1 Mar 2016 23:29:59 +0000 (23:29 +0000)]
Merge "linker: print "not accessible" error message to the log"
Dimitry Ivanov [Tue, 1 Mar 2016 21:11:28 +0000 (13:11 -0800)]
linker: print "not accessible" error message to the log
Print properties of the namespace on "library is not accessible"
error to better diagnose problems with native library accessiblity
Bug: http://b/
27406143
Change-Id: Icf3d6c604f09dfa015de863fdb1267d343930d2a
(cherry picked from commit
350bdad61cc6551db649fcaeb8642f4a1d6b139a)
Elliott Hughes [Tue, 1 Mar 2016 22:45:58 +0000 (14:45 -0800)]
Improve diagnostics from the assembler __memcpy_chk routines.
Change-Id: Iec16c92ed80beee505cba2121ea33e3550197b02
Elliott Hughes [Tue, 1 Mar 2016 21:28:16 +0000 (21:28 +0000)]
Merge "Improve diagnostics from the assembler __memset_chk routines."
am:
c199690b5f
* commit '
c199690b5ffda0f4df50d1121f7ab577af1fe468':
Improve diagnostics from the assembler __memset_chk routines.
Elliott Hughes [Tue, 1 Mar 2016 21:25:06 +0000 (21:25 +0000)]
Merge "Improve diagnostics from the assembler __memset_chk routines."
Elliott Hughes [Tue, 1 Mar 2016 19:22:42 +0000 (11:22 -0800)]
Improve diagnostics from the assembler __memset_chk routines.
Change-Id: Ic165043ab8cd5e16866b3e11cfba960514cbdc57
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: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 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."