diff options
| author | Bernie Innocenti <codewiz@google.com> | 2018-05-28 14:56:57 +0900 |
|---|---|---|
| committer | Bernie Innocenti <codewiz@google.com> | 2018-05-28 15:00:50 +0900 |
| commit | 4351bb05ad9fd5580aba7cd6a3dc2bc8c101c3a3 (patch) | |
| tree | 6e73f7d146873ec44ead1d897f3b35e49187a59e /trusty/coverage/coverage_test.cpp | |
| parent | e82401e592c6c45eca854525c91530ef8422db40 (diff) | |
libcutils: Simplify android_get_control_socket()
1. TEMP_FAILURE_RETRY() isn't necessary with getsockname() because
it's a synchronous syscall.
2. There's no need to allocate and free a temporary buffer for the
full pathname of the socket.
Test: Manually, as follows:
- added temporary ALOG output
- flashed and booted a device
- checked expected output from all system daemons
- removed log statements
Change-Id: I4550a2d67fdffe6aff3c1050f8eeeaca0f985fb3
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions
