Searched defs:dataPath (Results 1 - 1 of 1) sorted by relevance

/system/core/run-as/
H A Dpackage.c210 check_data_path(const char* dataPath, uid_t uid) argument
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, n
[all...]

Completed in 393 milliseconds