b860cb428b
function. Arrange for tcpmux() to be called like other builtins, and have it call the aforementioned function recursively. This allows tcpmux to be wrapped, and always runs it after forking, so we don't freeze everything else. Also, use FD_CLOEXEC to close file descriptors, rather than iterating through them ourself.