[Lldb-commits] [PATCH] Apply SOCK_CLOEXEC flag to socket API functions in order to avoid handle leakage to a forked child process.

Oleksiy Vyalov ovyalov at google.com
Tue Nov 11 15:23:18 PST 2014


Hi,

I've added a new field ConnectionFileDescriptor::m_child_processes_inherit and made socket factory methods to take Options structure as a parameter.
Please take another look and let me know your opinion.

Thank you!

http://reviews.llvm.org/D6204

Files:
  include/lldb/Host/Socket.h
  include/lldb/Host/posix/ConnectionFileDescriptorPosix.h
  source/Host/common/Socket.cpp
  source/Host/posix/ConnectionFileDescriptorPosix.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6204.16064.patch
Type: text/x-patch
Size: 12243 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20141111/b2e59316/attachment.bin>


More information about the lldb-commits mailing list