[rhel7-branch] Beware of inherited file descriptors in child processes