verify_fd
int verify_fd(int, const char *, off_t, struct stat *);
if ((rc = verify_fd(fd, path, 0, NULL)) < 0) {
rc = verify_fd(fd, filename, off, &st);