Searched refs:fd_stat (Results 1 – 2 of 2) sorted by relevance
112 struct stat fd_stat; in map_fd_ro() local113 if (fstat(fd, &fd_stat) < 0) { in map_fd_ro()117 if ((fd_stat.st_uid != 0) || (fd_stat.st_gid != 0) || in map_fd_ro()118 ((fd_stat.st_mode & (S_IWGRP | S_IWOTH)) != 0) || in map_fd_ro()119 (fd_stat.st_size < static_cast<off_t>(sizeof(prop_area)))) { in map_fd_ro()123 pa_size_ = fd_stat.st_size; in map_fd_ro()
236 struct stat fd_stat; in DoMmap() local237 if (fstat(fd.get(), &fd_stat) == -1) { in DoMmap()241 auto mmap_size = fd_stat.st_size; in DoMmap()