mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilbert Song <>
Subject Review Request 69946: Updated handleWhitelistFds() to avoid closing FDs with FD_CLOEXEC bit.
Date Mon, 11 Feb 2019 19:21:38 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for mesos, Andrei Budnik, Jason Lai, Jie Yu, and James Peach.

Repository: mesos


Since this helper is only called right before exec in child process,
and for those open FDs that is set with FD_CLOEXEC flag, they will
be closed during exec, so that we could skip closing these FDs in
the helper. The motivation of this change is to avoid whitelisting
those FDs that have to survive until exec while we do not want to
expose these FDs to user applications.


  3rdparty/libprocess/src/posix/subprocess.hpp 7bbf91e857538c2a030199a529287efa8ef2c604 




Gilbert Song

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message