Project: mesos
Issue MESOS-4536: Add abstractions of "owned" and "shared" file descriptors to libprocess.
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.
Story points: 3