Lines Matching defs:pszDirPath
1472 * @param pszDirPath The path buffer containing the subdirectory to
1480 * the directory @a pszDirPath indicates and will
1486 static int supR3HardenedVerifyDirRecursive(char *pszDirPath, size_t cchDirPath, PSUPR3HARDENEDFSOBJSTATE pFsObjState,
1503 DIR *pDir = opendir(pszDirPath);
1510 5, "opendir failed with ", strerror(errno), " on '", pszDirPath, "'");
1514 int rc = supR3HardenedVerifySameFsObject(dirfd(pDir), pFsObjState, pszDirPath, pErrInfo);
1528 pszDirPath[cchDirPath] = '\0'; /* for error messages. */
1536 5, "readdir_r failed with ", strerror(iErr), " in '", pszDirPath, "'");
1550 4, "Path grew too long during recursion: '", pszDirPath, pEntry->d_name, "'");
1553 suplibHardenedMemCopy(&pszDirPath[cchName], pEntry->d_name, cchName + 1);
1560 rc = supR3HardenedQueryFsObjectByPath(pszDirPath, pFsObjState, pErrInfo);
1564 pszDirPath, pErrInfo);
1576 pszDirPath[cchDirPath + cchName] = RTPATH_SLASH;
1577 pszDirPath[cchDirPath + cchName + 1] = '\0';
1579 rc = supR3HardenedVerifyDirRecursive(pszDirPath, cchDirPath + cchName + 1, pFsObjState,
1596 * @param pszDirPath See SUPR3HardenedVerifyDir.
1601 DECLHIDDEN(int) supR3HardenedVerifyDir(const char *pszDirPath, bool fRecursive, bool fCheckFiles, PRTERRINFO pErrInfo)
1607 int rc = supR3HardenedVerifyPathSanity(pszDirPath, pErrInfo, &Info);