OSDN Git Service
Nicolas Geoffray [Thu, 15 Jun 2017 09:13:38 +0000 (09:13 +0000)]
Merge "Move libc/zoneinfo/ files to system/timezone" am:
67f03e0687
am:
8155a8d9eb
Change-Id: I2558d6a1ba38475680de06432539a4bfe9048a90
Nicolas Geoffray [Thu, 15 Jun 2017 09:10:37 +0000 (09:10 +0000)]
Merge "Move libc/zoneinfo/ files to system/timezone"
am:
67f03e0687
Change-Id: Idbe9bfdae677dd3d4c74fb0e4ade623c7bae3809
Nicolas Geoffray [Thu, 15 Jun 2017 09:05:31 +0000 (09:05 +0000)]
Merge "Move libc/zoneinfo/ files to system/timezone"
Elliott Hughes [Thu, 15 Jun 2017 02:52:21 +0000 (02:52 +0000)]
Merge "Add <sys/mtio.h>." am:
3ad08dbe29
am:
9a846674d6
Change-Id: I91e0b2b75320f192c776f096253ac8cf93faeb4b
Elliott Hughes [Thu, 15 Jun 2017 02:49:21 +0000 (02:49 +0000)]
Merge "Add <sys/mtio.h>."
am:
3ad08dbe29
Change-Id: Ifcb04bbee62af0afe870f840230158e53b749bec
Treehugger Robot [Thu, 15 Jun 2017 02:40:33 +0000 (02:40 +0000)]
Merge "Add <sys/mtio.h>."
Elliott Hughes [Thu, 15 Jun 2017 00:16:05 +0000 (17:16 -0700)]
Add <sys/mtio.h>.
In a similar style to some of our other "not really, but enough" headers
like <sys/vt.h>.
Bug: N/A
Test: build GNU dd or BSD dd with a standalone toolchain
Change-Id: I8fbd1aac1d97e24b05e7aae8a55666300b5bf1ed
Neil Fuller [Mon, 12 Jun 2017 15:57:29 +0000 (16:57 +0100)]
Move libc/zoneinfo/ files to system/timezone
Move libc/zoneinfo/ files to system/timezone.
Bug:
31008728
Bug:
36882778
Test: make -j30 droid / boot device
Merged-In: I1d75b0be12b41258f89614b92c1ef68aa7ebfaf9
Change-Id: I1d75b0be12b41258f89614b92c1ef68aa7ebfaf9
Elliott Hughes [Wed, 14 Jun 2017 01:03:36 +0000 (01:03 +0000)]
Merge "Remove `volatile` from the `__errno` declaration." am:
7f6bcc4780
am:
ccc97f46d3
Change-Id: Ied1902ae342999dc7e344528570793d711946d3c
Elliott Hughes [Wed, 14 Jun 2017 00:59:35 +0000 (00:59 +0000)]
Merge "Remove `volatile` from the `__errno` declaration."
am:
7f6bcc4780
Change-Id: I8de9106d38f5db7ae0d916a66158abc09bddc064
Treehugger Robot [Wed, 14 Jun 2017 00:44:31 +0000 (00:44 +0000)]
Merge "Remove `volatile` from the `__errno` declaration."
Elliott Hughes [Tue, 13 Jun 2017 23:38:00 +0000 (23:38 +0000)]
Merge "The bsd_signal declaration shouldn't be visible if API > 21." am:
87d1df9f70
am:
4b0624bdde
Change-Id: I1ffd5a24d68bbd971a9ed28c3ee19bd7a884cc5e
Elliott Hughes [Tue, 13 Jun 2017 23:32:31 +0000 (23:32 +0000)]
Merge "The bsd_signal declaration shouldn't be visible if API > 21."
am:
87d1df9f70
Change-Id: Iad77ecd192c6c7d9564f8821463a4a5210090755
Treehugger Robot [Tue, 13 Jun 2017 23:20:38 +0000 (23:20 +0000)]
Merge "The bsd_signal declaration shouldn't be visible if API > 21."
Elliott Hughes [Tue, 13 Jun 2017 21:43:53 +0000 (14:43 -0700)]
Remove `volatile` from the `__errno` declaration.
This breaks code that declares `errno` itself for whatever crazy reason:
b.c:22:12: error: conflicting types for '__errno'
extern int errno;
^
/usr/local/google/ndkports/toolchain/bin/../sysroot/usr/include/errno.h:47:20: note: expanded from macro 'errno'
#define errno (*__errno())
^
/usr/local/google/ndkports/toolchain/bin/../sysroot/usr/include/errno.h:44:15: note: previous declaration is here
volatile int* __errno(void) __attribute_const__;
^
Bug: N/A
Test: built various bits of GNU source
Change-Id: I27c03bf3bde419a001f98f1ea6c267c847f31271
Elliott Hughes [Tue, 13 Jun 2017 21:29:15 +0000 (14:29 -0700)]
The bsd_signal declaration shouldn't be visible if API > 21.
This causes GNU make to fail to build:
main.o:main.c:(.text+0x18c): more undefined references to `bsd_signal' follow
Bug: N/A
Test: built GNU make with a hacked standalone toolchain
Change-Id: Icdfb4cf674df8abed44f6671454bed9f8d68e74b
Xin Li [Tue, 13 Jun 2017 20:56:44 +0000 (20:56 +0000)]
Merge "libc: Sync qsort(3) with FreeBSD revision r318515." am:
017ee76b15
am:
d36052b8ec
Change-Id: I5ff8510d83d2630336a923e53ce7bf6454339f50
Xin Li [Tue, 13 Jun 2017 20:48:41 +0000 (20:48 +0000)]
Merge "libc: Sync qsort(3) with FreeBSD revision r318515."
am:
017ee76b15
Change-Id: I5e4747af2f6214144f5f0c2d190e11648938f781
Treehugger Robot [Tue, 13 Jun 2017 20:33:48 +0000 (20:33 +0000)]
Merge "libc: Sync qsort(3) with FreeBSD revision r318515."
Xin Li [Fri, 19 May 2017 17:13:08 +0000 (10:13 -0700)]
libc: Sync qsort(3) with FreeBSD revision r318515.
r279663: enhance to handle 32-bit aligned data on 64-bit systems
r279666: qsort(3): small style(9) cleanups.
r288030: Use ANSI C prototypes. Eliminates -Wold-style-definition
warnings.
r318514: Use size_t.
r318515: Reduce the possible recursion level to log2(N) by always
recursing on the smaller partition instead.
Bug:
38450217
Test: builds, ./tests/run-on-host.sh 64
Change-Id: Ieb622e6f54f8f6d6f62e1bdb491d3b5c8e2f9965
Christopher Ferris [Tue, 13 Jun 2017 18:14:10 +0000 (18:14 +0000)]
Merge "Split memmove benchmark into separate overlapping (src before dst and dst before src) and non-overlapping tests." am:
2d36be5912
am:
ab8635ede1
Change-Id: I21653be4a773100e26efa4aaf3d952eddd4df813
Christopher Ferris [Tue, 13 Jun 2017 18:10:37 +0000 (18:10 +0000)]
Merge "Split memmove benchmark into separate overlapping (src before dst and dst before src) and non-overlapping tests."
am:
2d36be5912
Change-Id: Ia2fa181323be71cdcf6f3c21380afb2d3db0af1d
Christopher Ferris [Tue, 13 Jun 2017 18:05:01 +0000 (18:05 +0000)]
Merge "Split memmove benchmark into separate overlapping (src before dst and dst before src) and non-overlapping tests."
Anders Lewis [Wed, 7 Jun 2017 20:00:38 +0000 (13:00 -0700)]
Split memmove benchmark into separate overlapping (src before dst and dst before src) and non-overlapping tests.
Test: Ran benchmarks and verified that runtimes were sensible.
Change-Id: Ia7fbc5596dfdc162fff2364f4ef6dafe5549b907
Josh Gao [Fri, 9 Jun 2017 06:06:56 +0000 (06:06 +0000)]
Merge "Explain why we have a test that FALLOC_FL_PUNCH_HOLE is missing." am:
4f61181428
am:
b466d39c40
Change-Id: Ia5c40bf1231e3a525532832e6509277b7d833401
Josh Gao [Fri, 9 Jun 2017 06:04:56 +0000 (06:04 +0000)]
Merge "Explain why we have a test that FALLOC_FL_PUNCH_HOLE is missing."
am:
4f61181428
Change-Id: I01c94d0e2e008929cd040f2712225ed5d1a20281
Josh Gao [Fri, 9 Jun 2017 06:01:24 +0000 (06:01 +0000)]
Merge "Explain why we have a test that FALLOC_FL_PUNCH_HOLE is missing."
Matthias Hausner [Sat, 3 Jun 2017 21:20:40 +0000 (21:20 +0000)]
bionic: tests: only test falloc_punch on ext4
am:
47a52109a4
Change-Id: Ie12666653eaf324dc6d93f09d20000e3d8a87281
Christopher Ferris [Fri, 2 Jun 2017 22:16:11 +0000 (22:16 +0000)]
Merge "Use libdemangle for function names." am:
5c76fec282 am:
0b65dc85ac
am:
734a59577e
Change-Id: I67d5acc79f0ebc5a6568cb5918de058dbde13e54
Christopher Ferris [Fri, 2 Jun 2017 22:12:12 +0000 (22:12 +0000)]
Merge "Use libdemangle for function names." am:
5c76fec282
am:
0b65dc85ac
Change-Id: I78957fcc07495269d5d6ac924c7cde64f5edb8c8
Christopher Ferris [Fri, 2 Jun 2017 22:09:10 +0000 (22:09 +0000)]
Merge "Use libdemangle for function names."
am:
5c76fec282
Change-Id: Iabe599c79e7662594a32431aad12d711f9c0e4dc
Christopher Ferris [Fri, 2 Jun 2017 22:02:53 +0000 (22:02 +0000)]
Merge "Use libdemangle for function names."
Josh Gao [Fri, 2 Jun 2017 21:57:49 +0000 (14:57 -0700)]
Explain why we have a test that FALLOC_FL_PUNCH_HOLE is missing.
Change-Id: I7388f2e0bc419f195247a1d3e73195cb4d199d5c
Test: none
Matthias Hausner [Fri, 2 Jun 2017 17:09:19 +0000 (10:09 -0700)]
bionic: tests: only test falloc_punch on ext4
Test fcntl#falloc_punch is wrong. It checks that fallocate() with mode
FALLOC_FL_PUNCH_HOLE fails on ext4 file system on older kernels. The
test fails to ensure that the file it creates is indeed on an ext4
partition. On an Angelfish device for example, the file is created on an
f2fs partition, which supports FALLOC_FL_PUNCH_HOLE, and thus the test
fails (wrongly).
Change-Id: I23c1ba4d0fcee81551531779e93ac3d5e19ba1d7
Fixes:
62220977
Test: run bionic-unit-tests as per bionic/README.md###Device tests
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Christopher Ferris [Thu, 1 Jun 2017 21:16:32 +0000 (14:16 -0700)]
Use libdemangle for function names.
Bug:
62141808
Test: Ran unit tests, ran malloc debug with leaks and verified functions
Test: are demangled.
Change-Id: I1900632e9a55bb818b1aabc798224ff3eebc1fca
Elliott Hughes [Thu, 1 Jun 2017 23:49:11 +0000 (23:49 +0000)]
Merge "Fix boost build with unified headers." am:
498b4de964 am:
799a5c4121
am:
0c12408773
Change-Id: Ic6f893ce4675e42935af9919be79988fe319a9ad
Elliott Hughes [Thu, 1 Jun 2017 23:41:09 +0000 (23:41 +0000)]
Merge "Fix boost build with unified headers." am:
498b4de964
am:
799a5c4121
Change-Id: I3e13ef7804daa5d15aa3f51ef9402fe48cccdec4
Elliott Hughes [Thu, 1 Jun 2017 23:37:39 +0000 (23:37 +0000)]
Merge "Fix boost build with unified headers."
am:
498b4de964
Change-Id: I5cd210231b3c254e272ad0db5d77f02dad5466b9
Treehugger Robot [Thu, 1 Jun 2017 23:30:56 +0000 (23:30 +0000)]
Merge "Fix boost build with unified headers."
Elliott Hughes [Thu, 1 Jun 2017 21:08:58 +0000 (14:08 -0700)]
Fix boost build with unified headers.
boost (1.64.0 at least) assumes that if you have POSIX_MADV_NORMAL, you have
posix_madvise. With unified headers, this isn't true. Rather than make life
harder for projects that don't use configure, just make it so. We already
applied similar workarounds for epoll_create1 and inotify_init1.
Bug: https://github.com/android-ndk/ndk/issues/395
Test: built boost (long story!)
Change-Id: I5d2d8de7b30921dde913251d35dcd249a2876f94
Goran Ferenc [Thu, 1 Jun 2017 17:59:47 +0000 (17:59 +0000)]
Merge "MIPS: 32/64-bit VDSO support" am:
72c8fce6c9 am:
d32465b255
am:
85fb061c24
Change-Id: Idc1b6422a1c3213d0c746e135f6c15b49fc5dbc8
Goran Ferenc [Thu, 1 Jun 2017 17:56:43 +0000 (17:56 +0000)]
Merge "MIPS: 32/64-bit VDSO support" am:
72c8fce6c9
am:
d32465b255
Change-Id: I9679f0f032d463fbde8996a9174938476f10d276
Goran Ferenc [Thu, 1 Jun 2017 17:54:12 +0000 (17:54 +0000)]
Merge "MIPS: 32/64-bit VDSO support"
am:
72c8fce6c9
Change-Id: I51eb897eae07978233f49cc2dce292df98a5daf1
Treehugger Robot [Thu, 1 Jun 2017 17:44:40 +0000 (17:44 +0000)]
Merge "MIPS: 32/64-bit VDSO support"
Christopher Ferris [Thu, 1 Jun 2017 15:56:03 +0000 (15:56 +0000)]
Move mallopt to correct section.
am:
8d88abc6c6 -s ours
Change-Id: Ifca710e9b54519033f4beee5c5bcf92b1fdffbe1
Goran Ferenc [Tue, 30 May 2017 14:00:41 +0000 (16:00 +0200)]
MIPS: 32/64-bit VDSO support
File libc/SYSCALLS.TXT is updated to generate bionic's system call wrappers
for clock_gettime() & gettimeofday() that will be called if kernel vdso
implementations fail to execute.
The system call wrappers are generated using a python script gensyscalls.py.
Since all architectures support vdso now, there is no more need for conditional
statements regarding supported architectures in libc/bionic/vdso.cpp &
libc/private/bionic_vdso.h files.
Test: builds
Change-Id: I7213f29c179a7929851499d78a72900638ae861a
Signed-off-by: Goran Ferenc <goran.ferenc@imgtec.com>
Dimitry Ivanov [Thu, 1 Jun 2017 07:24:29 +0000 (07:24 +0000)]
Merge "Make dl_iterate_phdr return correct name for first entry" am:
533cf06474 am:
1e55a0420e
am:
c27ac0df9b
Change-Id: Ida956645eaf002113587960e931acc570e44c7a3
Dimitry Ivanov [Thu, 1 Jun 2017 07:22:28 +0000 (07:22 +0000)]
Merge "Make dl_iterate_phdr return correct name for first entry" am:
533cf06474
am:
1e55a0420e
Change-Id: I80c1b5f9169c5d7ae7e139d52643fce981c2f7a3
Dimitry Ivanov [Thu, 1 Jun 2017 07:20:27 +0000 (07:20 +0000)]
Merge "Make dl_iterate_phdr return correct name for first entry"
am:
533cf06474
Change-Id: I80e365b464ca7326da3c3d3a0f0bdf3dac5921c7
Treehugger Robot [Thu, 1 Jun 2017 07:16:11 +0000 (07:16 +0000)]
Merge "Make dl_iterate_phdr return correct name for first entry"
Dimitry Ivanov [Wed, 31 May 2017 22:07:41 +0000 (15:07 -0700)]
Make dl_iterate_phdr return correct name for first entry
Test: bionic-unit-tests --gtest_filter=link*
Change-Id: Ib3f1e0fbc76fed9a5f27ffdd9bbf847a3e8d3665
Christopher Ferris [Wed, 31 May 2017 18:00:18 +0000 (11:00 -0700)]
Move mallopt to correct section.
Bug:
62202823
Test: Built and built unit tests.
(cherry picked from commit
488eb8b7d2fb7a51c90664ae0baea75b7280cddd)
Change-Id: Iae82f77ed84a42f3859d861b533fd7945e2d40d9
Christopher Ferris [Wed, 31 May 2017 20:30:57 +0000 (20:30 +0000)]
Merge "Move mallopt to correct section." am:
15eaaddef9 am:
c613ed2ab2
am:
fe4edf65dd
Change-Id: Icbb7dd9bac9228693b1d547ab3e1c191ecc50fa1
Christopher Ferris [Wed, 31 May 2017 20:25:57 +0000 (20:25 +0000)]
Merge "Move mallopt to correct section." am:
15eaaddef9
am:
c613ed2ab2
Change-Id: I36ed519b1a3d42d97f2960622195584f0273d024
Christopher Ferris [Wed, 31 May 2017 20:20:58 +0000 (20:20 +0000)]
Merge "Move mallopt to correct section."
am:
15eaaddef9
Change-Id: I592a15ea6503f8753c9fdc512fa383d55f48525e
Christopher Ferris [Wed, 31 May 2017 20:07:29 +0000 (20:07 +0000)]
Merge "Move mallopt to correct section."
Christopher Ferris [Wed, 31 May 2017 18:36:20 +0000 (18:36 +0000)]
Merge "Revert "Make mallopt available in the future."" am:
8f7a987cd0 am:
bf52fee214
am:
5e465f7644
Change-Id: I81ea1202bfbb8614c5662f7b72bded35716ab4ef
Christopher Ferris [Wed, 31 May 2017 18:32:26 +0000 (18:32 +0000)]
Merge "Revert "Make mallopt available in the future."" am:
8f7a987cd0
am:
bf52fee214
Change-Id: I318f22e95f2ef59b240bf5b8bfc87eb0babb2d98
Christopher Ferris [Wed, 31 May 2017 18:28:21 +0000 (18:28 +0000)]
Merge "Revert "Make mallopt available in the future.""
am:
8f7a987cd0
Change-Id: I0db255e6778cd2cfb64206c3a2ec635e62a18e9a
Christopher Ferris [Wed, 31 May 2017 18:15:09 +0000 (18:15 +0000)]
Merge "Revert "Make mallopt available in the future.""
Christopher Ferris [Wed, 31 May 2017 18:02:49 +0000 (18:02 +0000)]
Merge "Add mallopt to canonical list of exports." am:
8f6f70db45 am:
21d0a8c15b
am:
be5bc2b8ad
Change-Id: I7776ada456afc4771af9ab04baf1d737750a226e
Christopher Ferris [Wed, 31 May 2017 18:00:18 +0000 (11:00 -0700)]
Move mallopt to correct section.
Bug:
62202823
Test: Built and built unit tests.
Change-Id: Icefc152eb756fd60ce8f51d694f22923a41a9cd1
Christopher Ferris [Wed, 31 May 2017 17:54:06 +0000 (17:54 +0000)]
Merge "Add mallopt to canonical list of exports." am:
8f6f70db45
am:
21d0a8c15b
Change-Id: Iad3d739123a5e8132d8c201a1032fbf95f1167ea
Christopher Ferris [Wed, 31 May 2017 17:49:04 +0000 (17:49 +0000)]
Merge "Add mallopt to canonical list of exports."
am:
8f6f70db45
Change-Id: I3bd9320bf7c53c4f2f6586d55d5a3c0f3e8307e9
Christopher Ferris [Wed, 31 May 2017 17:40:31 +0000 (17:40 +0000)]
Merge "Add mallopt to canonical list of exports."
Christopher Ferris [Wed, 31 May 2017 00:35:28 +0000 (17:35 -0700)]
Add mallopt to canonical list of exports.
Bug:
62202823
Test: Ran script and verified that none of the other map files are modified.
Change-Id: Ib890ce77c60b877434fbb65a5add8f6c4603d3d0
Christopher Ferris [Wed, 31 May 2017 00:14:15 +0000 (00:14 +0000)]
Revert "Make mallopt available in the future."
This reverts commit
083923d96acb7cfe4e1a1c22100047fa87feb347.
Reason for revert: No longer correct, this will be in API 26.
Change-Id: Iaf82d797405135fcd30455fd750b23fc57e9623a
Jiyong Park [Sat, 27 May 2017 01:50:49 +0000 (01:50 +0000)]
Merge "linker: disable ld.config.txt in ASAN mode" into oc-dev
am:
41e0ceb5c9
Change-Id: I6e9faedbb26d94aab7064c2c8620362c776143be
TreeHugger Robot [Sat, 27 May 2017 01:45:31 +0000 (01:45 +0000)]
Merge "linker: disable ld.config.txt in ASAN mode" into oc-dev
Jiyong Park [Fri, 26 May 2017 06:14:52 +0000 (15:14 +0900)]
linker: disable ld.config.txt in ASAN mode
Currently, multiple namespaces does not support ASAN mode where some
symbols should be intercepted via LD_PRELOAD; LD_PRELOADed libs are not
preloaded into the linked namespaces other than the default namespace.
Until we fix the problem, we temporarily disable ld.config.txt in ASAN
mode.
Bug:
38114603
Test: 1. ./external/compiler-rt/lib/asan/scripts/asan_device_setup --lib
prebuilts/clang/host/linux-x86/clang-stable/lib64/clang/3.8/lib/linux
2. enable talkback shortcut
3. in the home screen, hold vol-up/down together
4. device does not reboots and talkback shortcut is toggled
Test: bionic-unit-tests and linker-unit-tests successful
Change-Id: I091874dd36b36f56dff2ad899d76ff86931909ed
Paul Lawrence [Fri, 26 May 2017 18:26:47 +0000 (18:26 +0000)]
Expand whitelist
am:
ec00401dff
Change-Id: I71c7c4da0757e194405ee1f6f38117b21d927b8e
Elliott Hughes [Fri, 26 May 2017 18:12:46 +0000 (18:12 +0000)]
Merge "Enable exporting the non-uapi scsi headers." am:
6be65c135b am:
d0b030eb9c
am:
d165d458b6
Change-Id: I536d4de1a970eb3b9f48f441c991c4ab923d03bd
Elliott Hughes [Fri, 26 May 2017 18:10:47 +0000 (18:10 +0000)]
Merge "Enable exporting the non-uapi scsi headers." am:
6be65c135b
am:
d0b030eb9c
Change-Id: I90f87bfd05e8be59ad507f3466b8f78c0e885656
Elliott Hughes [Fri, 26 May 2017 18:08:21 +0000 (18:08 +0000)]
Merge "Enable exporting the non-uapi scsi headers."
am:
6be65c135b
Change-Id: Id8c535cf060b6cb9f38efc70dcda43031f2375fb
Elliott Hughes [Fri, 26 May 2017 18:04:26 +0000 (18:04 +0000)]
Merge "Enable exporting the non-uapi scsi headers."
Christopher Ferris [Fri, 26 May 2017 17:07:11 +0000 (17:07 +0000)]
Merge "Add offset to backtrace_string printing." am:
f6a5afcb62 am:
c4d31c981a
am:
1ac92e24b8
Change-Id: I7aa9398a3eb181195183d56e0c97fc79652e5cef
Christopher Ferris [Fri, 26 May 2017 17:05:11 +0000 (17:05 +0000)]
Merge "Add offset to backtrace_string printing." am:
f6a5afcb62
am:
c4d31c981a
Change-Id: Iab1201771f12ce3e59954a88d2a897ba68f74984
Christopher Ferris [Fri, 26 May 2017 17:03:11 +0000 (17:03 +0000)]
Merge "Add offset to backtrace_string printing."
am:
f6a5afcb62
Change-Id: I06647308b9cf01405007b136dc5978c436cbcbb6
Christopher Ferris [Fri, 26 May 2017 16:57:58 +0000 (16:57 +0000)]
Merge "Add offset to backtrace_string printing."
Paul Lawrence [Thu, 25 May 2017 21:15:23 +0000 (14:15 -0700)]
Expand whitelist
Bug:
37769298
Test: Boots. Cannot test app behavior without account
Change-Id: Iebb7616f100368bf2e702ec51f637df1f3727885
Elliott Hughes [Fri, 26 May 2017 00:13:32 +0000 (17:13 -0700)]
Enable exporting the non-uapi scsi headers.
Callers are supposed to #include <scsi/sg.h> but if we tell soong to add
bionic/libc/kernel/android/ to the include path, the uapi headers in there
would be (unintentionally) accessible as either <linux/name.h> or
<uapi/linux/name.h>.
Bug: N/A (hit while upgrading strace to 4.17)
Test: builds
Change-Id: I8d47dd51da688c38f747a255d401dfb2c209c805
Dimitry Ivanov [Fri, 26 May 2017 01:43:12 +0000 (01:43 +0000)]
Merge "Relax flaky _SC_AVPHYS_PAGES check in sys_sysinfo_test" am:
232681160a am:
82f4098497
am:
e1c7a94d8b
Change-Id: I000ec2526a8023651736920778a32ab156a60701
Dimitry Ivanov [Fri, 26 May 2017 01:41:41 +0000 (01:41 +0000)]
Merge "Relax flaky _SC_AVPHYS_PAGES check in sys_sysinfo_test" am:
232681160a
am:
82f4098497
Change-Id: I02cf9d73a15e93f109639edb13a4048bd91101d2
Dimitry Ivanov [Fri, 26 May 2017 01:39:41 +0000 (01:39 +0000)]
Merge "Relax flaky _SC_AVPHYS_PAGES check in sys_sysinfo_test"
am:
232681160a
Change-Id: Ie2d150492163e59814a0557baed86a5bed9fa125
Christopher Ferris [Fri, 26 May 2017 01:26:37 +0000 (18:26 -0700)]
Add offset to backtrace_string printing.
The libmemunreachable code uses backtrace_string to print out the backtrace
information. However, when the offset of the map that a frame is in is
non-zero, no information is printed. This means that when a frame comes from
a shared library loaded from an apk, it's impossible to tell which
shared library the frame is really coming from.
Add the offset display when it's non-zero. This means this can now be fed
to development/scripts/stack to decode the frame.
Bug:
37276041
Test: Ran dumpsys meminfo --unreachable on an app that leaks from a
Test: shared library and verified the offset output is present.
Change-Id: I61d34ae3f617622d354cc099eff520a64782b6e2
Treehugger Robot [Fri, 26 May 2017 01:30:01 +0000 (01:30 +0000)]
Merge "Relax flaky _SC_AVPHYS_PAGES check in sys_sysinfo_test"
Paul Lawrence [Fri, 26 May 2017 01:12:39 +0000 (01:12 +0000)]
Merge "Expand whitelist" am:
eca29cb508 am:
27752635e9
am:
fcb452e602
Change-Id: Ia2251c04295adfcb4f105abedc25aa19a2c20efc
Paul Lawrence [Fri, 26 May 2017 01:10:39 +0000 (01:10 +0000)]
Merge "Expand whitelist" am:
eca29cb508
am:
27752635e9
Change-Id: I6669f8bb0820f7ba51157ac32a0eb4326b1c963e
Paul Lawrence [Fri, 26 May 2017 01:08:39 +0000 (01:08 +0000)]
Merge "Expand whitelist"
am:
eca29cb508
Change-Id: Ic673b3fcaca1bb311da4aa23b8c8f2e24598d4f6
Treehugger Robot [Fri, 26 May 2017 01:01:54 +0000 (01:01 +0000)]
Merge "Expand whitelist"
Christopher Ferris [Fri, 26 May 2017 00:47:07 +0000 (00:47 +0000)]
Merge "Update malloc debug documentation." am:
a559cff654 am:
b597371036
am:
f2de106e9c
Change-Id: Iac5f96696f1b126254cb9bbe381b1c34409801a1
Christopher Ferris [Fri, 26 May 2017 00:43:07 +0000 (00:43 +0000)]
Merge "Update malloc debug documentation." am:
a559cff654
am:
b597371036
Change-Id: I3867e2b66f2062d061f9e34e6ca1b75f17823319
Christopher Ferris [Fri, 26 May 2017 00:41:07 +0000 (00:41 +0000)]
Merge "Update malloc debug documentation."
am:
a559cff654
Change-Id: I9efbff08ce65d3c973a588065841b99f1faac17a
Christopher Ferris [Fri, 26 May 2017 00:29:59 +0000 (00:29 +0000)]
Merge "Update malloc debug documentation."
Christopher Ferris [Thu, 25 May 2017 02:04:33 +0000 (19:04 -0700)]
Update malloc debug documentation.
Test: NA
Change-Id: I8ab73bfc28c7a673efb5b0cec6067989153f092a
Paul Lawrence [Thu, 25 May 2017 21:15:23 +0000 (14:15 -0700)]
Expand whitelist
Bug:
37769298
Test: Boots. Cannot test app behavior without account
Change-Id: Iebb7616f100368bf2e702ec51f637df1f3727885
Elliott Hughes [Thu, 25 May 2017 23:17:30 +0000 (23:17 +0000)]
Merge "Remove the repetitive warnings from the uapi headers." am:
025fb33c9d am:
fd387e7d0a
am:
13db96bbeb
Change-Id: Ic7d28cc8160cb5abc03ed2875f1fab73d370a8f5
Elliott Hughes [Thu, 25 May 2017 23:08:00 +0000 (23:08 +0000)]
Merge "Remove the repetitive warnings from the uapi headers." am:
025fb33c9d
am:
fd387e7d0a
Change-Id: Idcf8c0db2ca3c1fe0cd5cd9ea5148fe6598b2c4b
Elliott Hughes [Thu, 25 May 2017 23:03:00 +0000 (23:03 +0000)]
Merge "Remove the repetitive warnings from the uapi headers."
am:
025fb33c9d
Change-Id: I98bb1dd996bd331948d0e2ec3b2acf17c2d3f4c3
Treehugger Robot [Thu, 25 May 2017 22:50:05 +0000 (22:50 +0000)]
Merge "Remove the repetitive warnings from the uapi headers."