Searched hist:247236 (Results 1 - 1 of 1) sorted by relevance
/freebsd-10.0-release/lib/libc/gen/ | ||
H A D | opendir.c | diff 247236 Sun Feb 24 19:08:22 MST 2013 jilles libc/opendir: Improve behaviour of union uniquifier: * Reopen the directory using openat(fd, ".", ...) instead of opening the pathname again. This fixes a race condition where the meaning of the pathname changes and allows a reopen with fdopendir(). * Always reopen the directory for union stacks, not only when DTF_REWIND is passed. Applications should be able to fchdir(dirfd(dir)) and *at(dirfd(dir), ...). DTF_REWIND now does nothing. |
Completed in 107 milliseconds