summaryrefslogtreecommitdiff
path: root/base/errors_unix.cpp
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2014-07-02 22:30:39 -0700
committerNick Kralevich <nnk@google.com>2014-07-02 22:30:39 -0700
commit118d1b393067fbc4fbb26af6815a7a4f131f0148 (patch)
tree04485327253ef10ea99e2c31bda23ec21caaa26d /base/errors_unix.cpp
parent09117c70f1cc0de77c62d6f7f5bee04e3fc7ef83 (diff)
logd_write: set SOCK_CLOEXEC on socket
Socket file descriptors remain open across exec unless SOCK_CLOEXEC is set. Enable this option, to avoid leaking file descriptors. See https://android-review.googlesource.com/53736 for a similar problem with the old logging code. Change-Id: I9e045d2291ae6680044ab86604f3ff2c55b5eaed
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions