K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-04-12T11:37:24.075416Z K 7 svn:log V 478 MFC r232385 by ru: Remove 3 syscalls from opendir(). Finally removed the stat() and fstat() calls from the opendir() code. They were made excessive in r205424 by opening with O_DIRECTORY. Also eliminated the fcntl() call used to set FD_CLOEXEC by opening with O_CLOEXEC. (fdopendir() still checks that the passed descriptor is a directory, and sets FD_CLOEXEC on it.) The necessary kernel support for O_DIRECTORY and O_CLOEXEC was already in 9.0-RELEASE. Discussed with: ru END