K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-02-12T21:10:40.096021Z K 7 svn:log V 311 MFC r241046: libc: Use O_CLOEXEC for various internal file descriptors. This fixes a race condition where another thread may fork(), unintentionally passing the descriptor to the child process. This commit only adds O_CLOEXEC flags to open() or openat() calls where no fcntl(fd, F_SETFD, FD_CLOEXEC) follows. END