Apply SOCK_CLOEXEC flag to socket API functions in order to avoid handle leakage...
authorOleksiy Vyalov <ovyalov@google.com>
Fri, 14 Nov 2014 16:25:18 +0000 (16:25 +0000)
committerOleksiy Vyalov <ovyalov@google.com>
Fri, 14 Nov 2014 16:25:18 +0000 (16:25 +0000)
commit477e42a6fb199f61c6299851064ef18f15b86815
tree85da7e6858d3113ae8af11632b7c033ac0fc392f
parente837ec29c3640cd04a9a33a39593c10513b3b5b6
Apply SOCK_CLOEXEC flag to socket API functions in order to avoid handle leakage to a forked child process.

http://reviews.llvm.org/D6204

llvm-svn: 222004
lldb/include/lldb/Host/Socket.h
lldb/include/lldb/Host/posix/ConnectionFileDescriptorPosix.h
lldb/source/Host/common/Socket.cpp
lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp