| 61 | |
| 62 | std::unique_ptr<FileDescriptorInfo> FileDescriptorInfo::CreateFromFd(int fd, fail_fn_t fail_fn) { |
| 63 | struct stat f_stat; |
| 64 | // This should never happen; the zygote should always have the right set |
| 65 | // of permissions required to stat all its open files. |
| 66 | if (TEMP_FAILURE_RETRY(fstat(fd, &f_stat)) == -1) { |
nothing calls this directly
no outgoing calls
no test coverage detected