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
|
||
|---|---|---|
| .. | ||
| client | ||
| crasher | ||
| handler | ||
| include/debuggerd | ||
| libdebuggerd | ||
| tombstoned | ||
| .clang-format | ||
| Android.bp | ||
| crash_dump.cpp | ||
| debuggerd.cpp | ||
| debuggerd_test.cpp | ||
| MODULE_LICENSE_APACHE2 | ||
| NOTICE | ||
| signal_sender.cpp | ||
| tombstoned_client.cpp | ||
| util.cpp | ||