summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-09-19 14:02:50 -0700
committerElliott Hughes <enh@google.com>2017-09-19 14:02:50 -0700
commit53dc9dd70155fd75af744cbebecc563658c69818 (patch)
tree2c115be9ba0a403a6a42d9e880746275313dbd79 /libc/malloc_hooks/malloc_hooks.cpp
parentcce6ada00ad055ac52791526e44b1f223bec8ce4 (diff)
Improve pthread_create failure handling.
Return EAGAIN rather than aborting if we fail to set up the TLS for a new thread. Add a test that uses all the VMAs so we can properly test these edge cases. Add an explicit test for pthread_attr_setdetachstate, which we use in the previous test, but other than that has no tests. Remove support for ro.logd.timestamp/persist.logd.timestamp, which doesn't seem to be used, and which prevents us from logging failures in cases where mmap fails (because we need to mmap in the system property implementation). Bug: http://b/65608572 Test: ran tests Change-Id: I9009f06546e1c2cc55eff996d08b55eff3482343
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions