Lines Matching refs:Stat
1206 struct stat Stat;
1232 * Stat the object, do not follow links.
1234 if (lstat(pszPath, &pFsObjState->Stat) != 0)
1274 * Stat the object, do not follow links.
1276 if (fstat((int)hNative, &pFsObjState->Stat) != 0)
1316 if ( pFsObjState1->Stat.st_ino != pFsObjState2->Stat.st_ino
1317 || pFsObjState1->Stat.st_dev != pFsObjState2->Stat.st_dev)
1320 if ( pFsObjState1->Stat.st_uid != pFsObjState2->Stat.st_uid
1321 || pFsObjState1->Stat.st_gid != pFsObjState2->Stat.st_gid)
1324 if ( (pFsObjState1->Stat.st_mode & (S_IFMT | S_IWUSR | S_IWGRP | S_IWOTH))
1325 != (pFsObjState2->Stat.st_mode & (S_IFMT | S_IWUSR | S_IWGRP | S_IWOTH)))
1366 if (pFsObjState->Stat.st_uid != 0)
1373 if ( !S_ISDIR(pFsObjState->Stat.st_mode)
1374 && !S_ISREG(pFsObjState->Stat.st_mode))
1376 if (S_ISLNK(pFsObjState->Stat.st_mode))
1382 if (fDir != !!S_ISDIR(pFsObjState->Stat.st_mode))
1384 if (S_ISDIR(pFsObjState->Stat.st_mode))
1398 if ( (pFsObjState->Stat.st_mode & S_IWGRP)
1399 && pFsObjState->Stat.st_gid != 0)
1406 bool fBad = !fRelaxed || pFsObjState->Stat.st_gid != 80 /*admin*/ || suplibHardenedStrCmp(pszPath, "/Applications");
1414 bool fBad = !fRelaxed || pFsObjState->Stat.st_gid != 5 /*operator*/ || suplibHardenedStrCmp(pszPath, "/usr/pbi");
1429 if (pFsObjState->Stat.st_mode & S_IWOTH)
1563 rc = supR3HardenedVerifyFsObject(pFsObjState, S_ISDIR(pFsObjState->Stat.st_mode), false /*fRelaxed*/,
1572 && S_ISDIR(pFsObjState->Stat.st_mode)