On 04/17/2017 08:16 PM, Adhemerval Zanella wrote: > Shouldn't we check the result of __dup3 and act accordingly in this situation > (basically EINTR and EMFILE)? Yes, but that's an existing bug in the code. I would like to keep this change the bug fix separate. I filed bug 21393 for the missing error check. Thanks, Florian