For the record, this is what "git bisect" says: 65cfc6722361570bfe255698d9cd4dccaf47570d is the first bad commit
commit 65cfc6722361570bfe255698d9cd4dccaf47570d Author: Al Viro <v...@zeniv.linux.org.uk> Date: Sun Mar 13 15:56:26 2011 -0400 readlinkat(), fchownat() and fstatat() with empty relative pathnames For readlinkat() we simply allow empty pathname; it will fail unless we have dfd equal to O_PATH-opened symlink, so we are outside of POSIX scope here. For fchownat() and fstatat() we allow AT_EMPTY_PATH; let the caller explicitly ask for such behaviour. Signed-off-by: Al Viro <v...@zeniv.linux.org.uk>