Lines Matching defs:dataPath
210 check_data_path(const char* dataPath, uid_t uid)
215 if (dataPath[0] != '/') {
224 for (nn = 1; dataPath[nn] != '\0'; nn++)
229 if (dataPath[nn] != '/')
233 if (dataPath[nn+1] == '\0') {
237 /* found a separator, check that dataPath is not too long. */
245 dataPath[nn-3] == '/' &&
246 dataPath[nn-2] == '.' &&
247 dataPath[nn-1] == '.') {
253 memcpy(subpath, dataPath, nn);
263 if (check_directory_ownership(dataPath, uid) < 0)