DescriptionOpen MessagePumpLibevent's pipe with O_CLOEXEC
This prevents the pipe's fds from being leaked into child processes.
TEST=git cl try
BUG=653930
Committed: https://crrev.com/f9c8562e55b669915faf87d8d7eda32ae62bf661
Cr-Commit-Position: refs/heads/master@{#423899}
Patch Set 1 #Patch Set 2 : Limit use of pipe2 to OS_LINUX #Patch Set 3 : Use correct return and avoid leaking fds on intermediate error #Patch Set 4 : Use the return value from ScopedFD::release() #
Messages
Total messages: 21 (15 generated)
|