diff options
author | Tom Cherry <tomcherry@google.com> | 2019-02-12 11:26:23 -0800 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2019-02-12 12:53:19 -0800 |
commit | 05de1ba38eea7675c7af547c6e608417fd3ca1bc (patch) | |
tree | c3659e0c53797b010db54364636dc13d5a43d494 /libsparse/sparse.cpp | |
parent | 5272f9b017e2e32551ec53c680b9869b0ec135d2 (diff) |
liblog: simplify socket_local_client() and always use CLOEXEC
socket_local_client() was copied from libcutils, but we only need a
small subset of its functionality. We instead create our own version
with just the needed parts.
Importantly, use CLOEXEC in this new function and other places where
it was missing previously.
Test: logging works, liblog-unit-tests
Change-Id: Ifb929227af67bafa13e391eab92358d9f6fe6450
Diffstat (limited to 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions