diff options
author | Mark Salyzyn <salyzyn@google.com> | 2017-01-03 13:28:18 -0800 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2017-01-09 15:51:09 +0000 |
commit | 65e1e6284c0d604f27510aba6788541f4a492164 (patch) | |
tree | f24166211f026c78a938a28a7c16470db7bc3435 /libunwindstack/tests/MemoryFileTest.cpp | |
parent | cdd7ec12be3dfb6a7fa2f597d2220445c96725cf (diff) |
liblog: retry -ENOTCONN | -ECONNREFUSED | -ENOENT indefinitely
Deal with recovering after transitory failures surrounding logd
crash or recovery. Improve the chances that the logging functions
can work in a signal handler, not officially supported, but making
sure logging is not blamed for system lockups when misused.
Reorder gTests so that setuid(AID_SYSTEM) is performed after
liblog.enoent test, and that this occurs after other tests that
like to see buffers with content in them as we stop logd.
Test: gTest liblog-unit-tests --gtest_filter=liblog.enoent
Bug: 33755074
Change-Id: I66f88599534614b7b61da6b2ae5fe099ebaced3a
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions