summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorFlorian Mayer <fmayer@google.com>2020-03-24 15:59:27 +0100
committerFlorian Mayer <fmayer@google.com>2020-03-30 10:17:45 +0100
commit5e0d80b3ec5414d0fb7ce195c29abfbae5b2ded6 (patch)
treeaa734dbbac78f3abf375849e10408d3eee9e9f33 /libc/malloc_debug/malloc_debug.cpp
parenta08c97bee6523a46a44c69074c0af8a7bf980867 (diff)
dynamic libc: ignore ART profiling signal by default.
These solves the issue that targetting non-profilable apps crashed them. There is still a race condition between starting the app and the SIG_IGN being installed, but that will be fixed in follow-ups. This also does not cover programs that statically link libc, but those are rare. This might be reverted if we find a more general solution to b/151835887. Bug: 151328035 Test: java profile sysui, doesn't crash Test: atest CtsBionicTestCases This is a cherry-pick of 96272df35cbc89c696dcacc0796519a89d9e2212 Change-Id: I6b99352ed50afe15a609f7ddb85312c2676ddf11 Merged-In: I6b99352ed50afe15a609f7ddb85312c2676ddf11
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions