Searched refs:fd_stat (Results 1 – 5 of 5) sorted by relevance
202 struct stat fd_stat; in LoadPath() local203 if (fstat(fd, &fd_stat) < 0) { in LoadPath()208 if ((fd_stat.st_uid != 0) || (fd_stat.st_gid != 0) || in LoadPath()209 ((fd_stat.st_mode & (S_IWGRP | S_IWOTH)) != 0) || in LoadPath()210 (fd_stat.st_size < static_cast<off_t>(sizeof(PropertyInfoArea)))) { in LoadPath()215 auto mmap_size = fd_stat.st_size; in LoadPath()
100 struct stat fd_stat, file_stat; in checkFileIntegrity() local104 if (::fstat(mFD, &fd_stat) == 0) { in checkFileIntegrity()122 return ((fd_stat.st_dev == file_stat.st_dev) && in checkFileIntegrity()123 (fd_stat.st_ino == file_stat.st_ino)); in checkFileIntegrity()
108 struct stat fd_stat; in map_fd_ro() local109 if (fstat(fd, &fd_stat) < 0) { in map_fd_ro()113 if ((fd_stat.st_uid != 0) || (fd_stat.st_gid != 0) || in map_fd_ro()114 ((fd_stat.st_mode & (S_IWGRP | S_IWOTH)) != 0) || in map_fd_ro()115 (fd_stat.st_size < static_cast<off_t>(sizeof(prop_area)))) { in map_fd_ro()119 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()
425 struct stat fd_stat; in main() local426 if (fstat(recorded_messages_fd, &fd_stat) != 0) { in main()431 static_cast<size_t>(fd_stat.st_size), PROT_READ); in main()