+This function does not fail when the second argument is an empty string +on some platforms: +glibc 2.7.
If AT_EMPTY_PATH is specified, fstatat is documented to behave that way with an empty string. So possibly this behavior is also kernel-dependent (AT_EMPTY_PATH was introduced in Linux 2.6.39, maybe the kernels are buggy before that?). Not sure whether this is all worth mentioning.
