id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 172,libc: dup2/dup on tcpip socket doesn't clear the no-inhert/close-on-exec flags,bird,bird,"When duplicating a tcpip socket (file descriptor if you like) the no-inherit and close-on-exec flags aren't cleared as they should. This results in code doing {{{socketpair(); ... dup2(fds[1], 1/*stdout*/); _spawn();}}} to fail. (On example of this is the cups code.)",defect,closed,normal,libc-0.6.3,libc-backend,0.6.2,normal,fixed,dup dup2 socket no-inherit close-on-exec,