Lines Matching refs:dataPath
208 check_data_path(const char* dataPath, uid_t uid)
213 if (dataPath[0] != '/') {
222 for (nn = 1; dataPath[nn] != '\0'; nn++)
227 if (dataPath[nn] != '/')
231 if (dataPath[nn+1] == '\0') {
235 /* found a separator, check that dataPath is not too long. */
243 dataPath[nn-3] == '/' &&
244 dataPath[nn-2] == '.' &&
245 dataPath[nn-1] == '.') {
251 memcpy(subpath, dataPath, nn);
261 if (check_directory_ownership(dataPath, uid) < 0)