OSDN Git Service
Dimitry Ivanov [Sat, 25 Feb 2017 02:10:11 +0000 (02:10 +0000)]
Merge "Move __system_property_*_serial back to LIBC" am:
bf04e3c00d
am:
c1231fbf0b
Change-Id: I5406aeb7762b34455a2d6c4fa901fc626faa18e8
Dimitry Ivanov [Sat, 25 Feb 2017 02:07:13 +0000 (02:07 +0000)]
Merge "Move __system_property_*_serial back to LIBC"
am:
bf04e3c00d
Change-Id: I7bd2ab0a5ee0fbcf2ed2d3f87c1658ca6ba42af6
Treehugger Robot [Sat, 25 Feb 2017 02:02:02 +0000 (02:02 +0000)]
Merge "Move __system_property_*_serial back to LIBC"
Dimitry Ivanov [Fri, 24 Feb 2017 23:36:17 +0000 (15:36 -0800)]
Move __system_property_*_serial back to LIBC
Bug: http://b/
35764972
Bug: http://b/
34114501
Test: make
Change-Id: Ibbda0107d07c432110a0633de03259e39480fde4
Dimitry Ivanov [Fri, 24 Feb 2017 19:19:13 +0000 (19:19 +0000)]
Merge "Hide internal __system_property_* functions" am:
5927b04ce7
am:
52c122cc7f
Change-Id: I828ed7506483cc82df372ead46aa48ba7fc4fdb1
Dimitry Ivanov [Fri, 24 Feb 2017 19:16:12 +0000 (19:16 +0000)]
Merge "Hide internal __system_property_* functions"
am:
5927b04ce7
Change-Id: Ibcb9bd8b5df6d5e5815886b10482ea6fde6213bd
Dimitry Ivanov [Fri, 24 Feb 2017 19:11:12 +0000 (19:11 +0000)]
Merge "Hide internal __system_property_* functions"
Hans Boehm [Fri, 24 Feb 2017 19:00:40 +0000 (19:00 +0000)]
Merge "Replace cxa_guard fences with acquire loads" am:
5d0c1fcc8b
am:
226d38c69e
Change-Id: I590d828ad7c073f6beddbdcdb77c688b8f0b0327
Hans Boehm [Fri, 24 Feb 2017 18:58:11 +0000 (18:58 +0000)]
Merge "Replace cxa_guard fences with acquire loads"
am:
5d0c1fcc8b
Change-Id: I0fe209d4075b3afbff03938cfa4bf5690ba60c23
Hans Boehm [Fri, 24 Feb 2017 18:50:34 +0000 (18:50 +0000)]
Merge "Replace cxa_guard fences with acquire loads"
Elliott Hughes [Fri, 24 Feb 2017 17:00:34 +0000 (17:00 +0000)]
Merge "Use <linux/eventpoll.h> to implement <sys/epoll.h>." am:
77463d81e6
am:
37ae2185c2
Change-Id: I910b9fbc8b3ccfb8db71bfd90b9cb22f51766d79
Elliott Hughes [Fri, 24 Feb 2017 16:59:03 +0000 (16:59 +0000)]
Merge "Use <linux/eventpoll.h> to implement <sys/epoll.h>."
am:
77463d81e6
Change-Id: I563a5c0723fd4e9b0fbcea1aec73614e92b6381d
Elliott Hughes [Fri, 24 Feb 2017 16:55:25 +0000 (16:55 +0000)]
Merge "Use <linux/eventpoll.h> to implement <sys/epoll.h>."
Pavel Labath [Fri, 24 Feb 2017 10:30:10 +0000 (10:30 +0000)]
Merge "Silence a compiler warning due to unused variable on mips" am:
3678078440
am:
8c8ce57d77
Change-Id: If334cbb224b6a49d9dcf346d1345feb735195cca
Pavel Labath [Fri, 24 Feb 2017 10:27:10 +0000 (10:27 +0000)]
Merge "Silence a compiler warning due to unused variable on mips"
am:
3678078440
Change-Id: I789328684c5a5253b515c42a9dbdc6714272b9c1
Pavel Labath [Fri, 24 Feb 2017 10:22:40 +0000 (10:22 +0000)]
Merge "Silence a compiler warning due to unused variable on mips"
Pavel Labath [Fri, 24 Feb 2017 10:14:13 +0000 (10:14 +0000)]
Silence a compiler warning due to unused variable on mips
oops, I did it again.
Test: lunch mips && cd bionic && mma
Change-Id: I1fe2cb847d0698b34766869f9626398dbcf81960
Pavel Labath [Fri, 24 Feb 2017 09:24:06 +0000 (09:24 +0000)]
Merge "Add "imprecise" watchpoint ptrace test" am:
a936199ce0
am:
df6f95b8a0
Change-Id: I51a72007cdd018d69497eeb6691f48ce81850445
Pavel Labath [Fri, 24 Feb 2017 09:21:06 +0000 (09:21 +0000)]
Merge "Add "imprecise" watchpoint ptrace test"
am:
a936199ce0
Change-Id: I4fbf4ce77868d3483d5ea34c51b3d6f51cfb1b4d
Pavel Labath [Fri, 24 Feb 2017 09:16:19 +0000 (09:16 +0000)]
Merge "Add "imprecise" watchpoint ptrace test"
Pavel Labath [Wed, 22 Feb 2017 18:22:46 +0000 (18:22 +0000)]
Add "imprecise" watchpoint ptrace test
This tests for the presence of a kernel bug that meant that the kernel
would sometimes fail to report the watchpoint hit if the hardware
reported a address which did not exactly match the address range being
watched (which it is allowed to do per ARM spec if the instruction
accesses a larger block of memory than the region being watched). This
bug was fixed in linux kernel 4.9, and has been backported to older
android kernels.
Bug:
30802222
Bug:
30919905
Test: bionic-unit-tests --gtest_filter="sys_ptrace.*"
Change-Id: I80c35b29eaf28e2dbacb9e8ee5317fdea653fc87
Elliott Hughes [Thu, 23 Feb 2017 07:22:51 +0000 (23:22 -0800)]
Use <linux/eventpoll.h> to implement <sys/epoll.h>.
Bug: https://github.com/android-ndk/ndk/issues/302
Test: builds
Change-Id: Ia3074326a128c38f2488e342c028cc030801cfd9
Paul Lawrence [Fri, 24 Feb 2017 00:01:01 +0000 (00:01 +0000)]
Merge "Expand whitelist" am:
9eba112c3c
am:
fadce724ee
Change-Id: Ie297d79bf6996e9cee5ff34e8bec0a1835d469f2
Paul Lawrence [Thu, 23 Feb 2017 23:58:30 +0000 (23:58 +0000)]
Merge "Expand whitelist"
am:
9eba112c3c
Change-Id: I43b0344fef5e56ccb53a0147ea0aab2a82f3fcb6
Josh Gao [Thu, 23 Feb 2017 23:56:01 +0000 (23:56 +0000)]
Merge "versioner: fix darwin build." am:
46c8a34a95
am:
9a445f64fe
Change-Id: I5ebb6641d72dd68e58b1a03bb05f490af4bb8115
Treehugger Robot [Thu, 23 Feb 2017 23:54:34 +0000 (23:54 +0000)]
Merge "Expand whitelist"
Josh Gao [Thu, 23 Feb 2017 23:53:31 +0000 (23:53 +0000)]
Merge "versioner: fix darwin build."
am:
46c8a34a95
Change-Id: I96bf649521d8fd2062aea7c859be2d76759ff09e
Treehugger Robot [Thu, 23 Feb 2017 23:51:14 +0000 (23:51 +0000)]
Merge "versioner: fix darwin build."
Dimitry Ivanov [Thu, 16 Feb 2017 23:34:21 +0000 (15:34 -0800)]
Hide internal __system_property_* functions
Bug: http://b/
34114501
Test: bionic-unit-tests --gtest_filter=prop*
Change-Id: I1fc57b4ced6aaf841aad64e12e7696d25c2e027b
Dan Albert [Thu, 23 Feb 2017 22:06:53 +0000 (22:06 +0000)]
Merge "Add legacy inlines for more termios stuff." am:
9dbfd8ad7f
am:
99f88aed64
Change-Id: I3789c05a46c2ee16800fdc890bac07bd00a1adb2
Dan Albert [Thu, 23 Feb 2017 22:05:22 +0000 (22:05 +0000)]
Merge "Add legacy inlines for more termios stuff."
am:
9dbfd8ad7f
Change-Id: I3a493b5ad47ecac27e09f21fa1821851cac31083
Treehugger Robot [Thu, 23 Feb 2017 22:01:10 +0000 (22:01 +0000)]
Merge "Add legacy inlines for more termios stuff."
Josh Gao [Thu, 23 Feb 2017 21:52:49 +0000 (13:52 -0800)]
versioner: fix darwin build.
Use struct stat::st_mtime instead of the underlying st_mtim, which is
called something different on Darwin.
Test: mma on linux, darwin
Change-Id: I2695a6c83ebb7d08ec56b1355e0f4bc0993a0acb
Dan Albert [Thu, 23 Feb 2017 21:47:40 +0000 (21:47 +0000)]
Merge "Revert "Run the versioner as part of the build."" am:
7f24a4f556
am:
cea81d0552
Change-Id: Ia5ac7fa62085f468248ab11976dca4a075f783cb
Dan Albert [Thu, 23 Feb 2017 21:45:14 +0000 (21:45 +0000)]
Merge "Revert "Run the versioner as part of the build.""
am:
7f24a4f556
Change-Id: I46566a05914a13ad8492acebd6c76107df0b51a4
Dan Albert [Thu, 23 Feb 2017 21:36:48 +0000 (21:36 +0000)]
Merge "Revert "Run the versioner as part of the build.""
Dan Albert [Thu, 23 Feb 2017 21:30:35 +0000 (21:30 +0000)]
Revert "Run the versioner as part of the build."
This reverts commit
45715b2a88c8daf5a721ce9b28391120f5507764.
Reason for revert: Darwin sucks
Change-Id: I004dd7fa5e14a43ffe04ace2f5a06341df61b8cd
Dan Albert [Thu, 23 Feb 2017 21:14:38 +0000 (21:14 +0000)]
Merge "Run the versioner as part of the build." am:
bd15a909b5
am:
21ea50673a
Change-Id: Icf8fadceacade223720afe297dcdb1be0c1874fa
Dan Albert [Thu, 23 Feb 2017 21:11:22 +0000 (21:11 +0000)]
Merge "Run the versioner as part of the build."
am:
bd15a909b5
Change-Id: I6fb0081b43f1287cc0ea82e156df9efb1faf2288
Dan Albert [Thu, 23 Feb 2017 21:06:47 +0000 (21:06 +0000)]
Merge "Run the versioner as part of the build."
Paul Lawrence [Wed, 15 Feb 2017 21:40:22 +0000 (13:40 -0800)]
Expand whitelist
Bug:
35217603
Test: App no longer triggers seccomp exceptions when launched
Change-Id: I8ea904640a2f14c67a075e593067327407766220
Paul Lawrence [Thu, 23 Feb 2017 20:45:24 +0000 (20:45 +0000)]
Merge "Autogenerate single policy from syscalls and whitelist" am:
b2a74cda90
am:
aff297e3f7
Change-Id: I94af2348ce91e7a8cf214a44a02c332c001bf761
Paul Lawrence [Thu, 23 Feb 2017 20:40:21 +0000 (20:40 +0000)]
Merge "Autogenerate single policy from syscalls and whitelist"
am:
b2a74cda90
Change-Id: Iaebc4930e1685570a7daee6bf62719115f909108
Treehugger Robot [Thu, 23 Feb 2017 20:27:45 +0000 (20:27 +0000)]
Merge "Autogenerate single policy from syscalls and whitelist"
Hans Boehm [Wed, 22 Feb 2017 23:34:29 +0000 (15:34 -0800)]
Replace cxa_guard fences with acquire loads
This seemed to be the only place in bionic where a fence on a
performance-critical path could be easily replaced by a stronger
load/store order constraint. Do so.
On x86 this should generate the same code either way. Based on
microbenchmarks of the relevant ARM instructions, this is currently
performance-neutral in this kind of context. But in the future, the
newly generated acquire loads should give us a performance benefit.
Test: Booted AOSP
Change-Id: I7823e11d6ae4fd58e0425244c293262e2320fd81
Dan Albert [Thu, 23 Feb 2017 19:09:32 +0000 (11:09 -0800)]
Add legacy inlines for more termios stuff.
Test: make checkbuild # with my versioner-in-build patches
Bug: https://github.com/android-ndk/ndk/issues/302
Change-Id: Ib00b5dadf23592d101486b4f2188285ec03c9e2a
Dan Albert [Thu, 16 Feb 2017 01:18:01 +0000 (17:18 -0800)]
Run the versioner as part of the build.
Running this periodically and checking in the results is not working
out, since the result is just that I'm having to spend a lot of time
cleaning up the headers every time I need to update them in the NDK.
Run the versioner as part of the build instead. This way bionic
header changes behave like the rest of the NDK headers and will
affect NDK builds in the platform *immediately*.
Remove the preupload hook for the versioner since it's part of the
normal build now.
The versioner's dependencies directory needs to be moved because
soong won't let us try to do things outside our module's directory
(in this case libc).
Unfortunately this means we need to build the versioner for Darwin,
because we now need it to perform a platform build.
Test: make checkbuild
Bug: None
Change-Id: Icdab8a962354d9e945072dc3f806baea376c8db4
Paul Lawrence [Tue, 14 Feb 2017 21:32:23 +0000 (13:32 -0800)]
Autogenerate single policy from syscalls and whitelist
Bug:
35392119
Bug:
34465958
Test: Check boots and same syscalls are blocked as before
Change-Id: I9efa97032c59aebbbfd32e6f0d2d491f6254f0a2
Dimitry Ivanov [Thu, 23 Feb 2017 17:15:35 +0000 (17:15 +0000)]
Merge "Add test for a greylisted library" am:
3f76dadf15
am:
6a1ce9cc3d
Change-Id: If56373cb37e5369490690b0966fd33d5103d9ee3
Dimitry Ivanov [Thu, 23 Feb 2017 17:13:34 +0000 (17:13 +0000)]
Merge "Add test for a greylisted library"
am:
3f76dadf15
Change-Id: Ia5bb595314b154bca36d816f30b640eaf20c6cd7
Dimitry Ivanov [Thu, 23 Feb 2017 17:11:18 +0000 (17:11 +0000)]
Merge "Add test for a greylisted library"
Dimitry Ivanov [Tue, 21 Feb 2017 21:41:08 +0000 (13:41 -0800)]
Add test for a greylisted library
Test: bionic-unit-tests --gtest_filter=dlext.ns*
Bug: http://b/
35338922
Change-Id: I2f4895cb1ec458c2f565a7e4d06f7a1f6200e7aa
Elliott Hughes [Thu, 23 Feb 2017 03:35:19 +0000 (03:35 +0000)]
Merge "Cope with argv[0] being null in the dynamic linker." am:
c84e8a507c
am:
d57cfaf631
Change-Id: I25a2d4351d97ddb3b5936e722252d626c4c9b8e4
Elliott Hughes [Thu, 23 Feb 2017 03:32:49 +0000 (03:32 +0000)]
Merge "Cope with argv[0] being null in the dynamic linker."
am:
c84e8a507c
Change-Id: I9d864e07d907a5090266658e074953cca119678a
Josh Gao [Thu, 23 Feb 2017 03:32:49 +0000 (03:32 +0000)]
Merge "Allocate thread local buffers in __init_tls." am:
7009f40e52
am:
b2ce5a49f2
Change-Id: I50c64294a5b12d3139c00d01f036d2aba07ef741
Josh Gao [Thu, 23 Feb 2017 03:30:22 +0000 (03:30 +0000)]
Merge "Allocate thread local buffers in __init_tls."
am:
7009f40e52
Change-Id: I11737e4ea95f517d71f4b08051f67b218c0f2c6c
Treehugger Robot [Thu, 23 Feb 2017 03:29:42 +0000 (03:29 +0000)]
Merge "Cope with argv[0] being null in the dynamic linker."
Josh Gao [Thu, 23 Feb 2017 03:24:44 +0000 (03:24 +0000)]
Merge "Allocate thread local buffers in __init_tls."
Elliott Hughes [Thu, 23 Feb 2017 01:31:41 +0000 (17:31 -0800)]
Cope with argv[0] being null in the dynamic linker.
Somewhat unsurprisingly, very few commands are happy to be run like this,
in particular multiplexed commands like toybox. But that's no reason for
the linker to get in the way too.
Bug: http://b/
33276926
Test: new test
Change-Id: I6dd71ea0183f4da83571039c2198ebb6ed38520e
Josh Gao [Wed, 22 Feb 2017 20:19:05 +0000 (12:19 -0800)]
Allocate thread local buffers in __init_tls.
Thread local buffers were using pthread_setspecific for storage with
lazy initialization. pthread_setspecific shares TLS slots between the
linker and libc.so, so thread local buffers being initialized in a
different order between libc.so and the linker meant that bad things
would happen (manifesting as snprintf not working because the
locale was mangled)
Bug: http://b/
20464031
Test: /data/nativetest64/bionic-unit-tests/bionic-unit-tests
everything passes
Test: /data/nativetest/bionic-unit-tests/bionic-unit-tests
thread_local tests are failing both before and after (KUSER_HELPERS?)
Test: /data/nativetest64/bionic-unit-tests-static/bionic-unit-tests-static
no additional failures
Change-Id: I9f445a77c6e86979f3fa49c4a5feecf6ec2b0c3f
Elliott Hughes [Wed, 22 Feb 2017 01:49:51 +0000 (01:49 +0000)]
Merge "Add timeout support to __system_property_wait." am:
c9a840ac76
am:
39cacfe03f
Change-Id: I72714ab9ce57848b2d06e314e4aef86c4ec8016f
Elliott Hughes [Wed, 22 Feb 2017 01:47:53 +0000 (01:47 +0000)]
Merge "Add timeout support to __system_property_wait."
am:
c9a840ac76
Change-Id: Ifaa6521599c8d36386cee6e980d0e10a7a6c1ef9
Treehugger Robot [Wed, 22 Feb 2017 01:43:30 +0000 (01:43 +0000)]
Merge "Add timeout support to __system_property_wait."
Elliott Hughes [Wed, 22 Feb 2017 00:44:08 +0000 (00:44 +0000)]
Merge "Downgrade the special case of pthread_t(0) to a warning." am:
2cb4fb033f
am:
145e1f2ec7
Change-Id: I541e97fafa9ec9f5e6eda6a00aaabaf8a0ef2988
Elliott Hughes [Wed, 22 Feb 2017 00:42:11 +0000 (00:42 +0000)]
Merge "Downgrade the special case of pthread_t(0) to a warning."
am:
2cb4fb033f
Change-Id: If4f963995645b9d57666d0cef0661aa96d8aa2a1
Treehugger Robot [Wed, 22 Feb 2017 00:37:08 +0000 (00:37 +0000)]
Merge "Downgrade the special case of pthread_t(0) to a warning."
Elliott Hughes [Fri, 17 Feb 2017 01:13:04 +0000 (17:13 -0800)]
Add timeout support to __system_property_wait.
Bug: http://b/
35201172
Test: ran tests
Change-Id: I3a78813bf3cd50d1b308ecb3c742f923606c0cc4
Elliott Hughes [Tue, 21 Feb 2017 21:15:20 +0000 (13:15 -0800)]
Downgrade the special case of pthread_t(0) to a warning.
So far this is the only issue we've hit in vendor code, and we've hit
it several times already. Rather than try to fix bullhead (the current
problem), let's just admit that the special case of 0 is a lot less
worrying.
Also fix the test expectations to correspond to the new abort message.
Bug: http://b/
35455349 (crashes on 0)
Bug: http://b/
35622944 (tests)
Test: ran tests
Change-Id: Iec57011fa699a954ebeaec151db2193e36d1ef35
Elliott Hughes [Sun, 19 Feb 2017 05:27:20 +0000 (05:27 +0000)]
Merge "Fix a comment in the pthread_cond_t implementation." am:
4085423525
am:
4ba10084c2
Change-Id: Ia951ce4d97ff02da2f76ef7ee9289475a5817c88
Elliott Hughes [Sun, 19 Feb 2017 05:23:49 +0000 (05:23 +0000)]
Merge "Fix a comment in the pthread_cond_t implementation."
am:
4085423525
Change-Id: Iaf8f9accf72bca7aa90cbda76014cde5683f1204
Treehugger Robot [Sun, 19 Feb 2017 05:19:54 +0000 (05:19 +0000)]
Merge "Fix a comment in the pthread_cond_t implementation."
Elliott Hughes [Sun, 19 Feb 2017 00:35:36 +0000 (16:35 -0800)]
Fix a comment in the pthread_cond_t implementation.
Bug: http://b/
34592766
Test: N/A
Change-Id: I341f837dca52865ae5f8fe9ff50ba8999e297179
Dimitry Ivanov [Sat, 18 Feb 2017 00:56:47 +0000 (00:56 +0000)]
Merge "Fix debug.ld for apps with long names and services" am:
bc645ef068
am:
304b1aaba7
Change-Id: I4de76915c877ed20dc9201ba7231efd79a2db9a4
Dimitry Ivanov [Sat, 18 Feb 2017 00:54:48 +0000 (00:54 +0000)]
Merge "Fix debug.ld for apps with long names and services"
am:
bc645ef068
Change-Id: If90d37eced3d4ae512da3091987a306c7f049d96
Treehugger Robot [Sat, 18 Feb 2017 00:50:47 +0000 (00:50 +0000)]
Merge "Fix debug.ld for apps with long names and services"
Dimitry Ivanov [Sat, 18 Feb 2017 00:26:46 +0000 (00:26 +0000)]
Merge "Revert "Revert "Make libc.so global""" am:
ff3197bcc2
am:
27af19d87c
Change-Id: I8cb526943e28b6251cab738beca633a7063a0310
Dimitry Ivanov [Sat, 18 Feb 2017 00:24:46 +0000 (00:24 +0000)]
Merge "Revert "Revert "Make libc.so global"""
am:
ff3197bcc2
Change-Id: I645c686c7803c46627959caf0d47a03cb5387029
Treehugger Robot [Sat, 18 Feb 2017 00:18:26 +0000 (00:18 +0000)]
Merge "Revert "Revert "Make libc.so global"""
Dimitry Ivanov [Fri, 17 Feb 2017 22:41:30 +0000 (14:41 -0800)]
Fix debug.ld for apps with long names and services
1. There is no longer limit on property names - remove
the trimming the name of the property.
2. Make debug.ld work for processes with names ending with ":something"
This is naming convention for services:
https://developer.android.com/guide/components/services.html
Bug: http://b/
35338922
Bug: http://b/
33926793
Test: manual - set ld.debug.app property for the app
Test: from http://b/
35338922 and see that it works
Test: for the service as well.
Change-Id: Ic7c6d4edce4a5a22f144496d5c0a3e458217c6e4
Dimitry Ivanov [Thu, 16 Feb 2017 20:03:21 +0000 (12:03 -0800)]
Revert "Revert "Make libc.so global""
This reverts commit
65236d43e8e8ea2155c0d64e35f00b3c30b21147.
Bug: http://b/
35417197
Bug: http://b/
35338922
Test: vogar --classpath out/target/common/obj/JAVA_LIBRARIES/core-tests_intermediates/classes.jack --mode=device --variant=X32 dalvik.system.JniTest#testGetSuperclass
Change-Id: Ibf3bb7396e7d11ebe95e2f9267d0fc4af3fbe8c5
Dan Albert [Fri, 17 Feb 2017 22:16:05 +0000 (22:16 +0000)]
Merge "Cleanup now that we don't need __NDK_FPABI__." am:
4731fbd6e0
am:
f44528fd2b
Change-Id: Ic00b58431c0c19acebf9f21d9bbf855b569ff7c7
Dan Albert [Fri, 17 Feb 2017 22:13:05 +0000 (22:13 +0000)]
Merge "Cleanup now that we don't need __NDK_FPABI__."
am:
4731fbd6e0
Change-Id: I62dc4eaefc95d2875cb6ba383d24a2c449005d60
Treehugger Robot [Fri, 17 Feb 2017 21:11:26 +0000 (21:11 +0000)]
Merge "Cleanup now that we don't need __NDK_FPABI__."
Elliott Hughes [Fri, 17 Feb 2017 20:51:04 +0000 (20:51 +0000)]
Merge "Include the pthread_t in the "bad pthread_t" fatal abort." am:
ce958d7e5c
am:
2caaf22e1d
Change-Id: I9330d5b8f57fcf78a2ad98d394f017686333923d
Elliott Hughes [Fri, 17 Feb 2017 20:49:27 +0000 (20:49 +0000)]
Merge "Include the pthread_t in the "bad pthread_t" fatal abort."
am:
ce958d7e5c
Change-Id: Ic30b9e90c17ddc69c15b1b83d0dc568deea80420
Treehugger Robot [Fri, 17 Feb 2017 20:44:43 +0000 (20:44 +0000)]
Merge "Include the pthread_t in the "bad pthread_t" fatal abort."
Josh Gao [Fri, 17 Feb 2017 19:46:25 +0000 (19:46 +0000)]
Merge "Add tests for ptrace resumption behavior." am:
d11584665c
am:
d4233fbc5e
Change-Id: Id0ee86d392268211501183e67600bcb9c7fde1d9
Josh Gao [Fri, 17 Feb 2017 19:42:53 +0000 (19:42 +0000)]
Merge "Add tests for ptrace resumption behavior."
am:
d11584665c
Change-Id: I4a57cc866b5a7facecd9cbe0084cd0c55304d58f
Josh Gao [Fri, 17 Feb 2017 19:35:58 +0000 (19:35 +0000)]
Merge "Add tests for ptrace resumption behavior."
Dan Albert [Fri, 17 Feb 2017 19:08:53 +0000 (11:08 -0800)]
Cleanup now that we don't need __NDK_FPABI__.
Test: tools/update_headers.sh && make checkbuild
Bug: None
Change-Id: I1b9986c4d7d5da349a8ad394e8fcf64b87c89fdf
Elliott Hughes [Fri, 17 Feb 2017 18:27:45 +0000 (10:27 -0800)]
Include the pthread_t in the "bad pthread_t" fatal abort.
Also reword the message to be stronger.
Bug: http://b/
35455349
Test: manual
Change-Id: I8f34fd42f3b635c95a7b921645a016fb303ce3ad
Josh Gao [Thu, 16 Feb 2017 23:28:22 +0000 (23:28 +0000)]
Merge changes from topic 'debuggerd_inproc' am:
4509e0ec94 am:
243b4ba143
am:
82503678f0
Change-Id: I1d4efc4b34effcce377c2c83e016f6e0bcca620c
Josh Gao [Thu, 16 Feb 2017 23:23:51 +0000 (23:23 +0000)]
Merge changes from topic 'debuggerd_inproc' am:
4509e0ec94
am:
243b4ba143
Change-Id: Ief1c3ba804e4d6832340fb51e68b54d174f3a5da
Josh Gao [Thu, 16 Feb 2017 23:19:24 +0000 (23:19 +0000)]
Merge changes from topic 'debuggerd_inproc'
am:
4509e0ec94
Change-Id: I120a178e8332e650b96f708a3e68c9e3ba4e726c
Josh Gao [Thu, 16 Feb 2017 23:11:51 +0000 (23:11 +0000)]
Merge changes from topic 'debuggerd_inproc'
* changes:
linker: use fallback crash handler dumping.
linker: add android_use_fallback_allocator.
Josh Gao [Thu, 16 Feb 2017 22:12:41 +0000 (14:12 -0800)]
Add tests for ptrace resumption behavior.
Add tests that ensure that the kernel behaves properly w.r.t.
resumption of ptraced processes when the tracer dies.
Bug: http://b/
34516140
Test: /data/nativetest/bionic-unit-tests/bionic-unit-tests --gtest_filter="PtraceResumption*"
Change-Id: Id35e069a7e5edd6964637dd3f6358ad59db19792
Josh Gao [Thu, 16 Feb 2017 03:56:32 +0000 (03:56 +0000)]
Merge "Add __libc_format_buffer_va_list." am:
fec0e015ce am:
33b9640132
am:
f1d42d6acd
Change-Id: I447306ecc5218d7638181fe9a163cf5e10b0cad4
Josh Gao [Thu, 16 Feb 2017 03:53:33 +0000 (03:53 +0000)]
Merge "Add __libc_format_buffer_va_list." am:
fec0e015ce
am:
33b9640132
Change-Id: I6848c4ef176cd04daa8ca1d1799aa69f1a00678d
Josh Gao [Thu, 16 Feb 2017 03:50:03 +0000 (03:50 +0000)]
Merge "Add __libc_format_buffer_va_list."
am:
fec0e015ce
Change-Id: I1028ee851f6fdd30e93858e89a5bd741bbb54e62
Josh Gao [Thu, 16 Feb 2017 03:42:50 +0000 (03:42 +0000)]
Merge "Add __libc_format_buffer_va_list."