Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
3
Description
Libprocess currently manages file descriptors as plain int s. This leads to some easily missed bugs regarding duplicated or closed FDs.
We should introduce an abstraction (like unique_ptr and shared_ptr) so that FD ownership can be expressed alongside the affected code.
Attachments
Issue Links
- is duplicated by
-
MESOS-3520 Add an abstraction to manage the life cycle of file descriptors.
- Reviewable