Home | History | Annotate | Download | only in run-as

Lines Matching refs:dataPath

187 check_data_path(const char* dataPath, uid_t  uid)
192 if (dataPath[0] != '/') {
201 for (nn = 1; dataPath[nn] != '\0'; nn++)
206 if (dataPath[nn] != '/')
210 if (dataPath[nn+1] == '\0') {
214 /* found a separator, check that dataPath is not too long. */
222 dataPath[nn-3] == '/' &&
223 dataPath[nn-2] == '.' &&
224 dataPath[nn-1] == '.') {
230 memcpy(subpath, dataPath, nn);
240 if (check_directory_ownership(dataPath, uid) < 0)