diff options
author | Josh Gao <jmgao@google.com> | 2017-06-01 12:19:53 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2017-06-01 16:26:23 -0700 |
commit | a1c9e943c0687a2fd1195033824d22600abbd51e (patch) | |
tree | cce717f95b9290661886c38b4bcbe1e3315daf4f /libutils/Unicode.cpp | |
parent | 8126d2de3ef97bf3c4794cfdb2fc543d9243ab07 (diff) |
debuggerd_client: increase pipe buffer size to max.
If a process tries to dump itself (e.g. system_server during ANRs),
crash_dump will block trying to write to its pipe if it's not
sufficiently large. Increase the pipe size to the max, and add a test
to make sure that it's always at least 1MB (the default value).
Bug: http://b/38427757
Test: debuggerd_test
Merged-In: Iddb0cb1e5ce9e687efa9e94c2748a1edfe09f119
Change-Id: Iddb0cb1e5ce9e687efa9e94c2748a1edfe09f119
(cherry picked from commit 5675f3c321b7c6a9bbb2a7aacf18a01126f2f2cb)
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions