Searched refs:exe_stat (Results 1 – 1 of 1) sorted by relevance
35 struct stat exe_stat; in TryReadLinkToMainExecutableRealPath() local36 if (lstat(pathname, &cur_stat) == 0 && lstat("/proc/self/exe", &exe_stat) == 0 && in TryReadLinkToMainExecutableRealPath()37 cur_stat.st_ino == exe_stat.st_ino && cur_stat.st_dev == exe_stat.st_dev) { in TryReadLinkToMainExecutableRealPath()